
/* V34 immersive homepage visual refinement */
:root{
  --v34-deep:#041c30;
  --v34-mid:#073b58;
  --v34-cyan:#18c5e8;
  --v34-cyan2:#55dff4;
  --v34-ink:#092a44;
  --v34-soft:#f5f9fc;
}

/* Hero becomes one unified photo/background composition */
.home-compact .compact-hero{
  position:relative!important;
  isolation:isolate;
  min-height:500px;
  display:flex;
  align-items:center;
  background-image:
    linear-gradient(90deg,
      rgba(3,22,38,.99) 0%,
      rgba(4,31,48,.98) 28%,
      rgba(5,45,65,.91) 44%,
      rgba(4,39,57,.63) 61%,
      rgba(3,27,42,.28) 78%,
      rgba(3,20,33,.13) 100%),
    linear-gradient(180deg,rgba(2,20,34,.10),rgba(2,20,34,.34)),
    url('https://images.unsplash.com/photo-1790250121647-bf52e33b2d12?auto=format&fit=crop&fm=jpg&q=88&w=3000'),
    url('hero-modern-home.jpg')!important;
  background-size:cover!important;
  background-position:center 52%!important;
  overflow:hidden;
}
.home-compact .compact-hero::before{
  content:"";
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(circle at 76% 13%,rgba(46,210,237,.12),transparent 23%),
    linear-gradient(180deg,transparent 68%,rgba(3,22,38,.34) 100%);
  pointer-events:none;
}
.home-compact .compact-hero::after{
  content:"";
  position:absolute;width:330px;height:330px;right:6%;top:-215px;
  border:1px solid rgba(112,232,248,.18);border-radius:50%;
  box-shadow:0 0 0 64px rgba(25,191,226,.025),0 0 0 128px rgba(25,191,226,.018);
  pointer-events:none;
}
.home-compact .compact-hero-grid{
  grid-template-columns:minmax(0,1.02fr) minmax(330px,.98fr)!important;
  min-height:500px;
  align-items:center!important;
  position:relative;z-index:1;
}
.home-compact .compact-hero-grid>div:first-child{max-width:690px;padding:2.4rem 0 2.7rem}
.home-compact .compact-hero-art{visibility:hidden!important;pointer-events:none!important}
.home-compact .compact-eyebrow{color:#b8f4fd!important;text-shadow:0 1px 8px rgba(0,0,0,.28)}
.home-compact .compact-hero h1{max-width:10.5ch;text-shadow:0 3px 24px rgba(0,0,0,.28)}
.home-compact .compact-hero p{color:#f0f8fb!important;text-shadow:0 2px 12px rgba(0,0,0,.32);max-width:62ch}
.home-compact .compact-trust-row span{color:#f7fcfe!important;text-shadow:0 1px 8px rgba(0,0,0,.28)}
.home-compact .compact-trust-row i{background:rgba(230,251,255,.12)!important;border-color:#bceef6!important;color:#fff!important}
.home-compact .compact-hero-actions .btn-primary{box-shadow:0 13px 30px rgba(18,196,228,.34)!important}
.home-compact .compact-hero-actions .btn-ghost{background:rgba(3,27,43,.42)!important;border-color:rgba(255,255,255,.72)!important;color:#fff!important;backdrop-filter:blur(6px)}

/* Scenario chooser: more depth, still quiet */
.compact-soft{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 8% 15%,rgba(32,198,232,.08),transparent 26%),
    radial-gradient(circle at 94% 82%,rgba(10,47,121,.055),transparent 30%),
    linear-gradient(180deg,#f8fbfd,#f2f7fa)!important;
}
.compact-soft::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(7,57,85,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(7,57,85,.025) 1px,transparent 1px);
  background-size:46px 46px;mask-image:linear-gradient(to bottom,transparent,black 18%,black 82%,transparent)
}
.compact-soft>.shell{position:relative;z-index:1}
.strong-scenarios .compact-scenario-card{
  background:rgba(255,255,255,.94)!important;
  border:1px solid #d5e4ed!important;
  box-shadow:0 10px 24px rgba(5,43,67,.07)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.strong-scenarios .compact-scenario-card:hover{transform:translateY(-3px);border-color:#8edfee!important;box-shadow:0 16px 30px rgba(5,43,67,.12)!important}
.strong-scenarios .compact-scenario-card .arrow{color:#079bc1!important;font-size:1.35rem;font-weight:900}
.compact-other .compact-pill{background:#fff!important;box-shadow:0 5px 13px rgba(7,49,72,.05)}

/* Deal Finder callout: explicit contrast override */
.deal-finder-feature{
  border:1px solid rgba(91,227,246,.38)!important;
  background:
    radial-gradient(circle at 90% 50%,rgba(49,213,238,.25),transparent 27%),
    linear-gradient(115deg,#051c31 0%,#073a57 60%,#08728a 100%)!important;
  box-shadow:0 20px 42px rgba(5,37,57,.18)!important;
}
.deal-finder-feature span{color:#8cecf8!important}
.deal-finder-feature h3{color:#ffffff!important;text-shadow:0 1px 10px rgba(0,0,0,.15)!important}
.deal-finder-feature p{color:#edf9fc!important;opacity:1!important}
.deal-finder-feature .spotlight-icon{box-shadow:0 0 0 7px rgba(255,255,255,.08)}
.deal-finder-feature .deal-finder-primary{background:linear-gradient(135deg,#19c8e9,#58dff4)!important;color:#04273c!important;font-weight:900!important}

/* Why section: subtle card structure and visual rhythm */
.home-compact section.section:not(.possible-section):not(.business-card-section):has(.compact-why-grid){
  background:linear-gradient(180deg,#fff,#f8fbfd)!important;
}
.compact-why-grid{gap:1rem!important}
.compact-why-item{
  padding:1rem .9rem!important;
  border-radius:18px;
  border:1px solid #e0ebf1;
  background:linear-gradient(180deg,#fff,#fbfdfe);
  box-shadow:0 8px 20px rgba(8,49,74,.05);
}
.compact-why-item h3{color:#0a2a46!important;margin:.05rem 0 .25rem!important}
.compact-why-item p{color:#536a7b!important}

/* See What's Possible: real photos, larger visual area, calmer dark canvas */
.possible-section{
  padding:3.15rem 0 3.55rem!important;
  background:
    radial-gradient(circle at 88% 8%,rgba(33,201,229,.15),transparent 27%),
    linear-gradient(180deg,#05243a 0%,#073c54 45%,#f6f9fb 45%,#f6f9fb 100%)!important;
}
.possible-section::before{opacity:.55;background-size:64px 64px!important}
.photo-usecases{gap:1rem!important}
.photo-usecase{
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #d8e5ec!important;
  box-shadow:0 16px 32px rgba(4,31,50,.15)!important;
}
.photo-usecase .compact-usecase-visual{height:152px!important;background:#dbe7ed!important;position:relative}
.photo-usecase .compact-usecase-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,rgba(3,25,42,.18));pointer-events:none}
.photo-usecase .compact-usecase-visual img{filter:saturate(.96) contrast(1.02);transition:transform .32s ease}
.photo-usecase:hover .compact-usecase-visual img{transform:scale(1.035)}
.photo-usecase .compact-usecase-copy{padding:.95rem .9rem 1rem!important}
.photo-usecase strong{font-size:.95rem!important;color:#0b2c47!important}
.photo-usecase p{font-size:.78rem!important;color:#506779!important;min-height:45px}
.photo-usecase .learn{font-size:.78rem!important}

/* Calculator section: more interactive without visual clutter */
.compact-tools{
  position:relative;
  background:
    radial-gradient(circle at 4% 70%,rgba(29,197,226,.06),transparent 22%),
    linear-gradient(180deg,#fff,#f7fbfd)!important;
}
.compact-tool-card{
  border:1px solid #dce9ef!important;
  background:linear-gradient(180deg,#fff,#f5fbfd)!important;
  box-shadow:0 7px 18px rgba(7,49,75,.055)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.compact-tool-card:hover{transform:translateY(-3px);border-color:#99e4ef!important;box-shadow:0 13px 26px rgba(7,49,75,.1)!important}
.compact-tool-card .tool-icon{background:linear-gradient(145deg,#dff9fd,#eefcff)!important}
.compact-tool-cta{background:linear-gradient(135deg,#eefaff,#e3f7fb)!important;border:1px solid #cfeaf1!important}

/* Profile section: a little more visual separation */
.business-card-section{
  background:
    radial-gradient(circle at 86% 12%,rgba(31,198,228,.075),transparent 24%),
    linear-gradient(180deg,#f3f8fb,#eaf3f7)!important;
}
.jourdon-profile-card{box-shadow:0 20px 42px rgba(7,42,66,.11)!important}

@media(max-width:900px){
  .home-compact .compact-hero{min-height:auto;background-position:68% center!important}
  .home-compact .compact-hero-grid{grid-template-columns:1fr!important;min-height:auto}
  .home-compact .compact-hero-grid>div:first-child{max-width:660px;padding:2.5rem 0 3rem}
  .home-compact .compact-hero::before{background:linear-gradient(90deg,rgba(3,22,38,.98),rgba(3,22,38,.86) 68%,rgba(3,22,38,.58))}
  .photo-usecase .compact-usecase-visual{height:175px!important}
}
@media(max-width:640px){
  .home-compact .compact-hero{background-position:70% center!important}
  .home-compact .compact-hero::before{background:linear-gradient(90deg,rgba(3,22,38,.98),rgba(3,22,38,.92) 75%,rgba(3,22,38,.78))}
  .photo-usecase .compact-usecase-visual{height:165px!important}
  .deal-finder-feature h3{font-size:1.15rem!important}
  .deal-finder-feature p{font-size:.92rem!important}
}


/* V35 high-fidelity photography */
.home-compact .compact-hero{
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.photo-usecase .compact-usecase-visual{
  height:176px!important;
  overflow:hidden!important;
  background:#dce8ed!important;
}
.photo-usecase .compact-usecase-visual img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:saturate(1.02) contrast(1.035) brightness(1.01)!important;
  image-rendering:auto!important;
  transform:translateZ(0);
}
.photo-usecase:nth-child(1) .compact-usecase-visual img{object-position:center 48%!important}
.photo-usecase:nth-child(2) .compact-usecase-visual img{object-position:center 45%!important}
.photo-usecase:nth-child(3) .compact-usecase-visual img{object-position:center 52%!important}
.photo-usecase:nth-child(4) .compact-usecase-visual img{object-position:center 52%!important}
.photo-usecase:nth-child(5) .compact-usecase-visual img{object-position:center 52%!important}
.photo-usecase:nth-child(6) .compact-usecase-visual img{object-position:center 42%!important}
.photo-usecase .compact-usecase-visual::after{
  background:linear-gradient(180deg,transparent 78%,rgba(3,25,42,.08))!important;
}
@media(max-width:900px){.photo-usecase .compact-usecase-visual{height:190px!important}}
@media(max-width:640px){.photo-usecase .compact-usecase-visual{height:178px!important}}


/* V36 header CTA refinement */
.header-actions{display:flex!important;align-items:center!important;gap:.65rem!important;flex-wrap:nowrap!important}
.header-actions .header-apply{background:linear-gradient(135deg,#14bde3,#2fcce9)!important;color:#06233a!important;border-color:transparent!important;box-shadow:0 10px 22px rgba(24,197,232,.20)!important}
.header-actions .header-apply:hover{transform:translateY(-1px);box-shadow:0 14px 26px rgba(24,197,232,.27)!important}
@media(max-width:900px){.header-actions{gap:.45rem!important}.header-actions .btn{padding:.72rem .92rem!important}}


/* V37 readability + alignment refinement */
/* Deal Finder spotlight: force high contrast over all earlier generic section rules */
.home-compact .compact-soft .deal-finder-feature > div:nth-child(2) h3{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:0 1px 10px rgba(0,0,0,.20)!important;
}
.home-compact .compact-soft .deal-finder-feature > div:nth-child(2) p{
  color:#eaf9fc!important;
  opacity:1!important;
  font-weight:500!important;
  text-shadow:0 1px 8px rgba(0,0,0,.16)!important;
}
.home-compact .compact-soft .deal-finder-feature > div:nth-child(2) > span{
  color:#8feefa!important;
  opacity:1!important;
}

/* Why DealHunter Mortgage: reserve enough room for the enlarged icons */
.home-compact .compact-why-item{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  column-gap:1rem!important;
  align-items:center!important;
  min-width:0!important;
  padding:1rem 1rem!important;
}
.home-compact .compact-why-icon{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  margin:0!important;
  justify-self:center!important;
  align-self:center!important;
}
.home-compact .compact-why-item > div:last-child{
  min-width:0!important;
  padding-left:0!important;
}
.home-compact .compact-why-item h3{
  margin:0 0 .3rem!important;
  line-height:1.18!important;
}
.home-compact .compact-why-item p{
  margin:0!important;
  line-height:1.42!important;
}

/* Explore by Scenario: explicit DealHunter dark/cyan contrast */
.home-compact .possible-section{
  background:
    radial-gradient(circle at 87% 10%,rgba(32,198,232,.20),transparent 27%),
    linear-gradient(180deg,#062941 0%,#07445d 44%,#f6f9fb 44%,#f6f9fb 100%)!important;
}
.home-compact .possible-section .possible-heading .compact-eyebrow{
  color:#91f1fb!important;
  opacity:1!important;
  text-shadow:0 1px 8px rgba(0,0,0,.18)!important;
}
.home-compact .possible-section .possible-heading h2{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:0 2px 14px rgba(0,0,0,.18)!important;
}
.home-compact .possible-section .possible-heading p{
  color:#dff4f8!important;
  opacity:1!important;
  font-weight:500!important;
  text-shadow:0 1px 8px rgba(0,0,0,.14)!important;
}

@media(max-width:900px){
  .home-compact .compact-why-item{
    grid-template-columns:58px minmax(0,1fr)!important;
    column-gap:.9rem!important;
  }
  .home-compact .compact-why-icon{width:54px!important;height:54px!important;min-width:54px!important}
}
@media(max-width:640px){
  .home-compact .compact-why-item{
    grid-template-columns:54px minmax(0,1fr)!important;
    column-gap:.85rem!important;
    padding:.9rem!important;
  }
  .home-compact .compact-why-icon{width:50px!important;height:50px!important;min-width:50px!important}
  .home-compact .compact-why-icon .strong-svg{width:26px!important;height:26px!important}
}
