:root {
    --forest:   #315120;
    --sage:     #4a7c59;
    --leaf:     #6db884;
    --sand:     #f5f0e8;
    --clay:     #c4a882;
    --charcoal: #315120;
    --mist:     #eef4f0;
    --white:    #ffffff;
    --step-line:#d4e6db;
}

/* ── Hero ── */
.buca-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.buca-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55) saturate(1.1);
}
.buca-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
    rgba(26,61,43,.15) 0%,
    rgba(26,61,43,.75) 60%,
    rgba(26,61,43,.92) 100%);
}
.buca-hero__content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 2.5rem 4.5rem 2.5rem;
    animation: fadeUp .8s ease both;
}
.buca-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--charcoal);
    border: 1px solid rgba(109,184,132,.4);
    border-radius: 50px;
    padding: .3rem .9rem;
    margin-bottom: 1.2rem;
}
.buca-hero__tag span {
    width: 6px; height: 6px;
    background: var(--leaf);
    border-radius: 50%;
    display: inline-block;
}
.buca-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.buca-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 2rem;
}
.buca-hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-primary-buca {
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .02em;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: .7rem 1.75rem;
    transition: background .25s, transform .2s, box-shadow .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 4px 20px rgba(109,184,132,.35);
}
.btn-primary-buca:hover {
    background: #59a870;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(109,184,132,.45);
    color: var(--white);
}
.btn-outline-buca {
    font-weight: 600;
    font-size: .875rem;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: 20px;
    padding: .7rem 1.75rem;
    transition: border-color .25s, background .25s, transform .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.btn-outline-buca:hover {
    border-color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.1);
    transform: translateY(-2px);
    color: var(--white);
}

/* ── Profile card ── */
.buca-profile-card {
    background: var(--white);
    padding: 2rem 2.5rem;
    box-shadow: 0 2px 40px rgba(26,61,43,.1);
    margin-top: -72px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(26,61,43,.08);
}
.buca-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    border: 3px solid var(--sand);
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.buca-org-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 .3rem;
}
.buca-org-tagline {
    font-size: .85rem;
    color: var(--sage);
    font-weight: 500;
}
.buca-stat-pill {
    background: var(--mist);
    padding: .6rem 1rem;
    text-align: center;
    min-width: 100px;
}
.buca-stat-pill .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest);
    display: block;
    line-height: 1;
}
.buca-stat-pill .label {
    font-size: .7rem;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.buca-last-updated {
    font-size: .75rem;
    color: #aab8b0;
}
.buca-profile-desc {
    font-size: .95rem;
    color: #4a5e52;
    line-height: 1.75;
    border-top: 1px solid #edf2ef;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

/* ── Section layout ── */
.buca-section {
    padding: 5rem 0;
    background: var(--white);
}
.buca-section--alt {
    background: var(--sand);
}
.buca-section-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: .6rem;
}
.buca-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.25;
    margin-bottom: .75rem;
}
.buca-section-body {
    font-size: .9rem;
    color: #5e7265;
    line-height: 1.7;
}
.buca-divider {
    width: 48px; height: 3px;
    background: var(--leaf);
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

/* ── Who Can Apply cards ── */
.applicant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}
.applicant-card {
    background: var(--white);
    border: 1.5px solid #dbeade;
    padding: 1.5rem 1.25rem;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.applicant-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--leaf));
    opacity: 0;
    transition: opacity .25s;
}
.applicant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,61,43,.1);
    border-color: var(--leaf);
}
.applicant-card:hover::before { opacity: 1; }
.applicant-icon {
    width: 44px; height: 44px;
    background: var(--mist);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.applicant-card h5 {
    font-size: .9rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
    line-height: 1.4;
}
.eligibility-notice {
    background: linear-gradient(135deg, #fff5f5, #fff8f8);
    border: 1.5px solid #fcd5d5;
    border-left: 4px solid #e05c5c;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .875rem;
    color: #8a3a3a;
    font-weight: 500;
}
.eligibility-notice svg { flex-shrink: 0; margin-top: 1px; }

/* ── Process Steps ── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2.25rem;
    animation: fadeUp .6s ease both;
}
.process-step:last-child { padding-bottom: 0; }
.process-step__track {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 48px;
}
.process-step__num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(26,61,43,.25);
    position: relative;
    z-index: 1;
    transition: background .25s, transform .2s;
}
.process-step:hover .process-step__num {
    background: var(--sage);
    transform: scale(1.08);
}
.process-step__line {
    flex: 1;
    width: 2px;
    background: var(--step-line);
    margin-top: 6px;
}
.process-step:last-child .process-step__line { display: none; }
.process-step__body {
    background: var(--white);
    border: 1.5px solid #e2ede5;
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    flex: 1;
    transition: box-shadow .25s, border-color .25s;
}
.process-step:hover .process-step__body {
    box-shadow: 0 8px 28px rgba(26,61,43,.09);
    border-color: #b8d9c0;
}
.process-step__body h5 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 .5rem;
}
.process-step__body p {
    font-size: .875rem;
    color: #5e7265;
    line-height: 1.65;
    margin: 0;
}
.process-step__badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--mist);
    color: var(--sage);
    border-radius: 100px;
    padding: .2rem .7rem;
    margin-bottom: .7rem;
}

/* ── Important Notices ── */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}
.notice-card {
    border-radius: 16px;
    padding: 1.5rem;
    border: 1.5px solid transparent;
}
.notice-card--warn {
    background: linear-gradient(135deg, #fffbf0, #fff8e6);
    border-color: #f5dfa0;
}
.notice-card--info {
    background: linear-gradient(135deg, #f0f8ff, #e8f4fd);
    border-color: #a8d4f5;
}
.notice-card--success {
    background: linear-gradient(135deg, #f0faf3, #e6f7ec);
    border-color: #a8d9b8;
}
.notice-card__icon {
    font-size: 1.5rem;
    margin-bottom: .75rem;
}
.notice-card h5 {
    font-size: .875rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 .4rem;
}
.notice-card p {
    font-size: .82rem;
    color: #4a5e52;
    margin: 0;
    line-height: 1.65;
}

/* ── CTA ── */
.buca-cta {
    background: linear-gradient(135deg, var(--forest) 0%, #2d6644 100%);
    border-radius: 24px;
    padding: 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}
.buca-cta::before {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(109,184,132,.12);
    top: -100px; right: -80px;
}
.buca-cta::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(109,184,132,.08);
    bottom: -60px; left: -50px;
}
.buca-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: .75rem;
    position: relative; z-index: 1;
}
.buca-cta p {
    font-size: .95rem;
    color: rgba(255,255,255,.75);
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative; z-index: 1;
}
.buca-cta .actions { position: relative; z-index: 1; }

/* ── Sticky sidebar ── */
.buca-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-nav {
    background: var(--white);
    border: 1.5px solid #e2ede5;
    border-radius: 16px;
    overflow: hidden;
}
.sidebar-nav__header {
    background: var(--forest);
    padding: 1rem 1.25rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .875rem;
    color: #4a5e52;
    text-decoration: none;
    padding: .75rem 1.25rem;
    border-bottom: 1px solid #f0f5f2;
    transition: background .2s, color .2s, padding-left .2s;
    font-weight: 500;
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover {
    background: var(--mist);
    color: var(--forest);
    padding-left: 1.5rem;
}
.sidebar-nav a .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--leaf);
    flex-shrink: 0;
}

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.process-step:nth-child(1) { animation-delay: .05s; }
.process-step:nth-child(2) { animation-delay: .1s;  }
.process-step:nth-child(3) { animation-delay: .15s; }
.process-step:nth-child(4) { animation-delay: .2s;  }
.process-step:nth-child(5) { animation-delay: .25s; }

@media (max-width: 767px) {
    .buca-profile-card { padding: 1.5rem; margin-top: -40px; }
    .buca-cta { padding: 2.25rem 1.5rem; }
    .applicant-grid { grid-template-columns: 1fr 1fr; }
    .buca-hero__content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}