/* =========================================================
   wealth8.css — Wealth8 Custom Stylesheet
   Brand prefix: w8
   ========================================================= */

/* ── DM Sans Self-Hosted ───────────────────────────────── */
@font-face {
    font-family: 'DM Sans';
    src: url('../webfonts/DMSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../webfonts/DMSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../webfonts/DMSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../webfonts/DMSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Reset / Base ──────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #44445C;
    background-color: #FAFAF8;
    margin: 0;
    padding: 0;
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1C1C2E;
    margin-top: 0;
}

h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.3px;
}

h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.2px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

h4 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #BE123C;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #9F0F33;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Nav ───────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 68px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.nav-transparent {
    background-color: #FFFFFF;
}

.site-nav.nav-solid {
    background-color: #FFFFFF;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
}

.site-nav.nav-scrolled {
    background-color: #FFFFFF;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
}

.site-nav .navbar {
    height: 68px;
    padding: 0;
}

.site-nav .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.site-nav .navbar-brand img {
    height: 36px;
    width: auto;
}

.site-nav .navbar-nav {
    align-items: center;
    gap: 4px;
}

.site-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.05px;
    color: #1C1C2E;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav .nav-link:hover {
    color: #BE123C;
    background-color: rgba(190,18,60,0.05);
}

.site-nav .nav-link.active {
    color: #BE123C;
}

.site-nav.nav-transparent .nav-link {
    color: #1C1C2E;
}

.site-nav.nav-transparent .nav-link:hover {
    color: #BE123C;
    background-color: rgba(190,18,60,0.05);
}

.site-nav.nav-transparent .navbar-brand {
    filter: none;
}

.site-nav .w8-btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.25px;
    color: #FFFFFF;
    background-color: #BE123C;
    border: none;
    border-radius: 6px;
    padding: 13px 30px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease;
    margin-left: 8px;
}

.site-nav .w8-btn-nav:hover {
    background-color: #9F0F33;
    color: #FFFFFF;
}

.site-nav .navbar-toggler {
    border: 1.5px solid rgba(28,28,46,0.2);
    padding: 6px 10px;
}

.site-nav .navbar-toggler:focus {
    box-shadow: none;
}

.site-nav.nav-transparent .navbar-toggler {
    border-color: rgba(28,28,46,0.2);
}

.site-nav.nav-transparent .navbar-toggler-icon {
    filter: none;
}

@media (max-width: 991px) {
    .site-nav .navbar-collapse {
        background-color: #FFFFFF;
        border-radius: 12px;
        padding: 16px 20px;
        margin-top: 8px;
        box-shadow: 0 6px 28px rgba(28,28,46,0.13);
    }

    .site-nav.nav-transparent .navbar-collapse {
        background-color: #FFFFFF;
    }

    .site-nav.nav-transparent .nav-link {
        color: #1C1C2E;
    }

    .site-nav .w8-btn-nav {
        margin-left: 0;
        margin-top: 8px;
        display: block;
        text-align: center;
    }

    .site-nav .navbar-nav {
        gap: 2px;
    }
}

/* ── Buttons ───────────────────────────────────────────── */
.w8-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.25px;
    color: #FFFFFF;
    background-color: #BE123C;
    border: none;
    border-radius: 6px;
    padding: 13px 30px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.w8-btn-primary:hover {
    background-color: #9F0F33;
    color: #FFFFFF;
}

.w8-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.25px;
    color: #BE123C;
    background-color: transparent;
    border: 1.5px solid #BE123C;
    border-radius: 6px;
    padding: 13px 30px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.w8-btn-outline:hover {
    background-color: rgba(190,18,60,0.08);
    color: #BE123C;
}

.w8-btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.25px;
    color: #F5F3F0;
    background-color: transparent;
    border: 1.5px solid rgba(245,243,240,0.5);
    border-radius: 6px;
    padding: 13px 30px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.w8-btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    color: #FFFFFF;
    border-color: rgba(245,243,240,0.8);
}

.w8-btn-sm {
    padding: 9px 20px;
    font-size: 14px;
}

/* ── Sections ──────────────────────────────────────────── */
.w8-section {
    padding: 88px 0;
}

.w8-section-compact {
    padding: 56px 0;
}

.w8-section-hero-home {
    padding: 110px 0 90px;
}

.w8-bg-base {
    background-color: #FAFAF8;
}

.w8-bg-alt {
    background-color: #F4F0EB;
}

.w8-bg-dark {
    background-color: #1C1C2E;
}

.w8-bg-white {
    background-color: #FFFFFF;
}

.w8-section-heading {
    margin-bottom: 44px;
}

.w8-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #BE123C;
    margin-bottom: 12px;
}

/* ── Hero Home ─────────────────────────────────────────── */
.w8-hero-home {
    background-color: #1C1C2E;
    padding-top: 178px;
    padding-bottom: 90px;
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.w8-hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(190,18,60,0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.w8-hero-home .container {
    position: relative;
    z-index: 1;
}

.w8-hero-home h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: #F5F3F0;
    margin-bottom: 24px;
}

.w8-hero-home .w8-hero-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    color: #C8C4BE;
    margin-bottom: 36px;
    max-width: 520px;
}

.w8-hero-home .w8-hero-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(28,28,46,0.4);
}

.w8-hero-home .w8-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Sub-page Hero ─────────────────────────────────────── */
.w8-hero-sub-page {
    background-color: #1C1C2E;
    padding: 120px 0 64px;
    text-align: center;
}

.w8-hero-sub-page h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.3px;
    color: #F5F3F0;
    margin-bottom: 16px;
}

.w8-hero-sub-page p {
    font-size: 18px;
    color: #C8C4BE;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Stats Bar ─────────────────────────────────────────── */
.w8-stats-bar {
    padding: 56px 0;
    background-color: #FAFAF8;
}

.w8-stat-item {
    text-align: center;
    padding: 8px 16px;
}

.w8-stat-number {
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #BE123C;
    display: block;
    margin-bottom: 6px;
}

.w8-stat-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #7B7B96;
}

/* ── Feature Cards ─────────────────────────────────────── */
.w8-feature-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4DF;
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.w8-feature-card:hover {
    box-shadow: 0 6px 28px rgba(28,28,46,0.13);
    transform: translateY(-2px);
}

.w8-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(190,18,60,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.w8-feature-icon i {
    font-size: 22px;
    color: #BE123C;
}

.w8-feature-card h4 {
    font-size: 19px;
    font-weight: 600;
    color: #1C1C2E;
    margin-bottom: 10px;
}

.w8-feature-card p {
    font-size: 15px;
    color: #44445C;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* ── How It Works ──────────────────────────────────────── */
.w8-step-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4DF;
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
    position: relative;
}

.w8-step-number {
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    color: rgba(190,18,60,0.12);
    margin-bottom: 16px;
    display: block;
}

.w8-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: #BE123C;
    display: none !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.w8-step-icon i {
    font-size: 22px;
    color: #FFFFFF;
}

.w8-step-card h4 {
    font-size: 19px;
    font-weight: 600;
    color: #1C1C2E;
    margin-bottom: 10px;
}

.w8-step-card p {
    font-size: 15px;
    color: #44445C;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* ── Testimonials ──────────────────────────────────────── */
.w8-testimonial-card {
    background-color: #262638;
    border: 1px solid #33334A;
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.w8-testimonial-card .w8-quote-mark {
    font-size: 40px;
    line-height: 1;
    color: #BE123C;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.w8-testimonial-card .w8-quote-text {
    font-size: 16px;
    color: #C8C4BE;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

.w8-testimonial-card .w8-quote-author {
    font-size: 14px;
    font-weight: 500;
    color: #8A877F;
    letter-spacing: 0.1px;
}

/* ── CTA Banner ────────────────────────────────────────── */
.w8-cta-banner {
    background-color: #BE123C;
    padding: 56px 0;
    text-align: center;
}

.w8-cta-banner h2 {
    color: #FFFFFF;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 16px;
}

.w8-cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.w8-cta-banner .w8-btn-cta-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.25px;
    color: #BE123C;
    background-color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 13px 30px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.w8-cta-banner .w8-btn-cta-light:hover {
    background-color: #F5F3F0;
    color: #BE123C;
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
    background-color: #131320;
    padding: 64px 0 0;
}

.site-footer .w8-footer-brand img {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.site-footer .w8-footer-tagline {
    font-size: 14px;
    color: #8A877F;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 240px;
}

.site-footer .w8-fca-disclaimer {
    font-size: 12px;
    color: #8A877F;
    line-height: 1.5;
    max-width: 260px;
    border-top: 1px solid #33334A;
    padding-top: 16px;
    margin-top: 0;
}

.site-footer h6 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #F5F3F0;
    margin-bottom: 20px;
}

.site-footer .w8-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .w8-footer-links li {
    margin-bottom: 10px;
}

.site-footer .w8-footer-links a {
    font-size: 14px;
    color: #C8C4BE;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .w8-footer-links a:hover {
    color: #BE123C;
}

.site-footer .w8-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .w8-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #C8C4BE;
    line-height: 1.5;
}

.site-footer .w8-footer-contact li i {
    color: #BE123C;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.site-footer .w8-footer-bottom {
    border-top: 1px solid #33334A;
    padding: 20px 0;
    margin-top: 48px;
}

.site-footer .w8-footer-bottom .w8-footer-fca-full {
    font-size: 12px;
    color: #8A877F;
    line-height: 1.5;
    margin-bottom: 12px;
}

.site-footer .w8-footer-bottom .w8-copyright {
    font-size: 13px;
    color: #8A877F;
}

/* ── Cookie Banner ─────────────────────────────────────── */
.w8-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #1C1C2E;
    border-top: 1px solid #33334A;
    padding: 18px 0;
    display: none;
}

.w8-cookie-banner .w8-cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.w8-cookie-banner p {
    font-size: 14px;
    color: #C8C4BE;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.w8-cookie-banner p a {
    color: #BE123C;
    text-decoration: underline;
}

.w8-cookie-banner .w8-cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.w8-cookie-banner .w8-btn-accept {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #BE123C;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.w8-cookie-banner .w8-btn-accept:hover {
    background-color: #9F0F33;
}

.w8-cookie-banner .w8-btn-decline {
    font-size: 14px;
    font-weight: 600;
    color: #8A877F;
    background-color: transparent;
    border: 1.5px solid #44445C;
    border-radius: 6px;
    padding: 9px 20px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.w8-cookie-banner .w8-btn-decline:hover {
    border-color: #7B7B96;
    color: #C8C4BE;
}

/* ── Blog Cards ────────────────────────────────────────── */
.w8-blog-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4DF;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.w8-blog-card:hover {
    box-shadow: 0 6px 28px rgba(28,28,46,0.13);
    transform: translateY(-2px);
}

.w8-blog-card .w8-card-img {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.w8-blog-card .w8-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.w8-blog-card:hover .w8-card-img img {
    transform: scale(1.03);
}

.w8-blog-card .w8-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.w8-blog-card .w8-card-date {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #7B7B96;
    margin-bottom: 10px;
}

.w8-blog-card .w8-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1C1C2E;
    line-height: 1.35;
    margin-bottom: 10px;
}

.w8-blog-card .w8-card-title a {
    color: #1C1C2E;
    text-decoration: none;
    transition: color 0.2s ease;
}

.w8-blog-card .w8-card-title a:hover {
    color: #BE123C;
}

.w8-blog-card .w8-card-excerpt {
    font-size: 14px;
    color: #44445C;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

.w8-blog-card .w8-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #BE123C;
    text-decoration: none;
    margin-top: auto;
    padding-top: 16px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.w8-blog-card .w8-read-more:hover {
    color: #9F0F33;
    gap: 10px;
}

/* ── Blog Article ──────────────────────────────────────── */
.w8-article-hero {
    background-color: #1C1C2E;
    padding: 120px 0 64px;
    text-align: center;
}

.w8-article-hero h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.3px;
    color: #F5F3F0;
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.w8-article-hero .w8-article-meta {
    font-size: 14px;
    color: #8A877F;
    letter-spacing: 0.1px;
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.w8-article-body {
    padding: 64px 0 88px;
    background-color: #FAFAF8;
}

.w8-article-body .w8-article-thumb {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    display: block;
}

.w8-article-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1C1C2E;
    margin-top: 48px;
    margin-bottom: 16px;
}

.w8-article-content h3 {
    font-size: 21px;
    font-weight: 600;
    color: #1C1C2E;
    margin-top: 32px;
    margin-bottom: 12px;
}

.w8-article-content p {
    font-size: 17px;
    color: #44445C;
    line-height: 1.75;
    margin-bottom: 20px;
}

.w8-article-content ul,
.w8-article-content ol {
    font-size: 17px;
    color: #44445C;
    line-height: 1.75;
    margin-bottom: 20px;
    padding-left: 24px;
}

.w8-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 28px 0;
}

.w8-article-content blockquote {
    border-left: 4px solid #BE123C;
    padding: 16px 24px;
    margin: 32px 0;
    background-color: rgba(190,18,60,0.04);
    border-radius: 0 8px 8px 0;
}

.w8-article-content blockquote p {
    font-size: 18px;
    font-style: italic;
    color: #1C1C2E;
    margin: 0;
}

/* ── Related Articles ──────────────────────────────────── */
.w8-related {
    background-color: #F4F0EB;
    padding: 64px 0;
}

.w8-related h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1C1C2E;
    margin-bottom: 32px;
}

.w8-related-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4DF;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.w8-related-card .w8-related-img {
    height: 180px;
    overflow: hidden;
}

.w8-related-card .w8-related-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.w8-related-card .w8-related-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.w8-related-card .w8-related-date {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #7B7B96;
    margin-bottom: 8px;
}

.w8-related-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1C1C2E;
    margin-bottom: 0;
}

.w8-related-card h5 a {
    color: #1C1C2E;
    text-decoration: none;
    transition: color 0.2s ease;
}

.w8-related-card h5 a:hover {
    color: #BE123C;
}

/* ── Team Cards ────────────────────────────────────────── */
.w8-team-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4DF;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px 24px;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
    transition: box-shadow 0.2s ease;
}

.w8-team-card:hover {
    box-shadow: 0 6px 28px rgba(28,28,46,0.13);
}

.w8-team-card .w8-team-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
}

.w8-team-card .w8-team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.w8-team-card .w8-team-info {
    padding: 0;
    text-align: center;
}

.w8-team-card .w8-team-name {
    font-size: 19px;
    font-weight: 600;
    color: #1C1C2E;
    margin-bottom: 4px;
}

.w8-team-card .w8-team-title {
    font-size: 14px;
    font-weight: 500;
    color: #BE123C;
    letter-spacing: 0.1px;
}

/* ── Product Page ──────────────────────────────────────── */
.w8-feature-row {
    padding: 64px 0;
}

.w8-feature-row .w8-feature-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1C1C2E;
    margin-bottom: 16px;
}

.w8-feature-row .w8-feature-text p {
    font-size: 17px;
    color: #44445C;
    line-height: 1.7;
    margin-bottom: 20px;
}

.w8-feature-row .w8-feature-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(28,28,46,0.13);
}

.w8-feature-row .w8-feature-img img {
    width: 100%;
    height: auto;
    display: block;
}

.w8-investment-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4DF;
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.w8-investment-card:hover {
    box-shadow: 0 6px 28px rgba(28,28,46,0.13);
    transform: translateY(-2px);
}

.w8-investment-card .w8-invest-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(190,18,60,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.w8-investment-card .w8-invest-icon i {
    font-size: 22px;
    color: #BE123C;
}

.w8-investment-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1C1C2E;
    margin-bottom: 10px;
}

.w8-investment-card .w8-invest-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #BE123C;
    background-color: rgba(190,18,60,0.08);
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 14px;
}

.w8-investment-card p {
    font-size: 15px;
    color: #44445C;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* ── About Page ────────────────────────────────────────── */
.w8-milestone-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4DF;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
}

.w8-milestone-card .w8-milestone-value {
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #BE123C;
    margin-bottom: 8px;
    display: block;
}

.w8-milestone-card .w8-milestone-label {
    font-size: 14px;
    font-weight: 500;
    color: #7B7B96;
    letter-spacing: 0.1px;
}

.w8-value-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4DF;
    border-top: 3px solid #BE123C;
    border-radius: 0 0 12px 12px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(28,28,46,0.07);
}

.w8-value-card .w8-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(190,18,60,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.w8-value-card .w8-value-icon i {
    font-size: 22px;
    color: #BE123C;
}

.w8-value-card h4 {
    font-size: 19px;
    font-weight: 600;
    color: #1C1C2E;
    margin-bottom: 10px;
}

.w8-value-card p {
    font-size: 15px;
    color: #44445C;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* ── Contact Page ──────────────────────────────────────── */
.w8-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #44445C;
    margin-bottom: 6px;
}

.w8-contact-form input,
.w8-contact-form textarea {
    width: 100%;
    background-color: #FFFFFF;
    color: #1C1C2E;
    border: 1.5px solid #E8E4DF;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    outline: none;
}

.w8-contact-form input::placeholder,
.w8-contact-form textarea::placeholder {
    color: #9CA3AF;
}

.w8-contact-form input:focus,
.w8-contact-form textarea:focus {
    border-color: #BE123C;
}

.w8-contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.w8-contact-form .w8-form-group {
    margin-bottom: 20px;
}

.w8-contact-info h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1C1C2E;
    margin-bottom: 24px;
}

.w8-contact-info .w8-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.w8-contact-info .w8-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: rgba(190,18,60,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.w8-contact-info .w8-info-icon i {
    font-size: 18px;
    color: #BE123C;
}

.w8-contact-info .w8-info-text .w8-info-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #7B7B96;
    margin-bottom: 2px;
    display: block;
}

.w8-contact-info .w8-info-text .w8-info-value {
    font-size: 15px;
    color: #1C1C2E;
    font-weight: 500;
}

/* ── Legal Pages ───────────────────────────────────────── */
.w8-legal-content {
    padding: 72px 0 88px;
    background-color: #FAFAF8;
}

.w8-legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1C1C2E;
    margin-top: 44px;
    margin-bottom: 16px;
}

.w8-legal-content h2:first-child {
    margin-top: 0;
}

.w8-legal-content p,
.w8-legal-content li {
    font-size: 16px;
    color: #44445C;
    line-height: 1.75;
}

.w8-legal-content ul,
.w8-legal-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

/* ── CTA Dark Section ──────────────────────────────────── */
.w8-cta-dark {
    background-color: #1C1C2E;
    padding: 72px 0;
    text-align: center;
}

.w8-cta-dark h2 {
    font-size: 34px;
    font-weight: 700;
    color: #F5F3F0;
    margin-bottom: 16px;
}

.w8-cta-dark p {
    font-size: 18px;
    color: #C8C4BE;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Platform intro section ────────────────────────────── */
.w8-platform-intro {
    padding: 88px 0;
    background-color: #FAFAF8;
}

.w8-platform-intro h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1C1C2E;
    margin-bottom: 20px;
}

.w8-platform-intro p {
    font-size: 17px;
    color: #44445C;
    line-height: 1.7;
    margin-bottom: 20px;
}

.w8-platform-intro .w8-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.w8-platform-intro .w8-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: #44445C;
    margin-bottom: 12px;
    line-height: 1.55;
}

.w8-platform-intro .w8-bullet-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #BE123C;
    flex-shrink: 0;
    margin-top: 7px;
}

.w8-platform-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(28,28,46,0.13);
}

.w8-platform-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Product CTA card ──────────────────────────────────── */
.w8-product-cta {
    background-color: #FAFAF8;
    padding: 72px 0;
}

.w8-product-cta-card {
    background-color: #BE123C;
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.w8-product-cta-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 14px;
}

.w8-product-cta-card p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}

/* ── 404 Page ──────────────────────────────────────────── */
.w8-404-page {
    background-color: #1C1C2E;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.w8-404-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
}

.w8-404-nav img {
    height: 36px;
    filter: brightness(0) invert(1);
}

.w8-404-number {
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    color: #BE123C;
    display: block;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.w8-404-page h2 {
    font-size: 32px;
    font-weight: 700;
    color: #F5F3F0;
    margin-bottom: 16px;
}

.w8-404-page p {
    font-size: 17px;
    color: #C8C4BE;
    max-width: 440px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

/* ── About mission section ─────────────────────────────── */
.w8-mission-section {
    padding: 88px 0;
    background-color: #FAFAF8;
}

.w8-mission-section h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1C1C2E;
    margin-bottom: 24px;
}

.w8-mission-section p {
    font-size: 17px;
    color: #44445C;
    line-height: 1.75;
    margin-bottom: 20px;
}

.w8-ceo-photo {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(28,28,46,0.13);
}

.w8-ceo-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Utilities ─────────────────────────────────────────── */
.w8-text-accent {
    color: #BE123C;
}

.w8-divider {
    width: 48px;
    height: 3px;
    background-color: #BE123C;
    border-radius: 2px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .w8-hero-home {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .w8-hero-home h1 {
        font-size: 36px;
    }

    .w8-hero-home .w8-hero-img {
        margin-top: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .w8-stat-number {
        font-size: 36px;
    }

    .w8-section {
        padding: 64px 0;
    }

    .w8-404-number {
        font-size: 72px;
    }

    .w8-product-cta-card {
        padding: 40px 28px;
    }
}

/* === Logo v2: dual-variant dark/light === */
.logo-img {
  max-height: 40px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

/* Wealth8 is light-theme site; always show dark-text logo variant. */
/* Nav default: show dark logo (for light bg), hide light logo */
.logo-img--light { display: none !important; }
.logo-img--dark  { display: inline-block !important; }

/* When nav has dark background (hero overlay, scroll state), swap variants */
.navbar-dark .logo-img--light,
.c-nav--dark .logo-img--light,
.nav--hero .logo-img--light,
body.hero-dark .logo-img--light {
  display: inline-block !important;
}
.navbar-dark .logo-img--dark,
.c-nav--dark .logo-img--dark,
.nav--hero .logo-img--dark,
body.hero-dark .logo-img--dark {
  display: none !important;
}

/* Footer logo always shows light variant */
footer .logo-img { max-height: 48px; }
