/* ============================================================
   homepage-additions.css
   Replace the previous version entirely with this file.
   ============================================================ */

/* ── Home reports strip ───────────────────────────────────── */
.mdw-home-reports {
    background: #fff;
    padding: 1.75rem 0 1.25rem;
    border-bottom: 1px solid var(--light-grey, #e0e0e0);
}

.home-report-card {
    background: var(--off-white, #f8f9fc);
    border: 1px solid var(--light-grey, #e0e0e0);
    border-radius: var(--radius, 6px);
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.home-report-card:hover {
    box-shadow: 0 4px 20px rgba(26,35,126,0.1);
    transform: translateY(-2px);
}

.home-report-card--featured {
    background: #fff;
    border: 2px solid var(--navy, #1A237E);
}

.home-report-card-icon {
    width: 40px;
    height: 40px;
    background: var(--navy, #1A237E);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.home-report-card-icon .bi {
    color: var(--m-blue, #5CB3DA);
    font-size: 1.1rem;
}

.home-report-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-report-card-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy, #1A237E);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.home-report-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy, #1A237E);
    margin-bottom: 0.4rem;
}

.home-report-card-desc {
    font-size: 0.85rem;
    color: var(--text-light, #555);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex: 1;
}

.home-report-card-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy, #1A237E);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    transition: gap 0.15s;
}

.home-report-card-link:hover {
    gap: 0.5rem;
    color: var(--m-blue, #5CB3DA);
    text-decoration: none;
}

/* ── Home feature sections ────────────────────────────────── */
.mdw-home-feature {
    padding: 4rem 0;
}

.mdw-home-feature--dark {
    background: var(--navy, #1A237E);
}

/* ── Home case study cards ────────────────────────────────── */
.home-case-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-case-card {
    display: block;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius, 6px);
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, border-color 0.2s;
}

.home-case-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    text-decoration: none;
    color: inherit;
}

.home-case-card--light {
    background: #fff;
    border: 1px solid var(--light-grey, #e0e0e0);
    border-left: 4px solid var(--navy, #1A237E);
}

.home-case-card--light:hover {
    background: #f8f9fc;
    border-left-color: var(--m-blue, #5CB3DA);
    color: inherit;
}

.hcc-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--m-blue, #5CB3DA);
    margin-bottom: 0.4rem;
}

.hcc-quote {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    margin: 0 0 0.5rem;
    padding: 0;
    border: none;
    line-height: 1.5;
}

.hcc-outcome {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.hcc-outcome--success {
    background: rgba(40,167,69,0.15);
    color: #7adb95;
}

.hcc-outcome--warning {
    background: rgba(240,165,0,0.15);
    color: #f5c842;
}

.hcc-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--m-blue, #5CB3DA);
    display: flex;
    align-items: center;
}

/* ── Factory spec visual ──────────────────────────────────── */
.factory-spec-visual {
    background: #fff;
    border-radius: var(--radius, 6px);
    box-shadow: 0 12px 40px rgba(26,35,126,0.12);
    overflow: hidden;
    border: 1px solid var(--light-grey, #e0e0e0);
}

.fsv-header {
    background: var(--navy, #1A237E);
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fsv-title {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.fsv-title .bi { color: var(--m-blue, #5CB3DA); }

.fsv-reg {
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.08em;
}

.fsv-section-label {
    padding: 0.6rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light, #666);
    background: #f8f9fc;
    border-bottom: 1px solid var(--light-grey, #e0e0e0);
}

.fsv-options { padding: 0.25rem 0; }

.fsv-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #f5f5f5;
}

.fsv-option:last-child { border-bottom: none; }

.fsv-option--not-fitted {
    color: #c52b30;
    background: #fff8f8;
}

.fsv-option--not-fitted .bi {
    color: #c52b30;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Home CTA strip ───────────────────────────────────────── */
.mdw-home-cta {
    background: var(--navy, #1A237E);
    padding: 3rem 0;
}

.mdw-home-cta h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.mdw-home-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ── Large button variant ─────────────────────────────────── */
.btn-lg-mdw {
    font-size: 1.05rem;
    padding: 0.85rem 2rem;
}

a.home-report-card {
    text-decoration: none;
    color: inherit;
}

a.home-report-card:hover {
    text-decoration: none;
    color: inherit;
}