:root{
  --navy:#0b1f3a;
  --blue:#1d4ed8;
  --gold:#c89b3c;
  --light:#f6f8fc;
  --text:#172033;
  --muted:#64748b;
  --border:#d9e1ee;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;background:#fff;color:var(--text);line-height:1.6}
a{color:inherit}
.header{background:var(--navy);color:white;padding:16px 5%;display:flex;justify-content:space-between;align-items:center;gap:18px;position:sticky;top:0;z-index:5}
.logo{font-weight:800;letter-spacing:.02em}
.nav a{margin:0 10px;text-decoration:none;font-weight:600;font-size:14px}
.btn{display:inline-block;background:var(--gold);color:#111827;text-decoration:none;padding:13px 18px;border-radius:12px;font-weight:800;border:0}
.btn.secondary{background:white;color:var(--navy)}
.hero{background:linear-gradient(135deg,#0b1f3a,#12386b);color:white;padding:88px 5%}
.hero-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.2fr .8fr;gap:34px;align-items:center}
h1{font-size:48px;line-height:1.08;margin:0 0 18px}
h2{font-size:32px;line-height:1.18;margin:0 0 14px}
h3{margin-bottom:8px}
.lead{font-size:20px;color:#e6eefc}
.section{padding:58px 5%}
.wrap{max-width:1180px;margin:0 auto}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid.two{grid-template-columns:repeat(2,1fr)}
.card{background:white;border:1px solid var(--border);border-radius:20px;padding:24px;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.dark-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);border-radius:20px;padding:24px}
.kicker{color:var(--gold);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:13px}
.muted{color:var(--muted)}
.trust{background:var(--light);padding:20px 5%;border-bottom:1px solid var(--border)}
.trust .wrap{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;text-align:center;font-weight:800}
.form input,.form select,.form textarea{width:100%;padding:13px;margin:7px 0;border:1px solid var(--border);border-radius:12px;font-size:16px}
.footer{background:#08172b;color:#dbe7ff;padding:36px 5%;font-size:14px}
.progress{height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}
.progress span{display:block;height:100%;background:var(--blue)}
.timeline{display:grid;gap:12px}
.stage{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--border);border-radius:14px;background:#fff}
.dot{width:18px;height:18px;border-radius:50%;background:var(--blue);margin-top:4px;flex:0 0 auto}
.badge{display:inline-block;background:#eaf1ff;color:#12386b;padding:4px 10px;border-radius:999px;font-weight:800;font-size:12px}
@media(max-width:820px){
  .hero-grid,.grid,.grid.two,.trust .wrap{grid-template-columns:1fr}
  h1{font-size:36px}
  .nav{display:none}
}

/* Command Center v2 additions */
.command-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.module-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:22px;box-shadow:0 12px 30px rgba(15,23,42,.06);transition:.18s ease}
.module-card:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(15,23,42,.10)}
.module-icon{width:48px;height:48px;border-radius:14px;background:#eaf1ff;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:12px}
.panel-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}
.kpi-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.kpi{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px}
.kpi strong{font-size:26px;display:block;color:var(--navy)}
.side-layout{display:grid;grid-template-columns:260px 1fr;gap:22px}
.sidebar{background:#08172b;color:#dbe7ff;border-radius:22px;padding:20px}
.sidebar a{display:block;color:#dbe7ff;text-decoration:none;padding:11px 12px;border-radius:12px;margin:4px 0}
.sidebar a:hover{background:rgba(255,255,255,.12)}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px;border-bottom:1px solid var(--border);text-align:left}
.status-pill{display:inline-block;padding:5px 10px;border-radius:999px;background:#eaf1ff;color:#12386b;font-weight:800;font-size:12px}
@media(max-width:980px){.command-grid,.kpi-grid,.side-layout{grid-template-columns:1fr}.panel-header{display:block}}



/* ===== Home A Loan Mortgage Enterprise Lead Conversion Upgrade ===== */
:root{
  --blue:#072a5c;--blue2:#0b4ea2;--navy:#041a38;--gold:#d4a236;--green:#0f8a4b;
  --ink:#172033;--muted:#64748b;--soft:#f4f8ff;--line:#dbe6f4;--white:#fff;
}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.wrap,.container{width:min(1180px,94%);margin:auto}
.wide{width:min(1480px,94%);margin:auto}
.top-trust{display:none!important;}
.top-trust .wide{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:8px 0}
.header{position:sticky;top:0;z-index:99;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 6px 20px rgba(7,42,92,.08)}
.header .wide{display:flex;align-items:center;gap:22px;padding:14px 0}
.logo{font-weight:950;font-size:25px;color:var(--blue);letter-spacing:-.5px}
.logo span{display:block;font-size:12px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-top:-3px}
.nav{margin-left:auto;display:flex;gap:18px;font-weight:850;font-size:14px;align-items:center;flex-wrap:wrap}
.nav a:hover{color:var(--blue2)}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--blue2);color:#fff;border:2px solid var(--blue2);padding:13px 18px;border-radius:10px;font-weight:900;box-shadow:0 10px 24px rgba(11,78,162,.18)}
.btn:hover{background:var(--navy);border-color:var(--navy)}
.btn.gold{background:var(--gold);border-color:var(--gold);color:#102033}
.btn.outline{background:#fff;color:var(--blue2)}
.btn.green{background:var(--green);border-color:var(--green)}
.hero{background:radial-gradient(circle at 15% 5%,rgba(212,162,54,.22),transparent 30%),linear-gradient(120deg,var(--navy),var(--blue));color:#fff;padding:70px 0}
.hero-grid{display:grid;grid-template-columns:1.05fr .75fr;gap:34px;align-items:center}
.kicker{color:var(--gold);font-size:13px;font-weight:950;text-transform:uppercase;letter-spacing:.12em;margin-bottom:8px}
h1{font-size:clamp(38px,5vw,66px);line-height:1.04;margin:0 0 16px;color:inherit;letter-spacing:-1.2px}
h2{font-size:clamp(28px,3vw,44px);line-height:1.1;margin:0 0 14px;color:var(--blue)}
h3{font-size:22px;margin:0 0 10px;color:var(--blue)}
.lead{font-size:21px;color:rgba(255,255,255,.92);max-width:850px}
.hero .lead{color:rgba(255,255,255,.9)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
.trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}
.trust-pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);border-radius:14px;padding:14px;font-weight:850}
.lead-card{background:#fff;color:var(--ink);border-radius:22px;padding:24px;box-shadow:0 22px 55px rgba(0,0,0,.25);border-top:8px solid var(--gold)}
.lead-card h2{text-align:center}
form{display:grid;gap:12px}
input,select,textarea{width:100%;padding:13px;border:1px solid #cbd8ea;border-radius:10px;font:inherit;background:#fff}
textarea{min-height:120px}
.form-note{font-size:12px;color:var(--muted);line-height:1.35}
.disclaimer{font-size:12px;color:var(--muted);line-height:1.45}
.section{padding:70px 0}
.soft{background:var(--soft)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:30px;align-items:center}
.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 12px 28px rgba(7,42,92,.07)}
.card h3{color:var(--blue)}
.card.top{border-top:7px solid var(--blue2)}
.card.gold-top{border-top:7px solid var(--gold)}
.process{counter-reset:step}
.step{position:relative;padding-left:58px}
.step:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:var(--blue2);color:#fff;display:grid;place-items:center;font-weight:950}
.loan-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.loan-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 10px 22px rgba(7,42,92,.06)}
.loan-card strong{display:block;color:var(--blue);font-size:20px;margin-bottom:8px}
.cta-band{background:linear-gradient(120deg,var(--blue),var(--navy));color:#fff;border-radius:28px;padding:38px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.cta-band h2{color:#fff}
.notice{background:#fff8e4;border-left:8px solid var(--gold);padding:18px;border-radius:14px}
.portal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.footer{background:#041a38;color:#dbeafe;padding:45px 0 20px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:24px}
.footer h3{color:#fff}
.footer a{display:block;margin:7px 0;color:#dbeafe}
.copy{border-top:1px solid rgba(255,255,255,.12);margin-top:26px;padding-top:16px;color:#a9bdd7;font-size:13px}
.sticky-mobile{position:fixed;left:0;right:0;bottom:0;background:#fff;z-index:200;display:none;grid-template-columns:1fr 1fr;box-shadow:0 -8px 24px rgba(0,0,0,.15)}
.sticky-mobile a{text-align:center;padding:14px 8px;font-weight:950}.sticky-mobile a:first-child{background:var(--blue2);color:#fff}.sticky-mobile a:last-child{background:var(--gold);color:#111}
.calc-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}
.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.badge{background:#e9f2ff;color:var(--blue);border:1px solid #c9def8;border-radius:999px;padding:8px 12px;font-weight:850;font-size:13px}
@media(max-width:1050px){
  .hero-grid,.grid-2{grid-template-columns:1fr}.grid,.loan-grid,.portal-grid,.trust-row{grid-template-columns:repeat(2,1fr)}
  .nav{display:none}.footer-grid{grid-template-columns:1fr 1fr}.cta-band{display:block}
}
@media(max-width:650px){
  body{padding-bottom:56px}.sticky-mobile{display:grid}.top-trust .wide{text-align:center;justify-content:center}
  .header .wide{justify-content:space-between}.grid,.loan-grid,.portal-grid,.trust-row,.footer-grid{grid-template-columns:1fr}
  .hero{padding:48px 0}.lead{font-size:18px}.hero-actions .btn{width:100%}.logo{font-size:21px}
}

/* staff-page-upgrade */
.staff-hero{
  background:radial-gradient(circle at 20% 10%,rgba(212,162,54,.24),transparent 34%),linear-gradient(120deg,#041a38,#0b4ea2);
  color:#fff;
  padding:70px 0;
}
.staff-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.staff-card{
  background:#fff;
  border:1px solid #dbe6f4;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(7,42,92,.10);
}
.staff-photo{
  height:280px;
  background:linear-gradient(135deg,#e9f2ff,#fff8e4);
  display:grid;
  place-items:center;
  color:#072a5c;
  font-weight:950;
  font-size:22px;
  text-align:center;
  padding:20px;
}
.staff-card .staff-content{
  padding:22px;
}
.staff-card h3{
  margin-bottom:4px;
}
.staff-role{
  color:#0b4ea2;
  font-weight:900;
  margin-bottom:10px;
}
.video-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.video-box{
  background:#041a38;
  color:#fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 38px rgba(0,0,0,.18);
}
.video-placeholder{
  min-height:260px;
  display:grid;
  place-items:center;
  text-align:center;
  background:linear-gradient(135deg,#041a38,#0b4ea2);
  padding:30px;
}
.video-placeholder .play{
  width:72px;
  height:72px;
  border-radius:50%;
  background:#d4a236;
  color:#041a38;
  display:grid;
  place-items:center;
  font-size:32px;
  font-weight:950;
  margin:0 auto 14px;
}
.video-box .video-content{
  padding:22px;
}
.staff-upload-note{
  background:#fff8e4;
  border-left:8px solid #d4a236;
  border-radius:14px;
  padding:18px;
  margin-top:18px;
}
@media(max-width:900px){
  .staff-grid,.video-grid{grid-template-columns:1fr}
}



/* ===== GREEN BRAND THEME - HOME A LOAN MORTGAGE ===== */
:root{
  --blue:#0B5D2A!important;
  --blue2:#128A45!important;
  --navy:#053D1E!important;
  --gold:#D4AF37!important;
  --green:#128A45!important;
  --ink:#1f2933!important;
  --muted:#64748b!important;
  --soft:#F4FBF6!important;
  --line:#D8EADF!important;
}
body{
  color:var(--ink);
  background:#fff;
}
.top-trust{display:none!important;}
.header{
  background:#fff!important;
  border-bottom:1px solid var(--line)!important;
  box-shadow:0 6px 20px rgba(11,93,42,.10)!important;
}
.header .wide{
  min-height:92px;
}
.logo{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  color:var(--blue)!important;
  font-size:0!important;
}
.logo:before{
  content:"";
  display:block;
  width:220px;
  height:80px;
  background:url('images/home-a-loan-mortgage-logo.png') center/contain no-repeat;
}
.logo span{
  display:none!important;
}
.nav a{
  color:#153320!important;
}
.nav a:hover{
  color:var(--green)!important;
}
.btn{
  background:var(--green)!important;
  border-color:var(--green)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(18,138,69,.20)!important;
}
.btn:hover{
  background:var(--navy)!important;
  border-color:var(--navy)!important;
}
.btn.gold{
  background:var(--gold)!important;
  border-color:var(--gold)!important;
  color:#102015!important;
}
.btn.outline{
  background:#fff!important;
  border-color:var(--green)!important;
  color:var(--green)!important;
}
.btn.green{
  background:var(--green)!important;
  border-color:var(--green)!important;
  color:#fff!important;
}
.hero,
.staff-hero{
  background:
    radial-gradient(circle at 16% 8%,rgba(212,175,55,.28),transparent 34%),
    linear-gradient(120deg,#053D1E,#0B5D2A,#128A45)!important;
}
.hero h1,
.staff-hero h1{
  color:#fff!important;
}
.kicker{
  color:var(--gold)!important;
}
h2,h3{
  color:var(--blue)!important;
}
.hero h2,
.staff-hero h2{
  color:#fff!important;
}
.lead-card{
  border-top:8px solid var(--gold)!important;
  box-shadow:0 22px 55px rgba(5,61,30,.26)!important;
}
.card.top{
  border-top:7px solid var(--green)!important;
}
.card.gold-top{
  border-top:7px solid var(--gold)!important;
}
.loan-card strong{
  color:var(--blue)!important;
}
.loan-card,
.card,
.calc-box,
.staff-card{
  border-color:var(--line)!important;
  box-shadow:0 12px 28px rgba(11,93,42,.08)!important;
}
.badge{
  background:#EAF7EF!important;
  color:var(--blue)!important;
  border-color:#CFE8D8!important;
}
.notice{
  background:#FFF8E4!important;
  border-left-color:var(--gold)!important;
}
.step:before{
  background:var(--green)!important;
}
.cta-band{
  background:linear-gradient(120deg,#0B5D2A,#053D1E)!important;
}
.footer{
  background:#053D1E!important;
}
.sticky-mobile a:first-child{
  background:var(--green)!important;
}
.sticky-mobile a:last-child{
  background:var(--gold)!important;
  color:#111!important;
}
.staff-photo{
  background:linear-gradient(135deg,#EAF7EF,#FFF8E4)!important;
  color:var(--blue)!important;
}
.video-placeholder{
  background:linear-gradient(135deg,#053D1E,#128A45)!important;
}
.video-placeholder .play{
  background:var(--gold)!important;
  color:#053D1E!important;
}
input:focus,select:focus,textarea:focus{
  outline:2px solid rgba(18,138,69,.25)!important;
  border-color:var(--green)!important;
}
@media(max-width:650px){
  .logo:before{
    width:170px;
    height:64px;
  }
  .header .wide{
    min-height:78px;
  }
}



/* ===== PREMIUM LOGO REBRAND - HOME A LOAN MORTGAGE ===== */
:root{
  --blue:#0A6B32!important;
  --blue2:#18A64F!important;
  --navy:#043D1D!important;
  --gold:#D4AF37!important;
  --green:#18A64F!important;
  --ink:#1f2933!important;
  --muted:#64748b!important;
  --soft:#F4FBF6!important;
  --line:#D8EADF!important;
}
.top-trust{display:none!important;}
.header{
  background:#fff!important;
  border-bottom:1px solid #d8eadf!important;
  box-shadow:0 8px 24px rgba(4,61,29,.10)!important;
}
.header .wide{
  min-height:104px!important;
}
.logo{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  font-size:0!important;
  min-width:300px!important;
}
.logo:before{
  content:"";
  display:block;
  width:300px;
  height:92px;
  background:url('images/home-a-loan-mortgage-logo-premium.png') center/contain no-repeat;
}
.logo span{
  display:none!important;
}
.nav a{
  color:#1f2933!important;
}
.nav a:hover{
  color:#0A6B32!important;
}
.hero,
.staff-hero{
  background:
    radial-gradient(circle at 18% 8%,rgba(212,175,55,.28),transparent 34%),
    linear-gradient(120deg,#043D1D,#0A6B32,#18A64F)!important;
}
.btn{
  background:#18A64F!important;
  border-color:#18A64F!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(24,166,79,.22)!important;
}
.btn:hover{
  background:#043D1D!important;
  border-color:#043D1D!important;
}
.btn.gold{
  background:#D4AF37!important;
  border-color:#D4AF37!important;
  color:#102015!important;
}
.btn.outline{
  background:#fff!important;
  color:#0A6B32!important;
  border-color:#0A6B32!important;
}
.kicker{
  color:#D4AF37!important;
}
h2,h3,.loan-card strong{
  color:#0A6B32!important;
}
.hero h1,.hero h2,.staff-hero h1,.staff-hero h2{
  color:#fff!important;
}
.lead-card{
  border-top:8px solid #D4AF37!important;
  box-shadow:0 22px 55px rgba(4,61,29,.24)!important;
}
.card.top{border-top:7px solid #18A64F!important}
.card.gold-top{border-top:7px solid #D4AF37!important}
.badge{
  background:#EAF7EF!important;
  color:#0A6B32!important;
  border-color:#CDEBD8!important;
}
.notice{
  background:#FFF8E4!important;
  border-left-color:#D4AF37!important;
}
.step:before{
  background:#18A64F!important;
}
.cta-band{
  background:linear-gradient(120deg,#0A6B32,#043D1D)!important;
}
.footer{
  background:#043D1D!important;
}
.footer h3{
  color:#fff!important;
}
.staff-photo{
  background:linear-gradient(135deg,#EAF7EF,#FFF8E4)!important;
  color:#0A6B32!important;
}
.video-placeholder{
  background:linear-gradient(135deg,#043D1D,#18A64F)!important;
}
.video-placeholder .play{
  background:#D4AF37!important;
  color:#043D1D!important;
}
.sticky-mobile a:first-child{
  background:#18A64F!important;
}
.sticky-mobile a:last-child{
  background:#D4AF37!important;
  color:#111!important;
}
input:focus,select:focus,textarea:focus{
  outline:2px solid rgba(24,166,79,.24)!important;
  border-color:#18A64F!important;
}
.brand-logo-img{
  max-width:320px;
  background:#fff;
  border-radius:14px;
  padding:12px;
}
@media(max-width:900px){
  .logo:before{width:230px;height:78px}
  .logo{min-width:230px!important}
}
@media(max-width:650px){
  .header .wide{min-height:84px!important}
  .logo:before{width:180px;height:66px}
  .logo{min-width:180px!important}
}



/* ===== FIXED REAL IMAGE HEADER LOGO ===== */
.header .wide{
  display:flex!important;
  align-items:center!important;
  gap:22px!important;
  min-height:104px!important;
}
.logo{
  display:flex!important;
  align-items:center!important;
  min-width:320px!important;
  font-size:0!important;
  background:none!important;
}
.logo:before{
  display:none!important;
  content:none!important;
}
.logo span{
  display:none!important;
}
.header-logo{
  height:92px!important;
  width:auto!important;
  max-width:340px!important;
  object-fit:contain!important;
  display:block!important;
  background:#fff!important;
  border-radius:12px!important;
  padding:6px!important;
}
.header-cta{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin-left:8px!important;
}
.header-phone{
  background:#EAF7EF!important;
  border:1px solid #CDEBD8!important;
  color:#043D1D!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.header-nmls{
  background:#FFF8E4!important;
  border-top:1px solid #E9D79A!important;
  color:#1f2933!important;
  font-size:12px!important;
  font-weight:800!important;
  text-align:center!important;
  padding:6px 10px!important;
}
@media(max-width:1050px){
  .header .wide{
    flex-wrap:wrap!important;
    justify-content:center!important;
    text-align:center!important;
    min-height:auto!important;
    padding:12px 0!important;
  }
  .logo{
    min-width:auto!important;
    justify-content:center!important;
  }
  .header-logo{
    height:78px!important;
    max-width:280px!important;
  }
  .header-cta{
    margin-left:0!important;
    width:100%!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
  }
}
@media(max-width:650px){
  .header-logo{
    height:64px!important;
    max-width:220px!important;
  }
  .header-phone{
    width:100%!important;
    text-align:center!important;
  }
  .header-cta .btn{
    width:100%!important;
  }
}



/* ===== APPLIED MOCKUP REBRAND - CLEAR LOGO + GREEN/GOLD MORTGAGE STYLE ===== */
:root{
  --blue:#0B6B35!important;
  --blue2:#12A650!important;
  --navy:#00451F!important;
  --gold:#D9A300!important;
  --green:#12A650!important;
  --ink:#20232A!important;
  --muted:#5F6B75!important;
  --soft:#F5FBF6!important;
  --line:#D8EADF!important;
}
body{background:#fff!important;color:var(--ink)!important}
.top-trust{display:none!important;}
.top-trust .wide{
  padding:10px 0!important;
  gap:28px!important;
}
.header{
  background:#fff!important;
  border-bottom:0!important;
  box-shadow:0 5px 18px rgba(0,0,0,.10)!important;
  position:sticky!important;
  top:0!important;
  z-index:100!important;
}
.header .wide{
  min-height:132px!important;
  display:flex!important;
  align-items:center!important;
  gap:28px!important;
}
.logo{
  min-width:470px!important;
  display:flex!important;
  align-items:center!important;
  font-size:0!important;
  background:none!important;
}
.logo:before{display:none!important;content:none!important}
.logo span{display:none!important}
.header-logo{
  height:116px!important;
  width:auto!important;
  max-width:470px!important;
  object-fit:contain!important;
  display:block!important;
  background:#fff!important;
  border-radius:0!important;
  padding:0!important;
}
.nav{
  background:#005826!important;
  color:#fff!important;
  width:100%!important;
  margin:0!important;
  padding:0 24px!important;
  display:flex!important;
  justify-content:center!important;
  gap:0!important;
}
.header + .header-nmls + .main-nav-spacer{display:none}
.nav a{
  color:#fff!important;
  padding:18px 20px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}
.nav a:hover{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
}
.header .nav{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-58px!important;
}
.header{margin-bottom:58px!important}
.header-cta{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
}
.header-phone{
  background:#005826!important;
  color:#fff!important;
  border-radius:10px!important;
  padding:18px 28px!important;
  font-size:21px!important;
  box-shadow:0 8px 20px rgba(0,88,38,.22)!important;
}
.header-cta .btn.gold{
  padding:18px 28px!important;
  font-size:17px!important;
  border-radius:10px!important;
}
.header-nmls{
  background:#005826!important;
  color:#D9A300!important;
  font-weight:950!important;
  padding:8px 12px!important;
  font-size:14px!important;
}
.btn{
  background:#0B6B35!important;
  border-color:#0B6B35!important;
  color:#fff!important;
}
.btn.gold{
  background:#D9A300!important;
  border-color:#D9A300!important;
  color:#fff!important;
}
.btn.outline{
  background:#fff!important;
  border-color:#0B6B35!important;
  color:#0B6B35!important;
}
.hero{
  background:
    linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.84),rgba(255,255,255,.18)),
    url('../images/mortgage-family-home-hero.jpg') center right/cover no-repeat!important;
  color:#20232A!important;
  padding:70px 0 40px!important;
}
.hero h1{
  color:#063F20!important;
  max-width:610px!important;
}
.hero .lead{
  color:#20232A!important;
  max-width:660px!important;
  font-weight:800!important;
}
.kicker{color:#D9A300!important}
h2,h3,.loan-card strong{color:#063F20!important}
.lead-card{
  border-top:8px solid #D9A300!important;
  box-shadow:0 18px 44px rgba(0,88,38,.20)!important;
}
.card.top{border-top:7px solid #0B6B35!important}
.card.gold-top{border-top:7px solid #D9A300!important}
.badge{background:#EAF7EF!important;color:#063F20!important;border-color:#CDEBD8!important}
.cta-band,.footer{
  background:#00451F!important;
}
.footer h3{color:#fff!important}
.eho-logo{
  width:120px!important;
  height:auto!important;
  background:#fff!important;
  padding:8px!important;
  border-radius:10px!important;
  display:block!important;
}
.mockup-icon-row{
  background:#fff!important;
  border-top:1px solid #E8EFE9!important;
  border-bottom:1px solid #E8EFE9!important;
}
.mockup-icon-row .wrap{
  display:grid!important;
  grid-template-columns:repeat(7,1fr)!important;
  gap:0!important;
}
.mockup-icon{
  text-align:center!important;
  padding:26px 14px!important;
  border-right:1px solid #E8EFE9!important;
  font-weight:800!important;
}
.mockup-icon:last-child{border-right:0!important}
.mockup-icon .icon{
  font-size:36px!important;
  color:#0B6B35!important;
  display:block!important;
  margin-bottom:8px!important;
}
.compliance-strip{
  background:#00451F!important;
  color:#fff!important;
  padding:24px 0!important;
}
.compliance-strip .wrap{
  display:grid!important;
  grid-template-columns:repeat(5,1fr)!important;
  gap:18px!important;
  align-items:center!important;
}
.compliance-item{
  border-right:1px solid rgba(255,255,255,.20)!important;
  padding:0 16px!important;
  min-height:70px!important;
}
.compliance-item:last-child{border-right:0!important}
.compliance-item strong{color:#fff!important}
.compliance-item .gold{color:#D9A300!important;font-weight:950!important}
.sticky-mobile a:first-child{background:#0B6B35!important}
.sticky-mobile a:last-child{background:#D9A300!important;color:#111!important}
@media(max-width:1100px){
  .header .wide{flex-wrap:wrap!important;justify-content:center!important;min-height:auto!important;padding:12px 0 72px!important}
  .logo{min-width:0!important;justify-content:center!important}
  .header-logo{height:86px!important;max-width:340px!important}
  .header-cta{margin-left:0!important;justify-content:center!important;flex-wrap:wrap!important}
  .mockup-icon-row .wrap{grid-template-columns:repeat(2,1fr)!important}
  .compliance-strip .wrap{grid-template-columns:1fr 1fr!important}
}
@media(max-width:650px){
  .top-trust .wide{text-align:center!important;justify-content:center!important}
  .header-logo{height:70px!important;max-width:270px!important}
  .header-phone,.header-cta .btn.gold{width:100%!important;text-align:center!important;justify-content:center!important}
  .nav{display:none!important}
  .header{margin-bottom:0!important}
  .header .wide{padding-bottom:12px!important}
  .hero{padding:46px 0!important;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.86)),url('../images/mortgage-family-home-hero.jpg') center/cover no-repeat!important}
  .mockup-icon-row .wrap,.compliance-strip .wrap{grid-template-columns:1fr!important}
}



/* ===== FINAL COMPLIANCE + HEADER VISIBILITY FIX ===== */
.logo:before{
  display:none!important;
  content:none!important;
}
.header-logo{
  height:124px!important;
  max-height:124px!important;
  width:auto!important;
  max-width:520px!important;
  object-fit:contain!important;
  display:block!important;
  background:#fff!important;
  padding:8px!important;
  border-radius:10px!important;
}
.logo{
  min-width:520px!important;
  overflow:visible!important;
}
.header .wide{
  min-height:150px!important;
  overflow:visible!important;
}
.hero .disclaimer,
.disclaimer{
  color:#ffffff!important;
  background:#004E2A!important;
  border:1px solid rgba(255,255,255,.35)!important;
  border-radius:12px!important;
  padding:14px 16px!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1.45!important;
  text-shadow:0 1px 1px rgba(0,0,0,.25)!important;
}
.compliance-strip{
  background:#004E2A!important;
  color:#ffffff!important;
  padding:26px 0!important;
  border-top:3px solid #D9A300!important;
}
.compliance-strip .wrap{
  display:grid!important;
  grid-template-columns:1.1fr .9fr .9fr .8fr 1.4fr!important;
  gap:18px!important;
  align-items:center!important;
}
.compliance-item{
  color:#ffffff!important;
  border-right:1px solid rgba(255,255,255,.22)!important;
  padding:0 16px!important;
  min-height:78px!important;
  font-size:15px!important;
  line-height:1.45!important;
}
.compliance-item:last-child{border-right:0!important}
.compliance-item strong,
.compliance-item b{
  color:#ffffff!important;
}
.compliance-item .gold{
  color:#D9A300!important;
  font-weight:950!important;
}
.eho-logo{
  width:120px!important;
  height:auto!important;
  background:#ffffff!important;
  padding:8px!important;
  border-radius:10px!important;
  display:block!important;
  margin:auto!important;
}
.footer .copy,
.copy{
  color:#ffffff!important;
  background:#004E2A!important;
  font-weight:650!important;
}
.footer{
  background:#003D20!important;
  color:#ffffff!important;
}
.footer a,
.footer p{
  color:#ffffff!important;
}
.footer h3{
  color:#ffffff!important;
}
.header-nmls{
  color:#ffffff!important;
  background:#004E2A!important;
  font-weight:950!important;
}
.header-nmls span,
.header-nmls strong{
  color:#D9A300!important;
}
@media(max-width:1100px){
  .logo{min-width:0!important}
  .header-logo{
    height:92px!important;
    max-width:360px!important;
  }
  .header .wide{
    min-height:auto!important;
  }
  .compliance-strip .wrap{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:650px){
  .header-logo{
    height:76px!important;
    max-width:280px!important;
  }
  .compliance-strip .wrap{
    grid-template-columns:1fr!important;
  }
  .compliance-item{
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.22)!important;
    text-align:center!important;
    padding:16px!important;
  }
}



/* ===== FINAL FULL LOGO + WHITE CTA TEXT FIX ===== */
.logo{
  min-width:560px!important;
  overflow:visible!important;
  display:flex!important;
  align-items:center!important;
}
.header-logo{
  height:138px!important;
  max-height:none!important;
  width:auto!important;
  max-width:560px!important;
  object-fit:contain!important;
  display:block!important;
  background:#fff!important;
  padding:4px!important;
  border-radius:8px!important;
}
.header .wide{
  min-height:168px!important;
  overflow:visible!important;
  align-items:center!important;
}
.cta-band,
.cta-band h2,
.cta-band p,
.cta-band div,
.cta-band a{
  color:#ffffff!important;
}
.cta-band h2{
  color:#ffffff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.25)!important;
}
.cta-band p{
  color:#f8fff9!important;
  font-weight:700!important;
}
.cta-band{
  background:linear-gradient(120deg,#004E2A,#003D20)!important;
  border:1px solid rgba(255,255,255,.15)!important;
}
@media(max-width:1100px){
  .logo{min-width:0!important}
  .header-logo{
    height:104px!important;
    max-width:430px!important;
  }
  .header .wide{min-height:auto!important}
}
@media(max-width:650px){
  .header-logo{
    height:84px!important;
    max-width:330px!important;
  }
}



/* ===== FINAL RECOMMENDATION PACKAGE ===== */
.tracking-note{
  display:none!important;
}
.floating-lead-stack{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:300;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.floating-lead-stack a{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:13px 16px;
  border-radius:999px;
  font-weight:950;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
  border:2px solid #fff;
}
.floating-lead-stack .call{
  background:#0B6B35;
  color:#fff;
}
.floating-lead-stack .apply{
  background:#D9A300;
  color:#111;
}
.calculator-widget{
  background:#fff;
  border:1px solid #D8EADF;
  border-radius:22px;
  padding:24px;
  box-shadow:0 18px 40px rgba(0,88,38,.12);
}
.calc-result{
  background:#EAF7EF;
  border:1px solid #CDEBD8;
  border-radius:16px;
  padding:18px;
  margin-top:14px;
  font-weight:900;
  color:#063F20;
}
.review-widget{
  background:#fff;
  border:1px solid #D8EADF;
  border-radius:22px;
  padding:24px;
  box-shadow:0 14px 32px rgba(0,88,38,.10);
}
.review-stars{
  color:#D9A300;
  font-size:24px;
  letter-spacing:2px;
}
.schema-hidden{
  display:none;
}
@media(max-width:650px){
  .floating-lead-stack{
    left:0;
    right:0;
    bottom:0;
    flex-direction:row;
    gap:0;
  }
  .floating-lead-stack a{
    width:50%;
    border-radius:0;
    border:0;
  }
}



/* ===== APPLIED FINAL HOMEPAGE MOCKUP STYLE ===== */
:root{--blue:#064f29!important;--blue2:#0b7a3b!important;--navy:#003d20!important;--gold:#d9a300!important;--green:#0b7a3b!important;--soft:#f4fbf6!important;--line:#dbeee2!important}
.top-trust{display:none!important;}
.top-trust .wide{padding:10px 0!important;display:flex!important;justify-content:space-between!important;gap:18px!important;flex-wrap:wrap!important}
.header{background:#fff!important;box-shadow:0 5px 20px rgba(0,0,0,.12)!important;border-bottom:0!important;margin-bottom:56px!important;overflow:visible!important}
.header .wide{min-height:130px!important;display:flex!important;align-items:center!important;gap:30px!important;overflow:visible!important}
.logo{min-width:560px!important;display:flex!important;align-items:center!important;overflow:visible!important;font-size:0!important}
.logo:before{display:none!important;content:none!important}
.logo span{display:none!important}
.header-logo{height:118px!important;max-width:560px!important;width:auto!important;object-fit:contain!important;display:block!important;background:#fff!important;padding:0!important;border-radius:0!important}
.header-cta{margin-left:auto!important;display:flex!important;align-items:center!important;gap:16px!important}
.header-phone{background:#fff!important;color:#003d20!important;border:2px solid #0b7a3b!important;border-radius:999px!important;padding:12px 20px!important;font-size:20px!important;line-height:1.1!important;font-weight:950!important}
.header-cta .btn{padding:18px 30px!important;border-radius:8px!important;text-transform:uppercase!important;font-size:17px!important}
.header .nav{position:absolute!important;left:0!important;right:0!important;bottom:-56px!important;margin:0!important;width:100%!important;background:#00451f!important;display:flex!important;justify-content:center!important;gap:0!important}
.header .nav a{color:#fff!important;padding:17px 24px!important;text-transform:uppercase!important;font-weight:900!important}
.header .nav a:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}
.header-nmls{background:#00451f!important;color:#fff!important;padding:7px 10px!important;font-weight:900!important}
.header-nmls strong{color:#d9a300!important}
.hero{background:linear-gradient(90deg,rgba(0,30,15,.78),rgba(0,30,15,.52),rgba(0,30,15,.10)),url('../images/mortgage-family-hero-final.jpg') center right/cover no-repeat!important;color:#fff!important;padding:88px 0 70px!important}
.hero h1{color:#fff!important;max-width:720px!important;font-size:clamp(42px,5vw,68px)!important;line-height:1.05!important;text-shadow:0 3px 10px rgba(0,0,0,.35)!important}
.hero .lead{color:#fff!important;font-size:24px!important;font-weight:800!important;max-width:760px!important;text-shadow:0 2px 8px rgba(0,0,0,.3)!important}
.hero .disclaimer,.disclaimer{color:#fff!important;background:#004e2a!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:12px!important;padding:14px 16px!important;font-weight:700!important}
.btn{background:#0b7a3b!important;border-color:#0b7a3b!important;color:#fff!important}
.btn.gold{background:#d9a300!important;border-color:#d9a300!important;color:#fff!important}
.btn.outline{background:rgba(255,255,255,.92)!important;border-color:#0b7a3b!important;color:#064f29!important}
.kicker{color:#d9a300!important}
.mock-home-row{background:#fff;border-bottom:1px solid #e5efe8;box-shadow:0 8px 22px rgba(0,0,0,.04)}
.mock-home-row .wrap{display:grid;grid-template-columns:repeat(6,1fr);gap:0}
.mock-home-row .item{text-align:center;padding:24px 14px;border-right:1px solid #e5efe8}
.mock-home-row .item:last-child{border-right:0}
.mock-home-row .icon{font-size:34px;color:#064f29;display:block;margin-bottom:8px}
.portal-row{background:#f7fbf8;padding:18px 0}
.portal-row .wrap{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.portal-tile{background:#fff;border:1px solid #dbeee2;border-radius:12px;padding:17px;text-align:center;font-weight:800;color:#064f29}
.portal-tile .icon{display:block;font-size:30px;margin-bottom:6px}
.cta-band,.cta-band h2,.cta-band p,.cta-band div{color:#fff!important}
.cta-band{background:linear-gradient(120deg,#004e2a,#003d20)!important}
.compliance-strip{background:#00451f!important;color:#fff!important;border-top:3px solid #d9a300!important}
.compliance-item,.compliance-item strong{color:#fff!important}
.compliance-item .gold{color:#d9a300!important}
.eho-logo{width:110px!important;background:#fff!important;border-radius:10px!important;padding:8px!important}
.footer{background:#003d20!important;color:#fff!important}
.footer p,.footer a,.footer h3{color:#fff!important}
@media(max-width:1100px){
.header .wide{flex-wrap:wrap!important;justify-content:center!important;padding-bottom:70px!important}
.logo{min-width:0!important}.header-logo{height:90px!important;max-width:420px!important}
.header-cta{margin-left:0!important;justify-content:center!important;flex-wrap:wrap!important}
.mock-home-row .wrap,.portal-row .wrap{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
.header{margin-bottom:0!important}.header .wide{padding-bottom:12px!important}.header .nav{display:none!important}
.header-logo{height:72px!important;max-width:310px!important}
.header-phone,.header-cta .btn{width:100%!important;justify-content:center!important;text-align:center!important}
.hero{padding:55px 0!important;background:linear-gradient(90deg,rgba(0,30,15,.82),rgba(0,30,15,.62)),url('../images/mortgage-family-hero-final.jpg') center/cover no-repeat!important}
.mock-home-row .wrap,.portal-row .wrap{grid-template-columns:1fr}
}



/* ===== CLEAN LESS-BUSY HERO BACKGROUND UPDATE ===== */
.hero{
  background:
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.90) 38%,rgba(255,255,255,.34) 64%,rgba(255,255,255,.08) 100%),
    url('../images/mortgage-clean-family-background.jpg') center right/cover no-repeat!important;
  color:#20232A!important;
  padding:72px 0 58px!important;
}
.hero h1{
  color:#063F20!important;
  text-shadow:none!important;
  max-width:740px!important;
  letter-spacing:-1px!important;
}
.hero .lead{
  color:#3b4148!important;
  text-shadow:none!important;
  max-width:680px!important;
  font-size:23px!important;
  font-weight:700!important;
}
.hero-actions{
  margin-top:26px!important;
}
.mock-home-row{
  margin-top:0!important;
}
.header-logo{
  height:128px!important;
  max-width:590px!important;
}
.logo{
  min-width:590px!important;
}
.header .wide{
  min-height:152px!important;
}
@media(max-width:1100px){
  .hero{
    background:
      linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.86)),
      url('../images/mortgage-clean-family-background.jpg') center/cover no-repeat!important;
  }
  .header-logo{
    height:96px!important;
    max-width:420px!important;
  }
  .logo{min-width:0!important;}
}
@media(max-width:650px){
  .hero{
    padding:48px 0!important;
    background:#f7fbf8!important;
  }
  .hero h1{
    font-size:38px!important;
  }
  .hero .lead{
    font-size:18px!important;
  }
  .header-logo{
    height:76px!important;
    max-width:300px!important;
  }
}



/* ===== PERFECT FINAL SPACING + PORTAL CLEANUP ===== */

/* Homepage: stop white rows from colliding with hero buttons/reviews */
body{overflow-x:hidden!important}
.hero{
  position:relative!important;
  z-index:1!important;
  min-height:560px!important;
  padding-bottom:92px!important;
}
.hero-actions{
  position:relative!important;
  z-index:4!important;
  margin-bottom:24px!important;
}
.mock-home-row,
.portal-row{
  position:relative!important;
  z-index:2!important;
  margin-top:0!important;
  clear:both!important;
}
.mock-home-row .wrap,
.portal-row .wrap{
  align-items:stretch!important;
}
.lead-card,
.review-widget,
.google-review-card{
  position:relative!important;
  z-index:5!important;
}

/* Keep feature rows lower and clean */
.mock-home-row{
  border-top:1px solid #edf2ed!important;
}
.portal-row{
  padding-top:18px!important;
  padding-bottom:18px!important;
}

/* Portal pages: remove large marketing hero feel and make dashboards compact */
.portal-clean-hero{
  background:#f7fbf8!important;
  color:#102015!important;
  padding:28px 0!important;
  min-height:auto!important;
  border-bottom:1px solid #dbeee2!important;
}
.portal-clean-hero h1{
  color:#063F20!important;
  font-size:clamp(30px,3vw,44px)!important;
  line-height:1.1!important;
  margin-bottom:8px!important;
  text-shadow:none!important;
}
.portal-clean-hero .lead{
  color:#34443a!important;
  font-size:17px!important;
  font-weight:650!important;
  max-width:900px!important;
  text-shadow:none!important;
}
.dashboard-quick-grid{
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
  gap:18px!important;
  margin-top:18px!important;
}
.dashboard-quick-card{
  background:#fff!important;
  border:1px solid #dbeee2!important;
  border-radius:16px!important;
  padding:18px!important;
  box-shadow:0 10px 24px rgba(0,88,38,.08)!important;
}
.dashboard-quick-card h3{
  color:#063F20!important;
  margin-bottom:6px!important;
}
.dashboard-quick-card a{
  color:#0b7a3b!important;
  font-weight:900!important;
}

/* CTA band text readable */
.cta-band,
.cta-band h2,
.cta-band p,
.cta-band div{
  color:#fff!important;
}
.cta-band h2{
  color:#fff!important;
}
.cta-band p{
  color:#f7fff8!important;
  font-weight:700!important;
}

/* Header/logo final safe sizing */
.header{
  overflow:visible!important;
}
.header-logo{
  object-fit:contain!important;
  object-position:center!important;
}
.logo{
  overflow:visible!important;
}

/* Mobile safe spacing */
@media(max-width:1100px){
  .hero{
    min-height:auto!important;
    padding-bottom:64px!important;
  }
  .dashboard-quick-grid{
    grid-template-columns:repeat(2,1fr)!important;
  }
}
@media(max-width:650px){
  .hero{
    min-height:auto!important;
    padding-bottom:42px!important;
  }
  .dashboard-quick-grid{
    grid-template-columns:1fr!important;
  }
}



/* ===== COMPLIANCE + RESOURCE PAGES UPDATE ===== */
.legal-link-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.legal-link-card{
  background:#fff;
  border:1px solid #dbeee2;
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 24px rgba(0,88,38,.07);
}
.legal-link-card h3{margin-bottom:8px}
.footer-legal-links{
  border-top:1px solid rgba(255,255,255,.18);
  margin-top:22px;
  padding-top:18px;
  display:flex;
  gap:12px 18px;
  flex-wrap:wrap;
  font-size:14px;
}
.footer-legal-links a{
  color:#fff!important;
  text-decoration:underline;
}
.faq-item{
  background:#fff;
  border:1px solid #dbeee2;
  border-radius:16px;
  padding:20px;
  margin-bottom:14px;
}
.news-card{
  background:#fff;
  border:1px solid #dbeee2;
  border-radius:18px;
  padding:22px;
  box-shadow:0 10px 24px rgba(0,88,38,.07);
}
@media(max-width:800px){.legal-link-grid{grid-template-columns:1fr}}



/* ===== MOVING LOAN PROGRAM BAR ===== */
.loan-program-ticker{
  background:#004E2A!important;
  color:#fff!important;
  border-top:3px solid #D9A300!important;
  border-bottom:3px solid #D9A300!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  position:relative!important;
  z-index:10!important;
}
.loan-program-track{
  display:inline-flex!important;
  gap:34px!important;
  align-items:center!important;
  padding:13px 0!important;
  animation:loanTicker 38s linear infinite!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.loan-program-track span{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
}
.loan-program-track span:before{
  content:"✓";
  color:#D9A300;
  font-weight:950;
}
@keyframes loanTicker{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
.loan-program-ticker:hover .loan-program-track{
  animation-play-state:paused!important;
}



/* ===== SECURITY + SECURE 1003 UPDATE ===== */
.security-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.security-card{
  background:#fff;
  border:1px solid #dbeee2;
  border-radius:18px;
  padding:22px;
  box-shadow:0 12px 28px rgba(0,88,38,.08);
}
.security-card .security-icon{
  font-size:34px;
  display:block;
  margin-bottom:10px;
  color:#0b7a3b;
}
.secure-application-alert{
  background:#004E2A;
  color:#fff;
  border-left:8px solid #D9A300;
  border-radius:14px;
  padding:20px;
  font-weight:700;
  line-height:1.5;
}
.secure-application-alert a{
  color:#fff;
  text-decoration:underline;
}
.security-step{
  background:#f7fbf8;
  border:1px solid #dbeee2;
  border-radius:16px;
  padding:20px;
}
.security-step strong{
  color:#064f29;
}
@media(max-width:900px){
  .security-grid{grid-template-columns:1fr}
}



/* ===== FINAL CLEAN FOOTER + TOP BAR REMOVAL ===== */
.top-trust{display:none!important;}
.site-footer-final{
  background:#003d20!important;
  color:#ffffff!important;
  padding:46px 0 22px!important;
  border-top:4px solid #D9A300!important;
}
.site-footer-final .footer-main{
  display:grid!important;
  grid-template-columns:1.2fr 1fr 1.4fr 1.4fr!important;
  gap:28px!important;
  align-items:start!important;
}
.footer-house-icon{
  width:72px!important;
  height:72px!important;
  border-radius:16px!important;
  background:#ffffff!important;
  display:grid!important;
  place-items:center!important;
  color:#0B6B35!important;
  font-size:38px!important;
  margin-bottom:14px!important;
}
.site-footer-final h3{
  color:#ffffff!important;
  margin-bottom:10px!important;
}
.site-footer-final p,
.site-footer-final a,
.site-footer-final li{
  color:#ffffff!important;
}
.site-footer-final a{
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
.site-footer-final ul{
  list-style:none!important;
  padding:0!important;
  margin:0!important;
}
.site-footer-final li{
  margin:7px 0!important;
}
.site-footer-final .footer-eho{
  width:118px!important;
  background:#ffffff!important;
  border-radius:10px!important;
  padding:8px!important;
  margin-top:10px!important;
}
.site-footer-final .footer-bottom{
  border-top:1px solid rgba(255,255,255,.20)!important;
  margin-top:28px!important;
  padding-top:18px!important;
  font-size:13px!important;
  color:#ffffff!important;
}
.site-footer-final .footer-bottom p{
  color:#ffffff!important;
  margin:8px 0!important;
}
.compliance-strip{
  display:none!important;
}
.footer{
  display:none!important;
}
@media(max-width:900px){
  .site-footer-final .footer-main{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:650px){
  .site-footer-final{
    text-align:center!important;
  }
  .site-footer-final .footer-main{
    grid-template-columns:1fr!important;
  }
  .footer-house-icon,
  .site-footer-final .footer-eho{
    margin-left:auto!important;
    margin-right:auto!important;
  }
}



/* ===== FINAL CLICKABLE LOAN PROGRAM TICKER ===== */
.loan-program-ticker{
  background:#004E2A!important;
  color:#fff!important;
  border-top:3px solid #D9A300!important;
  border-bottom:3px solid #D9A300!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.loan-program-track{
  display:inline-flex!important;
  gap:34px!important;
  align-items:center!important;
  padding:13px 0!important;
  animation:loanTicker 40s linear infinite!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.loan-program-ticker:hover .loan-program-track{
  animation-play-state:paused!important;
}
.loan-program-track a{
  color:#fff!important;
  text-decoration:none!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
}
.loan-program-track a:hover{
  color:#D9A300!important;
}
.loan-program-track .loan-icon{
  color:#D9A300!important;
  font-size:18px!important;
}
@keyframes loanTicker{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}



/* ===== TOP TICKER + FOOTER LOGO UPDATE ===== */
.loan-program-ticker{
  position:relative!important;
  z-index:500!important;
}
.footer-brand-logo{
  max-width:260px!important;
  width:100%!important;
  height:auto!important;
  background:#fff!important;
  border-radius:12px!important;
  padding:10px!important;
  margin:0 0 16px 0!important;
  display:block!important;
}
.site-footer-final .footer-eho,
.eho-logo{
  width:82px!important;
  max-width:82px!important;
  height:auto!important;
  padding:5px!important;
  border-radius:8px!important;
}
.footer-house-icon{
  display:none!important;
}
@media(max-width:650px){
  .footer-brand-logo{
    margin-left:auto!important;
    margin-right:auto!important;
    max-width:230px!important;
  }
  .site-footer-final .footer-eho,
  .eho-logo{
    width:72px!important;
    max-width:72px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}



/* ===== LEFT SIDE MOVING STAIRS LOAN PROGRAM BAR ===== */
.loan-program-ticker{
  display:none!important;
}
.side-loan-stairs{
  position:fixed;
  left:0;
  top:165px;
  z-index:800;
  width:190px;
  max-height:calc(100vh - 190px);
  overflow:hidden;
  pointer-events:auto;
}
.side-loan-track{
  display:flex;
  flex-direction:column;
  gap:8px;
  animation:sideLoanStairs 26s linear infinite;
}
.side-loan-stairs:hover .side-loan-track{
  animation-play-state:paused;
}
.side-loan-track a{
  color:#fff!important;
  background:linear-gradient(135deg,#004E2A,#0B6B35);
  border:2px solid #D9A300;
  border-left:0;
  border-radius:0 999px 999px 0;
  padding:10px 14px 10px 12px;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  text-decoration:none!important;
  box-shadow:0 7px 18px rgba(0,0,0,.20);
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.side-loan-track a:nth-child(2n){ margin-left:14px; }
.side-loan-track a:nth-child(3n){ margin-left:28px; }
.side-loan-track a:hover{
  background:#D9A300;
  color:#102015!important;
}
.side-loan-track .loan-icon{
  color:#D9A300;
  font-size:15px;
}
.side-loan-track a:hover .loan-icon{ color:#102015; }
@keyframes sideLoanStairs{
  0%{transform:translateY(0)}
  100%{transform:translateY(-50%)}
}
@media(min-width:1200px){
  body{ padding-left:36px; }
  .hero .wrap,
  .section .wrap,
  .mock-home-row .wrap,
  .portal-row .wrap{
    padding-left:60px;
  }
}
@media(max-width:1100px){
  .side-loan-stairs{ display:none!important; }
  body{ padding-left:0!important; }
}



/* ===== SHORT STAIRS + NO HOMEPAGE BACKGROUND IMAGE ===== */
.side-loan-stairs{
  width:132px!important;
  top:190px!important;
  max-height:340px!important;
}
.side-loan-track{
  gap:6px!important;
  animation:sideLoanStairs 22s linear infinite!important;
}
.side-loan-track a{
  font-size:10px!important;
  padding:8px 10px!important;
  border-width:1px!important;
  gap:5px!important;
}
.side-loan-track a:nth-child(2n){
  margin-left:8px!important;
}
.side-loan-track a:nth-child(3n){
  margin-left:16px!important;
}
.side-loan-track .loan-icon{
  font-size:12px!important;
}
@media(min-width:1200px){
  body{
    padding-left:0!important;
  }
  .hero .wrap,
  .section .wrap,
  .mock-home-row .wrap,
  .portal-row .wrap{
    padding-left:0!important;
  }
}

/* Remove homepage background photo and keep clean premium green/white layout */
body.home-page .hero,
.home-page .hero{
  background:
    radial-gradient(circle at 85% 15%, rgba(217,163,0,.12), transparent 28%),
    linear-gradient(120deg,#ffffff 0%,#f7fbf8 56%,#eaf7ef 100%)!important;
  color:#20232A!important;
  min-height:auto!important;
  padding:72px 0 64px!important;
}
.home-page .hero h1{
  color:#063F20!important;
  text-shadow:none!important;
}
.home-page .hero .lead{
  color:#2d3832!important;
  text-shadow:none!important;
}


/* ===== REQUESTED UPDATE: STAIRS BOTTOM RIGHT + CENTERED FOOTER EHO ===== */
.side-loan-stairs{
  position:fixed!important;
  left:auto!important;
  right:18px!important;
  top:auto!important;
  bottom:128px!important;
  width:150px!important;
  max-height:235px!important;
  overflow:hidden!important;
  z-index:950!important;
  pointer-events:auto!important;
}
.side-loan-track{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  animation:sideLoanStairs 18s linear infinite!important;
}
.side-loan-track a{
  border-left:2px solid #D9A300!important;
  border-radius:999px 0 0 999px!important;
  justify-content:flex-start!important;
  font-size:10px!important;
  padding:8px 10px!important;
  box-shadow:0 8px 20px rgba(0,0,0,.24)!important;
}
.side-loan-track a:nth-child(2n){ margin-left:0!important; margin-right:10px!important; }
.side-loan-track a:nth-child(3n){ margin-left:0!important; margin-right:20px!important; }
.floating-lead-stack{
  right:18px!important;
  bottom:18px!important;
  z-index:940!important;
}
.footer-brand-logo{
  margin-left:auto!important;
  margin-right:auto!important;
  display:block!important;
}
.site-footer-final .footer-main > div:first-child{
  text-align:center!important;
}
.site-footer-final .footer-eho{
  display:block!important;
  margin:14px auto 0 auto!important;
  width:76px!important;
  max-width:76px!important;
}
.site-footer-final .footer-main > div:first-child .footer-eho + .footer-eho-label,
.footer-eho-label{
  text-align:center!important;
  color:#fff!important;
  font-weight:800!important;
  font-size:13px!important;
  margin-top:6px!important;
}
@media(max-width:1100px){
  .side-loan-stairs{ display:block!important; }
}
@media(max-width:650px){
  .side-loan-stairs{
    right:8px!important;
    bottom:64px!important;
    width:118px!important;
    max-height:185px!important;
  }
  .side-loan-track a{
    font-size:9px!important;
    padding:7px 8px!important;
  }
}

/* ===== Working Portal Login Pages ===== */
.portal-login-hero{min-height:calc(100vh - 90px);background:linear-gradient(135deg,#061b3a,#0b4ea2);display:flex;align-items:center;padding:58px 5%;color:#fff}
.portal-login-wrap{width:min(1120px,94%);margin:auto;display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}
.portal-login-card{background:#fff;color:#172033;border-radius:26px;padding:30px;box-shadow:0 26px 70px rgba(0,0,0,.26)}
.portal-login-card h2{margin-top:0;color:#061b3a}.portal-login-card label{font-weight:800;font-size:13px;color:#334155}
.portal-login-card input,.portal-login-card select{width:100%;padding:14px 15px;border:1px solid #d9e1ee;border-radius:14px;margin:7px 0 14px;font-size:16px}
.portal-login-card .btn{width:100%;text-align:center;margin-top:6px}.demo-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.demo-row a{border:1px solid #d9e1ee;border-radius:14px;padding:12px;text-align:center;font-weight:800;background:#f8fafc;color:#0b1f3a}.security-note{font-size:13px;color:#64748b;margin-top:14px}.portal-feature-list{display:grid;gap:12px;margin-top:22px}.portal-feature-list div{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);padding:15px;border-radius:16px}.portal-top-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.portal-top-actions a{padding:10px 13px;border-radius:999px;background:#eef4ff;font-weight:800;color:#0b1f3a}.logout-link{float:right;font-size:14px;font-weight:800;color:#0b4ea2}.login-required-banner{background:#fff8e6;border:1px solid #f5d58a;color:#684b08;padding:12px 16px;border-radius:16px;margin-bottom:18px;font-weight:700}
@media(max-width:900px){.portal-login-wrap{grid-template-columns:1fr}.demo-row{grid-template-columns:1fr}.portal-login-hero{padding:36px 4%}}
/* Full restored moving stairs across the middle of every public page */
.side-loan-stairs{position:fixed!important;top:48%!important;left:0!important;right:0!important;width:100%!important;height:auto!important;background:transparent!important;z-index:999!important;pointer-events:none!important;overflow:hidden!important;padding:10px 0!important}.side-loan-track{display:flex!important;flex-direction:row!important;gap:12px!important;width:max-content!important;animation:halStairsAcross 32s linear infinite!important;pointer-events:auto!important}.side-loan-track a{min-width:138px!important;text-align:center!important;border-radius:7px 7px 22px 7px!important;padding:13px 16px!important;background:linear-gradient(135deg,#09254a,#174d89)!important;color:#fff!important;border-bottom:5px solid #d6aa3d!important;box-shadow:0 10px 24px rgba(0,0,0,.24)!important;font-weight:800!important}.side-loan-track a:nth-child(2n){transform:translateY(12px)!important}.side-loan-track a:nth-child(3n){transform:translateY(24px)!important}@keyframes halStairsAcross{from{transform:translateX(0)}to{transform:translateX(-50%)}}@media(max-width:760px){.side-loan-stairs{top:44%!important}.side-loan-track a{min-width:106px!important;font-size:12px!important;padding:9px 10px!important}}


/* ===== 2026 Update: full moving loan bar, 2 visible at a time, replacing Get Pre-Approved focus ===== */
.side-loan-stairs{
  position:fixed!important;
  top:48%!important;left:0!important;right:0!important;
  width:100vw!important;height:auto!important;
  background:rgba(255,255,255,.02)!important;
  z-index:999!important;pointer-events:none!important;overflow:hidden!important;
  padding:14px 0 28px!important;
}
.side-loan-track{
  display:flex!important;flex-direction:row!important;gap:18px!important;
  width:max-content!important;animation:halTwoAtTimeAcross 38s linear infinite!important;
  pointer-events:auto!important;padding-left:4vw!important;
}
.side-loan-track:hover{animation-play-state:paused!important;}
.side-loan-track a{
  flex:0 0 calc(48vw - 24px)!important;
  min-width:420px!important;max-width:620px!important;
  text-align:center!important;border-radius:12px 12px 30px 12px!important;
  padding:18px 24px!important;background:linear-gradient(135deg,#053D1E,#128A45)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.25)!important;
  border-bottom:7px solid #d6aa3d!important;box-shadow:0 16px 34px rgba(0,0,0,.28)!important;
  font-weight:950!important;font-size:18px!important;letter-spacing:.01em!important;
}
.side-loan-track a:nth-child(2n){transform:translateY(18px)!important;margin-left:0!important;}
.side-loan-track a:nth-child(3n){transform:translateY(0)!important;margin-left:0!important;}
.side-loan-track .loan-icon{display:inline-block!important;margin-right:10px!important;color:#d6aa3d!important;}
@keyframes halTwoAtTimeAcross{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.inline-two-step-stairs{overflow:hidden;margin:18px auto 4px;border-radius:22px;padding:14px;background:#f4f8ff;border:1px solid #dbe6f4;}
.inline-two-step-track{display:flex;gap:14px;width:max-content;animation:halInlineTwoStep 32s linear infinite;}
.inline-two-step-track:hover{animation-play-state:paused;}
.inline-two-step-track a{flex:0 0 245px;min-height:145px;background:linear-gradient(135deg,#053D1E,#128A45);color:#fff;border-radius:16px 16px 34px 16px;padding:18px;text-align:left;box-shadow:0 12px 26px rgba(0,0,0,.18);border-bottom:7px solid #d6aa3d;}
.inline-two-step-track a:nth-child(2n){transform:translateY(16px);}
.inline-two-step-track span{font-size:28px;display:block;margin-bottom:8px}.inline-two-step-track strong{display:block;font-size:18px}.inline-two-step-track small{display:block;color:#dbeafe;margin-top:6px;line-height:1.3}
@keyframes halInlineTwoStep{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:760px){
  .side-loan-stairs{top:42%!important;padding:10px 0 24px!important;}
  .side-loan-track{gap:10px!important;}
  .side-loan-track a{flex-basis:calc(50vw - 14px)!important;min-width:170px!important;max-width:210px!important;font-size:12px!important;padding:11px 10px!important;border-bottom-width:5px!important;}
  .side-loan-track a:nth-child(2n){transform:translateY(12px)!important;}
  .inline-two-step-track a{flex-basis:calc(50vw - 38px);min-width:150px;min-height:130px;padding:14px;}
}


/* ===== 2026 Update: straight top moving bar, one item at a time ===== */
body{padding-top:46px!important;}
.header{top:46px!important;}
.side-loan-stairs{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  height:46px!important;
  background:linear-gradient(90deg,#041a38,#09254a,#174d89)!important;
  z-index:99999!important;
  overflow:hidden!important;
  padding:0!important;
  pointer-events:auto!important;
  border-bottom:3px solid #d6aa3d!important;
  box-shadow:0 6px 18px rgba(0,0,0,.20)!important;
}
.side-loan-track{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  gap:0!important;
  width:max-content!important;
  height:46px!important;
  animation:halStraightTopOne 42s steps(24,end) infinite!important;
  pointer-events:auto!important;
}
.side-loan-track:hover{animation-play-state:paused!important;}
.side-loan-track a{
  flex:0 0 100vw!important;
  width:100vw!important;
  min-width:100vw!important;
  max-width:100vw!important;
  height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  text-align:center!important;
  padding:0 16px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  font-weight:900!important;
  font-size:16px!important;
  letter-spacing:.02em!important;
  transform:none!important;
  white-space:nowrap!important;
}
.side-loan-track a:before{content:"Loan Program";background:#d6aa3d;color:#041a38;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;}
.side-loan-track .loan-icon{color:#d6aa3d!important;margin-right:0!important;font-size:20px!important;}
.side-loan-track a:nth-child(2n),.side-loan-track a:nth-child(3n){margin:0!important;transform:none!important;}
@keyframes halStraightTopOne{from{transform:translateX(0)}to{transform:translateX(-2400vw)}}
@media(max-width:760px){
  body{padding-top:42px!important;}
  .header{top:42px!important;}
  .side-loan-stairs{height:42px!important;}
  .side-loan-track{height:42px!important;animation-duration:36s!important;}
  .side-loan-track a{height:42px!important;font-size:13px!important;padding:0 10px!important;}
  .side-loan-track a:before{font-size:10px;padding:3px 7px;}
  .side-loan-track .loan-icon{font-size:17px!important;}
}


/* ===== Fix: green top moving bar + working Request Mortgage Application link/button styling ===== */
:root{--hal-application-green:#0b7a3b!important;--hal-application-green-dark:#064f29!important;}
.side-loan-stairs{
  background:linear-gradient(90deg,var(--hal-application-green-dark),var(--hal-application-green),#0f8a4b)!important;
  border-bottom:3px solid #d9a300!important;
}
.side-loan-track a{
  background:transparent!important;
  color:#fff!important;
}
.side-loan-track a:before{
  background:#d9a300!important;
  color:#063d20!important;
}
.side-loan-track .loan-icon{color:#fff!important;}
.header-cta .btn.gold,
.header-cta .btn.outline,
.hero-actions .btn.gold,
.btn.gold,
.btn.green{
  background:var(--hal-application-green)!important;
  border-color:var(--hal-application-green)!important;
  color:#fff!important;
}
.nav a[href$="loan-programs.html"]{
  background:var(--hal-application-green)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:10px 14px!important;
}
.header-cta .btn:hover,
.hero-actions .btn:hover,
.btn.gold:hover,
.btn.green:hover{
  background:var(--hal-application-green-dark)!important;
  border-color:var(--hal-application-green-dark)!important;
}


/* ===== USER UPDATE: restore blue top moving bar + clear portal names ===== */
.side-loan-stairs{
  background:linear-gradient(90deg,#041a38,#09254a,#174d89)!important;
  border-bottom:3px solid #d6aa3d!important;
}
.side-loan-track a{background:transparent!important;color:#fff!important;}
.side-loan-track a:before{background:#d6aa3d!important;color:#041a38!important;}
.side-loan-track .loan-icon{color:#d6aa3d!important;}
.header .nav a[href*="portal/borrower/login"],
.header .nav a[href*="portal/realtor/login"],
.header .nav a[href*="portal/broker/login"],
.header .nav a[href*="portal/partner/login"]{
  background:transparent!important;
  color:#fff!important;
  border-radius:0!important;
  padding:17px 18px!important;
}
.header .nav a[href*="portal/borrower/login"]:hover,
.header .nav a[href*="portal/realtor/login"]:hover,
.header .nav a[href*="portal/broker/login"]:hover,
.header .nav a[href*="portal/partner/login"]:hover{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
}

/* ===== Final update: restore blue top moving bar and keep CTA links working ===== */
.side-loan-stairs{
  background:linear-gradient(90deg,#041a38,#0b3f73,#155fa0)!important;
  border-bottom:3px solid #d6aa3d!important;
}
.side-loan-track a:before{
  background:#d6aa3d!important;
  color:#041a38!important;
}
.side-loan-track .loan-icon{color:#d6aa3d!important;}


/* ===== USER REQUEST UPDATE: NO FAMILY BACKGROUND + CLEAN FOOTER BRAND + MATCH CTA COLORS ===== */
.hero,
.staff-hero{
  background:linear-gradient(135deg,#f7fbf8 0%,#ffffff 48%,#eaf7ef 100%)!important;
  color:#20232A!important;
  min-height:auto!important;
}
.hero h1,
.staff-hero h1{
  color:#063F20!important;
  text-shadow:none!important;
}
.hero .lead,
.staff-hero .lead{
  color:#34443A!important;
  text-shadow:none!important;
}
.hero .disclaimer,
.disclaimer{
  color:#ffffff!important;
  background:#004E2A!important;
}
.header-cta .btn.gold,
.hero-actions .btn.gold,
.cta-band .btn.gold,
.sticky-mobile a:last-child,
.floating-lead-stack .apply{
  background:#00451F!important;
  border-color:#00451F!important;
  color:#ffffff!important;
}
.header-cta .btn.gold:hover,
.hero-actions .btn.gold:hover,
.cta-band .btn.gold:hover{
  background:#063F20!important;
  border-color:#063F20!important;
}
.footer-brand-logo{
  display:block!important;
  max-width:220px!important;
  width:100%!important;
  height:auto!important;
  background:#ffffff!important;
  border-radius:14px!important;
  padding:10px!important;
  margin:0 0 14px 0!important;
  box-shadow:0 10px 24px rgba(0,0,0,.12)!important;
}
.footer-text-brand{
  background:#ffffff!important;
  color:#063F20!important;
  border-radius:14px!important;
  padding:18px!important;
  margin:0 0 16px 0!important;
  max-width:280px!important;
  box-shadow:0 10px 24px rgba(0,0,0,.12)!important;
  text-align:left!important;
}
.footer-text-brand strong{
  display:block!important;
  color:#063F20!important;
  font-size:24px!important;
  line-height:1.05!important;
  font-weight:950!important;
}
.footer-text-brand span{
  display:block!important;
  color:#0B6B35!important;
  margin-top:6px!important;
  font-weight:850!important;
  font-size:13px!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
}
@media(max-width:650px){
  .hero,
  .staff-hero{
    background:linear-gradient(135deg,#f7fbf8 0%,#ffffff 48%,#eaf7ef 100%)!important;
  }
  .footer-text-brand{
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }
}

/* ONE-LINE HEADER NAV + PORTAL HAMBURGER DROPDOWN UPDATE */
.header{overflow:visible!important;}
.header .wide{overflow:visible!important;}
.header .nav.nav-one-line{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-56px!important;
  width:100%!important;
  margin:0!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:0!important;
  white-space:nowrap!important;
  background:#0b4f9c!important;
  z-index:9999!important;
  overflow:visible!important;
}
.header .nav.nav-one-line > a,
.header .nav.nav-one-line .portal-toggle{
  color:#fff!important;
  background:transparent!important;
  border:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:56px!important;
  padding:0 18px!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  cursor:pointer!important;
  font-family:inherit!important;
}
.header .nav.nav-one-line > a:hover,
.header .nav.nav-one-line .portal-menu:hover .portal-toggle,
.header .nav.nav-one-line .portal-toggle:focus{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
}
.header .nav.nav-one-line .nav-cta{
  background:#0b7a3b!important;
  color:#fff!important;
}
.header .nav.nav-one-line .nav-cta:hover{
  background:#08652f!important;
}
.portal-menu{position:relative!important;display:flex!important;align-items:stretch!important;}
.hamburger-lines{font-size:20px!important;margin-right:8px!important;line-height:1!important;}
.portal-dropdown{
  display:none!important;
  position:absolute!important;
  top:56px!important;
  right:0!important;
  min-width:230px!important;
  background:#fff!important;
  border:1px solid rgba(11,79,156,.18)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
  border-radius:0 0 14px 14px!important;
  overflow:hidden!important;
  z-index:10000!important;
}
.portal-menu:hover .portal-dropdown,
.portal-menu:focus-within .portal-dropdown{display:block!important;}
.portal-dropdown a{
  display:block!important;
  color:#07325f!important;
  background:#fff!important;
  padding:15px 18px!important;
  text-transform:none!important;
  font-weight:900!important;
  text-decoration:none!important;
  border-bottom:1px solid #e8eef7!important;
  font-size:15px!important;
}
.portal-dropdown a:hover{background:#eef6ff!important;color:#0b4f9c!important;}
@media(max-width:1100px){
  .header .nav.nav-one-line > a,
  .header .nav.nav-one-line .portal-toggle{padding:0 10px!important;font-size:11px!important;}
}
@media(max-width:760px){
  .header .nav.nav-one-line{display:none!important;}
}

/* ===== Final update: make home/top navigation green like Get Pre-Approved ===== */
.header .nav.nav-one-line{
  background:#0b7a3b!important;
}
.header .nav.nav-one-line > a,
.header .nav.nav-one-line .portal-toggle{
  color:#fff!important;
}
.header .nav.nav-one-line > a:hover,
.header .nav.nav-one-line .portal-menu:hover .portal-toggle,
.header .nav.nav-one-line .portal-toggle:focus{
  background:#08652f!important;
  color:#fff!important;
}
.header .nav.nav-one-line .nav-cta{
  background:#0b7a3b!important;
  color:#fff!important;
}
.header .nav.nav-one-line .nav-cta:hover{
  background:#08652f!important;
}
.portal-dropdown{
  border-color:rgba(11,122,59,.22)!important;
}
.portal-dropdown a{
  color:#064f29!important;
}
.portal-dropdown a:hover{
  background:#eaf7ef!important;
  color:#0b7a3b!important;
}

/* ===== Portal dropdown click fix: visible portal names ===== */
.header .nav.nav-one-line .portal-menu.open .portal-dropdown,
.header .nav.nav-one-line .portal-menu:focus-within .portal-dropdown,
.header .nav.nav-one-line .portal-menu:hover .portal-dropdown{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.header .nav.nav-one-line .portal-menu.open .portal-toggle{
  background:#08652f!important;
  color:#fff!important;
}
.portal-dropdown{
  display:none!important;
  position:absolute!important;
  top:56px!important;
  right:0!important;
  min-width:260px!important;
  background:#ffffff!important;
  border:2px solid #0b7a3b!important;
  box-shadow:0 18px 42px rgba(0,0,0,.22)!important;
  border-radius:0 0 16px 16px!important;
  overflow:hidden!important;
  z-index:999999!important;
}
.portal-dropdown a{
  display:block!important;
  padding:16px 20px!important;
  color:#064f29!important;
  background:#ffffff!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1.2!important;
  text-decoration:none!important;
  border-bottom:1px solid #d7eadf!important;
}
.portal-dropdown a:last-child{border-bottom:0!important;}
.portal-dropdown a:hover,
.portal-dropdown a:focus{
  background:#eaf7ef!important;
  color:#0b7a3b!important;
  outline:2px solid #0b7a3b!important;
  outline-offset:-2px!important;
}


/* FINAL FIX: green one-line nav, reliable click portal dropdown, visible resource tab */
.header .nav.nav-one-line{
  background:#0B6B35!important;
  overflow:visible!important;
}
.header .nav.nav-one-line > a,
.header .nav.nav-one-line .portal-toggle{
  color:#fff!important;
  background:transparent!important;
}
.header .nav.nav-one-line > a:hover,
.header .nav.nav-one-line .portal-toggle:hover,
.header .nav.nav-one-line .portal-toggle:focus{
  background:rgba(255,255,255,.18)!important;
}
.header .nav.nav-one-line .nav-cta,
.header .nav.nav-one-line .resource-tab{
  background:#0B7A3B!important;
  color:#fff!important;
}
.header .nav.nav-one-line .nav-cta:hover,
.header .nav.nav-one-line .resource-tab:hover{
  background:#08652f!important;
}
.portal-menu{position:relative!important;display:flex!important;align-items:stretch!important;overflow:visible!important;}
.portal-toggle{user-select:none!important;}
.portal-dropdown{
  display:none!important;
  position:absolute!important;
  top:56px!important;
  right:0!important;
  min-width:260px!important;
  background:#fff!important;
  border:2px solid #0B6B35!important;
  box-shadow:0 22px 55px rgba(0,0,0,.28)!important;
  border-radius:0 0 16px 16px!important;
  overflow:visible!important;
  z-index:2147483647!important;
  padding:6px 0!important;
}
.portal-menu.open .portal-dropdown,
.portal-menu:focus-within .portal-dropdown,
.portal-menu:hover .portal-dropdown{display:block!important;}
.portal-dropdown a{
  display:block!important;
  color:#07325f!important;
  background:#fff!important;
  padding:16px 20px!important;
  text-transform:none!important;
  font-weight:950!important;
  text-decoration:none!important;
  border-bottom:1px solid #e8eef7!important;
  font-size:16px!important;
  line-height:1.2!important;
}
.portal-dropdown a:last-child{border-bottom:0!important;}
.portal-dropdown a:hover{background:#eaf7ef!important;color:#0B6B35!important;}
@media(max-width:1100px){
  .header .nav.nav-one-line > a, .header .nav.nav-one-line .portal-toggle{padding:0 8px!important;font-size:10.5px!important;}
  .portal-dropdown{right:auto!important;left:50%!important;transform:translateX(-50%)!important;}
}


/* VERSION 303: Client Portal dropdown and logo fix */
.portal-menu{position:relative;display:inline-flex;align-items:center;z-index:10000}
.portal-toggle{display:inline-flex!important;align-items:center;gap:7px;background:#fff;color:var(--blue2,#0b4ea2);border:2px solid var(--gold,#d4a236);border-radius:10px;padding:10px 14px;font-weight:900;cursor:pointer;white-space:nowrap;line-height:1.1}
.portal-toggle .hamburger-lines{font-size:15px;line-height:1}
.portal-dropdown{display:none;position:absolute;top:calc(100% + 8px);right:0;min-width:230px;background:#fff;color:#102033;border:1px solid var(--line,#dbe6f4);border-radius:14px;box-shadow:0 18px 45px rgba(7,42,92,.22);padding:8px;z-index:10001}
.portal-menu.open .portal-dropdown,.portal-menu:focus-within .portal-dropdown{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.portal-dropdown a{display:block!important;margin:0!important;padding:12px 14px!important;border-radius:10px;color:#102033!important;background:#fff!important;font-weight:900;text-decoration:none;white-space:nowrap}
.portal-dropdown a:hover,.portal-dropdown a:focus{background:#f4f8ff!important;color:var(--blue2,#0b4ea2)!important}
.header-logo,.site-logo,.portal-logo{max-height:72px;width:auto;object-fit:contain}
.portal-login-logo{max-width:240px;width:80%;height:auto;margin:0 auto 18px;display:block}
@media(max-width:900px){.portal-menu{display:flex;width:100%}.portal-toggle{width:100%;justify-content:center}.portal-dropdown{left:0;right:auto;width:100%;min-width:100%;top:calc(100% + 6px)}}


/* ===== VERSION 303 PORTAL DROPDOWN STABILITY FIX ===== */
.header, .nav, .portal-menu { overflow: visible !important; }
.portal-menu { position: relative !important; display: inline-flex !important; align-items: center !important; z-index: 10000 !important; }
.portal-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 142px !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important;
  line-height: 1.1 !important;
  cursor: pointer !important;
}
.portal-toggle::after { content: " ▾"; font-size: 12px; }
.portal-dropdown {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  min-width: 240px !important;
  background: #fff !important;
  color: #102033 !important;
  border: 1px solid var(--line,#dbe6f4) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px rgba(7,42,92,.22) !important;
  padding: 8px !important;
  z-index: 10001 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.portal-menu.open .portal-dropdown { display: block !important; }
.portal-dropdown a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #102033 !important;
  background: #fff !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.portal-dropdown a:hover, .portal-dropdown a:focus { background: #f4f8ff !important; color: var(--blue2,#0b4ea2) !important; }
.portal-menu:hover .portal-dropdown, .portal-menu:focus-within .portal-dropdown { display: none !important; }
.portal-menu.open:hover .portal-dropdown, .portal-menu.open:focus-within .portal-dropdown { display: block !important; }
@media(max-width:900px){
  .portal-menu { width: 100% !important; }
  .portal-toggle { width: 100% !important; }
  .portal-dropdown { left: 0 !important; right: auto !important; width: 100% !important; min-width: 100% !important; }
}


/* VERSION 304: Bottom Call Now + visible green portal dropdown label fix */
html body .sticky-mobile,
html body .floating-lead-stack{
  pointer-events:auto!important;
  z-index:2147483000!important;
}
html body .sticky-mobile a,
html body .floating-lead-stack a{
  pointer-events:auto!important;
  cursor:pointer!important;
  text-decoration:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
}
html body .sticky-mobile a:first-child,
html body .floating-lead-stack .call{
  background:#0B6B35!important;
  color:#FFFFFF!important;
  font-weight:950!important;
}
html body .portal-menu{
  position:relative!important;
  overflow:visible!important;
  z-index:2147482000!important;
}
html body .portal-toggle,
html body button.portal-toggle,
html body .nav .portal-toggle{
  background:#0B6B35!important;
  color:#FFFFFF!important;
  border:2px solid #D9A300!important;
  min-width:170px!important;
  height:auto!important;
  min-height:42px!important;
  opacity:1!important;
  visibility:visible!important;
  display:inline-flex!important;
  gap:8px!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:14px!important;
  font-weight:950!important;
  line-height:1.15!important;
  text-indent:0!important;
  overflow:visible!important;
  white-space:nowrap!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
html body .portal-toggle .portal-toggle-label,
html body .portal-toggle .hamburger-lines{
  display:inline-block!important;
  color:#FFFFFF!important;
  opacity:1!important;
  visibility:visible!important;
  -webkit-text-fill-color:#FFFFFF!important;
  font-weight:950!important;
}
html body .portal-toggle::after{
  content:" ▾"!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
html body .portal-dropdown{
  display:none!important;
  position:absolute!important;
  top:100%!important;
  right:0!important;
  margin-top:4px!important;
  min-width:250px!important;
  background:#FFFFFF!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:2147483001!important;
  pointer-events:auto!important;
  border:1px solid #dbe6f4!important;
  box-shadow:0 18px 45px rgba(7,42,92,.22)!important;
}
html body .portal-menu.open .portal-dropdown,
html body .portal-menu:focus-within .portal-dropdown{
  display:block!important;
}
html body .portal-dropdown a,
html body .portal-dropdown .portal-link-name{
  color:#102033!important;
  -webkit-text-fill-color:#102033!important;
  opacity:1!important;
  visibility:visible!important;
  display:block!important;
  font-size:15px!important;
  font-weight:950!important;
  line-height:1.25!important;
  text-indent:0!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
html body .portal-dropdown a{
  padding:13px 16px!important;
  min-height:44px!important;
  background:#FFFFFF!important;
}
html body .portal-dropdown a:hover,
html body .portal-dropdown a:focus{
  background:#eaf7ef!important;
  color:#0B6B35!important;
  -webkit-text-fill-color:#0B6B35!important;
}
@media(max-width:900px){
  html body .portal-menu{width:100%!important;display:flex!important;}
  html body .portal-toggle{width:100%!important;min-width:100%!important;}
  html body .portal-dropdown{left:0!important;right:auto!important;width:100%!important;min-width:100%!important;}
}


/* VERSION 305 FOOTER LOGO FIX - DO NOT HIDE BRAND LOGO */
.footer-brand-logo{display:block!important;max-width:220px!important;width:100%!important;height:auto!important;background:#fff!important;border-radius:14px!important;padding:10px!important;margin:0 0 14px 0!important;box-shadow:0 10px 24px rgba(0,0,0,.12)!important;}
.footer-logo-link{display:inline-block!important;text-decoration:none!important;}
.site-footer-final .footer-main > div:first-child{text-align:left!important;}
@media(max-width:650px){.footer-brand-logo{margin-left:auto!important;margin-right:auto!important;max-width:190px!important}.site-footer-final .footer-main > div:first-child{text-align:center!important;}}


/* VERSION 306 FOOTER LOGO HARD FIX */
.site-footer-final .footer-brand-logo,.footer-brand-logo,.footer .portal-footer-logo,.portal-footer-logo{display:block!important;visibility:visible!important;opacity:1!important;width:220px!important;max-width:90vw!important;max-height:none!important;height:auto!important;object-fit:contain!important;background:#ffffff!important;border-radius:14px!important;padding:10px!important;margin:0 auto 14px auto!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important}.footer-logo-link{display:inline-block!important;text-decoration:none!important}.footer-logo-fallback{display:block!important;color:#fff!important}@media(max-width:650px){.site-footer-final .footer-brand-logo,.footer-brand-logo,.footer .portal-footer-logo,.portal-footer-logo{width:185px!important;max-width:88vw!important}}


/* VERSION 307: hard visible footer logo fix */
.footer-brand-logo,.portal-footer-logo{display:block!important;visibility:visible!important;opacity:1!important;width:220px!important;max-width:90vw!important;height:auto!important;max-height:none!important;margin:0 auto 12px!important;background:#fff!important;border-radius:14px!important;padding:10px!important;object-fit:contain!important;position:relative!important;z-index:5!important;}
.site-footer-final a.footer-logo-link,.footer a{display:inline-block!important;text-decoration:none!important;}
.footer-logo-fallback{display:block!important;visibility:visible!important;opacity:1!important;color:#fff!important;}
@media(max-width:760px){.footer-brand-logo,.portal-footer-logo{width:185px!important;max-width:88vw!important;}}

/* Review cards added for desktop and mobile testimonial sections */
.reviews-grid .review-widget h3{
  color:#063F20;
  margin-top:10px;
}
.reviews-grid .review-widget p{
  line-height:1.65;
}
@media(max-width:650px){
  .reviews-grid{
    grid-template-columns:1fr!important;
  }
  .reviews-grid .review-widget{
    padding:20px!important;
  }
}



/* VERSION 358: MOBILE MENU DISPLAY FIX
   Shows the same desktop navigation on mobile as a horizontal scroll menu.
   Preserves all existing links and portal dropdown functionality. */
@media (max-width: 900px){
  body{
    overflow-x:hidden!important;
  }
  .header{
    position:relative!important;
    overflow:visible!important;
    padding-bottom:74px!important;
  }
  .header .wide{
    position:relative!important;
    overflow:visible!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
  }
  .header .logo{
    width:100%!important;
    display:flex!important;
    justify-content:center!important;
    margin:0 auto 6px!important;
  }
  .header .header-logo{
    max-width:220px!important;
    max-height:78px!important;
    height:auto!important;
    object-fit:contain!important;
  }
  .header .nav.nav-one-line{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:-68px!important;
    width:100%!important;
    min-height:62px!important;
    max-width:100vw!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
    white-space:nowrap!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    gap:0!important;
    padding:0!important;
    background:#0B6B35!important;
    border-top:1px solid rgba(255,255,255,.25)!important;
    border-bottom:1px solid rgba(0,0,0,.12)!important;
    z-index:2147483000!important;
    scrollbar-width:thin!important;
  }
  .header .nav.nav-one-line > a,
  .header .nav.nav-one-line .portal-toggle{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 auto!important;
    min-height:62px!important;
    min-width:max-content!important;
    padding:0 14px!important;
    color:#fff!important;
    font-size:12px!important;
    line-height:1.1!important;
    font-weight:900!important;
    text-align:center!important;
    text-decoration:none!important;
    align-items:center!important;
    justify-content:center!important;
    background:transparent!important;
    border:0!important;
    border-right:1px solid rgba(255,255,255,.18)!important;
  }
  .header .nav.nav-one-line .nav-cta{
    background:#0B7A3B!important;
  }
  .header .nav.nav-one-line .portal-menu{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 auto!important;
    position:relative!important;
    align-items:stretch!important;
    overflow:visible!important;
    width:auto!important;
  }
  .header .nav.nav-one-line .portal-dropdown{
    position:fixed!important;
    top:150px!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 24px)!important;
    transform:none!important;
    z-index:2147483647!important;
    background:#fff!important;
    border:2px solid #0B6B35!important;
    border-radius:14px!important;
    box-shadow:0 22px 55px rgba(0,0,0,.30)!important;
  }
  .header .nav.nav-one-line .portal-menu.open .portal-dropdown,
  .header .nav.nav-one-line .portal-menu:focus-within .portal-dropdown{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .header .header-cta{
    width:100%!important;
    display:flex!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    margin-top:4px!important;
  }
}

/* VERSION 360: Borrower portal heading spacing */
.portal-login-logo,
.borrower-portal-logo{margin-bottom:24px!important;}
.portal-login-title,
.secure-borrower-title,
h1.portal-title{
  margin-bottom:32px!important;
}
.start-application,
.start-mortgage-application,
.application-start,
.portal-card .btn:first-of-type{
  margin-top:28px!important;
}

#lead-popup,.lead-popup,.popup-modal,.modal-overlay{display:none!important;visibility:hidden!important;opacity:0!important;}


.apply-page-logo{display:block;max-width:220px;margin:24px auto 18px;height:auto}
.apply-logo-wrap{text-align:center}

/* VERSION 385: Mobile call/apply overlap fix
   On phones, only the bottom sticky bar should show. The floating lead stack
   is hidden so Call Now and Apply Now do not overlap each other or page content. */
@media (max-width: 768px) {
  html body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html body .sticky-mobile {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    min-height: 64px !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: #ffffff !important;
    box-shadow: 0 -8px 24px rgba(0,0,0,.20) !important;
    z-index: 2147483000 !important;
  }
  html body .sticky-mobile a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 64px !important;
    padding: 12px 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.15 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }
  html body .sticky-mobile a:first-child {
    background: #0B6B35 !important;
    color: #ffffff !important;
  }
  html body .sticky-mobile a:last-child {
    background: #D9A300 !important;
    color: #111111 !important;
  }
  html body .floating-lead-stack {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html body .header-cta {
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  html body .header-cta .btn,
  html body .header-phone {
    max-width: 100% !important;
    white-space: normal !important;
  }
}


/* VERSION 410: remove duplicate legacy bottom/floating buttons */
html body .floating-lead-stack,html body .sticky-mobile{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* VERSION 433: remove duplicate Call/Text/Email/Apply mobile bar */
@media (max-width: 900px){
  .homealoan-contact-actions{display:none!important;visibility:hidden!important;pointer-events:none!important;}
}
