/* Shared visual restoration. Legacy compiled styles and application behavior stay intact. */
@font-face { font-family: 'Evolve Sans'; src: url('/Home-Loans/fonts/Gilroy/Gilroy-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Evolve Sans'; src: url('/Home-Loans/fonts/Gilroy/Gilroy-Bold.ttf') format('truetype'); font-weight: 600 900; font-display: swap; }
:root {
    --evolve-blue: #175093;
    --evolve-navy: #000537;
    --evolve-bright: #3d9be9;
    --evolve-ink: #172a45;
    --evolve-muted: #455c70;
    --evolve-pale: #f5f8ff;
    --evolve-line: #dbe5f3;
    --site-header-height: 0px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; color: var(--evolve-ink); background: var(--evolve-pale); font-family: 'Evolve Sans', Arial, sans-serif; font-size: 17px; line-height: 1.65; overflow-wrap: break-word; overflow-x: visible !important; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--evolve-blue); text-underline-offset: 4px; }
a:hover { color: #073a74; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #df7c00; outline-offset: 4px; }
h1, h2, h3, h4 { color: var(--evolve-navy); font-family: 'Evolve Sans', Arial, sans-serif; font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 4.3vw, 3.9rem); position: static; text-shadow: none; text-align: left; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin-top: 0; margin-bottom: 1rem; }
.container { max-width: 1180px; }
.text-primary { color: var(--evolve-blue) !important; }
.eyebrow { color: var(--evolve-blue); font-size: .79rem; font-weight: 700; letter-spacing: .13em; line-height: 1.6; margin-bottom: 1rem; }
.site-note, .site-disclosure { color: var(--evolve-muted); font-size: .94rem; line-height: 1.65; }

/* One approved image lockup, with the existing brand wording retained accessibly. */
.site-header { position: sticky; top: 0; z-index: 1000; height: auto; background: linear-gradient(115deg, #174585, #1d609f); color: #fff; transform: translateY(0); transition: transform 220ms ease; }
.site-header.header-hidden { transform: translateY(-100%); }
#main-content, #services, #vendor-contribution, #whyus, #bookingform, #contact-form, #office-map { scroll-margin-top: calc(var(--site-header-height) + 16px); }
.site-header > .container > .d-flex { gap: 1rem; padding-top: 1.2rem !important; padding-bottom: 1.2rem !important; }
.site-header a, .site-header .nav-link { color: #fff; }
.site-brand { position: relative; display: inline-block; max-width: 100%; text-decoration: none; line-height: 1; }
.brand-symbol { display: block; width: 300px; height: auto; object-fit: contain; object-position: left center; }
.site-brand .brand-name, .site-brand .brand-caption, .footer-brand-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-header .border-top { border-color: #ffffff38 !important; }
.site-header .navbar { min-height: 56px; }
.site-header .nav-link { font-size: .83rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; padding: 1rem .7rem; }
.site-header .nav-link:hover, .site-header [aria-current=page] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.site-header .navbar-toggler { min-width: 48px; min-height: 44px; border-color: #ffffff65; }
.site-header .btn { box-shadow: none; }

/* The original cash and card composition integrates with the homepage hero. */
.site-hero { position: relative; isolation: isolate; padding: 4rem 0; }
.site-hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 720px; }
.site-hero .lead { font-size: 1.25rem; line-height: 1.6; }
.site-hero img { max-height: 450px; object-fit: contain; }
.home-page .site-hero {
    color: #fff;
    background-color: #175093;
    background-image: linear-gradient(90deg, #175093 0%, #175093d9 30%, #17509300 62%), url('/images/banner-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, calc(50% + 150px) center;
    padding-top: 3rem !important;
    padding-bottom: 6rem !important;
}
.home-page .site-hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 50px;
    background: var(--evolve-pale);
    clip-path: polygon(0 83%, 67% 0, 70% 25%, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}
.home-page .site-hero h1 { color: #fff; }
.home-page .site-hero .eyebrow { color: #c3e6ff !important; }
.home-page .site-hero .site-note { color: #dfedff; }
.home-page .site-hero a:not(.btn) { color: #fff; }
.home-page .site-hero .cash-hero-art { width: 100%; height: 450px; aspect-ratio: auto; object-fit: contain; opacity: 0; border: 0; border-radius: 0; box-shadow: none; }
.service-illustration { display: block; width: 100%; height: 230px; margin: 1rem auto; object-fit: contain; }
.vendor-illustration { display: block; width: 100%; height: auto; object-fit: contain; margin: 0 auto; }
.site-section { position: relative; padding-top: 4.5rem; padding-bottom: 4.5rem; scroll-margin-top: 1rem; background-color: var(--evolve-pale); }
.section-heading { max-width: 740px; margin-bottom: 2rem; }
.home-page #services { background: var(--evolve-pale) url('/images/dots.png') no-repeat max(12px, calc((100vw - 1350px) / 2)) 55px !important; background-size: 35px auto !important; }
.home-page #vendor-contribution { background: #fff; padding-top: 4rem !important; padding-bottom: 4.5rem !important; }
.home-page #bookingform { background: linear-gradient(115deg, #eaf2ff, #f8fbff); }

/* Existing grids and CTA containers remain; only their surfaces gain character. */
.service-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.75rem; background: #fff; border: 1px solid var(--evolve-line); border-radius: 10px; box-shadow: 0 10px 30px #00053709; transition: box-shadow .2s ease, border-color .2s ease; }
.service-card::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; background: linear-gradient(90deg, var(--evolve-blue), var(--evolve-bright)); border-radius: 0 0 4px 4px; pointer-events: none; }
.service-card:hover { border-color: #a5c8eb; box-shadow: 0 13px 32px #00053712; }
.service-card h3, .service-card h3.h4 { color: var(--evolve-navy); font-size: 1.45rem; font-weight: 700; margin-top: .8rem; line-height: 1.22; }
.service-card a { margin-top: auto; font-weight: 700; }
.service-card p { color: var(--evolve-ink); }
.service-card .site-note, .service-card .site-disclosure { color: var(--evolve-muted); }
.home-page #services .service-card { border-color: var(--evolve-line) !important; border-radius: 10px !important; }
.home-page #whyus { background: #175093 url('/images/whyus-bg.png') no-repeat left center !important; background-size: cover !important; padding-top: 5rem !important; padding-bottom: 5rem !important; }
.home-page #whyus > .container > h2 { color: #fff; margin-bottom: 2.3rem !important; }
.home-page #whyus .row > div { margin-top: 2rem; }
.why-card { position: relative; height: 100%; padding: 3.5rem 1.75rem 1.75rem; border-radius: 10px; background: #fff; box-shadow: 0 12px 28px #0005371a; text-align: center; }
.why-icon { position: absolute; top: -34px; left: calc(50% - 34px); display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; background: #fff; border: 5px solid #fff; border-radius: 50%; color: #175093; box-shadow: 0 5px 16px #0005371f; }
.why-icon svg, .why-icon img { width: 38px; height: 38px; object-fit: contain; }
.home-page #whyus h3 { color: var(--evolve-navy); font-size: 1.4rem; font-weight: 700; }
.home-page #whyus .row p { color: var(--evolve-ink); margin-bottom: 0; }

/* Home Loans retains a light identity with complete, uncropped illustrations. */
.home-loans-page { --evolve-blue: #0363a9; --evolve-ink: #203549; }
.home-loans-page .site-header { background: #fff; color: #004285; border-bottom: 1px solid var(--evolve-line); }
.home-loans-page .site-header a, .home-loans-page .site-header .nav-link { color: #004285 !important; }
.home-loans-page .site-header .border-top { border-color: var(--evolve-line) !important; }
.home-loans-page .site-header .btn-outline-white { color: #004285; border-color: #0363a9; }
.home-loans-page .site-header .btn-outline-white:hover { background: #edf5ff; }
.home-loans-page .site-header .navbar-toggler { border-color: #8cadd0; }
.home-loans-page .site-header .navbar-toggler-icon { filter: brightness(0) saturate(100%) invert(23%) sepia(66%) saturate(1920%) hue-rotate(184deg) brightness(86%) contrast(101%); }
.home-loans-page .site-hero { background: #f7f9fc; padding: 4.5rem 0; }
.home-loans-page .site-hero::before { content: ''; position: absolute; top: 18%; bottom: 0; left: max(10px, calc((100vw - 1380px) / 2)); width: 125px; background: url('/Home-Loans/images/banner-logo.png') no-repeat left bottom / contain; opacity: .055; pointer-events: none; }
.home-loans-page .site-hero h1 { color: #101d31; }
.home-loans-page .site-hero .lead { color: #004285; }
.loan-page .site-hero .lead { margin-top: 1.5rem; }
.loan-page .site-hero .btn { margin: .5rem 0 1.25rem; padding: .85rem 1.5rem; border-radius: 30px; }
.loan-page .site-hero .loan-illustration { width: 100%; height: auto; max-height: 550px; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.home-loans-page #services { background: #fff; }
.home-loans-page .vendor-section { background: #004285; color: #fff; }
.home-loans-page .vendor-section > .container > .row > div:first-child h2 { color: #fff; }
.home-loans-page .vendor-section > .container > .row > div:first-child .eyebrow { color: #c4e8ff; }
.home-loans-page .vendor-section .service-card { border: 0; box-shadow: 0 16px 35px #00053725; }
.home-loans-page #whyus { background: #175093 url('/images/whyus-bg.png') no-repeat left center; background-size: cover; }
.home-loans-page #whyus .section-heading h2, .business-loans-page #whyus .section-heading h2 { color: #fff; }
.home-loans-page #whyus .section-heading .eyebrow, .business-loans-page #whyus .section-heading .eyebrow { color: #c7eaff; }
.loan-page #whyus .row > div { margin-top: 2rem; margin-bottom: 1.5rem; }
.loan-page #whyus .service-card { padding-top: 3.25rem; text-align: center; box-shadow: 0 12px 30px #00053720; }
.loan-page #whyus .service-card::before { display: none; }
.home-loans-page .form-section { background: #004285; }
.home-loans-page .form-section > .container > .section-heading { color: #e4f2ff; }
.home-loans-page .form-section > .container > .section-heading h2 { color: #fff; }
.home-loans-page .form-section > .container > .section-heading .eyebrow { color: #c4e8ff; }

/* Business Loans keeps bold blue surfaces and its edited finance illustration. */
.business-loans-page { --evolve-blue: #0363a9; }
.business-loans-page .site-header { background: #004285; }
.business-loans-page .site-hero { color: #fff; background: linear-gradient(118deg, #004285 62%, #1a5591 62%); padding: 4rem 0 5.5rem; }
.business-loans-page .site-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--evolve-pale); clip-path: polygon(0 0, 70% 85%, 100% 20%, 100% 100%, 0 100%); pointer-events: none; }
.business-loans-page .site-hero h1 { color: #fff; }
.business-loans-page .site-hero .eyebrow { color: #c3e6ff; }
.business-loans-page .site-hero .site-disclosure { color: #e2efff; }
.business-loans-page #services { background: var(--evolve-pale); }
.business-loans-page #whyus { background: #175093 url('/images/whyus-bg.png') no-repeat left center; background-size: cover; }
.business-loans-page .form-section { background: #f3f7fc url('/images/dots.png') no-repeat right 25px top 40px; background-size: 35px auto; }

/* Restored partner logos and office map stay in normal document flow. */
.lender-strip { padding: 2rem 0; background: #fff; border-top: 1px solid var(--evolve-line); border-bottom: 1px solid var(--evolve-line); }
.lender-strip .row > div { display: flex; align-items: center; justify-content: center; min-height: 82px; padding-top: .75rem; padding-bottom: .75rem; }
.lender-strip img { display: block; width: auto; max-width: 90%; height: auto; max-height: 50px; object-fit: contain; }
.office-map-section { padding: 4rem 0; background: #fff; }
.office-map-section > .container { max-width: none; padding-left: 0; padding-right: 0; }
.office-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 1150px; margin: 0 auto 1.75rem; }
.office-map-heading h2 { margin-bottom: .75rem; }
.office-map-heading p { margin-bottom: 0; }
.office-map-heading > a { flex-shrink: 0; font-weight: 700; }
.office-map, .office-map-section iframe { display: block; width: 100%; height: 400px; border: 1px solid var(--evolve-line); border-left: 0; border-right: 0; border-radius: 0; }

/* Forms keep the existing labels, validation states and interactive targets. */
.site-form { padding: 2rem; color: var(--evolve-ink); background: #fff; border: 1px solid var(--evolve-line); border-top: 4px solid var(--evolve-blue); border-radius: 10px; box-shadow: 0 14px 45px #0005370d; }
.home-page .site-form { border-color: var(--evolve-line) !important; border-top: 4px solid var(--evolve-blue) !important; border-radius: 10px !important; }
.loan-page .site-form { max-width: 880px; }
.loan-page .asset-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .5rem 0 1.5rem; }
.asset-option { padding: 0; min-width: 0; border: 0; }
.asset-option legend { font-size: 1rem; font-weight: 600; }
.asset-option label { display: inline-flex; align-items: center; gap: .5rem; margin-right: 1.2rem; min-height: 44px; }
.consent-label { display: block; margin-bottom: 1.2rem; }
.site-form label { color: var(--evolve-ink); font-weight: 600; font-size: 1rem; }
.site-form .form-control { color: var(--evolve-ink); background-color: #fff; min-height: 48px; border: 1px solid #8da2b4; border-radius: 5px; font-family: inherit; font-size: 1rem; }
.site-form .form-control:focus { border-color: var(--evolve-blue); box-shadow: 0 0 0 3px #3d9be921; }
.site-form select.form-control { height: auto; }
.site-form textarea.form-control { height: auto; min-height: 120px; }
.site-form .form-group { margin-bottom: 1.4rem; }
.site-form input[type=radio], .site-form input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--evolve-blue); }
.site-form .form-check { padding-left: 1.6rem; }
.site-form .form-check-input { margin-left: -1.6rem; margin-top: .25rem; }
.site-form .form-check-inline { min-height: 44px; padding-left: 0; }
.site-form .form-check-inline .form-check-input { position: static; margin: 0 .5rem 0 0; }
.asset-options { min-width: 0; }
.asset-options legend { width: auto; color: var(--evolve-ink); font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.btn { min-height: 44px; font-family: inherit; font-size: 1rem; font-weight: 600; white-space: normal; border-radius: 30px; transition: background-color .2s ease, box-shadow .2s ease; transform: none; }
.btn:hover { transform: none; border-radius: 30px; }
.bg-gradient-primary, .btn-primary { color: #fff; background: linear-gradient(180deg, #1763a9, #174585) !important; border-color: var(--evolve-blue); box-shadow: 0 5px 13px #17509318; }
.bg-gradient-primary:hover, .btn-primary:hover { color: #fff; background: #073c78 !important; box-shadow: 0 6px 18px #17509330; }
.btn-outline-white { border: 1px solid #ffffffb3; color: #fff; }
.btn-outline-white:hover { background: #fff; color: #174585 !important; }
.btn-outline-primary { color: var(--evolve-blue); border-color: var(--evolve-blue); }
.btn-outline-primary:hover { color: #fff; background: var(--evolve-blue); }
.home-page .site-hero .btn, .business-loans-page .site-hero .btn { color: var(--evolve-blue) !important; background: #fff !important; border-color: #fff; box-shadow: 0 7px 20px #00053718; }
.home-page .site-hero .btn:hover, .business-loans-page .site-hero .btn:hover { color: #00396d !important; background: #e5f3ff !important; }

/* Footers and supporting pages share the restored brand without new content. */
.site-footer { padding: 3rem 0; background: #edf3fc; border-top: 4px solid var(--evolve-blue); color: var(--evolve-ink); }
.site-footer a { overflow-wrap: anywhere; }
.site-footer .site-brand { margin-bottom: 1.25rem; }
.site-footer .brand-symbol { width: 265px; }
.footer-brand-symbol { display: block; margin-bottom: 1rem; }
.site-footer .site-disclosure { padding-top: 1.25rem; border-top: 1px solid #cbd9ed; }
.business-loans-page .site-footer { color: #fff; background: #004285; border-top-color: #3d9be9; }
.business-loans-page .site-footer a { color: #fff; }
.business-loans-page .site-footer .site-disclosure { color: #dfedff; border-color: #ffffff35; }
.confirmation-card { max-width: 850px; padding: 2.5rem; background: #fff; border: 1px solid var(--evolve-line); border-radius: 10px; box-shadow: 0 16px 45px #0005370c; }
.confirmation-card h1 { font-size: clamp(2rem, 4vw, 3rem); }
.confirmation-page main.site-section, .home-page main.site-section { background: var(--evolve-pale) url('/images/dots.png') no-repeat right 4vw top 4rem; background-size: 35px auto; }
body > main.site-section { min-height: 390px; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 10000; padding: 12px 20px; background: #fff; color: #004285; }
.skip-link:focus { top: 12px; }
.preview-bar { padding: .5rem 1rem; color: #553d00; background: #fff2c6; text-align: center; font-size: .875rem; }
[data-preview-only] { padding: .6rem .8rem; background: #fff6d9; border-left: 3px solid #bd8400; color: #553d00; }
[hidden] { display: none !important; }
.policy-draft { border-left: 4px solid #bd8400; padding: 1rem 1.5rem; background: #fff6d9; }
.site-error { color: #a11919; }

@media (max-width: 1199.98px) {
    .container { max-width: 100%; padding-left: 30px; padding-right: 30px; }
    .office-map-heading { margin-left: 30px; margin-right: 30px; }
    .site-header .nav-link { font-size: .76rem; letter-spacing: .04em; }
    .home-page #services { background-image: none !important; }
    .site-hero h1 { font-size: clamp(2.35rem, 4.5vw, 3.9rem); }
}
@media (max-width: 991.98px) {
    .site-header .navbar-toggler { margin: .4rem 0; }
    .site-header .nav-link { padding: .8rem 0; font-size: .9rem; }
    .site-hero, .home-loans-page .site-hero { padding: 2.5rem 0; }
    .home-page .site-hero { padding-top: 1rem !important; padding-bottom: 4.5rem !important; background-image: linear-gradient(115deg, #174585, #1c609f); background-size: cover; background-position: center; }
    .business-loans-page .site-hero { padding: 2.5rem 0 4.5rem; }
    .site-hero img { max-height: 350px; }
    .site-hero .hero-copy { max-width: none; }
    .site-hero .hero-image { margin-top: 1.25rem; max-width: 620px; }
    .home-page .site-hero .cash-hero-art { max-width: 620px; height: auto; max-height: none; aspect-ratio: 1.2; object-fit: cover; object-position: right center; opacity: 1; }
    .loan-page .site-hero .loan-illustration { max-height: none; }
    .home-loans-page .vendor-section .row > div + div { margin-top: 1.5rem; }
    .home-page #whyus h3 { font-size: 1.25rem; }
}
@media (max-width: 767.98px) {
    .home-page #whyus { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .site-footer .row > div + div { margin-top: 1rem; }
    .office-map-heading { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 575.98px) {
    body { font-size: 16px; }
    .container { padding-left: 20px; padding-right: 20px; }
    .office-map-heading { margin-left: 20px; margin-right: 20px; }
    .site-header > .container > .d-flex { gap: .6rem; padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .brand-symbol { width: 235px; }
    .site-header .btn { padding: .6rem 1.25rem !important; }
    .site-hero h1 { font-size: 2.35rem; }
    .site-hero .lead { font-size: 1.15rem; }
    .site-hero img { max-height: 280px; }
    .home-page .site-hero .cash-hero-art { aspect-ratio: 1; }
    .site-section { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
    .home-page #vendor-contribution { padding-top: 2.75rem !important; padding-bottom: 3rem !important; }
    .site-form { padding: 1.25rem !important; }
    .loan-page .asset-options { grid-template-columns: 1fr; }
    .service-card { padding: 1.5rem; }
    .site-footer .brand-symbol { width: 235px; }
    .confirmation-card { padding: 1.5rem; }
    .preview-bar { font-size: .8rem; }
    .business-loans-page .form-section { background-image: none; }
    .office-map-section { padding: 2.75rem 0; }
    .office-map, .office-map-section iframe { height: 280px; }
    .lender-strip { padding: 1rem 0; }
    .lender-strip img { max-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
