:root {
    --sf-primary: #2d4a3e;   /* 深森林绿 */
    --sf-secondary: #6b8f7a; /* 苔藓绿 */
    --sf-accent: #d4a15a;    /* 非洲金 */
    --sf-earth: #8b5a2b;     /* 泥土棕 */
    --sf-cream: #faf8f5;     /* 奶油白 */
    --sf-warm: #f5ebe0;      /* 暖米色 */
    --sf-dark: #1a1a1a;
    --text-main: #2e302b;
    --text-muted: #56574f;
    --border-soft: #e6dfd5;
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 10px 24px rgba(45, 74, 62, 0.08);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font-heading: "Inter", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Inter", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--sf-cream);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-sm);
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
    background: rgba(250, 248, 245, 0.9);
    border-bottom: 1px solid var(--border-soft);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sf-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.brand span:last-child {
    color: var(--sf-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-weight: 500;
}

.nav-links a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text-main);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--sf-warm);
    color: var(--sf-dark);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--sf-warm);
    color: var(--sf-dark);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--sf-primary);
    color: #fff;
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #22372e;
}

.btn-secondary {
    background: var(--sf-accent);
    color: var(--sf-dark);
    box-shadow: var(--shadow-card);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: #c48c45;
}

.btn-outline {
    border: 1px solid var(--sf-primary);
    color: var(--sf-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--sf-warm);
    color: var(--sf-dark);
}

.section {
    padding: 64px 0;
}

.section.alt {
    background: var(--sf-warm);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px auto;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sf-accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 10px 0 14px 0;
    color: var(--sf-dark);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: linear-gradient(120deg, rgba(45, 74, 62, 0.92), rgba(26, 26, 26, 0.7));
    color: #fff;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 32px;
    padding: 72px 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/africa_farmers.jpg') center/cover no-repeat;
    opacity: 0.18;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    margin: 12px 0;
    letter-spacing: -0.5px;
}

.hero-text p {
    max-width: 600px;
    color: #f2efe9;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hero-figure img {
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: center;
}

.card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin: 12px 0 8px 0;
    font-size: 1.2rem;
    color: var(--sf-dark);
}

.card p {
    color: var(--text-muted);
}

.product-grid,
.impact-grid,
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.product-card,
.impact-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card img,
.impact-card img {
    height: 210px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card .content,
.impact-card .content {
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-card h3,
.impact-card h3 {
    margin: 0;
}

.meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px 18px;
    border: 1px solid var(--border-soft);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sf-primary);
}

.stat-label {
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
}

.feature-list li::before {
    content: "•";
    color: var(--sf-accent);
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.info-card {
    border: 1px solid var(--border-soft);
    padding: 16px;
    border-radius: var(--radius-md);
    background: #fff;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--sf-warm);
    color: var(--sf-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.cta-banner {
    background: linear-gradient(120deg, var(--sf-primary), #22372e);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: center;
    box-shadow: 0 16px 40px rgba(34, 55, 46, 0.2);
}

.footer {
    background: #121512;
    color: #f5f3ed;
    padding: 48px 0 28px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.footer a {
    color: #f5f3ed;
    opacity: 0.85;
}

.footer a:hover {
    opacity: 1;
}

.footer small {
    color: #d7d4cb;
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    background: var(--sf-warm);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-main);
    border: 1px solid var(--border-soft);
}

.timeline {
    border-left: 2px solid var(--border-soft);
    padding-left: 16px;
    display: grid;
    gap: 16px;
}

.timeline-item {
    position: relative;
    padding-left: 12px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -19px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--sf-accent);
    border-radius: 50%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    align-items: start;
}

form {
    display: grid;
    gap: 14px;
}

label {
    font-weight: 600;
    color: var(--text-main);
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: #fff;
    font-family: var(--font-body);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

@media (max-width: 960px) {
    .nav-links {
        width: 100%;
    }
    .hero .container {
        padding: 56px 0;
    }
}

@media (max-width: 720px) {
    .nav-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    .hero {
        border-radius: 0;
    }
}
