/* DealHunter Mortgage V30 — Hostinger redesign visual system applied to V29 content */
:root{
  --r-navy-950:#061725;
  --r-navy-900:#071e33;
  --r-navy-850:#0a2741;
  --r-navy-800:#0d2f4d;
  --r-cyan:#28ddff;
  --r-cyan-2:#0ab8ec;
  --r-blue:#0c86ff;
  --r-ink:#0a1c2c;
  --r-muted:#5d7182;
  --r-line:#d9e4eb;
  --r-soft:#f4f8fb;
  --r-white:#fff;
  --r-shadow:0 18px 50px rgba(7,30,51,.12);
  --r-radius:22px;
}
html{scroll-behavior:smooth}
body{background:#fff;color:var(--r-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
.shell{width:min(1180px,calc(100% - 40px));margin:0 auto}
a{text-decoration:none}

/* Header */
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.95)!important;backdrop-filter:blur(14px);border-bottom:1px solid rgba(7,30,51,.08);box-shadow:0 4px 18px rgba(7,30,51,.05)!important}
.nav-wrap{min-height:78px;padding:10px 0!important;display:flex;align-items:center;gap:22px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand-logo{height:58px!important;width:auto!important;background:#fff!important;border-radius:10px!important;padding:4px 7px!important;box-shadow:none!important}
.site-nav{display:flex;align-items:center;gap:22px;margin-left:auto;flex-wrap:nowrap}
.nav-link{color:#30495e!important;font-size:14px;font-weight:700!important;padding:10px 0!important}
.nav-link:hover,.nav-link.active{color:#078ab9!important}
.nav-link.active::after,.nav-link:hover::after{background:var(--r-cyan-2)!important;bottom:3px!important}
.header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.header-phone{font-size:13px;font-weight:850;color:#17384f!important;white-space:nowrap}
.header-actions .btn{padding:11px 14px!important;font-size:13px!important;border-radius:12px!important}
.menu-btn span{background:#0a2943!important}
.topbar{display:none!important}

/* Buttons */
.btn,.top-action{border-radius:13px!important;padding:13px 18px;font-weight:850;transition:.2s ease!important;box-shadow:none}
.btn:hover,.top-action:hover{transform:translateY(-1px)}
.btn-primary,.top-action.schedule,.top-action.apply{background:linear-gradient(135deg,var(--r-cyan),var(--r-cyan-2))!important;color:#052339!important;border:1px solid transparent!important;box-shadow:0 10px 26px rgba(40,221,255,.24)!important}
.btn-ghost{border:1px solid rgba(255,255,255,.58)!important;color:#fff!important;background:rgba(255,255,255,.06)!important}
.btn-ghost-dark{background:#fff!important;border:1px solid #b8c9d5!important;color:#17364d!important;box-shadow:none!important}

/* Hero */
.hero{background:linear-gradient(128deg,#061a2d 0%,#0b3151 58%,#0f4263 100%)!important;color:#fff;min-height:590px;position:relative;overflow:hidden}
.hero:before{content:"";position:absolute;inset:-25% auto auto -10%;width:470px;height:470px;border-radius:50%;background:radial-gradient(circle,rgba(40,221,255,.16),transparent 68%);pointer-events:none}
.hero:after{content:"";position:absolute;right:-140px;bottom:-230px;width:570px;height:570px;border-radius:50%;background:radial-gradient(circle,rgba(12,134,255,.13),transparent 67%);pointer-events:none}
.hero-grid{min-height:590px;padding:68px 0 58px!important;grid-template-columns:1.08fr .92fr!important;gap:42px!important;position:relative;z-index:2}
.hero-copy{padding-top:0!important;color:#fff!important}
.hero-copy .eyebrow{color:#5cf0ff!important;margin-bottom:12px}
.hero h1{font-size:clamp(44px,5.8vw,72px)!important;line-height:.99!important;letter-spacing:-.045em!important;max-width:780px!important;margin:.1rem 0 22px!important;color:#fff!important}
.hero-lead{font-size:18px!important;color:#d6e8f4!important;max-width:690px!important;font-weight:450!important}
.mini-proof{gap:12px!important;margin-top:18px!important}
.mini-proof span{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.22)!important;color:#dff5fb!important;padding:7px 11px!important;font-weight:700}
.hero-card{background:rgba(255,255,255,.97)!important;color:var(--r-ink)!important;border:1px solid rgba(255,255,255,.55)!important;border-radius:24px!important;box-shadow:0 28px 60px rgba(0,0,0,.22)!important;backdrop-filter:none!important;padding:22px!important;grid-template-columns:142px 1fr!important}
.hero-card h2{color:#102f48!important;margin:.2rem 0 .3rem!important}
.hero-card p{color:#566f82!important}
.hero-card .hero-phone a,.hero-card .hero-email a{color:#0a3a64!important}
.hero-card .tiny{color:#708698!important}
.kicker{background:#e8faff!important;border:1px solid #c8edf6!important;color:#0789bb!important}
.portrait-wrap{max-width:142px!important;border-radius:18px!important}
.portrait-brand-bg{background:linear-gradient(135deg,#0b3151,#0c86ff 58%,#28ddff)!important;border:none!important;padding:4px!important;box-shadow:0 10px 30px rgba(7,30,51,.16)!important}
.hero-motion{opacity:.48}
.motion-grid{opacity:.09!important;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px)!important}
.motion-orb{opacity:.23!important;filter:blur(28px)!important}.orb-1,.orb-3{background:rgba(40,221,255,.26)!important}.orb-2{background:rgba(12,134,255,.18)!important}
.motion-line{background:linear-gradient(90deg,transparent,rgba(92,240,255,.45),transparent)!important;opacity:.5!important}
.motion-house,.motion-house::before{border-color:rgba(92,240,255,.15)!important}

/* Trust strip */
.trustbar{background:#fff!important;border:0!important;border-bottom:1px solid #e2ebf0!important;box-shadow:0 8px 28px rgba(7,30,51,.04)}
.trust-items{padding:17px 0!important;gap:9px!important}
.trust-items strong{color:#102f48!important;margin-right:7px}
.trust-items span{background:#f5fafc!important;color:#35566d!important;border:1px solid #dce7ee!important;border-radius:999px!important;padding:7px 11px!important;font-size:13px}

/* Global sections */
.section{padding:78px 0!important}
.section.alt{background:var(--r-soft)!important}
.section.dark{background:linear-gradient(180deg,#08233a,#061a2d)!important;color:#fff!important}
.section-head{text-align:center;max-width:780px;margin:0 auto 38px!important}
.section-head h2,.split h2,.deal-box h2,.cta-band h2{font-size:clamp(30px,4vw,46px)!important;letter-spacing:-.03em!important;line-height:1.08!important;color:#102f48!important}
.section-head p,.lead{color:var(--r-muted)!important;font-size:16.5px!important}
.eyebrow{font-size:12px!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase;color:#058eb7!important}

/* How it works cards */
.steps{gap:18px!important}
.step,.scenario,.program-card,.info-card,.program-detail,.contact-card,.panel{background:#fff!important;border:1px solid #dce7ee!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(13,47,77,.06)!important;color:var(--r-ink)!important}
.step{padding:24px!important;transition:.2s ease}
.step:hover,.program-card:hover,.scenario:hover{transform:translateY(-3px);border-color:#85dff2!important;box-shadow:var(--r-shadow)!important}
.step b,.program-card>span{background:#e8faff!important;color:#0789bb!important;border-radius:14px!important}
.step h3,.scenario h3,.program-card h3,.info-card h3,.program-detail h3,.contact-card h3{color:#102f48!important}
.step p,.scenario p,.program-card p,.info-card p,.program-detail p,.contact-card p{color:#63798b!important}

/* Split scenarios */
.split{gap:34px!important;align-items:center!important}
.scenario-grid{gap:16px!important}
.scenario{padding:22px!important;min-height:150px}
.scenario span{color:#058eb7!important}
.text-link{color:#0096c7!important}

/* Deal Finder promo */
.deal-section{padding-top:20px!important;padding-bottom:76px!important}
.deal-box{background:linear-gradient(135deg,#0b3151,#071d31)!important;color:#fff!important;border:none!important;border-radius:28px!important;padding:40px 42px!important;box-shadow:0 20px 50px rgba(7,30,51,.18)!important}
.deal-box h2,.deal-box p{color:#fff!important}.deal-box p{color:#cadde8!important}.deal-box .eyebrow{color:#5cf0ff!important}

/* Program cards */
.programs-preview{gap:16px!important}
.program-card{padding:22px!important;min-height:190px}
.program-card>span{width:46px!important;height:46px!important}

/* Calculator suite */
.calculator-home-section,.advanced-calc-section{background:var(--r-soft)!important;color:var(--r-ink)!important}
.calculator-home-intro{text-align:center;max-width:760px;margin:0 auto 30px!important}
.calculator-home-intro h2{font-size:clamp(34px,4.5vw,50px)!important;color:#102f48!important;letter-spacing:-.035em!important;margin:.3rem 0!important}
.advanced-mode-tabs{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important;margin-bottom:20px!important}
.mode-tab,.view-tabs button{padding:12px 10px!important;border:1px solid #d6e3eb!important;border-radius:12px!important;background:#fff!important;color:#345368!important;font-weight:800!important;box-shadow:none!important}
.mode-tab.active,.view-tabs button.active{background:#0a2c48!important;color:#fff!important;border-color:#0a2c48!important}
.advanced-calculator-shell{gap:22px!important;align-items:start!important}
.advanced-main-card,.advanced-results-card{background:#fff!important;border:1px solid #dce7ee!important;border-radius:24px!important;box-shadow:var(--r-shadow)!important;color:var(--r-ink)!important}
.advanced-main-card{padding:28px!important}
.advanced-results-card{background:linear-gradient(145deg,#07243c,#0b395a)!important;color:#fff!important;padding:28px!important;border:none!important;box-shadow:0 20px 48px rgba(7,30,51,.22)!important}
.advanced-results-card h2,.advanced-results-card p,.advanced-results-card strong{color:#fff!important}.advanced-results-card .eyebrow{color:#9cdfee!important}
.advanced-results-card .result-primary{color:#55e7ff!important}
.advanced-fields input,.advanced-fields select,.advanced-form input,.advanced-form select{border:1px solid #cbdbe5!important;border-radius:11px!important;background:#fff!important;color:#17354c!important;padding:12px 13px!important}
.advanced-fields input:focus,.advanced-fields select:focus{border-color:#23bfe8!important;box-shadow:0 0 0 3px rgba(35,191,232,.12)!important;outline:none!important}
.calculator-help-band{background:#fff!important;border:1px solid #dce7ee!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(7,30,51,.07)!important;color:var(--r-ink)!important}
.calculator-help-band h2{color:#102f48!important}.calculator-help-band p{color:#60778a!important}
.advanced-disclaimer{box-shadow:none!important;background:#fff!important;color:#60778a!important}

/* About / profile */
.about-mini{background:#fff;border:1px solid #dbe6ed;border-radius:24px;padding:28px!important;box-shadow:var(--r-shadow)!important;grid-template-columns:220px 1fr!important}
.portrait-square{max-width:220px!important;border-radius:20px!important}
.about-mini h2{font-size:34px!important;letter-spacing:-.03em!important;color:#102f48!important;margin:.2rem 0 .6rem!important}
.about-mini p{color:#60778a!important}

/* Subpage hero */
.page-hero.subpage,.advanced-hero{background:linear-gradient(128deg,#061a2d 0%,#0b3151 62%,#0f4263 100%)!important;color:#fff!important;padding:64px 0 50px!important}
.page-hero.subpage h1,.advanced-hero h1{color:#fff!important;letter-spacing:-.04em!important}
.page-hero.subpage .lead,.advanced-hero .lead{color:#cadde8!important}.page-hero.subpage .eyebrow,.advanced-hero .eyebrow{color:#5cf0ff!important}

/* Forms and finder */
.finder-layout,.calc-layout,.about-layout{gap:22px!important}
.finder-form,.calc-form{background:#fff!important;border:1px solid #dce7ee!important;border-radius:22px!important;box-shadow:var(--r-shadow)!important;padding:24px!important}
.finder-result,.calc-result{background:linear-gradient(145deg,#07243c,#0b395a)!important;color:#fff!important;border:none!important;border-radius:22px!important;box-shadow:0 20px 48px rgba(7,30,51,.20)!important;padding:26px!important}
.finder-result h2,.finder-result p,.finder-result li,.calc-result h2,.calc-result p{color:#fff!important}.finder-result .eyebrow,.calc-result .eyebrow{color:#9cdfee!important}
.field-grid label{color:#38556a!important}input,select,textarea{border:1px solid #cbdbe5!important;border-radius:11px!important;background:#fff!important;color:#17354c!important}

/* Footer */
.site-footer{background:#041522!important;color:#c2d2dd!important;padding:50px 0 30px!important}
.footer-grid{gap:34px!important;padding:0 0 26px!important}
.footer-logo{max-width:245px!important;background:#fff!important;border-radius:12px!important;padding:7px 10px!important}
.site-footer h3{color:#fff!important}.site-footer a{color:#c2d2dd!important}.site-footer a:hover{color:#59e7ff!important}
.site-footer .muted{color:#9fb4c1!important}
.compliance{border-top:1px solid rgba(255,255,255,.12)!important;color:#8ca4b3!important;font-size:11.5px!important;line-height:1.55!important;padding:22px 0 0!important}
.compliance p{color:#9bb0bd!important}
.compliance strong{color:#fff!important}
.compliance-bottom{align-items:flex-end!important}
.footer-equal-housing img{width:148px!important;max-width:20vw!important}
.mobile-call{background:linear-gradient(135deg,var(--r-cyan),var(--r-cyan-2))!important;color:#052339!important}

/* Legal */
.legal.prose{max-width:900px}.legal.prose p{color:#556f82!important}

@media(max-width:1100px){
 .site-nav{gap:15px}.header-phone{display:none}.header-actions .btn.apply-action{display:none}
 .hero-grid{grid-template-columns:1fr!important}.hero-card{max-width:680px}.steps{grid-template-columns:repeat(2,1fr)!important}.programs-preview{grid-template-columns:repeat(2,1fr)!important}.advanced-mode-tabs{grid-template-columns:repeat(4,1fr)!important}
}
@media(max-width:820px){
 .shell{width:min(100% - 28px,1180px)}
 .nav-wrap{min-height:68px}.brand-logo{height:50px!important}.header-actions{margin-left:auto}.header-actions .header-phone,.header-actions .btn{display:none!important}
 .site-nav{position:absolute!important;left:14px!important;right:14px!important;top:calc(100% + 1px)!important;background:#fff!important;border:1px solid #dce7ee!important;border-radius:18px!important;padding:16px!important;box-shadow:0 22px 50px rgba(7,30,51,.18)!important;display:none!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}
 .site-nav.open{display:flex!important}.nav-link{color:#26475e!important;padding:10px 8px!important}.site-nav .btn{width:100%;margin-top:6px}
 .hero-grid{min-height:auto;padding:48px 0 44px!important}.hero h1{font-size:clamp(42px,10vw,58px)!important}.hero-card{grid-template-columns:120px 1fr!important}.portrait-wrap{max-width:120px!important}
 .advanced-mode-tabs{display:flex!important;overflow-x:auto!important;padding-bottom:6px!important}.mode-tab{min-width:150px!important;flex:0 0 auto!important}
 .about-mini{grid-template-columns:1fr!important;text-align:center}.portrait-square{margin:0 auto}
 .footer-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:640px){
 .brand-logo{height:46px!important}.hero{min-height:auto}.hero-grid{padding:40px 0 36px!important}.hero-copy .hero-actions{display:grid!important}.hero-copy .hero-actions .btn{width:100%!important}.hero-card{grid-template-columns:1fr!important}.portrait-wrap{max-width:130px!important;margin-bottom:8px!important}
 .section{padding:58px 0!important}.steps,.programs-preview,.scenario-grid,.footer-grid{grid-template-columns:1fr!important}.deal-box{padding:30px 22px!important;align-items:flex-start!important}.deal-box .btn{width:100%}
 .advanced-main-card{padding:20px!important}.advanced-calculator-shell{grid-template-columns:1fr!important}.calculator-help-band{padding:20px!important}.calculator-help-band .hero-actions{display:grid!important}.calculator-help-band .btn{width:100%}
 .footer-equal-housing img{width:128px!important;max-width:40vw!important}.site-footer{padding-bottom:95px!important}
}
