@charset "UTF-8";

/**
 * Home landing — site intro, steps, features, teach CTA
 */

.page-home {
    background: #f4f6fb;
}

/* ── Hero ad (below banner) ── */

.home-hero-ad.adswp {
    margin: 0;
    padding: 20px 16px;
    background: #fff;
    border-bottom: 1px solid rgba(20, 27, 46, 0.06);
}

@media (max-width: 768px) {
    .home-hero-ad.adswp {
        padding: 16px 12px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Hero ── */

.hs-banner--home {
    position: relative;
    min-height: 520px;
    height: auto;
    padding: 72px 0 80px;
    background-image:
        linear-gradient(135deg, rgba(20, 27, 46, 0.82) 0%, rgba(17, 116, 235, 0.45) 100%),
        url(../Images/housing/Banner-Desktop.webp);
    background-size: cover;
    background-position: center;
}

.hs-banner--home .banner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hs-banner--home .hs-banner-cate {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    letter-spacing: 0.12em;
    font-size: 13px;
    margin-bottom: 8px;
}

.hs-banner--home .hs-banner-tit {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin: 16px 0 20px;
    line-height: 1.15;
}

.hs-banner-lead {
    font-family: GoogleSans, googleSanstext, system-ui, sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
    margin: 0 auto 32px;
    max-width: 560px;
}

.hs-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.home-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.home-cta:hover {
    transform: translateY(-2px);
}

.home-cta--primary {
    background: #1174eb;
    color: #fff;
    box-shadow: 0 8px 24px rgba(17, 116, 235, 0.45);
}

.home-cta--primary:hover {
    background: #0065e1;
    box-shadow: 0 12px 28px rgba(17, 116, 235, 0.5);
}

.home-cta--primary .home-cta__icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.home-cta--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.home-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ── Shared section chrome ── */

.home-section {
    padding: 64px 0;
}

.home-section--alt {
    background: #fff;
}

.home-section-label {
    display: inline-block;
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1174eb;
    margin-bottom: 12px;
}

.home-section-title {
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #141b2e;
    margin: 0 0 16px;
}

.home-section-lead {
    font-size: 17px;
    line-height: 1.65;
    color: #5a6478;
    margin: 0;
    max-width: 640px;
}

/* ── Intro grid ── */

.home-intro__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.home-intro__points {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-intro__points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.55;
    color: #3d4659;
}

.home-intro__points svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: #1174eb;
}

.home-stats {
    display: grid;
    gap: 16px;
}

.home-stat {
    background: #fff;
    border: 1px solid rgba(20, 27, 46, 0.08);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(20, 27, 46, 0.04);
}

.home-stat__num {
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1174eb;
    line-height: 1;
    margin-bottom: 8px;
}

.home-stat__text {
    font-size: 14px;
    line-height: 1.5;
    color: #5a6478;
    margin: 0;
}

/* ── Steps ── */

.home-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.home-step {
    position: relative;
    background: #fff;
    border: 1px solid rgba(20, 27, 46, 0.07);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 4px 20px rgba(20, 27, 46, 0.04);
}

.home-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1174eb, #3d9bff);
    color: #fff;
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.home-step__title {
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #141b2e;
    margin: 0 0 10px;
}

.home-step__text {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6478;
    margin: 0;
}

/* ── Features ── */

.home-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.home-feature {
    background: #f8fafd;
    border: 1px solid rgba(20, 27, 46, 0.06);
    border-radius: 14px;
    padding: 22px 20px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-feature:hover {
    border-color: rgba(17, 116, 235, 0.25);
    box-shadow: 0 8px 24px rgba(17, 116, 235, 0.08);
}

.home-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(17, 116, 235, 0.1);
    margin-bottom: 14px;
}

.home-feature__icon svg {
    width: 22px;
    height: 22px;
    stroke: #1174eb;
}

.home-feature__title {
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #141b2e;
    margin: 0 0 8px;
}

.home-feature__text {
    font-size: 13px;
    line-height: 1.55;
    color: #5a6478;
    margin: 0;
}

/* ── CTA band ── */

.home-cta-band {
    padding: 56px 0;
    background: linear-gradient(135deg, #141b2e 0%, #1e3a5f 50%, #1174eb 100%);
}

.home-cta-band__inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.home-cta-band__title {
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.home-cta-band__text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 28px;
}

.home-cta--light {
    background: #fff;
    color: #1174eb;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.home-cta--light:hover {
    background: #f0f6ff;
}

/* ── Regions header tweak ── */

.home-regions .tit-group {
    margin-bottom: 8px;
}

.home-regions .hs-common-subtit {
    margin-bottom: 8px;
}

.home-regions-teach {
    text-align: center;
    margin: 0 0 28px;
    font-size: 15px;
    color: #5a6478;
}

.home-regions-teach a {
    color: #1174eb;
    font-weight: 600;
    text-decoration: none;
}

.home-regions-teach a:hover {
    text-decoration: underline;
}

/* ── Teach funnel links ── */

.home-teach-link {
    color: #1174eb;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(17, 116, 235, 0.35);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.home-teach-link:hover {
    color: #0065e1;
    border-bottom-color: #0065e1;
}

.home-inline-cta {
    margin-top: 24px;
}

.home-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-card-link:hover {
    transform: translateY(-3px);
}

.home-stat.home-card-link:hover,
.home-step.home-card-link:hover,
.home-feature.home-card-link:hover {
    box-shadow: 0 12px 32px rgba(17, 116, 235, 0.12);
    border-color: rgba(17, 116, 235, 0.25);
}

.home-step__action,
.home-feature__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1174eb;
}

.home-card-link:hover .home-step__action,
.home-card-link:hover .home-feature__action {
    color: #0065e1;
}

.home-steps__foot {
    text-align: center;
    margin-top: 36px;
}

.home-teach-strip {
    padding: 32px 0 36px;
    margin: 0;
    background: #fff;
    border-top: 1px solid rgba(20, 27, 46, 0.06);
    border-bottom: 1px solid rgba(20, 27, 46, 0.06);
}

.home-teach-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 14px;
}

.home-teach-strip__label {
    font-size: 14px;
    font-weight: 600;
    color: #5a6478;
    margin: 0;
    flex-shrink: 0;
}

.home-teach-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(17, 116, 235, 0.08);
    border: 1px solid rgba(17, 116, 235, 0.18);
    color: #1174eb;
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    line-height: 1.3;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.home-teach-chip:hover {
    background: rgba(17, 116, 235, 0.14);
    border-color: rgba(17, 116, 235, 0.35);
    transform: translateY(-1px);
}

.home-teach-chip--primary {
    background: #1174eb;
    border-color: #1174eb;
    color: #fff;
}

.home-teach-chip--primary:hover {
    background: #0065e1;
    border-color: #0065e1;
    color: #fff;
}

.home-regions__foot {
    text-align: center;
    margin-top: 32px;
    padding-top: 8px;
}

.home-teach-float {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 900;
    justify-content: center;
    pointer-events: none;
}

.home-teach-float__btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    background: #1174eb;
    color: #fff;
    font-family: GoogleSans, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(17, 116, 235, 0.45);
    transition: background 0.15s ease, transform 0.15s ease;
}

.home-teach-float__btn:hover {
    background: #0065e1;
    transform: translateY(-2px);
}

.page-home header .nav-teach-item .nav-teach-link {
    background: linear-gradient(135deg, #1174eb, #3d9bff);
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 16px !important;
    margin-left: 8px;
}

.page-home header .nav-teach-item .nav-teach-link:hover {
    opacity: 0.92;
}

.page-home header .nav-teach-item .nav-item-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
}

.page-home header .nav-teach-item .nav-item-icon,
.page-home header .nav-teach-item .nav-item-arrow {
    stroke: #fff;
    color: #fff;
}

.page-home header .nav-teach-item .nav-item-text {
    color: #fff;
}

@media (max-width: 768px) {
    .home-teach-float {
        display: flex;
    }

    .page-home {
        padding-bottom: 80px;
    }

    .page-home header .nav-teach-item {
        order: -1;
    }

    .home-teach-strip {
        padding: 24px 0 28px;
    }

    .home-teach-strip__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: stretch;
    }

    .home-teach-strip__label {
        grid-column: 1 / -1;
        text-align: center;
        font-size: 13px;
        margin-bottom: 2px;
    }

    .home-teach-chip {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .home-teach-chip--primary {
        grid-column: 1 / -1;
        min-height: 48px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .home-teach-strip__inner {
        grid-template-columns: 1fr;
    }

    .home-teach-chip:not(.home-teach-chip--primary) {
        grid-column: 1 / -1;
    }
}

/* ── Responsive ── */

@media (max-width: 992px) {
    .home-intro__grid {
        grid-template-columns: 1fr;
    }

    .home-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-steps__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hs-banner--home {
        min-height: 480px;
        padding: 56px 0 64px;
    }

    .hs-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .home-cta {
        width: 100%;
        max-width: 320px;
    }

    .home-section {
        padding: 48px 0;
    }

    .home-features__grid {
        grid-template-columns: 1fr;
    }
}
