/* ==========================================================================
   BusinessNeeds — start.businessneeds.co.za
   Single-page sales funnel · Form posts to legacy PHP backend
   ========================================================================== */

/* -------------------- Design tokens -------------------- */
:root {
  /* Brand */
  --bn-blue: #2C7EBB;
  --bn-blue-700: #246A9F;
  --bn-blue-900: #1B5683;
  --bn-blue-50: #EAF2F9;
  --bn-blue-100: #D2E2F0;

  /* Ink */
  --ink-1: #0B1733;
  --ink-2: #1A2647;
  --ink-3: #475569;
  --ink-4: #6B7896;
  --ink-5: #94A3B8;

  /* Surfaces */
  --line: #E4E8F2;
  --line-2: #EFF2F8;
  --surface: #FFFFFF;
  --bg: #F6F8FC;
  --bg-2: #FAFBFE;

  /* Status */
  --green: #16A34A;
  --green-50: #E7F8EE;
  --red: #DC2626;
  --red-50: #FEE2E2;
  --amber: #F59E0B;

  /* WhatsApp */
  --wa-green: #25D366;

  /* Radii */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 0 rgba(15,31,69,0.04), 0 1px 2px rgba(15,31,69,0.04);
  --shadow-md: 0 2px 4px rgba(15,31,69,0.04), 0 12px 28px -8px rgba(15,31,69,0.08);
  --shadow-lg: 0 8px 24px -8px rgba(15,31,69,0.10), 0 24px 48px -12px rgba(15,31,69,0.14);

  /* Layout */
  --maxw: 1080px;
  --maxw-narrow: 820px;
  --maxw-form: 720px;
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-1);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--bn-blue); text-decoration: none; font-weight: 600; }
a:hover { color: var(--bn-blue-700); }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--bn-blue); color: white; }

/* -------------------- Layout -------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 28px; }
.wrap-form { max-width: var(--maxw-form); margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) {
  .wrap, .wrap-narrow, .wrap-form { padding: 0 20px; }
}

.section { padding: 72px 0; }
.section-white { background: var(--surface); }
.section-bg { background: var(--bg); }
.section-cta { background: var(--bn-blue-50); padding: 80px 0; }
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .section-cta { padding: 56px 0; }
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4 { color: var(--ink-1); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 880px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  max-width: 820px;
}
h3 { font-size: 19px; line-height: 1.3; }
h4 { font-size: 14px; line-height: 1.3; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
p { margin: 0; color: var(--ink-3); }

.section-lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-3);
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bn-blue-900);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-dash {
  width: 24px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  display: inline-block;
}

/* Wavy underline accent (used on H1, H2 keywords) */
.wavy {
  position: relative;
  white-space: nowrap;
}
.wavy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M2 8 Q 50 1, 100 7 T 200 6 T 298 6' stroke='%232C7EBB' stroke-opacity='0.45' stroke-width='5' stroke-linecap='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 12px;
  pointer-events: none;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, background .15s ease, box-shadow .2s ease, border-color .15s ease;
  text-decoration: none;
}
.btn-sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 16px; }

.btn-primary {
  background: var(--bn-blue);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 1px 2px rgba(11,23,51,0.18), 0 8px 18px -8px rgba(26,91,216,0.55);
}
.btn-primary:hover { background: var(--bn-blue-700); transform: translateY(-1px); color: white; }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: var(--ink-5); cursor: not-allowed; transform: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink-1);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-5); background: white; color: var(--ink-1); }

.btn-wa {
  background: var(--wa-green);
  color: white;
  box-shadow: 0 8px 18px -8px rgba(37,211,102,0.55);
}
.btn-wa:hover { background: #1FB958; color: white; transform: translateY(-1px); }

/* -------------------- Cards -------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* -------------------- Nav -------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246,248,252,0.85);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.nav-logo img {
  width: auto;
  height: 44px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-links a:hover { background: rgba(255,255,255,0.6); color: var(--ink-1); }
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .nav-logo img { height: 36px; }
  .nav-inner { height: 64px; }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
  background: var(--bg);
}
.hero-tint {
  position: absolute;
  top: -240px;
  right: -240px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(44,126,187,0.10), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-3);
  max-width: 640px;
  line-height: 1.55;
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-wa-link:hover { color: var(--ink-1); }
.hero-reassurance {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-4);
}
.hero-stats {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-n {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.stat-l {
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 6px;
}
.hero-disclosure {
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--ink-4);
  max-width: 720px;
  line-height: 1.55;
}
.hero-disclosure a { color: var(--bn-blue); font-weight: 600; }
@media (max-width: 720px) {
  .hero { padding: 48px 0 64px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* -------------------- Prose -------------------- */
.prose {
  margin-top: 24px;
  max-width: 780px;
}
.prose p {
  font-size: 18px;
  color: var(--ink-3);
  line-height: 1.65;
}
.prose p + p { margin-top: 16px; }

/* -------------------- Trust strip -------------------- */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-caption {
  font-size: 13.5px;
  color: var(--ink-4);
  max-width: 240px;
  line-height: 1.45;
}
.trust-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 28px;
  align-items: center;
  flex: 1;
}
.trust-labels span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  opacity: 0.75;
  letter-spacing: -0.01em;
}
@media (max-width: 640px) {
  .trust-labels { gap: 16px; }
  .trust-labels span { font-size: 13px; }
}

/* -------------------- How it works -------------------- */
.steps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--bn-blue);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* -------------------- Checklist -------------------- */
.checklist {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.5;
}
.checklist li:last-child { border-bottom: none; }
.check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-50);
  position: relative;
  margin-top: 2px;
}
.check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* -------------------- Form -------------------- */
.form-section {
  scroll-margin-top: 96px;
}
.form-intro {
  text-align: center;
  margin-bottom: 32px;
}
.form-intro h2 { margin-left: auto; margin-right: auto; }
.form-intro .section-lead { margin-left: auto; margin-right: auto; }
.form-intro .eyebrow { justify-content: center; }

.form-card {
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
@media (max-width: 560px) {
  .form-card { padding: 22px; }
}

.form-section-block {
  border: none;
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--line-2);
}
.form-section-block:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.form-section-block legend {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bn-blue-900);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 0;
}

.fieldset-help {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 16px;
  line-height: 1.5;
}

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.field-row .field { margin-bottom: 0; }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 18px; }
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.field .req { color: var(--red); margin-left: 2px; }
.field .optional {
  color: var(--ink-4);
  font-weight: 500;
  font-size: 13px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 15px;
  color: var(--ink-1);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%236B7896' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bn-blue);
  box-shadow: 0 0 0 4px rgba(44,126,187,0.15);
}
.field input.uppercase { text-transform: uppercase; }
.field input.error,
.field textarea.error,
.field select.error { border-color: var(--red); background: var(--red-50); }

.field .hint {
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 6px;
  line-height: 1.4;
}

.captcha-wrap { margin-top: 4px; display: flex; justify-content: flex-start; }

.form-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.form-actions .btn { width: 100%; }
.form-reassurance {
  font-size: 13.5px;
  color: var(--ink-4);
  text-align: center;
  line-height: 1.5;
}

.form-errors {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--red-50);
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #991B1B;
  display: none;
}
.form-errors.visible { display: block; }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.form-errors li { line-height: 1.5; }

/* -------------------- Testimonials -------------------- */
.testimonials {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-1);
}
.testimonial footer {
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.testimonial footer strong { font-size: 14px; color: var(--ink-1); display: block; }
.testimonial footer span { font-size: 13px; color: var(--ink-4); }
@media (max-width: 720px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* -------------------- FAQ -------------------- */
.faq {
  margin-top: 36px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  position: relative;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.4;
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%231B5683' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .25s ease, background-color .15s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  background-color: var(--bn-blue);
  border-color: var(--bn-blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.faq-item summary:hover { color: var(--bn-blue); }
.faq-answer {
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 820px;
}
.faq-answer p { color: var(--ink-3); }

/* -------------------- Final CTA -------------------- */
.cta-block { text-align: center; }
.cta-block .section-lead { margin-left: auto; margin-right: auto; max-width: 540px; }
.cta-buttons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img {
  width: auto;
  height: 56px;
  margin-bottom: 16px;
}
.footer-tag {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 280px;
}
.footer-company {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
}
.footer-company strong { color: var(--ink-1); }

.footer-col h4 { margin-bottom: 14px; }
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--ink-3);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--bn-blue); }

.footer-disclaimer {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 22px;
  font-size: 12.5px;
  color: var(--ink-4);
  line-height: 1.65;
  margin-bottom: 28px;
}
.footer-disclaimer strong { color: var(--ink-2); }
.footer-disclaimer a { color: var(--bn-blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-4);
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--bn-blue); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 48px 0 24px; }
}

/* -------------------- Sticky WhatsApp FAB -------------------- */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -4px rgba(37,211,102,0.55), 0 4px 8px rgba(0,0,0,0.15);
  z-index: 60;
  transition: transform .15s ease;
}
.wa-fab:hover { transform: scale(1.06); background: var(--wa-green); }
@media (max-width: 560px) {
  .wa-fab { width: 56px; height: 56px; bottom: 18px; right: 18px; }
}

/* -------------------- Nav phone (desktop only) -------------------- */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav-phone svg { color: var(--bn-blue); }
.nav-phone:hover { color: var(--bn-blue); }
@media (max-width: 720px) {
  .nav-phone { display: none; }
}

/* -------------------- Hero split layout (form embedded right) -------------------- */
.hero-split {
  padding: 56px 0 64px;
  scroll-margin-top: 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}
.hero-pitch h1 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 800;
  max-width: 580px;
  margin-top: 4px;
}
.hero-pitch .hero-sub {
  margin-top: 20px;
  font-size: 17.5px;
  color: var(--ink-3);
  max-width: 560px;
  line-height: 1.55;
}
.hero-trust-badges {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13px;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
}
.trust-badge strong {
  color: var(--ink-1);
  font-weight: 700;
}
.hero-pitch .hero-disclosure {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--ink-4);
  max-width: 540px;
  line-height: 1.55;
}
.hero-pitch .hero-disclosure a { color: var(--bn-blue); font-weight: 600; }

/* Mobile CTA pair under hero pitch — only visible on small screens */
.hero-cta-mobile {
  display: none;
  margin-top: 24px;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-cta-mobile .btn { flex: 1; min-width: 200px; }
.hero-cta-mobile .hero-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}

/* Right column: form card wrapper */
.hero-form-wrap {
  position: sticky;
  top: 96px;
  scroll-margin-top: 80px;
}
.form-card-hero {
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.form-card-head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.form-card-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--bn-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-card-title {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.form-card-alt {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-4);
}
.form-card-alt a { color: var(--bn-blue); font-weight: 600; }

/* Hero responsive collapse */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-form-wrap {
    position: static;
  }
  .hero-cta-mobile { display: flex; }
  .form-card-hero { padding: 26px 22px; }
}
@media (max-width: 720px) {
  .hero-split { padding: 36px 0 48px; }
  .hero-trust-badges { gap: 8px; }
  .trust-badge { font-size: 12.5px; padding: 6px 12px; }
}

/* -------------------- Social proof bar -------------------- */
.social-proof-bar {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.social-proof-inner {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 36px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.social-proof-quote {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  font-style: italic;
  letter-spacing: -0.005em;
}
.social-proof-attr {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-4);
}
.social-proof-stat {
  text-align: right;
  padding-left: 36px;
  border-left: 1px solid var(--line);
}
.social-proof-stat strong {
  display: block;
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  color: var(--bn-blue);
  letter-spacing: -0.02em;
}
.social-proof-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-4);
  line-height: 1.4;
}
@media (max-width: 720px) {
  .social-proof-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  .social-proof-quote { font-size: 16px; }
  .social-proof-stat {
    text-align: left;
    padding-left: 0;
    border-left: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .social-proof-stat strong { font-size: 28px; }
}

/* -------------------- Section inline CTA (small, end of section) -------------------- */
.section-cta-inline {
  margin-top: 36px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.section-cta-inline .btn { white-space: nowrap; }

/* -------------------- Mid-page CTA section -------------------- */
.section-mid-cta {
  background: linear-gradient(180deg, var(--bn-blue-50) 0%, var(--bg) 100%);
  padding: 56px 0;
  text-align: center;
}
.mid-cta-block { text-align: center; }
.mid-cta-block h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-1);
  max-width: 640px;
  margin: 0 auto 12px;
}
.mid-cta-block p {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 520px;
  margin: 0 auto 28px;
}
.mid-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* -------------------- Trust microbar (above form) -------------------- */
.trust-microbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 24px;
  margin: 0 auto 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  max-width: 720px;
  box-shadow: var(--shadow-sm);
}
.trust-microbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.3;
}
.trust-microbar-item svg {
  color: var(--bn-blue);
  flex-shrink: 0;
}
.trust-microbar-item strong { color: var(--ink-1); font-weight: 700; }
@media (max-width: 720px) {
  .trust-microbar {
    flex-direction: column;
    gap: 10px;
    border-radius: var(--radius);
    padding: 16px 20px;
    align-items: flex-start;
  }
  .trust-microbar-item { font-size: 13px; }
}

/* -------------------- Form progress indicator -------------------- */
.form-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  padding: 0 8px;
}
.form-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.form-progress-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-4);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.form-progress-step.is-active .form-progress-circle {
  background: var(--bn-blue);
  color: white;
  border-color: var(--bn-blue-100);
  transform: scale(1.05);
}
.form-progress-step.is-complete .form-progress-circle {
  background: var(--green);
  color: white;
}
.form-progress-step.is-complete .form-progress-circle::before {
  content: "";
  display: block;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form-progress-step.is-complete .form-progress-circle { font-size: 0; }
.form-progress-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-4);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color .2s ease;
}
.form-progress-step.is-active .form-progress-label { color: var(--ink-1); }
.form-progress-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 16px;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 26px; /* visual centering with circle */
  position: relative;
}
.form-progress-line-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--bn-blue);
  border-radius: 2px;
  transition: width .35s cubic-bezier(.4, 0, .2, 1);
}
@media (max-width: 460px) {
  .form-progress-label { font-size: 11.5px; }
  .form-progress-line { margin: 0 10px 26px; }
}

/* -------------------- Form step container + transitions -------------------- */
.form-step {
  display: none;
  animation: form-step-in .35s cubic-bezier(.2, .7, .2, 1);
}
.form-step.is-active { display: block; }
@keyframes form-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-step { animation: none; }
}

.form-step-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.form-step-meta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--bn-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.form-step-title {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.form-step-sub {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* -------------------- Names group (Step 2) -------------------- */
.field-names-group {
  margin-bottom: 18px;
  padding: 18px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.group-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.group-help {
  font-size: 13px;
  color: var(--ink-4);
  margin-bottom: 14px;
  line-height: 1.45;
}
.field-compact { margin-bottom: 10px; }
.field-compact:last-of-type { margin-bottom: 0; }
.field-compact input { background: white; }

/* -------------------- Field error (inline) -------------------- */
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
  line-height: 1.4;
}
.field-error.is-visible { display: block; }

/* -------------------- Step actions -------------------- */
.form-step-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.form-step-actions .btn {
  width: 100%;
  max-width: 380px;
}
.form-step-reassurance {
  font-size: 13px;
  color: var(--ink-4);
  text-align: center;
}
.btn-step-back {
  background: none;
  border: 0;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--ink-4);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: color .15s ease;
}
.btn-step-back:hover { color: var(--bn-blue); }

/* -------------------- What-happens-next mini-timeline -------------------- */
.next-steps-mini {
  margin: 24px 0 4px;
  padding: 20px 22px;
  background: var(--bn-blue-50);
  border-radius: var(--radius);
  border: 1px solid var(--bn-blue-100);
}
.next-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.next-step + .next-step { border-top: 1px solid var(--bn-blue-100); }
.next-step-dot {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bn-blue);
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.next-step-text strong { color: var(--ink-1); font-weight: 700; }

/* -------------------- Why us 4-card section -------------------- */
.why-cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .18s ease, box-shadow .25s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--bn-blue-100);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bn-blue-50);
  color: var(--bn-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink-1);
  margin: 0;
}
.why-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
@media (max-width: 980px) {
  .why-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .why-cards { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 22px 20px; }
}

/* -------------------- Guarantee block -------------------- */
.guarantee-block {
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.guarantee-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.guarantee-block h2 {
  max-width: 640px;
  margin: 10px auto 0;
}
.guarantee-block .section-lead {
  max-width: 480px;
  margin: 14px auto 32px;
}
.guarantee-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 620px;
  text-align: left;
  display: grid;
  gap: 14px;
}
.guarantee-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}
.guarantee-list strong {
  display: block;
  color: var(--ink-1);
  font-size: 15.5px;
  margin-bottom: 4px;
  font-weight: 700;
}
.guarantee-list li > div {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.55;
}
.guarantee-tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-50);
  position: relative;
}
.guarantee-tick::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.guarantee-cta { margin-top: 32px; }
@media (max-width: 560px) {
  .guarantee-block { padding: 36px 22px; }
  .guarantee-list li { padding: 16px; }
}

/* ============================================================
   MOBILE CONVERSION OPTIMIZATION
   ============================================================ */

/* -------------------- Mobile hero typography compression -------------------- */
@media (max-width: 720px) {
  /* Hero section padding — tighter on mobile */
  .hero-split { padding: 24px 0 40px; }
  .hero-grid { gap: 28px; }

  /* Eyebrow — smaller, tighter */
  .hero-pitch .eyebrow {
    font-size: 11px;
    margin-bottom: 14px;
  }

  /* H1 — aggressive viewport scaling, tighter line-height */
  .hero-pitch h1 {
    font-size: clamp(26px, 7vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-top: 0;
  }

  /* Sub — smaller body size + tighter line-height */
  .hero-pitch .hero-sub {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.5;
  }

  /* Trust badges — smaller, less padding, single row preferred */
  .hero-trust-badges {
    margin-top: 22px;
    gap: 8px;
  }
  .trust-badge {
    font-size: 12.5px;
    padding: 6px 12px;
  }

  /* Independence disclosure — smaller compliance copy */
  .hero-pitch .hero-disclosure {
    margin-top: 18px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  /* Hero CTA pair — stacked, full-width primary */
  .hero-cta-mobile {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 22px;
  }
  .hero-cta-mobile .btn {
    width: 100%;
    min-width: 0;
    height: 56px;
    font-size: 16px;
  }
  .hero-cta-mobile .hero-wa-link {
    justify-content: center;
    font-size: 14.5px;
  }

  /* Form card — tighter padding to fit more above the form footer */
  .form-card-hero { padding: 22px 18px; }
  .form-card-head { margin-bottom: 14px; padding-bottom: 14px; }
  .form-card-title { font-size: 21px; }
  .form-card-eyebrow { font-size: 11px; }

  /* Step heading — slightly smaller on mobile */
  .form-step-title { font-size: 19px; }
  .form-step-sub { font-size: 13.5px; }

  /* Section padding tightening */
  .section { padding: 44px 0; }
  .section-cta { padding: 48px 0; }
}

@media (max-width: 380px) {
  /* Very small phones — even tighter */
  .form-card-hero { padding: 20px 16px; }
  .hero-trust-badges .trust-badge {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* -------------------- Mobile sticky bottom action bar -------------------- */
.mobile-action-bar {
  display: none; /* Mobile-only */
}

@media (max-width: 720px) {
  .mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: stretch;
    z-index: 55;
    /* Account for iPhone home-indicator safe area */
    padding-bottom: env(safe-area-inset-bottom, 0);
    height: calc(56px + env(safe-area-inset-bottom, 0));
  }
  .mobile-action-bar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink-1);
    text-decoration: none;
    transition: background .12s ease;
  }
  .mobile-action-bar a:active {
    background: var(--bg);
  }
  .mobile-action-bar a + a {
    border-left: 1px solid var(--line);
  }
  .mobile-action-bar .mab-call svg {
    color: var(--bn-blue);
  }
  .mobile-action-bar .mab-wa {
    color: var(--wa-green);
  }

  /* Hide FAB on mobile — bottom bar replaces it */
  .wa-fab { display: none; }

  /* Body padding-bottom so content isn't hidden behind the bar */
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }

  /* Scroll-padding so anchor jumps clear the sticky bar too */
  html {
    scroll-padding-bottom: 64px;
  }
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
