/* =========================================================
   BusinessLoanBrokers.com — Main Stylesheet
   Design: Clean modern fintech, blue tones, generous white space
   ========================================================= */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Primary Blues */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-950: #172554;

  /* Deep Navy */
  --navy-800: #0f1f3d;
  --navy-900: #081022;

  /* Teal Accent */
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;

  /* Neutrals */
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --color-primary:     var(--blue-600);
  --color-primary-h:   var(--blue-700);
  --color-accent:      var(--teal-500);
  --color-text:        var(--gray-800);
  --color-text-muted:  var(--gray-500);
  --color-bg:          #ffffff;
  --color-surface:     var(--gray-50);
  --color-border:      var(--gray-200);
  --color-success:     #10b981;

  /* Typography */
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-display:'Outfit', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.25);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

/* ─── Disable image dragging/saving site-wide ────────────── */
img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Inline Body Copy Links ─────────────────────────────────
   Targets <a> tags inside paragraph, list, table, and FAQ
   body copy only. Nav menus, mobile nav, footer, buttons,
   and card links are explicitly excluded.
   ──────────────────────────────────────────────────────────── */
p a,
li a:not([class]),
td a:not([class]),
.ccs-faq-a a,
blockquote a {
  color: var(--blue-600);          /* #2563eb — brand primary */
  text-decoration: none;
  font-weight: 500;
  transition: color .15s ease;
}

p a:hover,
li a:not([class]):hover,
td a:not([class]):hover,
.ccs-faq-a a:hover,
blockquote a:hover {
  color: var(--blue-700);          /* #1d4ed8 — slightly deeper on hover */
}

/* ── Re-neutralise nav/menu/footer li a links that match above ── */
.dropdown-menu li a,
.dropdown-menu li a:hover,
.mobile-nav-list li a,
.mobile-nav-list li a:hover,
.mobile-nav-submenu a,
.mobile-nav-submenu a:hover,
.footer-nav-group li a,
.footer-nav-group li a:hover,
.footer-contact-list li a,
.footer-contact-list li a:hover,
header li a,
nav li a,
footer li a,
footer p a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
strong { font-weight: 700; }
em { font-style: italic; }

/* ─── Global Heading Styles ──────────────────────────────── */
h1, h2, h3, h4, h5, h6, .hero-headline, .stat-value, .step-num, .logo-text {
  font-family: var(--font-display);
  letter-spacing: 0;
  font-weight: 500;
}

h1 { font-weight: 600; font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.15; }     /* max 60px */
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.2; color: #1e293b; }    /* max 44px — rgb(30,41,59) */
h3 { font-size: clamp(1.375rem, 3vw, 2rem); line-height: 1.25; margin-bottom: .75rem; }     /* max 32px */
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); line-height: 1.3; margin-bottom: .75rem; }  /* max 24px */
h5 { font-size: clamp(1rem, 2vw, 1.25rem); }                         /* max 20px */
h6 { font-size: clamp(0.75rem, 1.5vw, 0.875rem); }                   /* max 14px */

/* ─── Heading size tokens (for component-level references) ─── */
:root {
  --h2-size: clamp(1.75rem, 4vw, 2.75rem);
  --h3-size: clamp(1.375rem, 3vw, 2rem);
  --h4-size: clamp(1.125rem, 2.5vw, 1.5rem);
  --h5-size: clamp(1rem, 2vw, 1.25rem);
  --h6-size: clamp(0.75rem, 1.5vw, 0.875rem);
}

/* ─── Utilities ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline; } }

.text-gradient {
  background: linear-gradient(135deg, var(--blue-500), #7B4FE0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-alt {
  background: linear-gradient(135deg, #7B4FE0, var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .9375rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
}

.btn-lg {
  padding: .85rem 2rem;
  font-size: 1rem;
}

.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-h);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--blue-200);
}
.btn-ghost:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--blue-50);
}

.btn-outline-dark {
  background: transparent;
  color: var(--gray-800);
  border: 1.5px solid var(--gray-300);
}
.btn-outline-dark:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-white {
  background: #fff;
  color: var(--blue-700);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
}

/* ─── Section Shared ─────────────────────────────────────── */
.section-label-row { display: flex; justify-content: center; margin-bottom: 1rem; }

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: .8125rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-100);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-chip.light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.2);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gray-900);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0;
  max-width: 1000px;
  margin-inline: auto;
  margin-bottom: .75rem;
}

.section-title.light { color: #fff; }
.section-title.title-xl { font-size: clamp(2rem, 4.5vw, 3.125rem); } /* max 50px */

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

.section-subtitle.light { color: rgba(255,255,255,.75); }

/* ─── Navigation ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

/* Image logo variant */
.logo-img {
  gap: 0;
}

.site-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.site-logo-footer {
  height: 47px;
  width: auto;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  letter-spacing: 0;
}

.logo-text strong { color: var(--blue-600); font-weight: 800; }

.primary-nav { margin-left: auto; }

.nav-list {
  display: none;
  align-items: center;
  gap: .25rem;
}

@media (min-width: 1024px) {
  .nav-list { display: flex; }
}

.nav-item { position: relative; }

/* Non-clickable nav label (e.g. "Company" parent item) */
.nav-link-label {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: default;
  user-select: none;
}
.nav-item.has-dropdown:hover .nav-link-label,
.nav-item.has-dropdown:focus-within .nav-link-label {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav-link .fa-chevron-down {
  transition: transform var(--transition-fast);
}

.nav-item.has-dropdown:hover .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;                         /* left-align with nav item */
  transform: translateY(6px);
  background: #fff;
  border-radius: var(--radius-md); /* match nav item highlight radius (12px) */
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  padding: .5rem;
  padding-top: 1rem;
  margin-top: -.5rem;
  min-width: 260px;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s 180ms;
  z-index: 200;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s 0s;
}

/* Drip-style icon + label rows */
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--gray-700);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

.dropdown-menu li a:hover .dd-icon {
  background: var(--blue-100);
}

/* Icon box */
.dd-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  font-size: .85rem;
  transition: background var(--transition-fast);
}

/* Text block */
.dd-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.dd-text strong {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.2;
}

.dd-text span {
  font-size: .75rem;
  color: var(--gray-400);
  font-weight: 400;
  line-height: 1.3;
}

/* ── Mega dropdown (Funding Solutions) ───────────────────── */
.dropdown-menu.mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  min-width: 580px;
  padding: 1.25rem 1rem 1rem;
  white-space: normal;
}

.dd-group {
  padding-bottom: 1rem;
  margin-bottom: .75rem;
  border-bottom: 1px solid var(--gray-100);
}

.dd-group:last-child,
.dd-group.no-divider {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.dd-group-title {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0 .75rem .5rem;
  display: block;
}

/* Per-group icon color tints */
.dd-group.group-asset    .dd-icon { background: #eff6ff; color: #2563eb; }
.dd-group.group-term     .dd-icon { background: #fff7ed; color: #c2410c; }
.dd-group.group-working  .dd-icon { background: #f0fdf4; color: #16a34a; }
.dd-group.group-special  .dd-icon { background: #fff1f2; color: #dc2626; }

.dd-group.group-asset    li a:hover { background: #eff6ff; color: #1d4ed8; }
.dd-group.group-term     li a:hover { background: #fff7ed; color: #c2410c; }
.dd-group.group-working  li a:hover { background: #f0fdf4; color: #15803d; }
.dd-group.group-special  li a:hover { background: #fff1f2; color: #b91c1c; }

.dd-group.group-asset    li a:hover .dd-icon { background: #dbeafe; }
.dd-group.group-term     li a:hover .dd-icon { background: #fed7aa; }
.dd-group.group-working  li a:hover .dd-icon { background: #bbf7d0; }
.dd-group.group-special  li a:hover .dd-icon { background: #fecdd3; }

/* Business Credit dropdown — brand purple icons */
.nav-item.has-dropdown:nth-child(2) .dropdown-menu .dd-icon {
  background: #ede9fb;
  color: #7B4FE0;
}
.nav-item.has-dropdown:nth-child(2) .dropdown-menu li a:hover {
  background: #ede9fb;
  color: #6135c0;
}
.nav-item.has-dropdown:nth-child(2) .dropdown-menu li a:hover .dd-icon {
  background: #ddd6fe;
}

.nav-cta {
  display: none;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav-cta { display: flex; }
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: auto;
  padding: 4px;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 1rem var(--container-pad) 1.5rem;
  background: #fff;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.mobile-nav.open { display: block; }

.mobile-nav-list { display: flex; flex-direction: column; gap: .15rem; }

/* Top-level direct links */
.mobile-nav-list > li > a,
.mobile-nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .7rem .75rem;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-800);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.mobile-nav-list > li > a:hover,
.mobile-nav-group-toggle:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

/* Chevron icon on group toggles */
.mobile-nav-group-toggle .mnav-chevron {
  font-size: .7rem;
  transition: transform .25s ease;
  flex-shrink: 0;
}

.mobile-nav-group.open .mobile-nav-group-toggle .mnav-chevron {
  transform: rotate(180deg);
}

/* Submenu */
.mobile-nav-submenu {
  display: none;
  flex-direction: column;
  gap: .1rem;
  padding: .25rem 0 .25rem .75rem;
  margin-left: .75rem;
  border-left: 2px solid var(--blue-100);
}

.mobile-nav-group.open .mobile-nav-submenu {
  display: flex;
}

.mobile-nav-submenu a {
  display: block;
  padding: .5rem .75rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.mobile-nav-submenu a:hover,
.mobile-nav-submenu a.active {
  background: var(--blue-50);
  color: var(--blue-700);
}

/* CTA button */
.mobile-nav-cta {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--color-border);
}

.mobile-nav-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff !important;
  border-radius: var(--radius-lg);
  padding: .8rem 1rem;
  font-weight: 600;
  font-size: .95rem;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, var(--blue-50) 60%, var(--blue-100) 100%);
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: 0;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
}

.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blue-200) 0%, transparent 70%);
  top: -200px; right: -150px;
}

.shape-2 {
  display: none;
}

.shape-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--blue-300) 0%, transparent 70%);
  top: 40%; left: 30%;
  opacity: .3;
}

.shape-4 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, #7B4FE0 0%, transparent 70%);
  top: 20%; left: 55%;
  opacity: .2;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  color: var(--gray-500);
  font-size: .8125rem;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}

.hero-subheadline {
  font-size: 22px;
  color: rgb(100, 116, 139);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 14px;
  font-weight: 500;
  color: rgb(100, 116, 139);
}

.trust-icon { color: var(--blue-500); }
.trust-divider { color: var(--gray-300); font-size: 1.1rem; }

/* ─── Hero Social Proof (avatars + stars) ─── */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  margin-right: -10px;
  flex-shrink: 0;
  background: var(--gray-100);
  position: relative;
}

.proof-avatar:last-child {
  margin-right: 0;
}

.proof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Black woman avatar — shift right to avoid window highlight */
.proof-avatar:first-child img {
  object-position: 60% 15%;
}

.proof-stars {
  display: flex;
  gap: .2rem;
  color: #f59e0b;
  font-size: 1rem;
  padding-left: .5rem;
}
.proof-trusted-text {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
  padding-left: .5rem;
  white-space: nowrap;
}

/* ─── Hero Visual (Cards) ─── */
.hero-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-visual { min-height: 400px; }
}

.hero-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
}

.hero-card-main {
  position: relative;
  width: 100%;
  max-width: 380px;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-card-main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}

.hero-card-secondary {
  position: absolute;
  bottom: -1rem;
  right: 0;
  width: 220px;
  z-index: 3;
  padding: 1rem 1.25rem;
}

.hero-card-float {
  position: absolute;
  bottom: 3.5rem;
  left: -1rem;
  width: 200px;
  z-index: 3;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  border-color: var(--navy-800);
}

@media (max-width: 1023px) {
  .hero-visual { display: none; }
}

.card-header-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.card-icon-wrap.blue { background: var(--blue-100); color: var(--blue-600); }
.card-icon-wrap.teal { background: #ccfbf1; color: var(--teal-600); }
.card-icon-wrap.small { width: 34px; height: 34px; font-size: .875rem; }

.card-label { font-size: .75rem; font-weight: 500; color: var(--gray-500); margin-bottom: .2rem; }
.card-value { font-size: 1.375rem; font-weight: 500; color: var(--gray-900); }

.status-badge {
  margin-left: auto;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: var(--radius-full);
}

.status-badge.approved { background: #dcfce7; color: #166534; }

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--gray-500);
  margin-bottom: .4rem;
}

.progress-bar-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-full);
  height: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-400));
  border-radius: var(--radius-full);
  transition: width 1.2s ease;
}

.card-meta-row {
  display: flex;
  gap: 1rem;
}

.meta-item { display: flex; flex-direction: column; }
.meta-label { font-size: .7rem; color: var(--gray-400); font-weight: 500; }
.meta-val { font-size: .9rem; font-weight: 500; color: var(--gray-800); }

.credit-score-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.credit-score-value { font-size: 1.5rem; font-weight: 500; color: var(--gray-900); }
.credit-score-up { font-size: .75rem; font-weight: 600; color: var(--color-success); }

.float-icon { color: var(--teal-400); font-size: 1.25rem; margin-bottom: .5rem; }
.float-partner-row { display: flex; align-items: center; gap: .3rem; }

.partner-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue-400);
  border: 2px solid var(--navy-900);
  margin-right: -4px;
}

.partner-dot:nth-child(2) { background: var(--teal-400); }
.partner-dot:nth-child(3) { background: var(--blue-600); }

.partner-count { font-size: .75rem; color: rgba(255,255,255,.7); margin-left: .6rem; }

.card-credit .card-label { color: rgba(255,255,255,.6); }
.card-credit .card-value { color: #fff; }
.card-credit .credit-score-value { color: #fff; }
.card-credit { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); border-color: var(--blue-600); }
.card-credit .card-label { color: rgba(255,255,255,.6); }

/* ─── Tagline Banner ─── */
.tagline-banner {
  position: relative;
  z-index: 1;
  background: var(--blue-600);
  padding: 1rem 0;
  margin-top: 2rem;
}

.tagline-text {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
}

.tag-accent { color: #fff; }

/* ─── Lender Logos ───────────────────────────────────────── */
.lender-logos-section {
  padding: 2.5rem 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.logos-track-wrap {
  overflow: hidden;
  position: relative;
  -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
}

@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-item i { color: var(--blue-400); }

/* ─── Funding Finder ─────────────────────────────────────── */
.funding-finder-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.funding-finder-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  max-width: 760px;
  margin-inline: auto;
}

/* ── Finder Progress Bar ── */
.finder-progress-wrap {
  margin-bottom: 2rem;
  width: 100%;
}

.finder-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}

.finder-progress-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: .02em;
}

.finder-progress-step-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: .02em;
}

.finder-progress-track {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 9999px;
  overflow: hidden;
}

.finder-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #6366f1);
  border-radius: 9999px;
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
}

.finder-panel { display: none; }
.finder-panel.active { display: block; }

.finder-question {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1.75rem;
}

.finder-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 600px) {
  .finder-options-grid { grid-template-columns: repeat(4, 1fr); }
  .finder-options-grid--3col { grid-template-columns: repeat(3, 1fr); }
}

.finder-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem .75rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  background: var(--gray-50);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition-base);
}

.finder-option i { font-size: 1.35rem; color: var(--gray-400); transition: color var(--transition-fast); }

.finder-option:hover {
  border-color: var(--blue-300);
  background: var(--blue-50);
  color: var(--blue-700);
}

.finder-option:hover i { color: var(--blue-500); }

/* ── Illustrative terms note ── */
.terms-note {
  font-size: .75rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-top: .6rem;
  text-align: center;
  font-style: italic;
}

/* ─── Sources & Further Reading (site-wide) ──────────────── */
.sources-section {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--gray-50);
  border: 1.5px solid var(--color-border);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-xl);
}
.sources-section h4 {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sources-section h4 i { color: var(--blue-600); font-size: .875rem; }
.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.sources-list li {
  font-size: .8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.sources-list li::before { content: "↗"; color: var(--blue-500); font-size: .75rem; flex-shrink: 0; }
.sources-list a { color: var(--blue-600); text-decoration: none; font-weight: 500; transition: color .2s; }
.sources-list a:hover { color: var(--blue-800); text-decoration: underline; }
.sources-disclaimer {
  font-size: .75rem;
  color: var(--gray-400);
  font-style: italic;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--color-border);
}

.finder-option.selected {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--blue-700);
}

.finder-option.selected i { color: var(--blue-600); }

.btn-finder-next, .btn-finder-submit {
  display: block;
  margin: 0 auto;
  min-width: 180px;
}

.btn-finder-next:disabled, .btn-finder-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.finder-btn-row {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.finder-results-content {
  text-align: center;
  padding: 2rem 0;
}

.results-icon {
  font-size: 3.5rem;
  color: var(--color-success);
  margin-bottom: 1rem;
}

.finder-results-content h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: .75rem;
}

.finder-results-content p {
  color: var(--gray-500);
  margin-bottom: 1.75rem;
  max-width: 440px;
  margin-inline: auto;
}

.finder-restart {
  display: block;
  margin: .75rem auto 0;
  font-size: .875rem;
  color: var(--gray-400);
}

/* ─── Services / Two Pillars ─────────────────────────────── */
.services-section {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}

.pillar-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pillar-funding {
  border-top: 4px solid var(--blue-600);
}

.pillar-credit {
  border-top: 4px solid #7B4FE0;
}

.pillar-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pillar-funding .pillar-icon-wrap { background: var(--blue-100); color: var(--blue-600); }
.pillar-credit  .pillar-icon-wrap { background: #ede9fb; color: #7B4FE0; }

.pillar-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.pillar-funding .pillar-tag { color: var(--blue-600); }
.pillar-credit  .pillar-tag { color: #7B4FE0; }

.pillar-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: .875rem;
  line-height: 1.25;
}

.pillar-card p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.pillar-features {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 2rem;
  padding-left: 20px;
}

.pillar-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--gray-600);
}

.pillar-features li > i { display: none; }
.pillar-features li .wi { width:22px; height:22px; border-radius:50%; background:#dbeafe; color:#2563eb; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:.65rem; }

.pillar-cta.btn-primary,
.pillar-cta.btn-primary:hover { box-shadow: none; }

.pillar-credit .pillar-cta.btn-outline-dark {
  background: var(--teal-500);
  color: #fff;
  border-color: var(--teal-500);
}
.pillar-credit .pillar-cta.btn-outline-dark:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
}

/* ─── Why Choose Us ──────────────────────────────────────── */
.why-us-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.differentiators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px)  { .differentiators-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .differentiators-grid { grid-template-columns: repeat(3, 1fr); } }

.diff-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  transition: all var(--transition-base);
  text-align: center;
}

.diff-card:hover {
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.diff-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.diff-card h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.diff-card p {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── Stats ──────────────────────────────────────────────── */
.stats-section {
  padding: 4rem 0;
  background: var(--blue-600);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item { display: flex; flex-direction: column; align-items: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: inline;
}

.stat-number-row {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: 1rem;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── Testimonials ───────────────────────────────────────── */
/* ─── Testimonials — Dual Auto-Scrolling Marquee ────────────────────────────── */
.testimonials-section {
  padding: var(--section-py) 0;
  background: #fff;
  overflow: hidden;
}

/* ── Keyframe animations ── */
@keyframes marquee-ltr-anim {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-rtl-anim {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── Outer viewport window with soft edge fades ── */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  padding-top: 12px;      /* room for cards to lift on hover without clipping */
  margin-top: -12px;      /* pull section back up so padding doesn't add whitespace */
  /* fade cards near edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

/* ── Inner scrolling track – holds 12 cards + 12 duplicate cards ── */
.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;   /* shrink-wraps all cards */
  will-change: transform;
}

/* Row 1 → right-to-left */
.marquee-ltr {
  animation: marquee-ltr-anim 79s linear infinite;
}

/* Row 2 → left-to-right */
.marquee-rtl {
  animation: marquee-rtl-anim 86s linear infinite;
}

/* Pause on hover for accessibility */
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

/* ── Individual testimonial card ── */
.tcard {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  width: 340px;          /* equal fixed width on every card */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  box-shadow: 0 2px 8px rgba(30,58,138,.06);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.tcard:hover {
  box-shadow: 0 8px 28px rgba(30,58,138,.13);
  transform: translateY(-3px);
}

/* Stars */
.tcard-stars {
  display: flex;
  gap: .2rem;
  color: #f59e0b;        /* gold */
  font-size: .875rem;
}

/* Quote text */
.tcard blockquote {
  font-size: .9375rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.72;
  flex: 1;               /* pushes author to bottom */
  margin: 0;
}

/* Author row */
.tcard-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}

/* Initials avatar */
.tcard-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.tcard-author > div:not(.tcard-avatar):not(.tcard-amount) {
  flex: 1;
}
.tcard-author strong {
  display: block;
  font-size: .85rem;
  color: var(--gray-900);
  font-weight: 700;
}
.tcard-author > div:not(.tcard-avatar):not(.tcard-amount) {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.tcard-title {
  display: block;
  font-size: .775rem;
  font-weight: 400;
  color: var(--gray-500);
}

/* Funded amount pill */
.tcard-amount {
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-100);
  white-space: nowrap;
  margin-left: auto;
}

/* ── Legacy slider elements (kept for other pages) ── */
.testimonials-slider-wrap { position: relative; overflow: hidden; }
.testimonials-slider { display: flex; gap: 1.5rem; transition: transform var(--transition-slow); }
.testimonial-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  min-width: 100%;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(30,58,138,.07);
}
@media (min-width: 900px) { .testimonial-card { min-width: calc(50% - .75rem); } }
.testimonial-stars { display: flex; gap: .2rem; color: #facc15; font-size: .875rem; margin-bottom: 1rem; }
.testimonial-quote { font-size: 1rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-400));
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.author-info { flex: 1; }
.author-info strong { display: block; font-size: .9rem; color: var(--gray-900); }
.author-info span { font-size: .8125rem; color: var(--gray-500); }
.testimonial-amount {
  font-size: .75rem; font-weight: 700; color: var(--blue-600);
  background: var(--blue-50); padding: .25rem .65rem;
  border-radius: var(--radius-full); border: 1px solid var(--blue-100); white-space: nowrap;
}
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gray-100);
  color: var(--gray-600); border: 1.5px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.slider-btn:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.slider-dots { display: flex; gap: .4rem; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); transition: all var(--transition-fast); cursor: pointer; }
.slider-dot.active { background: var(--blue-600); width: 20px; border-radius: var(--radius-full); }

.testimonials-cta { text-align: center; margin-top: 2.5rem; }

/* ─── How It Works ───────────────────────────────────────── */
.how-it-works-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .steps-timeline {
    flex-direction: row;
    align-items: stretch;
    gap: 1.25rem;
  }
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step-item:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,.08);
  transform: translateY(-3px);
}

.step-num {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), #7B4FE0);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(123,79,224,.25);
}

.step-content h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .5rem;
}

.step-content p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.step-arrow {
  display: none;
  color: var(--gray-200);
  font-size: 1.25rem;
  margin-top: 1.75rem;
}

.step-arrow i {
  line-height: 0;
}

@media (min-width: 900px) {
  .step-arrow {
    display: flex;
    align-items: center;
    padding-top: 0;
    margin-top: 0;
    color: var(--gray-300);
    font-size: 1rem;
    flex-shrink: 0;
  }
}

/* ─── Resources ──────────────────────────────────────────── */
.resources-section {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .resources-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

.resource-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--blue-200);
}

.resource-category {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .75rem;
}

.resource-card h4 {
  font-family: var(--font-display);
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: .75rem;
  line-height: 1.35;
}

.resource-card.resource-featured h4 {
  font-size: 1.625rem; /* restore global h4 size for featured card */
}

.resource-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.resource-meta {
  display: flex;
  gap: 1rem;
  font-size: .75rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.resource-meta span { display: flex; align-items: center; gap: .3rem; }
.resource-meta .fa-fire { color: #f97316; }

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue-600);
  transition: gap var(--transition-fast);
}

.resource-link:hover { gap: .65rem; }

.resources-cta { text-align: center; margin-top: 2.5rem; }

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner-section {
  position: relative;
  padding: clamp(5.25rem, 9vw, 8.25rem) 0 clamp(9rem, 14vw, 13rem);
  background: #7B4FE0;
  background: linear-gradient(180deg, #7B4FE0 0%, #3a2680 60%, #0a1020 100%);
  overflow: hidden;
}

.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
}

.cta-shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #a78bfa, transparent 70%);
  top: -200px; right: -100px;
}

.cta-shape-2 {
  display: none;
}

.cta-banner-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner-text { margin-bottom: 2.25rem; }

.cta-banner-text .section-chip,
.cta-banner-text .chip {
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  color: #fff;
  margin-bottom: .75rem;
  line-height: 1.15;
  text-transform: capitalize;
}

.cta-banner-text p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0;
}

/* Only add bottom margin when trust icons follow */
.cta-banner-actions:has(+ .cta-trust-icons) {
  margin-bottom: 2.5rem;
}

.cta-trust-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}

.cta-trust-item i { color: rgba(255,255,255,.55); font-size: .75rem; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0a1020;
  color: rgba(255,255,255,.75);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem var(--container-pad) 3rem;
}

@media (min-width: 640px)  { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr; } }

.footer-logo .logo-text { color: rgba(255,255,255,.9); }
.footer-logo .logo-text strong { color: var(--blue-400); }

.footer-tagline {
  margin-top: 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.footer-nav-group h4 {
  font-family: var(--font-display);
  font-size: .75rem; /* intentional: footer column labels are tiny caps */
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
}

.footer-nav-group ul { display: flex; flex-direction: column; gap: .6rem; }

.footer-nav-group a {
  font-size: .875rem;
  color: rgba(255,255,255,.5) !important;
  transition: color var(--transition-fast);
}

.footer-nav-group a:hover { color: rgba(255,255,255,.75) !important; }

.footer-contact-group h4 {
  font-family: var(--font-display);
  font-size: .75rem; /* intentional: footer column labels are tiny caps */
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}

.footer-contact-list i { color: #3d64ee; width: 14px; }

.footer-contact-list a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition-fast);
}

.footer-contact-list a:hover { color: rgba(255,255,255,.9); }

.footer-trust-badges { display: flex; flex-direction: column; gap: .5rem; }

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
}

.trust-badge-item i { color: #facc15; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem var(--container-pad);
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}

.footer-disclaimer { max-width: 600px; line-height: 1.5; }
.footer-disclaimer a { color: rgba(255,255,255,.5); text-decoration: underline; }

/* Alias classes used in case-study sub-pages */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem var(--container-pad) 3rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.5fr; } }

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}

/* Footer badge aliases used in blog pages */
.footer-badges { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.footer-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
}
.footer-badge i { color: #facc15; }

/* ─── Animations ─────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-animate="fade-left"] {
  transform: translateX(32px);
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ─── Page-level shared header for inner pages ───────────── */
.page-hero {
  background: linear-gradient(160deg, #fff 0%, var(--blue-50) 60%, var(--blue-100) 100%);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(3rem, 8vw, 5rem);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 660px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ─── Responsive Tweaks ──────────────────────────────────── */
@media (max-width: 767px) {
  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  /* CTA banner headline — scale down from fixed 44px on mobile */
  .cta-banner-text h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  /* Hero subheadline — reduce on small screens */
  .hero-subheadline { font-size: clamp(1rem, 4vw, 1.375rem); }
  /* Page hero — ensure action buttons stack nicely */
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 320px; }
}

@media (max-width: 480px) {
  /* Ensure the container never causes horizontal scroll */
  .container { padding-left: 1rem; padding-right: 1rem; }
  /* Tagline banner text readable on small screens */
  .tagline-text { font-size: .9rem; }
  /* Lender logos track — reduce gap */
  .logos-track { gap: 1rem; }
  /* Stats section — always 2 columns on tiny screens */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Section padding reduction */
  .services-section, .why-us-section, .how-it-works-section,
  .resources-section, .funding-finder-section { padding-top: 3rem; padding-bottom: 3rem; }
}
