/* ==========================================================
   BitsHeart – main.css
   ========================================================== */

:root {
    --bh-green-dark: #0F5132;
    --bh-green: #1E7D4B;
    --bh-green-mid: #34A853;
    --bh-green-soft: #E8F5EE;
    --bh-green-bg: #F1FAF4;
    --bh-green-border: #D6EAD9;
    --bh-text-secondary: #4F6F5F;
    --bh-text: #173726;
    --bh-text-soft: #6C8A79;
    --bh-white: #FFFFFF;
    --bh-shadow: 0 8px 24px rgba(16, 81, 50, 0.08);
    --bh-shadow-hover: 0 14px 32px rgba(16, 81, 50, 0.12);
    --bh-radius-card: 24px;
    --bh-radius-soft: 18px;
    --bh-radius-pill: 999px;
    --bh-max-width: 1240px;
    --bh-font: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--bh-font);
    background: var(--bh-white);
    color: var(--bh-text);
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

ul {
    list-style: none;
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

h1, h2, h3, h4 {
    line-height: 1.12;
    letter-spacing: -0.02em;
}

p {
    color: var(--bh-text-secondary);
}

.container {
    width: min(var(--bh-max-width), calc(100% - 64px));
    margin: 0 auto;
}

.br-desktop {
    display: block;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(214, 234, 217, 0.9);
}

.nav-row1-bar {
    border-bottom: 1px solid rgba(214, 234, 217, 0.85);
}

.nav-top {
    width: min(var(--bh-max-width), calc(100% - 64px));
    margin: 0 auto;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.logo-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(160deg, var(--bh-green) 0%, var(--bh-green-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(16, 81, 50, 0.16);
    flex-shrink: 0;
}

.logo-icon svg {
    width: 30px;
    height: 30px;
}

.logo-name {
    font-size: 31px;
    font-weight: 700;
    color: var(--bh-green-dark);
    line-height: 1;
}

.logo-bits,
.logo-heart {
    color: var(--bh-green-dark);
}

.logo-tagline {
    margin-top: 6px;
    font-size: 18px;
    color: var(--bh-text-secondary);
    letter-spacing: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-nav-login,
.btn-nav-register {
    min-width: 132px;
    padding: 14px 26px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-nav-login {
    border: 1px solid var(--bh-green);
    color: var(--bh-green-dark);
    background: var(--bh-white);
}

.btn-nav-register {
    background: linear-gradient(135deg, var(--bh-green) 0%, var(--bh-green-mid) 100%);
    color: var(--bh-white);
    box-shadow: 0 10px 24px rgba(30, 125, 75, 0.18);
}

.btn-nav-login:hover,
.btn-nav-register:hover {
    transform: translateY(-1px);
}

.btn-nav-login:hover {
    background: var(--bh-green-soft);
}

.btn-nav-register:hover {
    box-shadow: 0 14px 28px rgba(30, 125, 75, 0.2);
}

.nav-hamburger {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--bh-green-border);
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--bh-green-dark);
    border-radius: 2px;
}

.nav-row2-bar {
    border-bottom: 1px solid rgba(214, 234, 217, 0.75);
}

.nav-links {
    width: min(var(--bh-max-width), calc(100% - 64px));
    margin: 0 auto;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    padding: 10px 18px;
    border-radius: var(--bh-radius-pill);
    color: var(--bh-green-dark);
    font-size: 17px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: var(--bh-green-bg);
}

.nav-links a.active {
    background: var(--bh-green-soft);
    color: var(--bh-green-dark);
    border-radius: 999px;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-green {
    color: var(--bh-white);
    background: linear-gradient(135deg, var(--bh-green) 0%, var(--bh-green-mid) 100%);
    box-shadow: 0 10px 24px rgba(30, 125, 75, 0.18);
}

.btn-outline-white {
    color: var(--bh-green-dark);
    background: var(--bh-white);
    border: 1px solid var(--bh-green);
}

.btn-coral {
    background: var(--bh-green);
    color: var(--bh-white);
}

.btn-white-green {
    background: var(--bh-white);
    color: var(--bh-green-dark);
    border: 1px solid var(--bh-green-border);
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bh-green-bg) 0%, var(--bh-white) 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    top: 72px;
    left: -110px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(232, 245, 238, 0.9) 0%, rgba(232, 245, 238, 0) 74%);
}

.hero::after {
    right: 10%;
    bottom: 56px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(241, 250, 244, 0.85) 0%, rgba(241, 250, 244, 0) 76%);
}

.hero-inner {
    width: min(var(--bh-max-width), calc(100% - 64px));
    margin: 0 auto;
    padding: 122px 0 118px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 470px);
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    max-width: 660px;
    font-size: clamp(56px, 5vw, 64px);
    font-weight: 700;
    color: var(--bh-green-dark);
}

.hero-accent {
    color: var(--bh-green-mid);
}

.hero-sub {
    margin-top: 26px;
    max-width: 610px;
    font-size: 19px;
    line-height: 1.7;
    color: var(--bh-green-dark);
}

.hero-cta {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-illustration {
    justify-self: end;
    width: min(100%, 470px);
}

.hero-illustration svg {
    width: 100%;
    height: auto;
}

.features-band {
    padding: 0;
    background: var(--bh-white);
}

.features-inner {
    width: min(var(--bh-max-width), calc(100% - 64px));
    margin: 0 auto;
    padding: 26px 0 30px;
    border-top: 1px solid rgba(214, 234, 217, 0.75);
    border-bottom: 1px solid rgba(214, 234, 217, 0.75);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 32px;
    align-items: start;
}

.feature-stack {
    display: grid;
    gap: 18px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-check {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bh-green-soft);
    color: var(--bh-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.feature-item h2 {
    color: var(--bh-green-dark);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
}

.feature-item p,
.feature-item span {
    display: block;
    margin-top: 4px;
    color: var(--bh-green-dark);
    font-size: 19px;
    line-height: 1.6;
}

.feature-item.feature-item--single p,
.feature-item.feature-item--single span {
    margin-top: 0;
}

.portal-helps {
    padding: 18px 0 56px;
    background: var(--bh-white);
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.info-card {
    background: var(--bh-white);
    border: 1px solid var(--bh-green-border);
    box-shadow: var(--bh-shadow);
    border-radius: var(--bh-radius-card);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bh-shadow-hover);
}

.info-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--bh-green-soft) 0%, rgba(232, 245, 238, 0.72) 100%);
    color: var(--bh-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-card-icon svg {
    width: 34px;
    height: 34px;
}

.info-card h3 {
    width: 100%;
    font-size: 28px;
    font-weight: 700;
    color: var(--bh-green-dark);
}

.info-card p {
    margin-top: 14px;
    width: 100%;
    font-size: 19px;
    line-height: 1.7;
    color: var(--bh-green-dark);
    flex: 1;
}

.card-link,
.text-link,
.switch-link {
    color: var(--bh-green);
    text-decoration: none;
}

.card-link {
    margin: 24px auto 0;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.card-link::after,
.switch-link::after {
    content: "\2192";
    font-size: 1.05em;
}

.card-link:hover,
.text-link:hover,
.switch-link:hover {
    text-decoration: underline;
}

.categories {
    padding: 88px 0 92px;
    background: var(--bh-green-bg);
    border-top: 1px solid rgba(214, 234, 217, 0.8);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: var(--bh-radius-pill);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-green,
.badge-coral {
    background: var(--bh-green-soft);
    color: var(--bh-green-dark);
}

.categories h2,
.simple-page-title {
    font-size: clamp(34px, 3.3vw, 40px);
    font-weight: 700;
    color: var(--bh-green-dark);
}

.categories h2,
.section-badge + .simple-page-title {
    margin-top: 22px;
}

.section-sub,
.simple-page-lead {
    margin-top: 18px;
    max-width: 760px;
    font-size: 19px;
    line-height: 1.7;
    color: var(--bh-text-secondary);
}

.categories-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cat-card {
    background: var(--bh-white);
    border: 1px solid var(--bh-green-border);
    box-shadow: var(--bh-shadow);
    border-radius: var(--bh-radius-soft);
    padding: 30px 28px;
}

.cat-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--bh-green-dark);
}

.cat-card p {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--bh-text-secondary);
}

.reg-cta {
    padding: 92px 0 104px;
    background: var(--bh-white);
}

.reg-cards {
    width: min(var(--bh-max-width), calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.reg-card {
    min-height: 100%;
    padding: 40px;
    border-radius: var(--bh-radius-card);
    border: 1px solid var(--bh-green-border);
    box-shadow: var(--bh-shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reg-card--seeker {
    background: var(--bh-green-soft);
}

.reg-card--provider {
    background: linear-gradient(180deg, rgba(30, 125, 75, 0.98) 0%, rgba(15, 81, 50, 0.98) 100%);
}

.reg-card h3 {
    font-size: 28px;
    font-weight: 700;
}

.reg-card p {
    margin-top: 14px;
    font-size: 19px;
    line-height: 1.7;
}

.reg-card--seeker h3,
.reg-card--seeker p {
    color: var(--bh-green-dark);
}

.reg-card--provider h3,
.reg-card--provider p {
    color: var(--bh-white);
}

.reg-card .btn {
    margin-top: 26px;
}

.simple-page {
    padding: 88px 0 104px;
}

.simple-page--narrow {
    max-width: 540px;
}

.placeholder-card {
    margin-top: 32px;
    padding: 26px 28px;
    border-radius: var(--bh-radius-soft);
    border: 1px solid var(--bh-green-border);
    background: var(--bh-white);
    box-shadow: var(--bh-shadow);
    text-align: center;
    color: var(--bh-text-secondary);
    font-size: 18px;
    line-height: 1.65;
}

.switch-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 18px;
    font-weight: 600;
}

.site-footer {
    padding: 34px 0 46px;
    background: var(--bh-green-bg);
    border-top: 1px solid rgba(214, 234, 217, 0.8);
}

.footer-inner {
    width: min(var(--bh-max-width), calc(100% - 64px));
    margin: 0 auto;
    text-align: center;
}

.footer-tagline {
    font-size: 17px;
    color: var(--bh-text-secondary);
}

.footer-links {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--bh-text-secondary);
    font-size: 16px;
}

.footer-links a {
    color: var(--bh-green);
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
        padding: 104px 0 96px;
    }

    .hero-illustration {
        justify-self: center;
        max-width: 420px;
    }

    .features-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .cards-3,
    .categories-grid,
    .reg-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .container,
    .nav-top,
    .nav-links,
    .hero-inner,
    .features-inner,
    .reg-cards,
    .footer-inner {
        width: min(var(--bh-max-width), calc(100% - 40px));
    }

    .logo-name {
        font-size: 26px;
    }

    .logo-tagline {
        font-size: 16px;
    }

    .btn-nav-login {
        display: none;
    }

    .nav-hamburger {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        min-height: auto;
        padding: 14px 0 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 18px;
        border: 1px solid rgba(214, 234, 217, 0.85);
    }

    .hero-text h1 {
        font-size: clamp(46px, 9vw, 56px);
    }

    .hero-sub,
    .feature-item p,
    .feature-item span,
    .section-sub,
    .simple-page-lead,
    .info-card p,
    .reg-card p {
        font-size: 18px;
    }

    .cards-3,
    .categories-grid,
    .reg-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-helps,
    .categories,
    .reg-cta,
    .simple-page {
        padding: 64px 0;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 17px;
    }

    .container,
    .nav-top,
    .nav-links,
    .hero-inner,
    .features-inner,
    .reg-cards,
    .footer-inner {
        width: calc(100% - 32px);
    }

    .nav-top {
        min-height: 76px;
    }

    .logo-icon {
        width: 46px;
        height: 46px;
    }

    .logo-name {
        font-size: 22px;
    }

    .logo-tagline {
        display: none;
    }

    .btn-nav-register {
        min-width: 110px;
        padding-inline: 18px;
    }

    .hero::before {
        width: 200px;
        height: 200px;
        left: -80px;
    }

    .hero-inner {
        padding: 88px 0 82px;
    }

    .hero-text h1 {
        font-size: clamp(42px, 11vw, 52px);
    }

    .hero-sub {
        margin-top: 20px;
    }

    .hero-cta {
        margin-top: 30px;
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .info-card,
    .reg-card {
        padding: 32px 26px;
    }

    .info-card h3,
    .reg-card h3 {
        font-size: 26px;
    }

    .cat-card {
        padding: 26px 22px;
    }

    .cat-card h4 {
        font-size: 22px;
    }

    .section-badge {
        font-size: 12px;
    }

    .br-desktop {
        display: none;
    }
}

/* ==========================================================
   BitsHeart public homepage containment repair
   ========================================================== */

body.bh-public {
    background: var(--bh-white);
    color: var(--bh-text);
    font-family: var(--bh-font);
}

.bh-public .bh-page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

.bh-public .bh-public-nav.site-nav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(214, 234, 217, 0.9);
}

.bh-public .bh-nav-top,
.bh-public .bh-nav-links {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.bh-public .bh-nav-top {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bh-public .bh-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.bh-public .bh-brand-logo,
.bh-home .bh-card-icon,
.bh-home .bh-feature-icon,
.bh-home .bh-hero-illustration {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.bh-public .bh-brand-logo {
    width: 56px;
    height: 56px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(160deg, var(--bh-green) 0%, var(--bh-green-dark) 100%);
    box-shadow: 0 10px 24px rgba(16, 81, 50, 0.16);
}

.bh-public .bh-brand-logo svg,
.bh-home .bh-card-icon svg,
.bh-home .bh-hero-illustration svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
}

.bh-public .bh-brand-copy {
    display: flex;
    flex-direction: column;
}

.bh-public .bh-brand-name {
    font-size: 31px;
    font-weight: 700;
    line-height: 1;
    color: var(--bh-green-dark);
}

.bh-public .bh-brand-tagline {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--bh-text-secondary);
}

.bh-public .bh-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bh-public .bh-nav-button {
    min-width: 132px;
    padding: 14px 26px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}

.bh-public .bh-nav-button--ghost {
    border: 1px solid var(--bh-green);
    background: var(--bh-white);
    color: var(--bh-green-dark);
}

.bh-public .bh-nav-button--solid {
    background: linear-gradient(135deg, var(--bh-green) 0%, var(--bh-green-mid) 100%);
    color: var(--bh-white);
    box-shadow: 0 10px 24px rgba(30, 125, 75, 0.18);
}

.bh-public .bh-nav-links {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bh-public .bh-nav-links a {
    padding: 10px 18px;
    border-radius: var(--bh-radius-pill);
    color: var(--bh-green-dark);
    font-size: 17px;
    font-weight: 500;
}

.bh-public .bh-nav-links a:hover {
    background: var(--bh-green-bg);
}

.bh-public .bh-nav-links a.active {
    background: var(--bh-green-soft);
    color: var(--bh-green-dark);
    font-weight: 600;
}

.bh-home .bh-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bh-green-bg) 0%, var(--bh-white) 100%);
}

.bh-home .bh-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    align-items: center;
    gap: 80px;
    padding-top: 110px;
    padding-bottom: 110px;
}

.bh-home .bh-hero-title {
    max-width: 660px;
    font-size: clamp(56px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--bh-green-dark);
}

.bh-home .bh-hero-accent {
    color: var(--bh-green-mid);
}

.bh-home .bh-hero-sub {
    margin-top: 28px;
    max-width: 620px;
    font-size: 19px;
    line-height: 1.7;
    color: var(--bh-green-dark);
}

.bh-home .bh-hero-actions {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.bh-home .bh-hero-button {
    min-width: 202px;
}

.bh-home .bh-hero-illustration {
    width: 100%;
    max-width: 460px;
    justify-self: end;
    aspect-ratio: 470 / 390;
}

.bh-home .bh-features {
    background: var(--bh-white);
}

.bh-home .bh-features-inner {
    padding-top: 26px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(214, 234, 217, 0.75);
    border-bottom: 1px solid rgba(214, 234, 217, 0.75);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.bh-home .bh-feature-stack {
    display: grid;
    gap: 18px;
}

.bh-home .bh-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bh-home .bh-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bh-green-soft);
    color: var(--bh-green);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.bh-home .bh-feature-heading {
    color: var(--bh-green-dark);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
}

.bh-home .bh-feature-item p,
.bh-home .bh-feature-item span {
    display: block;
    margin-top: 4px;
    color: var(--bh-green-dark);
    font-size: 19px;
    line-height: 1.6;
}

.bh-home .bh-feature-item.feature-item--single span {
    margin-top: 0;
}

.bh-home .bh-cards-section {
    padding-top: 18px;
    padding-bottom: 56px;
    background: var(--bh-white);
}

.bh-home .bh-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.bh-home .bh-card {
    min-height: 100%;
    background: var(--bh-white);
    border: 1px solid var(--bh-green-border);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(16, 81, 50, 0.08);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.bh-home .bh-card-icon {
    width: 72px;
    height: 72px;
    padding: 18px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--bh-green-soft) 0%, rgba(232, 245, 238, 0.72) 100%);
    color: var(--bh-green-dark);
}

.bh-home .bh-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--bh-green-dark);
}

.bh-home .bh-card-body {
    margin-top: 14px;
    flex: 1;
    font-size: 19px;
    line-height: 1.7;
    color: var(--bh-green-dark);
}

.bh-home .bh-card-link {
    margin: 24px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bh-green);
    font-size: 18px;
    font-weight: 600;
}

.bh-home .bh-card-link:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .bh-home .bh-hero-inner,
    .bh-home .bh-features-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .bh-home .bh-hero-inner {
        padding-top: 96px;
        padding-bottom: 92px;
    }

    .bh-home .bh-hero-illustration {
        justify-self: center;
        max-width: 360px;
    }

    .bh-home .bh-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .bh-public .bh-page-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bh-public .bh-brand-name {
        font-size: 26px;
    }

    .bh-public .bh-brand-tagline {
        font-size: 16px;
    }

    .bh-home .bh-hero-title {
        font-size: clamp(46px, 9vw, 56px);
    }

    .bh-home .bh-hero-sub,
    .bh-home .bh-feature-item p,
    .bh-home .bh-feature-item span,
    .bh-home .bh-card-body {
        font-size: 18px;
    }

    .bh-home .bh-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 576px) {
    .bh-public .bh-page-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bh-public .bh-nav-top {
        min-height: 76px;
    }

    .bh-public .bh-brand-logo {
        width: 48px;
        height: 48px;
        padding: 10px;
        border-radius: 14px;
    }

    .bh-public .bh-brand-name {
        font-size: 22px;
    }

    .bh-public .bh-brand-tagline {
        display: none;
    }

    .bh-home .bh-hero-inner {
        padding-top: 84px;
        padding-bottom: 80px;
        gap: 28px;
    }

    .bh-home .bh-hero-title {
        font-size: clamp(42px, 11vw, 52px);
    }

    .bh-home .bh-hero-actions {
        margin-top: 30px;
        flex-direction: column;
        align-items: stretch;
    }

    .bh-home .bh-hero-illustration {
        max-width: 320px;
    }

    .bh-home .bh-card {
        padding: 32px 26px;
    }

    .bh-home .bh-card-title {
        font-size: 26px;
    }
}
