/* ============================================================
   MedRec Acquisitions — Corporate Medical-Finance Stylesheet
   Design: Healthcare Revenue Cycle / Institutional Finance
   Palette: Navy #122B4B · Slate #3D5166 · Warm White #FAFBFC
            Stone #F2F4F7 · Sage Green #2D7A5F · Gold Accent #B8975A
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --navy:          #122B4B;
  --navy-mid:      #1B3D61;
  --navy-lt:       #234E79;
  --slate:         #3D5166;
  --slate-lt:      #607A91;
  --sage:          #2D7A5F;
  --sage-dk:       #1F5C47;
  --sage-lt:       #3A9472;
  --sage-faint:    #EBF4F0;
  --gold:          #B8975A;
  --gold-lt:       #D4B07A;
  --warm-white:    #FAFBFC;
  --stone:         #F2F4F7;
  --stone-dk:      #E5E9EF;
  --border:        #D8DDE6;
  --border-lt:     #ECF0F5;
  --text-dark:     #0F1E2E;
  --text-body:     #3D4F62;
  --text-mid:      #5C7080;
  --text-light:    #8A9BB0;
  --white:         #FFFFFF;
  --danger:        #B93030;
  --danger-faint:  #FDF2F2;

  --font-serif:    'Merriweather', Georgia, 'Times New Roman', serif;
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;

  --shadow-xs:  0 1px 2px rgba(18,43,75,.05);
  --shadow-sm:  0 2px 6px rgba(18,43,75,.07), 0 1px 2px rgba(18,43,75,.04);
  --shadow-md:  0 4px 16px rgba(18,43,75,.09), 0 2px 4px rgba(18,43,75,.05);
  --shadow-lg:  0 10px 32px rgba(18,43,75,.11), 0 4px 8px rgba(18,43,75,.06);
  --shadow-xl:  0 20px 56px rgba(18,43,75,.13);

  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --header-h:   76px;
  --ease:       cubic-bezier(.25,.46,.45,.94);
  --t:          0.22s;
  --t-slow:     0.4s;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 88px 0; }
.bg-stone   { background: var(--stone); }
.bg-white   { background: var(--white); }
.bg-navy    { background: var(--navy); }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); }
.eyebrow.light { color: var(--gold-lt); }
.eyebrow.light::before { background: var(--gold-lt); }

h1, h2, h3 { line-height: 1.2; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--sage); }
.section-title.light em { color: var(--gold-lt); }

.section-body {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.78;
}
.section-body.light { color: rgba(255,255,255,.72); }
.max-680 { max-width: 680px; }
.max-760 { max-width: 760px; }
.centered { text-align: center; align-items: center; }
.sect-head { display: flex; flex-direction: column; margin-bottom: 52px; }
.sect-head.centered { align-items: center; text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: all var(--t) var(--ease);
  cursor: pointer;
  line-height: 1.3;
  white-space: nowrap;
}
.btn-lg  { padding: 15px 32px; font-size: 0.9375rem; }
.btn-sm  { padding: 9px 18px; font-size: 0.8125rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(18,43,75,.22);
}
.btn-navy:hover, .btn-navy:focus-visible {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  box-shadow: 0 6px 20px rgba(18,43,75,.3);
  transform: translateY(-1px);
  outline: none;
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
  box-shadow: 0 2px 8px rgba(45,122,95,.22);
}
.btn-sage:hover, .btn-sage:focus-visible {
  background: var(--sage-dk);
  border-color: var(--sage-dk);
  box-shadow: 0 6px 20px rgba(45,122,95,.32);
  transform: translateY(-1px);
  outline: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--stone);
  border-color: var(--slate-lt);
  outline: none;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.75);
}

/* ── ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-lt);
  transition: border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 28px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.logo-mark i { color: var(--white); font-size: 1.1rem; }
.logo-wordmark { display: flex; flex-direction: column; gap: 0; }
.logo-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.logo-name span { color: var(--slate-lt); font-weight: 400; }
.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1;
  margin-top: 3px;
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  transition: color var(--t), background var(--t);
  letter-spacing: 0.005em;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--navy);
  background: var(--stone);
}
.main-nav a.active { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  transition: color var(--t);
}
.header-phone i { color: var(--sage); font-size: 0.75rem; }
.header-phone:hover { color: var(--navy); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: var(--radius-xs);
  margin-left: auto;
  width: 38px; height: 38px;
  justify-content: center;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.28s ease;
  width: 20px;
}
.hamburger span:last-child { width: 14px; }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: var(--header-h) 32px 40px;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
}
.mobile-nav a {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate);
  padding: 13px 0;
  border-bottom: 1px solid var(--border-lt);
  transition: color var(--t);
}
.mobile-nav a:hover { color: var(--navy); }
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }
.mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--stone);
  color: var(--navy);
  font-size: 1rem;
}

/* ── ══════════════════════════════════════════════════════════
   HERO — Light, Editorial, Corporate
══════════════════════════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle architectural lines in background */
.hero-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-canvas::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 680px; height: 680px;
  background: radial-gradient(ellipse at center, rgba(18,43,75,.04) 0%, transparent 68%);
  border-radius: 50%;
}
.hero-canvas::after {
  content: '';
  position: absolute;
  top: 10%; right: 8%;
  width: 420px; height: 420px;
  border: 1px solid rgba(18,43,75,.06);
  border-radius: 50%;
}
.hero-canvas-line {
  position: absolute;
  top: 0; right: 22%;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(18,43,75,.07) 30%, rgba(18,43,75,.07) 70%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 580px;
}

.hero-left {
  padding: 32px 56px 64px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-credential {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 16px 8px 10px;
  width: fit-content;
}
.hero-credential-dot {
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-credential span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--sage);
  display: block;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 510px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-divider::before, .hero-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.hero-divider span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-proof {
  display: flex;
  gap: 0;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.hero-proof-item {
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border-right: 1px solid var(--border);
  min-width: 120px;
}
.hero-proof-item:last-child { border-right: none; }
.proof-val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1;
}
.proof-lbl {
  font-size: 0.675rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-top: 2px;
}

/* Hero Right — Illustrated Finance Scene */
.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
}
.hero-scene {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: var(--stone);
  border-left: 1px solid var(--border-lt);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-scene-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* CSS-built medical finance illustration */
.finance-illustration {
  width: 360px;
  max-width: 100%;
  position: relative;
}

/* Document stack card */
.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px 26px;
  position: relative;
}
.doc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-lt);
}
.doc-card-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.doc-card-logo-mark {
  width: 28px; height: 28px;
  background: var(--navy);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
}
.doc-card-logo-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.doc-card-logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.doc-card-badge {
  background: var(--sage-faint);
  color: var(--sage);
  font-size: 0.675rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(45,122,95,.2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.doc-card-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}
.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: 0.8125rem;
}
.doc-row:last-of-type { border-bottom: none; }
.doc-row-label { color: var(--text-mid); font-weight: 500; }
.doc-row-val { font-weight: 700; color: var(--navy); }
.doc-row-val.red { color: var(--danger); text-decoration: line-through; font-weight: 500; opacity: .65; }
.doc-row-val.green { color: var(--sage); }
.doc-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.doc-footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.doc-footer-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* Floating accent cards */
.float-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.float-card-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.float-card-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.float-card-text span {
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 500;
}

.float-card-1 {
  top: 24px;
  right: -20px;
  animation: floatY 4s ease-in-out infinite;
}
.float-card-1 .float-card-icon { background: var(--sage-faint); color: var(--sage); }

.float-card-2 {
  bottom: 60px;
  left: -24px;
  animation: floatY 5s ease-in-out 1s infinite;
}
.float-card-2 .float-card-icon { background: rgba(18,43,75,.06); color: var(--navy); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Background texture for hero scene */
.hero-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-lt) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-lt) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
}

/* ── ══════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--navy);
  padding: 0;
  border-bottom: 3px solid var(--gold);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background var(--t);
}
.trust-bar-item:last-child { border-right: none; }
.trust-bar-item:hover { background: rgba(255,255,255,.04); }
.tbi-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-lt);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.tbi-text strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.tbi-text span {
  font-size: 0.7rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* ── ══════════════════════════════════════════════════════════
   SECTION 1 — PROBLEM / UNLOCK REVENUE
══════════════════════════════════════════════════════════════ */
.section-unlock { background: var(--white); }

.unlock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.unlock-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ar-item {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t);
}
.ar-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.ar-item-status {
  width: 5px;
  align-self: stretch;
  flex-shrink: 0;
}
.ar-item-status.dropped { background: #C9503A; }
.ar-item-status.aging   { background: #E09940; }
.ar-item-status.written { background: #9BA8B5; }
.ar-item-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 16px;
}
.ar-item-info { display: flex; flex-direction: column; gap: 2px; }
.ar-item-name { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.ar-item-meta { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }
.ar-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ar-item-amount { font-size: 0.9375rem; font-weight: 800; color: var(--text-body); }
.ar-item-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag-dropped { background: #FEF0EE; color: #C9503A; }
.tag-aging   { background: #FEF6EE; color: #B8750A; }
.tag-written { background: var(--stone); color: var(--text-mid); }

.ar-transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}
.ar-transform-arrow i { color: var(--sage); font-size: 1rem; }

.ar-outcome {
  background: var(--sage-faint);
  border: 1.5px solid rgba(45,122,95,.25);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.ar-outcome-label { font-size: 0.8125rem; font-weight: 600; color: var(--sage-dk); }
.ar-outcome-amount {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--sage);
}

/* Right text block */
.unlock-text {}
.unlock-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 32px;
}
.ucl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.5;
}
.ucl-icon {
  width: 22px; height: 22px;
  background: var(--sage-faint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── ══════════════════════════════════════════════════════════
   SECTION 2 — RECEIVABLES WE PURCHASE
══════════════════════════════════════════════════════════════ */
.section-purchase { background: var(--stone); }
.purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.purchase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.purchase-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.purchase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--stone-dk);
}
.purchase-card:hover::after { transform: scaleX(1); }

.pc-icon {
  width: 46px; height: 46px;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1.0625rem;
  margin-bottom: 18px;
}
.purchase-card h3 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
}
.purchase-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── ══════════════════════════════════════════════════════════
   SECTION 3 — HOW IT WORKS
══════════════════════════════════════════════════════════════ */
.section-process { background: var(--white); }
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 24px;
  padding-top: 8px;
}
/* Connector line */
.process-track::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  padding: 28px 24px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.step-num {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 800;
  margin-bottom: 20px;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  box-shadow: 0 3px 10px rgba(18,43,75,.25);
}
.step-icon-wrap {
  width: 44px; height: 44px;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate);
  font-size: 1.0625rem;
  margin-bottom: 16px;
}
.process-step h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
  line-height: 1.3;
}
.process-step p {
  font-size: 0.8375rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── ══════════════════════════════════════════════════════════
   SECTION 4 — WHY PROVIDERS / BENEFITS
══════════════════════════════════════════════════════════════ */
.section-benefits { background: var(--stone); }
.benefits-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t);
}
.benefit-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bt-icon {
  width: 42px; height: 42px;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  font-size: 1rem;
  margin-bottom: 16px;
}
.benefit-tile h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.benefit-tile p {
  font-size: 0.8375rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── ══════════════════════════════════════════════════════════
   SECTION 5 — COMPLIANCE / MODEL
══════════════════════════════════════════════════════════════ */
.section-model { background: var(--navy); }
.model-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.model-left {}
.model-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.model-pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
}
.mp-icon {
  width: 32px; height: 32px;
  background: rgba(184,151,90,.15);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-lt);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.model-pillar strong { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.model-pillar span { font-size: 0.75rem; color: rgba(255,255,255,.5); line-height: 1.4; }

.model-right {}
.model-notice {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 32px;
}
.model-notice-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.model-notice-icon {
  width: 48px; height: 48px;
  background: rgba(184,151,90,.15);
  border: 1px solid rgba(184,151,90,.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-lt);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.model-notice-header-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.model-notice-header-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.model-notice p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.72;
  margin-bottom: 14px;
}
.model-notice p:last-child { margin-bottom: 0; }
.model-notice strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* ── ══════════════════════════════════════════════════════════
   SECTION 6 — CTA + FORM
══════════════════════════════════════════════════════════════ */
.section-contact { background: var(--stone); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 64px;
  align-items: start;
}
.contact-left {}
.contact-left .section-body { margin-bottom: 32px; }

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cp-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.cp-icon {
  width: 36px; height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.cp-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 1px; }
.cp-text span { font-size: 0.8125rem; color: var(--text-mid); line-height: 1.45; }

/* Form */
.lead-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.form-title {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-lt);
}
.form-title-icon {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.fld label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.01em;
}
.req { color: var(--danger); }

.fld input, .fld select, .fld textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.fld select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235C7080' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18,43,75,.08);
}
.fld input.err, .fld select.err, .fld textarea.err {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(185,48,48,.08);
}
.fld textarea { resize: vertical; min-height: 96px; }
.fld-err {
  font-size: 0.75rem;
  color: var(--danger);
  font-weight: 500;
  min-height: 14px;
}

/* File Upload */
.upload-wrap { position: relative; }
.upload-wrap input[type="file"] {
  position: absolute; inset: 0; opacity: 0;
  cursor: pointer; z-index: 2; width: 100%; height: 100%;
}
.upload-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px 20px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-xs);
  background: var(--stone);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--t), background var(--t);
}
.upload-wrap:hover .upload-face,
.upload-wrap.dragging .upload-face {
  border-color: var(--navy);
  background: var(--white);
}
.upload-face i { font-size: 1.375rem; color: var(--slate-lt); }
#upload-label-text { font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.upload-hint { font-size: 0.7rem; color: var(--text-light); }

.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 11px 13px;
  background: var(--stone);
  border-radius: var(--radius-xs);
  border-left: 3px solid var(--border);
  margin-bottom: 18px;
}
.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: var(--sage-faint);
  border: 1px solid rgba(45,122,95,.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success i { color: var(--sage); font-size: 1.375rem; flex-shrink: 0; margin-top: 1px; }
.form-success strong { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--sage-dk); margin-bottom: 3px; }
.form-success p { font-size: 0.8375rem; color: var(--text-mid); line-height: 1.6; }

/* ── ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-name span { color: rgba(255,255,255,.55); }
.footer-brand .logo-sub { color: rgba(255,255,255,.3); }
.footer-brand .logo-mark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.72;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.58);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }

.footer-contact h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-contact-cta { margin-bottom: 18px; }
.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}
.footer-email i { color: var(--gold-lt); font-size: 0.75rem; }
.footer-email a { color: rgba(255,255,255,.65); transition: color var(--t); }
.footer-email a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,.38);
  line-height: 1.65;
  padding: 14px 18px;
  border-radius: var(--radius-xs);
  background: rgba(0,0,0,.15);
  border-left: 3px solid rgba(184,151,90,.3);
}
.footer-disclaimer strong { color: rgba(255,255,255,.55); font-weight: 600; }
.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t), transform var(--t), background var(--t);
  z-index: 500;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--sage); }

/* ── SCROLL ANIMATIONS ── */
.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js-reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .container { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 20px 0 56px; }
  .hero-h1 { font-size: 2.4rem; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-item:nth-child(2) { border-right: none; }
  .unlock-grid { grid-template-columns: 1fr; gap: 48px; }
  .purchase-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track::before { display: none; }
  .benefits-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .model-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .main-nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof { width: 100%; overflow-x: auto; }
  .hero-proof-item { min-width: 100px; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .purchase-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .benefits-grid-3 { grid-template-columns: 1fr; }
  .model-pillars { grid-template-columns: 1fr; }
  .lead-form { padding: 26px 20px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: span 1; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 1.65rem; }
  .section-title { font-size: 1.5rem; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .trust-bar-item:last-child { border-bottom: none; }
  .hero-proof { flex-direction: column; gap: 0; width: 100%; }
  .hero-proof-item { border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; justify-content: space-between; align-items: center; }
  .hero-proof-item:last-child { border-bottom: none; }
}
