/* ============================================================
   BUSINESS PLANNING & GROWTH STRATEGY LANDING PAGE
   (core/templates/core/service_pages/business-planning-growth-strategy.html)

   Loaded with service-pages.css, which supplies the shared pieces (.cs-grid,
   sticky .cs-rail, cards, tables, chips, quote factors, FAQ grid, reviews,
   offices, related). Everything here is prefixed .bp- and is this page's own
   look: an olive hero with an illustrated scenario chart, reader tabs, scenario cards, funding routes, a chevron ladder of
   steps and a mistakes table.
   ============================================================ */

.bp-hero {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif;
    background:
        radial-gradient(700px 340px at 96% -10%, rgba(132, 204, 22, 0.18) 0%, rgba(132, 204, 22, 0) 70%),
        radial-gradient(600px 320px at 0% 105%, rgba(250, 204, 21, 0.14) 0%, rgba(250, 204, 21, 0) 70%),
        linear-gradient(135deg, #f7fee7 0%, #fefce8 55%, #ecfccb 100%) !important;
    border-bottom: 1px solid #dfe9c5;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0 0 !important;
}
.bp-hero > .container {
    max-width: none;
    width: 100%;
    padding-left: clamp(1.5rem, 6vw, 7rem);
    padding-right: clamp(1.5rem, 6vw, 7rem);
}
@media (min-width: 1280px) {
    .bp-hero > .container { padding-right: max(clamp(1.5rem, 6vw, 7rem), 108px); }
}

.bp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: clamp(0.75rem, 2.5vw, 2rem);
}
.bp-crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: #334155; text-decoration: none; }
.bp-crumbs a:hover { color: #4d7c0f; }
.bp-crumbs span[aria-current] { color: #0f172a; }
.bp-crumbs span[aria-hidden] { color: #94a3b8; }

.bp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.bp-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3f6212;
    background: #ecfccb;
    border: 1px solid #d9f99d;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1rem;
}
.bp-hero h1 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 1rem;
}
.bp-hero-intro { font-size: 1.06rem; line-height: 1.7; color: #1e293b; margin: 0 0 1.25rem; max-width: 700px; }
.bp-hero-points { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.55rem; }
.bp-hero-points li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; font-weight: 600; color: #1e293b; }
.bp-hero-points .cs-ico {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    color: #ffffff;
    background: #4d7c0f;
    stroke-width: 3;
}
.bp-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.bp-hero-actions .svc-rd-btn { font-size: 0.92rem; padding: 0.8rem 1.4rem; gap: 0.5rem; }
.bp-hero-actions .cs-ico { width: 16px; height: 16px; }

/* Signature visual: the illustrated scenario chart */
.bp-chart {
    width: 100%;
    max-width: 500px;
    justify-self: end;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px -28px rgba(54, 83, 20, 0.45), 0 2px 8px rgba(15, 23, 42, 0.05);
}
.bp-chart-head { padding: 1.1rem 1.4rem 1rem; background: linear-gradient(135deg, #1a2e05 0%, #365314 60%, #3f6212 100%); }
.bp-chart-title {
    display: block;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}
.bp-chart-sub { display: block; font-size: 0.8rem; font-weight: 600; color: #d9f99d; margin-top: 0.1rem; }
.bp-chart-body { padding: 1rem 1.2rem 0.5rem; }
.bp-svg { display: block; width: 100%; height: auto; }
.bp-grid line { stroke: #e6eed3; stroke-width: 1; }
.bp-grid .bp-axis { stroke: #b6c790; stroke-width: 1.5; }
.bp-area { fill: rgba(132, 204, 22, 0.13); }
.bp-line { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.bp-l-up { stroke: #65a30d; }
.bp-l-base { stroke: #365314; stroke-width: 4.5; }
.bp-l-down { stroke: #d97706; stroke-dasharray: 9 7; }
.bp-flags line { stroke: #9aab78; stroke-width: 1.5; stroke-dasharray: 4 4; }
.bp-flags circle { fill: #ffffff; stroke: #365314; stroke-width: 3; }
.bp-flags text { fill: #3f6212; font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 700; }
.bp-legend { list-style: none; margin: 0.4rem 0 0.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: center; }
.bp-legend li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 700; color: #1e293b; }
.bp-key { display: inline-block; width: 22px; height: 0; border-top: 4px solid; border-radius: 4px; }
.bp-key-up { border-color: #65a30d; }
.bp-key-base { border-color: #365314; border-top-width: 5px; }
.bp-key-down { border-color: #d97706; border-top-style: dashed; }
.bp-chart-foot { margin: 0; padding: 0.7rem 1.4rem 1rem; font-size: 0.78rem; line-height: 1.5; font-weight: 600; color: #475569; }

.bp-stats {
    list-style: none;
    margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #d9e5bb;
}
.bp-stats li { padding: 1.15rem 1rem 1.3rem; text-align: center; }
.bp-stats li + li { border-left: 1px solid #d9e5bb; }
.bp-stats strong {
    display: block;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: #3f6212;
    line-height: 1.15;
}
.bp-stats span { display: block; font-size: 0.82rem; font-weight: 600; color: #475569; margin-top: 0.2rem; }

/* ---------- Shared tint ---------- */
.bp-aud-panel .cs-tile,
.bp-fund-card .cs-tile {
    color: #4d7c0f;
    background: linear-gradient(140deg, #f7fee7, #ecfccb);
    border-color: #d9f99d;
    transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1), background 0.25s, color 0.25s;
}

/* ---------- Reader tabs ---------- */
.bp-tablist { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.bp-tab {
    min-height: 40px;
    padding: 0.4rem 1rem;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    background: #f7fee7;
    border: 1.5px solid #d9e5bb;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.bp-tab[aria-selected="true"] { color: #ffffff; background: linear-gradient(135deg, #3f6212, #4d7c0f); border-color: transparent; }
.bp-tab:focus-visible { outline: 3px solid #bef264; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    .bp-tab:hover:not([aria-selected="true"]) { transform: translateY(-2px); border-color: #a3e635; background: #ecfccb; }
}
.bp-aud { display: grid; gap: 0.85rem; }
.bp-aud-panel { background: #ffffff; border: 1px solid #dfe9c5; border-left: 5px solid #84cc16; border-radius: 16px; padding: 1.1rem 1.2rem 1.2rem; }
.bp-aud.is-tabs .bp-aud-panel { display: none; }
.bp-aud.is-tabs .bp-aud-panel.is-active { display: block; }
.bp-aud-panel header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.bp-aud-who { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #4d7c0f; }
.bp-aud-panel h3 { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.2rem; font-weight: 700; color: #0f172a; margin: 0; }
.bp-aud-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.bp-aud-panel li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; line-height: 1.55; color: #1e293b; }
.bp-aud-panel li .cs-ico { width: 17px; height: 17px; margin-top: 0.2rem; color: #4d7c0f; stroke-width: 3; }

/* ---------- Scenarios ---------- */
.bp-scen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.bp-sc {
    --c: #365314;
    --t: #ecfccb;
    background: #ffffff;
    border: 1px solid #e3e8da;
    border-top: 5px solid var(--c);
    border-radius: 16px;
    padding: 1.05rem 1.1rem 1.15rem;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.bp-sc-up { --c: #65a30d; --t: #ecfccb; }
.bp-sc-down { --c: #d97706; --t: #fef3c7; }
.bp-sc header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.bp-sc-ico { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; color: #1a2e05; background: var(--t); }
.bp-sc-down .bp-sc-ico { color: #78350f; }
.bp-sc-ico .cs-ico { width: 21px; height: 21px; }
.bp-sc h3 { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.05rem; font-weight: 700; color: #0f172a; margin: 0; }
.bp-sc header div > span { display: block; margin-top: 0.1rem; font-size: 0.78rem; font-weight: 700; color: #475569; }
.bp-sc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.bp-sc li { position: relative; padding-left: 1.1rem; font-size: 0.88rem; line-height: 1.5; color: #1e293b; }
.bp-sc li::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* ---------- Funding routes ---------- */
.bp-fund { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.bp-fund-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e3e8da;
    border-radius: 16px;
    padding: 1.1rem 1.1rem 1.15rem;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.bp-fund-card h3 { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.1rem; font-weight: 700; color: #0f172a; margin: 0.75rem 0 0.4rem; }
.bp-fund-card p { margin: 0 0 0.9rem; font-size: 0.87rem; line-height: 1.6; color: #334155; flex: 1; }
.bp-fig { padding: 0.65rem 0.85rem; background: linear-gradient(160deg, #f7fee7, #ffffff 75%); border: 1px solid #d9f99d; border-radius: 12px; }
.bp-fig strong { display: block; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1.1; color: #3f6212; }
.bp-fig span { display: block; margin-top: 0.15rem; font-size: 0.76rem; font-weight: 700; color: #475569; }

/* ---------- Process: chevron ladder ---------- */
.bp-proc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; counter-reset: none; }
.bp-chev {
    --bg: #ecfccb;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    gap: 0 1.1rem;
    padding: 0;
}
.bp-chev:nth-child(2) { --bg: #d9f99d; }
.bp-chev:nth-child(3) { --bg: #bef264; }
.bp-chev:nth-child(4) { --bg: #a3e635; }
.bp-chev:nth-child(5) { --bg: #84cc16; }
.bp-chev-num {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 62px;
    padding-right: 18px;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1a2e05;
    background: var(--bg);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
    border-radius: 10px 0 0 10px;
}
.bp-chev-num::before { content: "STEP\00a0"; }
.bp-chev h3 { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.02rem; font-weight: 700; color: #0f172a; margin: 0.35rem 0 0; }
.bp-chev p { margin: 0 0 0.35rem; font-size: 0.87rem; line-height: 1.5; color: #334155; }

/* ---------- Mistakes table ---------- */
.bp-fix tbody th { width: 40%; }
.bp-fix tbody td { color: #1e293b; background: #f7fee7; font-weight: 600; }
.bp-fix thead th:last-child { background: #ecfccb; color: #3f6212; }
.bp-x, .bp-ok { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 0.6rem; vertical-align: middle; border-radius: 50%; }
.bp-x { color: #b45309; background: #fef3c7; }
.bp-ok { color: #ffffff; background: #4d7c0f; }
.bp-x .cs-ico, .bp-ok .cs-ico { width: 14px; height: 14px; stroke-width: 2.6; }

/* ---------- Hover ---------- */
@media (hover: hover) and (pointer: fine) {
    .bp-sc:hover,
    .bp-fund-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 32px -18px rgba(54, 83, 20, 0.45);
    }
    .bp-fund-card:hover .cs-tile {
        transform: rotate(-8deg) scale(1.1);
        color: #ffffff;
        background: linear-gradient(135deg, #3f6212, #4d7c0f);
        border-color: transparent;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bp-sc, .bp-fund-card, .bp-tab, .bp-fund-card .cs-tile { transition: none !important; }
    .bp-sc:hover, .bp-fund-card:hover, .bp-tab:hover, .bp-fund-card:hover .cs-tile { transform: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 991px) {
    .bp-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .bp-chart { justify-self: start; }
}
@media (max-width: 767px) {
    /* mistakes table: stack each row into a small card */
    .bp-fix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .bp-fix, .bp-fix tbody, .bp-fix tr, .bp-fix th, .bp-fix td { display: block; width: auto; }
    .bp-fix tr { padding: 0.9rem 1rem; border-bottom: 1px solid #eef2f7; }
    .bp-fix tbody tr:last-child { border-bottom: 0; }
    .bp-fix tbody th { padding: 0 0 0.4rem; border: 0; width: auto; }
    .bp-fix tbody td { padding: 0.45rem 0.6rem; border: 0; border-radius: 10px; }
}
@media (max-width: 640px) {
    .bp-hero-actions .svc-rd-btn { width: 100%; justify-content: center; }
    .bp-stats { grid-template-columns: minmax(0, 1fr); }
    .bp-stats li + li { border-left: 0; border-top: 1px solid #d9e5bb; }
    .bp-chev { grid-template-columns: 92px minmax(0, 1fr); gap: 0 0.8rem; }
    .bp-chev-num { min-height: 58px; font-size: 0.78rem; }
}
