/* debug */
.rb {
    border: 3px dashed red;
}
.mb {
    border: 3px dashed magenta;
}
.gb {
    border: 3px dashed lime;
}
.bb {
    border: 3px dashed blue;
}

/* vars */
:root {
    --container-width: 1200px;
    --hero-image-location: center;
    --hero-left-flex: 2;
    --hero-spacer-flex: 1;
    --hero-right-flex: 2;
    --mobile-form-max-width: 600px;
}
:root .content {
    --hero-image-location: 10%;
    --hero-left-flex: 1;
    --hero-spacer-flex: 1;
    --hero-right-flex: 3;
}

/* RESET-ish (safe) */
html, body {
    height: 100%;
    margin: 0;
}

/* LAYOUT */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}
.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    font-weight: 700;
    font-size: 18px;
}
.site-header__cta {
    background: #106b50;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
}

/* MAIN FLEX */
.site-main {
    flex: 1;
    display: flex;
    background: #eef6f4;
}

/* HERO */
.loan-hero {
    width: 100%;
    display: flex;
    align-items: center;
}
.loan-hero__container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}
@media (max-width: 900px) {
    .loan-hero__container {
        align-items: stretch;
    }
}

/* LEFT */
@media (max-width: 900px) {
    .loan-hero__left {
        background: rgba(255,255,255,0.8);
        border: 1px solid #ccc;
    }
}
.loan-hero__left {
    flex: var(--hero-left-flex);
    padding: 12px;
}
.loan-hero__badge {
    display: inline-block;
    background: #d7efea;
    color: #2d8f7c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 20px;
}
.loan-hero__title {
    font-size: 48px;
    margin-bottom: 20px;
}
.loan-hero__title span {
    color: #2d8f7c;
}
.loan-hero__subtext {
    color: #555;
    margin-bottom: 25px;
}

/* FEATURES */
.loan-hero__features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.loan-hero__features li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}
.loan-hero__features li:before {
    content: "✔";
    color: #2d8f7c;
}

/* CTA */
.loan-hero__cta {
    background: #106b50;
    color: #fff;
    padding: 16px 28px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

/* FOOTER STRIP */
.loan-hero__footer {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    font-size: 14px;
}

/* RIGHT */
.loan-hero__right {
    flex: var(--hero-right-flex);
    display: flex;
    justify-content: center;
}
.loan-hero__image-wrapper {
    position: relative;
}
.loan-hero__image-wrapper img {
    width: 100%;
    border-radius: 12px;
}

/* FORM CARD */
.loan-hero__card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.loan-hero__form-title {
    font-weight: 600;
    margin-bottom: 5px;
}
.loan-hero__card input,
.loan-hero__card select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.loan-hero__card select {
    background-color: white;
}
.loan-hero__card button {
    background: #106b50;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
}

/* FOOTER */
.site-footer {
    background: #fff;
    border-top: 1px solid #eee;
}
.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-size: 12px;
    color: #666;
}
.site-footer__small {
    margin-top: 10px;
    font-size: 11px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .loan-hero__container {
        flex-direction: column;
        text-align: center;
    }
    .loan-hero__card {
        position: static;
        margin-top: 20px;
        width: 100%;
        max-width: var(--mobile-form-max-width);
    }
    .loan-hero__footer {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* header image */
.site-header img {
    width: 100%;
    max-width: 350px;
    padding: 1em;
    background: var(--color-header-logo-bg);
}

.footer-copyright {
    text-align: center;
    padding: 1em 2em;
}
.loan-hero__spacer {
    flex: var(--hero-spacer-flex);
}
.loan-hero__right {
    padding: 12px;
}

/* mobile fixes */

/* content page */
@media (max-width: 900px) {
    .content .loan-hero__left,
    .content .loan-hero__spacer {
        display: none;
    }
}

/* thankyou */
.thankyou .loan-hero__title {
    text-align: center;
}