:root{
    --green:#042719;
    --green-2:#075232;
    --green-3:#0b7a45;
    --gold:#dfba43;
    --gold-light:#f3dc8a;
    --ivory:#f7f4eb;
    --white:#ffffff;
    --ink:#101713;
    --text:#616a64;
    --line:#dde3de;
    --soft:#eef3ef;
    --danger:#a83b3b;
    --container:1180px;
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--ivory);
    color:var(--ink);
    font-family:"Manrope",Arial,sans-serif;
    line-height:1.65;
    overflow-x:hidden;
}

body.menu-open{
    overflow:hidden;
}

button,
input,
select,
textarea{
    font:inherit;
}

button{
    border:0;
    cursor:pointer;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    display:block;
    max-width:100%;
}

[hidden]{
    display:none !important;
}

.finance-container{
    width:min(91%,var(--container));
    margin:auto;
}

/* Header */

.finance-header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:2000;
    min-height:82px;
    border-bottom:1px solid rgba(255,255,255,.1);
    background:rgba(4,39,25,.94);
    backdrop-filter:blur(14px);
}

.finance-header-inner{
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.finance-brand{
    flex-shrink:0;
}

.finance-brand img{
    width:190px;
    height:62px;
    object-fit:contain;
    object-position:left center;
}

.finance-navigation{
    display:flex;
    align-items:center;
    gap:27px;
}

.finance-navigation a{
    color:rgba(255,255,255,.78);
    font-size:.73rem;
    font-weight:700;
}

.finance-navigation a:hover{
    color:var(--gold-light);
}

.finance-header-actions{
    display:flex;
    align-items:center;
    gap:11px;
    order:3;
}

.test-chip{
    padding:7px 11px;
    border:1px solid rgba(243,220,138,.35);
    border-radius:999px;
    color:var(--gold-light);
    font-size:.57rem;
    font-weight:800;
    letter-spacing:1.2px;
    white-space:nowrap;
}

.finance-menu-button{
    display:none;
    width:48px;
    height:48px;
    padding:12px;
    border-radius:50%;
    background:rgba(255,255,255,.09);
}

.finance-menu-button span{
    display:block;
    width:100%;
    height:2px;
    margin:5px 0;
    background:white;
    transition:.25s ease;
}

/* Hero */

.finance-hero{
    position:relative;
    min-height:750px;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
    color:white;
}

.finance-hero-background{
    position:absolute;
    inset:0;
    background:
        url("../images/properties/property2.jpg")
        center/cover
        no-repeat;
}

.finance-hero-shade{
    position:absolute;
    inset:0;
    background:
        radial-gradient(
            circle at 76% 24%,
            rgba(223,186,67,.18),
            transparent 28%
        ),
        linear-gradient(
            90deg,
            rgba(4,39,25,.97),
            rgba(4,39,25,.73)
        ),
        linear-gradient(
            to top,
            rgba(4,39,25,.95),
            transparent 65%
        );
}

.finance-hero-content{
    position:relative;
    z-index:2;
    padding-bottom:80px;
}

.finance-eyebrow,
.finance-label{
    display:block;
    color:var(--gold);
    font-size:.65rem;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

.finance-hero h1{
    max-width:830px;
    margin-top:13px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(4rem,7.5vw,7.4rem);
    font-weight:600;
    line-height:.88;
    letter-spacing:-3px;
}

.finance-hero h1 em{
    display:block;
    color:var(--gold-light);
    font-style:normal;
}

.finance-hero > .finance-container > p,
.finance-hero-content > p{
    max-width:570px;
    margin-top:23px;
    color:rgba(255,255,255,.76);
    font-size:.92rem;
}

.finance-hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:11px;
    margin-top:27px;
}

.finance-button{
    min-height:50px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 23px;
    border-radius:999px;
    font-size:.7rem;
    font-weight:800;
}

.finance-button-gold{
    background:var(--gold);
    color:var(--green);
}

.finance-button-outline{
    border:1px solid rgba(255,255,255,.45);
    color:white;
}

.finance-demo-notice{
    max-width:600px;
    display:flex;
    align-items:center;
    gap:11px;
    margin-top:25px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.13);
    color:rgba(255,255,255,.55);
    font-size:.65rem;
}

.finance-demo-notice strong{
    color:var(--gold-light);
}

/* General */

.finance-section{
    padding:105px 0;
}

.finance-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:50px;
    margin-bottom:42px;
}

.finance-heading h2,
.finance-calculator-intro h2,
.wizard-heading h2{
    max-width:720px;
    margin-top:8px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(3rem,5vw,4.7rem);
    font-weight:600;
    line-height:.95;
    letter-spacing:-1px;
}

.finance-heading > p{
    max-width:330px;
    color:var(--text);
    font-size:.75rem;
}

/* Products */

.finance-products-section{
    background:var(--ivory);
}

.finance-product-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:17px;
}

.finance-product-card{
    min-height:340px;
    display:flex;
    flex-direction:column;
    padding:28px;
    border:1px solid var(--line);
    background:white;
    transition:.25s ease;
}

.finance-product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 24px 60px rgba(4,39,25,.09);
}

.finance-product-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.finance-product-number{
    color:var(--gold);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:1.45rem;
}

.finance-product-tag{
    padding:6px 9px;
    border-radius:999px;
    background:var(--soft);
    color:var(--green-2);
    font-size:.54rem;
    font-weight:800;
    text-transform:uppercase;
}

.finance-product-card h3{
    margin-top:28px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2.05rem;
    font-weight:600;
    line-height:1;
}

.finance-product-card > p{
    margin-top:10px;
    color:var(--text);
    font-size:.74rem;
}

.finance-feature-list{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:18px;
}

.finance-feature-list span{
    padding:6px 9px;
    border:1px solid var(--line);
    color:var(--text);
    font-size:.57rem;
}

.finance-product-action{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:auto;
    padding-top:23px;
    background:transparent;
    color:var(--green-3);
    font-size:.69rem;
    font-weight:800;
}

.finance-product-action span{
    transition:.2s ease;
}

.finance-product-action:hover span{
    transform:translateX(4px);
}

/* Calculator */

.finance-calculator-section{
    background:white;
}

.finance-calculator-layout{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    align-items:center;
    gap:80px;
}

.finance-calculator-intro > p{
    max-width:480px;
    margin-top:18px;
    color:var(--text);
    font-size:.84rem;
}

.calculator-warning{
    max-width:500px;
    display:grid;
    gap:3px;
    margin-top:28px;
    padding:16px 18px;
    border-left:3px solid var(--gold);
    background:var(--ivory);
}

.calculator-warning strong{
    font-size:.68rem;
}

.calculator-warning span{
    color:var(--text);
    font-size:.66rem;
}

.finance-calculator-card{
    padding:34px;
    border:1px solid var(--line);
    background:var(--ivory);
}

.finance-field{
    display:grid;
    gap:7px;
    margin-bottom:16px;
}

.finance-field label{
    color:#27332c;
    font-size:.7rem;
    font-weight:800;
}

.finance-field input,
.finance-field select,
.finance-field textarea{
    width:100%;
    border:1px solid #d3ddd6;
    background:white;
    color:var(--ink);
    outline:0;
    padding:13px 14px;
}

.finance-field input,
.finance-field select{
    min-height:50px;
}

.finance-field textarea{
    resize:vertical;
}

.finance-field input:focus,
.finance-field select:focus,
.finance-field textarea:focus{
    border-color:var(--green-3);
    box-shadow:0 0 0 3px rgba(11,122,69,.08);
}

.money-input{
    position:relative;
}

.money-input > span{
    position:absolute;
    z-index:2;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    color:var(--text);
    font-weight:700;
}

.money-input input{
    padding-left:37px;
}

.finance-estimate{
    margin-top:23px;
    padding:27px;
    background:var(--green);
    color:white;
}

.finance-estimate > span{
    display:block;
    color:rgba(255,255,255,.58);
    font-size:.65rem;
}

.finance-estimate strong{
    display:block;
    margin:4px 0;
    color:var(--gold-light);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:3rem;
    font-weight:600;
}

.finance-estimate small{
    color:rgba(255,255,255,.55);
    font-size:.64rem;
}

.finance-main-action{
    width:100%;
    min-height:53px;
    margin-top:19px;
    border-radius:999px;
    background:var(--gold);
    color:var(--green);
    font-size:.75rem;
    font-weight:800;
}

/* Wizard */

.finance-wizard-section{
    background:var(--ivory);
}

.wizard-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:35px;
    margin-bottom:35px;
}

.wizard-security-note{
    max-width:290px;
    display:grid;
    padding:13px 15px;
    border:1px solid var(--line);
    background:white;
}

.wizard-security-note strong{
    color:var(--green-3);
    font-size:.65rem;
}

.wizard-security-note span{
    margin-top:3px;
    color:var(--text);
    font-size:.61rem;
}

.wizard-shell{
    overflow:hidden;
    border:1px solid var(--line);
    background:white;
}

.wizard-progress{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    border-bottom:1px solid var(--line);
    background:#fafbf9;
}

.wizard-progress-item{
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    border-right:1px solid var(--line);
    color:#9ca49f;
}

.wizard-progress-item:last-child{
    border-right:0;
}

.wizard-progress-item span{
    width:27px;
    height:27px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    border:1px solid #cfd7d1;
    font-size:.6rem;
    font-weight:800;
}

.wizard-progress-item small{
    font-size:.56rem;
    font-weight:700;
}

.wizard-progress-item.active,
.wizard-progress-item.complete{
    color:var(--green);
}

.wizard-progress-item.active span{
    border-color:var(--gold);
    background:var(--gold);
}

.wizard-progress-item.complete span{
    border-color:var(--green-3);
    background:var(--green-3);
    color:white;
}

#loanWizardForm{
    padding:40px;
}

.wizard-step{
    display:none;
}

.wizard-step.active{
    display:block;
}

.wizard-step-label{
    color:var(--gold);
    font-size:.6rem;
    font-weight:800;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.wizard-step > h3{
    margin:6px 0 27px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2.8rem;
    font-weight:600;
    line-height:1;
}

.wizard-form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:0 17px;
}

.security-fields{
    margin-top:25px;
    padding:25px;
    background:var(--ivory);
}

.security-fields h4{
    margin-bottom:18px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:1.8rem;
    font-weight:600;
}

.required-documents{
    margin-top:22px;
    padding:24px;
    border:1px solid var(--line);
}

.required-documents h4{
    font-size:.74rem;
}

.required-documents p{
    margin-top:4px;
    color:var(--text);
    font-size:.65rem;
}

.document-chip-grid{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px;
}

.document-chip{
    padding:7px 10px;
    border-radius:999px;
    background:var(--soft);
    color:var(--green-2);
    font-size:.58rem;
    font-weight:700;
}

.review-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.review-item{
    min-height:90px;
    padding:17px;
    border:1px solid var(--line);
    background:#fafbf9;
}

.review-item span{
    display:block;
    color:var(--text);
    font-size:.58rem;
    text-transform:uppercase;
    letter-spacing:.7px;
}

.review-item strong{
    display:block;
    margin-top:6px;
    font-size:.76rem;
}

.finance-consent{
    display:flex;
    align-items:flex-start;
    gap:11px;
    margin-top:25px;
    color:var(--text);
    font-size:.68rem;
}

.finance-consent input{
    flex-shrink:0;
    width:18px;
    height:18px;
    margin-top:2px;
}

.wizard-navigation{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:30px;
    padding-top:25px;
    border-top:1px solid var(--line);
}

.wizard-back,
.wizard-next{
    min-height:48px;
    padding:11px 21px;
    border-radius:999px;
    font-size:.7rem;
    font-weight:800;
}

.wizard-back{
    background:var(--soft);
    color:var(--green);
}

.wizard-next{
    margin-left:auto;
    background:var(--green);
    color:white;
}

/* Eligibility result */

.eligibility-result{
    max-width:760px;
    padding:40px;
    background:var(--green);
    color:white;
}

.eligibility-status{
    display:inline-flex;
    padding:7px 11px;
    border:1px solid rgba(255,255,255,.17);
    border-radius:999px;
    color:var(--gold-light);
    font-size:.57rem;
    font-weight:800;
    letter-spacing:1px;
    text-transform:uppercase;
}

.eligibility-result h4{
    margin-top:15px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2.8rem;
    font-weight:600;
    line-height:1;
}

.eligibility-result p{
    max-width:590px;
    margin-top:12px;
    color:rgba(255,255,255,.68);
    font-size:.75rem;
}

.eligibility-reference{
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.13);
}

.eligibility-reference span{
    display:block;
    color:rgba(255,255,255,.5);
    font-size:.57rem;
}

.eligibility-reference strong{
    color:var(--gold-light);
    font-size:.85rem;
}

/* Process */

.finance-process-section{
    background:white;
}

.finance-process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.finance-process-grid article{
    min-height:225px;
    padding:28px;
    border-right:1px solid var(--line);
}

.finance-process-grid article:last-child{
    border-right:0;
}

.finance-process-grid article > span{
    color:var(--gold);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:1.3rem;
}

.finance-process-grid h3{
    margin-top:45px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2rem;
    font-weight:600;
}

.finance-process-grid p{
    margin-top:5px;
    color:var(--text);
    font-size:.68rem;
}

/* Footer */

.finance-footer{
    padding:48px 0 22px;
    background:#07130d;
    color:white;
}

.finance-footer-main{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.finance-footer-main img{
    width:175px;
    height:60px;
    object-fit:contain;
    object-position:left center;
}

.finance-footer-main nav{
    display:flex;
    gap:24px;
}

.finance-footer-main nav a{
    color:rgba(255,255,255,.6);
    font-size:.67rem;
}

.finance-footer-bottom{
    display:flex;
    justify-content:space-between;
    gap:25px;
    margin-top:30px;
    padding-top:19px;
    border-top:1px solid rgba(255,255,255,.08);
    color:rgba(255,255,255,.38);
    font-size:.58rem;
}

/* Tablet */

@media(max-width:900px){

    .finance-product-grid{
        grid-template-columns:1fr;
    }

    .finance-product-card{
        min-height:280px;
    }

    .finance-calculator-layout{
        grid-template-columns:1fr;
        gap:45px;
    }

    .finance-process-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* Mobile */

@media(max-width:720px){

    .finance-header{
        min-height:74px;
    }

    .finance-header-inner{
        min-height:74px;
    }

    .finance-brand img{
        width:155px;
        height:50px;
    }

    .test-chip{
        font-size:.5rem;
        padding:6px 8px;
    }

    .finance-menu-button{
        display:block;
    }

    .finance-menu-button.open span:first-child{
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .finance-menu-button.open span:nth-child(2){
        opacity:0;
    }

    .finance-menu-button.open span:last-child{
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

    .finance-navigation{
        position:fixed;
        z-index:1999;
        top:74px;
        left:0;
        right:0;
        bottom:0;
        display:flex;
        align-items:flex-start;
        flex-direction:column;
        gap:0;
        padding:35px 7%;
        background:var(--green);
        opacity:0;
        visibility:hidden;
        transform:translateY(-12px);
        transition:.23s ease;
    }

    .finance-navigation.open{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }

    .finance-navigation a{
        width:100%;
        padding:18px 0;
        border-bottom:1px solid rgba(255,255,255,.1);
        font-family:"Cormorant Garamond",Georgia,serif;
        font-size:1.8rem;
        font-weight:600;
    }

    .finance-hero{
        min-height:660px;
    }

    .finance-hero-content{
        padding-bottom:55px;
    }

    .finance-hero h1{
        font-size:4.1rem;
        letter-spacing:-2px;
    }

    .finance-hero-content > p{
        font-size:.82rem;
    }

    .finance-demo-notice{
        align-items:flex-start;
        flex-direction:column;
    }

    .finance-section{
        padding:75px 0;
    }

    .finance-heading,
    .wizard-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:20px;
    }

    .finance-heading h2,
    .finance-calculator-intro h2,
    .wizard-heading h2{
        font-size:3.2rem;
    }

    .finance-product-card{
        min-height:0;
        padding:24px;
    }

    .finance-product-card h3{
        margin-top:21px;
        font-size:2rem;
    }

    .finance-product-action{
        margin-top:25px;
    }

    .finance-calculator-card{
        padding:22px;
    }

    .finance-estimate{
        padding:23px;
    }

    .finance-estimate strong{
        font-size:2.55rem;
    }

    .wizard-security-note{
        max-width:none;
    }

    .wizard-shell{
        margin-left:-2%;
        margin-right:-2%;
    }

    .wizard-progress{
        overflow-x:auto;
        grid-template-columns:repeat(5,minmax(88px,1fr));
    }

    .wizard-progress-item{
        min-height:70px;
    }

    #loanWizardForm{
        padding:25px 20px;
    }

    .wizard-step > h3{
        font-size:2.45rem;
    }

    .wizard-form-grid,
    .review-grid{
        grid-template-columns:1fr;
    }

    .security-fields{
        padding:20px;
    }

    .eligibility-result{
        padding:28px 23px;
    }

    .eligibility-result h4{
        font-size:2.4rem;
    }

    .finance-process-grid{
        grid-template-columns:1fr;
    }

    .finance-process-grid article{
        min-height:185px;
        border-right:0;
        border-bottom:1px solid var(--line);
    }

    .finance-footer-main,
    .finance-footer-bottom{
        align-items:flex-start;
        flex-direction:column;
    }

    .finance-footer-main nav{
        flex-wrap:wrap;
    }

}

@media(max-width:420px){

    .finance-container{
        width:90%;
    }

    .finance-brand img{
        width:135px;
    }

    .test-chip{
        display:none;
    }

    .finance-hero h1{
        font-size:3.65rem;
    }

    .finance-hero-buttons{
        flex-direction:column;
    }

    .finance-button{
        width:100%;
    }

}

/* Live application additions */
.loan-fee-summary{
    display:grid;
    gap:7px;
    margin-top:14px;
    padding:15px;
    border:1px solid var(--line);
    background:white;
}

.loan-fee-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:var(--text);
    font-size:.64rem;
}

.loan-fee-line strong{
    color:var(--green);
}

.loan-fee-line.total{
    margin-top:4px;
    padding-top:8px;
    border-top:1px solid var(--line);
    font-weight:800;
}

.loan-document-inputs{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-top:18px;
}

.loan-document-input{
    padding:15px;
    border:1px solid var(--line);
    background:white;
}

.loan-document-input label,
.loan-document-input small{
    display:block;
}

.loan-document-input label{
    color:var(--green);
    font-size:.66rem;
    font-weight:800;
}

.loan-document-input small{
    margin:3px 0 10px;
    color:var(--text);
    font-size:.56rem;
}

.loan-document-input input{
    width:100%;
    font-size:.63rem;
}

.loan-availability-message{
    margin-top:12px;
    padding:13px 15px;
    border-left:3px solid var(--gold);
    background:#fff9e8;
    color:#6c5c2c;
    font-size:.65rem;
}

.loan-submit-state{
    margin-top:16px;
    color:var(--text);
    font-size:.65rem;
}

.eligibility-result .result-summary{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:8px;
    margin-top:20px;
}

.eligibility-result .result-summary div{
    padding:11px;
    border:1px solid rgba(255,255,255,.13);
}

.eligibility-result .result-summary span,
.eligibility-result .result-summary strong{
    display:block;
}

.eligibility-result .result-summary span{
    color:rgba(255,255,255,.5);
    font-size:.54rem;
}

.eligibility-result .result-summary strong{
    margin-top:3px;
    color:white;
    font-size:.67rem;
}

@media(max-width:720px){
    .loan-document-inputs,
    .eligibility-result .result-summary{
        grid-template-columns:1fr;
    }
}

.finance-product-action:disabled,
.finance-main-action:disabled{
    opacity:.48;
    cursor:not-allowed;
}
