/* Home page only */
.home-main {
    overflow: hidden;
    background: #fff
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease
}

.fade-up.is-visible,
.fade-up.active {
    opacity: 1;
    transform: none
}

.home-hero {
    min-height: 760px;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 138px 0 82px;
    color: #fff;
    background: #063232
}

.home-hero::after {
    width: 310px;
    height: 310px;
    position: absolute;
    right: -120px;
    bottom: -165px;
    border: 1px solid rgba(251, 177, 47, .38);
    border-radius: 50%;
    content: ""
}

.home-hero-media,
.home-hero-overlay {
    position: absolute;
    inset: 0
}

.home-hero-media {
    background: radial-gradient(circle at 84% 12%, rgba(216, 239, 182, .24), transparent 34%), linear-gradient(112deg, #042c2d 0%, #063f3f 58%, #657672 100%)
}

.home-hero-overlay {
    background: linear-gradient(90deg, rgba(2, 31, 31, .48), transparent 62%)
}

.home-hero .container {
    position: relative;
    z-index: 1
}

.home-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
    gap: 86px;
    align-items: center;
   
    margin: auto
}

.home-hero-copy {
    max-width: 610px
}

.home-eyebrow,
.home-section-kicker {
    color: #fbb12f;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase
}

.home-divider {
    width: 66px;
    height: 3px;
    display: block;
    margin: 16px 0 25px;
    background: #fbb12f
}

.home-hero h1 {
    max-width: 610px;
    margin: 0 0 23px;
    color: #fff;
    font-size: clamp(2.75rem, 4.2vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.025em
}

.home-hero-phone {
    margin: 0 0 28px;
    font-size: 1rem
}

.home-hero-phone a {
    color: #fbb12f;
    font-weight: 900
}

.home-hero-cta {
    min-width: 235px;
    justify-content: center;
    padding: 14px 24px;
    font-size: .8rem;
    box-shadow: 0 13px 30px rgba(251, 177, 47, .24)
}

.home-hero-feature {
    min-height: 460px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 12px;
    background: #173f3f;
    box-shadow: 0 28px 64px rgba(0, 0, 0, .3)
}

.home-hero-feature::before {
    position: absolute;
    z-index: 2;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    pointer-events: none;
    content: ""
}

.home-hero-feature-image {
    position: absolute;
    inset: 0;
    background: url("https://dev.orbitwebx.com/wp-content/uploads/2026/04/Mortgage-Basics-Loan-Options-Explained-for-Home-Buyers-1.webp") center 26%/cover no-repeat
}

.home-hero-feature::after {
    position: absolute;
    inset: 34% 0 0;
    background: linear-gradient(transparent, rgba(3, 33, 33, .84));
    content: ""
}

.home-lender-card {
    position: absolute;
    z-index: 3;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 23px 25px;
    border: 1px solid rgba(216, 239, 182, .32);
    border-radius: 10px;
    background: rgba(3, 45, 45, .91);
    color: #e4efed;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
    backdrop-filter: blur(10px)
}

.home-lender-card h2 {
    margin: 7px 0 11px;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.2
}

.home-lender-card p {
    margin: 0 0 7px;
    font-size: .83rem;
    line-height: 1.55
}

.home-lender-card p:last-child {
    margin-bottom: 0
}

.home-lender-card a {
    color: #fbb12f;
    font-weight: 900
}

.home-lender-label {
    width: max-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(216, 239, 182, .2);
    color: #d8efb6;
    font-size: .68rem;
    font-weight: 900;
    text-transform: none
}

.home-award-video {
    position: relative;
    overflow: hidden;
    padding: 104px 0;
    background: #fff
}

.home-award-video::before {
    width: 390px;
    height: 390px;
    position: absolute;
    right: -128px;
    top: -170px;
    box-sizing: border-box;
    border: 72px solid rgba(236, 248, 248, .72);
    border-radius: 50%;
    content: ""
}

.home-award-video .container {
    position: relative;
    z-index: 1
}

.home-video-frame {
    max-width: 960px;
    margin: auto;
    padding: 14px;
    border: 1px solid rgba(6, 50, 50, .09);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 58px rgba(3, 33, 33, .14)
}

.home-video-frame iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: 0;
    border-radius: 14px
}

.blog-section {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(rgba(6, 50, 50, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 50, 50, .025) 1px, transparent 1px), #ecf8f8;
    background-size: 42px 42px
}

.blog-section::before {
    width: 250px;
    height: 250px;
    position: absolute;
    right: -85px;
    top: 45px;
    border-radius: 50%;
    background: rgba(216, 239, 182, .35);
    content: ""
}

.blog-section .container {
    position: relative;
    z-index: 1
}

.blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 52px
}

.blog-header-copy {
    max-width: 660px
}

.blog-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #fbb12f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.blog-header h2 {
    margin: 0 0 16px;
    color: #063232
}

.blog-header p {
    max-width: 600px;
    margin: 0;
    color: #5f7a7d;
    font-size: 17px;
    line-height: 1.8
}

.blog-view-all {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 50px;
    background: #fbb12f;
    color: #fff;
    font-size: .86rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(251, 177, 47, .22);
    transition: .35s
}

.blog-view-all:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15)
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 30px
}

.blog-card {
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid #e6eeee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: .4s
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .08)
}

.blog-card-image {
    width: 100%;
    height: auto;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #dfeeed
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover
}

.blog-card-content {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 4px 0
}

.blog-meta {
    min-height: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 14px
}

.blog-badge {
    padding: 6px 12px;
    border-radius: 30px;
    background: #fff4de;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 700
}

.blog-date {
    color: #789194;
    font-size: 12px
}

.blog-title {
    min-height: 64px;
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    color: #063232;
    font-size: 1.38rem;
    font-weight: 700;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.blog-title a {
    color: inherit
}

.blog-excerpt {
    min-height: 76px;
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 16px;
    color: #5f7a7d;
    font-size: 15px;
    line-height: 1.68;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3
}

.blog-read-more {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: #063232;
    font-size: 15px;
    font-weight: 700
}

.blog-read-more:hover {
    color: #fbb12f
}

.home-testimonial {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background: linear-gradient(180deg, #f8faf9 0%, #fff 100%)
}

.home-testimonial-card {
    max-width: 900px;
    position: relative;
    margin: auto;
    padding: 38px 46px 36px;
    border: 1px solid rgba(251, 177, 47, .48);
    border-left: 5px solid #fbb12f;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(3, 33, 33, .1)
}

.home-testimonial-card::before {
    position: absolute;
    right: 24px;
    top: 5px;
    color: rgba(251, 177, 47, .2);
    content: "\201C";
    font-size: 5.4rem;
    font-weight: 900;
    line-height: 1
}

.home-testimonial blockquote {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    padding-right: 30px;
    color: #063232;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.7;
}

.home-testimonial blockquote a {
    color: #f59e0b;
    font-weight: 900
}

.home-testimonial figcaption {
    color: #f59e0b;
    font-size: 1.5rem
}

.home-testimonial figcaption strong {
    font-weight: 900
}

.home-value-tool {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: #ecf8f8
}

.home-value-tool::before {
    width: 420px;
    height: 420px;
    position: absolute;
    top: -250px;
    left: -210px;
    border: 70px solid rgba(194, 223, 147, .24);
    border-radius: 50%;
    content: ""
}

.home-value-card {
    max-width: 980px;
    display: block;
    position: relative;
    margin: auto;
    padding: 52px;
    border: 1px solid rgba(6, 50, 50, .1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 58px rgba(3, 33, 33, .1)
}

.home-value-card h2 {
    margin-bottom: 28px;
    text-align: center;
    font-weight: 700;
}

.home-value-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 18px;
    background: #d8efb6;
    color: #063232
}

.home-value-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.home-value-description {
    margin-bottom: 28px;
    font-size: 1.03rem;
    line-height: 1.75
}

.home-value-benefits {
    display: grid;
    gap: 12px
}

.home-value-benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #315e61;
    font-size: .93rem;
    font-weight: 700
}

.home-value-benefits i {
    width: 24px;
    height: 24px;
    display: grid;
    flex: none;
    place-items: center;
    border-radius: 50%;
    background: #fbb12f;
    color: #063232;
    font-size: .68rem
}

.home-value-widget-panel {
    min-width: 0;
    padding: 30px;
    border: 1px solid rgba(6, 50, 50, .1);
    border-radius: 22px;
    background: #f5f7f7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7)
}

.home-value-widget-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dceaea
}

.home-value-widget-heading span {
    color: #789194;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.home-value-widget-heading strong {
    color: #063232;
    font-size: .92rem
}

.homebot-widget {
    width: 100%;
    min-height: 180px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff
}

.homebot-widget:empty {
    padding: 28px;
    color: #789194;
    text-align: center;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
}

.homebot-widget:empty::before {
    max-width: 280px;
    content: "Loading your secure home value report...";
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.5
}

.homebot-widget iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important
}

.homebot-branding {
    margin: 14px 0 0;
    color: #789194;
    font-size: .72rem;
    font-weight: 700;
    text-align: right;
    margin-top: 0; 
}

.home-services-resources {
    position: relative;
    overflow: hidden;
    padding: 118px 0;
    background: #063b3a
}

.home-services-resources::before {
    width: 230px;
    height: 230px;
    position: absolute;
    right: -112px;
    top: 72px;
    border: 1px solid rgba(251, 177, 47, .32);
    border-radius: 50%;
    content: ""
}

.home-services-resources .container {
    position: relative;
    z-index: 1
}

.home-section-heading {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center
}

.home-section-heading h2 {
    margin: 12px 0 0;
    color: #fff
}

.home-card-grid {
    display: grid;
    gap: 24px
}

.home-card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.home-six-card-grid {
    width: 100%
}

.home-feature-card {
    min-height: 350px;
    display: flex;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    padding: 34px 32px 30px;
    border: 1px solid rgba(6, 50, 50, .1);
    border-radius: 17px;
    background: #f9fbfa;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
    transition: .35s
}

.home-feature-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #fbb12f 34%, #d8efb6 34%);
    content: ""
}

.home-feature-card::after {
    width: 92px;
    height: 92px;
    position: absolute;
    right: -30px;
    top: -30px;
    border-radius: 50%;
    background: rgba(216, 239, 182, .4);
    content: ""
}

.home-feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 58px rgba(0, 0, 0, .24)
}

.home-feature-icon {
    width: 70px;
    height: 70px;
    display: grid;
    position: relative;
    z-index: 1;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(6, 50, 50, .08);
    border-radius: 14px;
    background: #ecf8f8;
    color: #063232;
    box-shadow: 0 10px 22px rgba(3, 33, 33, .08)
}

.home-feature-icon svg {
    width: 35px;
    height: 35px;
    fill: currentColor
}

.home-feature-card h3 {
    min-height: 56px;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    color: #063232;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -.01em
}

.home-feature-card h3 a {
    color: inherit;
    text-decoration: none
}

.home-feature-card h3 a:hover {
    color: #f59e0b
}

.home-feature-card p {
    flex: 1;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    color: #3f6264;
    font-size: 1rem;
    line-height: 1.7
}

.home-feature-card p a {
    color: #f59e0b;
    font-weight: 800
}

.home-feature-card .btn {
    width: max-content;
    display: inline-flex;
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 16px;
    border-radius: 999px;
    background: #063232;
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(3, 33, 33, .16)
}

.home-feature-card .btn:hover {
    background: #fbb12f;
    color: #063232
}

.home-resource-card {
    background: #f9fbfa
}

.home-application-cta {
    padding: 84px 0;
    background: #c5e998
}

.home-application-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 54px;
    align-items: center;
    margin: auto;
    padding: 43px 45px;
    border: 1px solid rgba(6, 50, 50, .08);
    border-radius: 14px;
    background: linear-gradient(112deg, #f8fbf5 0%, #eff8df 68%, #e4f3c8 100%);
    box-shadow: 0 20px 48px rgba(3, 33, 33, .11)
}

.home-application-copy h2 {
    max-width: 570px;
    margin: 9px 0 12px;
    color: #063232
}

.home-application-copy p {
    max-width: 620px;
    margin: 0;
    color: #526f72;
    font-size: .98rem;
    line-height: 1.65
}

.home-application-card .btn {
    min-width: 285px;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 999px;
    background: #063232;
    color: #fff;
    font-size: .83rem;
    box-shadow: 0 13px 28px rgba(3, 33, 33, .22)
}

.home-application-card .btn:hover {
    background: #fbb12f;
    color: #063232;
    transform: translateY(-3px)
}

@media(max-width:1100px) {
    .home-hero {
        padding-top: 135px
    }

    .home-hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 760px
    }

    .home-hero-copy {
        max-width: 680px
    }

    .home-hero-feature {
        width: 100%;
        max-width: 610px
    }

    .blog-card {
        grid-template-columns: minmax(0, 25%) minmax(0, 1fr)
    }

    .blog-title {
        font-size: 1.2rem
    }

    .home-card-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .home-value-card {
        grid-template-columns: 1fr;
        gap: 42px;
        max-width: 820px
    }

    .home-value-intro {
        max-width: 680px
    }
}

@media(max-width:767px) {
    .home-main {
        padding-top: 76px
    }

    .home-hero {
        min-height: auto;
        padding: 70px 0
    }

    .home-hero::after {
        width: 220px;
        height: 220px;
        right: -115px;
        bottom: -120px
    }

    .home-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3rem)
    }

    .home-hero-content {
        gap: 38px
    }

    .home-hero-feature {
        min-height: 410px
    }

    .home-lender-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 19px
    }

    .home-lender-card h2 {
        font-size: 1.15rem
    }

    .home-lender-card p {
        font-size: .76rem
    }

    .home-award-video,
    .blog-section,
    .home-testimonial,
    .home-value-tool,
    .home-services-resources,
    .home-application-cta {
        padding: 68px 0
    }

    .home-award-video::before {
        width: 250px;
        height: 250px;
        right: -96px;
        top: -112px;
        border-width: 46px
    }

    .home-video-frame {
        padding: 8px;
        border-radius: 16px
    }

    .blog-section .container {
        padding-inline: 16px
    }

    .blog-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
        margin-bottom: 38px
    }

    .blog-header p {
        font-size: 1rem
    }

    .blog-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto
    }

    .blog-card {
        min-height: 0;
        grid-template-columns: 1fr
    }

    .blog-card-image {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16/9
    }

    .blog-meta,
    .blog-title,
    .blog-excerpt {
        min-height: 0
    }

    .home-testimonial-card,
    .home-value-card {
        padding: 30px 24px
    }

    .home-value-card {
        gap: 32px;
        border-radius: 20px
    }

    .home-value-card h2 {
        font-size: clamp(2rem, 9vw, 2.55rem) !important
    }

    .home-value-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
        border-radius: 15px
    }

    .home-value-widget-panel {
        padding: 20px;
        border-radius: 16px
    }

    .home-value-widget-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px
    }

    .homebot-widget {
        min-height: 160px
    }

    .home-card-grid-three {
        grid-template-columns: 1fr
    }

    .home-feature-card {
        min-height: 0;
        padding: 30px 26px
    }

    .home-feature-card h3 {
        min-height: 0
    }

    .home-application-card {
        grid-template-columns: 1fr;
        padding: 34px 26px
    }

    .home-application-card .btn {
        width: 100%;
        min-width: 0
    }

    .homebot-branding {
        text-align: left
    }
}

@media(prefers-reduced-motion:reduce) {

    .fade-up,
    .blog-card {
        opacity: 1;
        transform: none;
        transition: none
    }
}
