/* ==========================================================================
   Residual Biz — Shared Stylesheet
   ========================================================================== */

:root {
  --navy-950: #050f26;
  --navy-900: #0a1f44;
  --navy-800: #0d2a5c;
  --navy-700: #123878;
  --navy-100: #e7ecf7;
  --navy-050: #f4f7fc;

  --blue-600: #3d5ce0;
  --blue-500: #5b7ae8;
  --blue-100: #e9edfd;

  --green-600: #1f9a5a;
  --green-500: #2fbf71;
  --green-400: #4bc277;
  --green-100: #e4f9ee;

  --ink: #1c2540;
  --ink-soft: #4c5675;
  --gray-200: #e4e8f1;
  --gray-100: #f0f3f9;
  --white: #ffffff;

  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 14px rgba(10, 31, 68, 0.08);
  --shadow-md: 0 14px 40px rgba(10, 31, 68, 0.14);
  --shadow-lg: 0 24px 60px rgba(5, 15, 38, 0.28);
  --transition: 0.25s ease;
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}
p { margin: 0 0 16px; color: var(--ink-soft); }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 48px 0; }
.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.78); }
.bg-soft { background: var(--navy-050); }
.bg-white { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.bg-navy .eyebrow { color: var(--green-400); }

.section-head { max-width: 700px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { font-size: 17px; }

.text-center { text-align: center; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(47, 191, 113, 0.32);
}
.btn-primary:hover { background: var(--green-600); box-shadow: 0 14px 30px rgba(47, 191, 113, 0.4); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-700); }
.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 22px; font-size: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* -------------------------------------------------------------------------
   Top utility bar
   ------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--green-400); }
.topbar-links { display: flex; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; }

/* -------------------------------------------------------------------------
   Header / Navigation
   ------------------------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 200;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; flex-shrink: 1; min-width: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  border-radius: 8px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.main-nav a.nav-link:hover,
.nav-item.open > .nav-link { background: var(--navy-050); color: var(--green-600); }
.nav-item { position: relative; }
.nav-caret { width: 9px; height: 9px; transition: transform var(--transition); }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-item.open .dropdown,
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
}
.dropdown a:hover { background: var(--navy-050); color: var(--green-600); }
.dropdown a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); flex-shrink: 0; }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.header-phone strong { font-family: var(--font-head); color: var(--navy-900); font-size: 14.5px; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy-900); }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 96px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(75, 194, 119, 0.18), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(91, 122, 232, 0.25), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 90px;
}
.hero-eyebrow svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero .lead { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: 14px; }
.hero .sub { font-size: 15.5px; color: rgba(255,255,255,0.68); margin-bottom: 32px; max-width: 540px; }
.hero-badges { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.badge-pill svg { width: 30px; height: 30px; flex-shrink: 0; }
.badge-pill strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 13.5px; }
.badge-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.18); flex-shrink: 0; }
.press-badge {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
a.press-badge:hover { color: var(--white); }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-photo { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }

/* Overlapping lead-capture card (inspired by reference layout) */
.lead-card-wrap {
  position: relative;
  margin-top: -86px;
  z-index: 10;
}
.lead-card {
  background: var(--navy-950);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
}
.lead-card-copy h2 { color: var(--white); font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.lead-card-copy p { color: rgba(255,255,255,0.7); font-size: 15px; margin-bottom: 0; }
.lead-card-copy .badge-pill { margin-top: 24px; }

/* -------------------------------------------------------------------------
   Page header (inner pages)
   ------------------------------------------------------------------------- */
.page-header {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding: 72px 0 84px;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 0%, rgba(91, 122, 232, 0.28), transparent 45%);
}
.page-header .container { position: relative; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.breadcrumb a:hover { color: var(--green-400); }
.page-header h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.page-header p { color: rgba(255,255,255,0.72); font-size: 16.5px; max-width: 620px; margin-bottom: 0; }

/* -------------------------------------------------------------------------
   Feature / point cards (3-up)
   ------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.point-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.point-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-600);
  margin-bottom: 22px;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.blue { background: var(--blue-100); color: var(--blue-600); }
.icon-badge.navy { background: var(--navy-100); color: var(--navy-800); }
.point-card h3 { font-size: 19px; margin-bottom: 10px; }
.point-card p { font-size: 14.5px; margin-bottom: 0; }
.point-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-600);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}

/* -------------------------------------------------------------------------
   Opportunity cards
   ------------------------------------------------------------------------- */
.opp-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.opp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.opp-media {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.opp-media svg { width: 96px; height: 96px; color: rgba(255,255,255,0.95); }
.opp-media.navy-grad { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.opp-media.blue-grad { background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.opp-media.green-grad { background: linear-gradient(135deg, var(--navy-800), var(--green-600)); }
.opp-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.opp-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.opp-body h3 { font-size: 21px; margin-bottom: 10px; }
.opp-body p { font-size: 14.5px; }
.opp-list { margin: 4px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.opp-list li {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.opp-list svg { width: 14px; height: 14px; color: var(--green-500); flex-shrink: 0; }
.opp-body .btn { margin-top: auto; align-self: flex-start; }

/* -------------------------------------------------------------------------
   Alternating image/text sections
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }
.split-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.split-media svg { width: 100%; height: auto; display: block; }
.split-copy h2 { font-size: clamp(26px, 3vw, 34px); }
.split-copy .checklist { margin: 24px 0 28px; }
.split-copy .checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.split-copy .checklist svg { width: 20px; height: 20px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }

/* -------------------------------------------------------------------------
   Dark CTA band
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 20%, rgba(47, 191, 113, 0.22), transparent 40%),
                     radial-gradient(circle at 5% 90%, rgba(91, 122, 232, 0.22), transparent 40%);
}
.cta-band .container { position: relative; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); max-width: 760px; margin: 0 auto 18px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto 34px; font-size: 16.5px; }
.cta-band .btn-row { justify-content: center; }

/* -------------------------------------------------------------------------
   Steps (How it works)
   ------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step {
  position: relative;
  padding: 0 22px;
  text-align: left;
}
.step-index {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.step:nth-child(even) .step-index { background: var(--green-500); }
.step-line {
  position: absolute;
  top: 27px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-200) 0 8px, transparent 8px 14px);
  z-index: 1;
}
.step:first-child .step-line { display: none; }
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14px; margin-bottom: 0; }

/* -------------------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-900);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-050);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-q .plus svg { width: 12px; height: 12px; }
.faq-item.open .faq-q .plus { background: var(--green-500); color: #fff; transform: rotate(135deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.faq-a-inner { padding: 0 24px 22px; font-size: 15px; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 320px; }

/* -------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid var(--gray-200);
}
.lead-card .form-card { padding: 0; box-shadow: none; border: none; background: transparent; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.lead-card .field label { color: rgba(255,255,255,0.65); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lead-card .field input,
.lead-card .field select,
.lead-card .field textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: var(--white);
}
.lead-card .field select option { color: var(--ink); }
.field input::placeholder,
.field textarea::placeholder { color: #9aa3bd; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-fineprint { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; margin-bottom: 0; }
.lead-card .form-fineprint { color: rgba(255,255,255,0.5); }
.form-notice { padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: 14.5px; margin: 0 0 18px; }
.form-notice.success { background: rgba(47,191,113,0.12); border: 1px solid rgba(47,191,113,0.4); color: #146c3f; }
.form-notice.error { background: rgba(220,38,38,0.10); border: 1px solid rgba(220,38,38,0.4); color: #a11313; }
.lead-card .form-notice.success,
.lead-card .form-notice.error { color: var(--white); }

/* -------------------------------------------------------------------------
   Contact info cards
   ------------------------------------------------------------------------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.contact-info-card {
  background: var(--navy-050);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.contact-info-card .icon-badge { margin: 0 auto 18px; }
.contact-info-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-info-card p { font-size: 14.5px; margin-bottom: 0; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.65); }
.footer-top { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--green-500); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col a:hover { color: var(--green-400); }
.footer-col .muted { color: rgba(255,255,255,0.45); font-size: 13px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  font-size: 13px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--green-400); }

/* -------------------------------------------------------------------------
   Misc
   ------------------------------------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-row .num { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--navy-900); }
.bg-navy .stat-row .num { color: var(--white); }
.stat-row .label { font-size: 13.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.bg-navy .stat-row .label { color: rgba(255,255,255,0.6); }

.divider-line { height: 1px; background: var(--gray-200); border: none; margin: 0; }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .lead-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media,
  .split.reverse .split-copy { order: initial; }
  .split-media { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 1260px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .step-line { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .grid-3, .grid-2, .grid-4, .footer-grid, .contact-info-grid, .steps, .stat-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .lead-card { padding: 28px; }
  .lead-card-wrap { margin-top: -56px; }
  .form-card { padding: 26px; }
  .opp-list { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .topbar-links { display: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-head img { height: 32px; }
.mobile-nav-close { background: none; border: none; cursor: pointer; }
.mobile-nav-close svg { width: 26px; height: 26px; color: #fff; }
.mobile-nav ul { padding: 12px; }
.mobile-nav a {
  display: block;
  padding: 16px 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .sub-list a {
  padding-left: 28px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.75);
  border-bottom: none;
}
.mobile-nav .sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}
.mobile-nav .sub-toggle svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--transition); }
.mobile-nav .sub-toggle.open svg { transform: rotate(180deg); }
.mobile-nav .sub-list { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.mobile-nav .sub-list.open { max-height: 240px; }
.mobile-nav-cta { padding: 20px 12px; }
