/* ============================================================
   AFRICAN BIOCHAR — Evidence Page Styles
   ============================================================ */

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px; /* navbar height */
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(20,50,10,0.90) 0%, rgba(35,80,15,0.75) 60%, rgba(18,45,8,0.88) 100%),
        url('../images/image.jpeg') center 40% / cover no-repeat;
    background-color: #1a3a0a;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 3.5rem 2rem;
    text-align: center;
}

.page-hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.page-hero-content h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.page-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--white);
    padding: 0.55rem 1.4rem;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.hero-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ===== SECTION HEADERS ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    color: var(--primary);
    border: 1.5px solid #c8e0aa;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-desc {
    color: var(--text-light);
    font-size: 0.96rem;
    max-width: 600px;
    line-height: 1.8;
}

/* ===== CROP SECTIONS ===== */
.crop-section {
    padding: 5rem 0;
    background: var(--white);
}
.crop-section.alt-bg {
    background: var(--bg-light);
}

/* ===== RESPONSIVE TABLE WRAPPER ===== */
.table-scroll {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}

/* ===== CROP TABLE ===== */
.crop-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    font-size: 0.88rem;
    background: var(--white);
}

/* Header row */
.crop-table thead tr {
    background: var(--primary);
}

.crop-table th {
    padding: 1rem 1.2rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: left;
    white-space: nowrap;
    border: none;
}

.crop-table th:first-child  { border-radius: 0; }
.crop-table th:last-child   { border-radius: 0; }

/* Body rows */
.crop-table tbody tr {
    border-bottom: 1px solid #e8edf5;
    transition: background 0.2s ease;
}
.crop-table tbody tr:nth-child(even) {
    background: #f0f3f9;
}
.crop-table tbody tr:nth-child(odd) {
    background: var(--white);
}
.crop-table tbody tr:hover {
    background: #e8f4e0;
}

.crop-table td {
    padding: 1rem 1.2rem;
    color: var(--text);
    vertical-align: top;
    line-height: 1.65;
    border: none;
    border-right: 1px solid #e8edf5;
}
.crop-table td:last-child { border-right: none; }

/* Crop name cell */
.crop-name {
    font-weight: 600 !important;
    white-space: nowrap;
    min-width: 130px;
}
.crop-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* Application quantity badge */
.qty-badge {
    display: inline-block;
    background: var(--bg-light);
    border: 1.5px solid #c8e0aa;
    color: var(--primary);
    padding: 0.22rem 0.7rem;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Yield change lines */
.yield-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.86rem;
}
.yield-line:last-child { margin-bottom: 0; }

.yield-label {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}
.yield-label.trial {
    background: var(--primary);
    color: var(--white);
}
.yield-label.avg {
    background: var(--accent);
    color: var(--white);
}

/* Benefit list inside cells */
.benefit-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.benefit-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.3rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text);
}
.benefit-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

/* No data cell */
.no-data {
    color: var(--text-light) !important;
    font-size: 1.1rem;
    text-align: center;
}

/* ===== EVIDENCE PLAIN NOTE ===== */
.evidence-plain {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-top: 0.5rem;
}
.evidence-plain strong {
    color: var(--primary);
    font-weight: 700;
}

/* ===== TREE CROPS TEXT ===== */
.tree-crops-text {
    max-width: 800px;
}
.tree-crops-text p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.85;
}

/* ===== YIELD HIGHLIGHTS ===== */
.yield-highlights {
    background: var(--primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.yield-highlights::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(122,182,72,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.yield-highlights h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 0.5rem;
}
.yield-highlights .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.highlights-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.highlight-card {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    text-align: center;
    min-width: 160px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.highlight-card:hover,
.highlight-card.featured {
    background: rgba(122,182,72,0.18);
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.highlight-icon {
    font-size: 1.6rem;
    color: var(--accent-light);
    margin-bottom: 0.8rem;
}

.highlight-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.highlight-crop {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.highlight-note {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
}

/* ===== CTA ===== */
.evidence-cta {
    padding: 5rem 0;
    background: var(--bg-earth);
    text-align: center;
}
.evidence-cta h2 {
    margin-bottom: 0.8rem;
}
.evidence-cta p {
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }
    .page-hero-content h1 {
        font-size: 2.2rem;
    }
    .highlights-grid {
        gap: 1rem;
    }
    .highlight-card {
        min-width: 130px;
        padding: 1.5rem 1.2rem;
    }
    .highlight-number { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .crop-section { padding: 3rem 0; }
    .hero-pills { gap: 0.6rem; }
    .hero-pill { font-size: 0.72rem; padding: 0.45rem 1rem; }
    .highlights-grid { flex-direction: column; align-items: center; }
    .highlight-card { width: 100%; max-width: 280px; }
}
