/* =====================================================
   MWAYA LEAF — MASTER STYLESHEET
===================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "DM Sans", sans-serif;
    color: #202820;
    background: #f8f7f2;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

:root {
    --green: #173d2b;
    --green-dark: #0d291d;
    --green-light: #315b43;
    --gold: #b38a45;
    --cream: #f8f7f2;
    --white: #ffffff;
    --text: #202820;
    --muted: #697269;
    --border: #dedfd7;
}

/* =====================================================
   HEADER
===================================================== */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(0,0,0,.06);
    backdrop-filter: blur(10px);
}

.navbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 55px; height: 55px; object-fit: contain; }
.logo-text { line-height: 1.15; }
.logo-text strong { display: block; color: var(--green); font-size: 16px; letter-spacing: .5px; }
.logo-text span { font-size: 10px; color: #777; text-transform: uppercase; letter-spacing: 1.5px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    font-size: 13px; font-weight: 600; color: #394039; position: relative;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -8px;
    width: 0; height: 2px; background: var(--gold); transition: .3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-contact {
    background: var(--green); color: white !important;
    padding: 11px 19px; border-radius: 3px;
}
.nav-contact::after { display: none; }

.menu-btn {
    display: none; border: none; background: transparent;
    font-size: 24px; color: var(--green); cursor: pointer;
}

/* =====================================================
   HERO / PAGE HERO
===================================================== */
.hero, .page-hero {
    display: flex; align-items: center; position: relative;
    background:
        linear-gradient(90deg, rgba(8,30,20,.92), rgba(8,30,20,.68), rgba(8,30,20,.25)),
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2000&q=85")
        center/cover no-repeat;
    color: white;
}

.hero { min-height: 100vh; }
.page-hero { min-height: 68vh; }

.hero-content, .page-hero-content {
    padding-top: 80px; max-width: 780px; color: white;
}

.eyebrow {
    display: flex; align-items: center; gap: 10px;
    color: #d6bd84; font-size: 11px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 35px; height: 1px; background: #d6bd84; }

.hero h1, .page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 7vw, 80px);
    line-height: 1.04; font-weight: 600; margin-bottom: 25px;
}

.hero p, .page-hero p {
    max-width: 680px; font-size: 17px; color: rgba(255,255,255,.85);
}

.buttons, .hero-buttons { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }

/* =====================================================
   BUTTONS
===================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; padding: 14px 23px;
    background: var(--green); color: white;
    font-size: 13px; font-weight: 700; border-radius: 3px;
    transition: .3s; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); background: var(--green-dark); }
.btn-primary { background: white; color: var(--green); }
.btn-primary:hover { background: #f1f1f1; color: var(--green-dark); }
.btn-outline {
    background: transparent; border: 1px solid rgba(255,255,255,.6); color: white;
}
.btn-outline:hover { background: white; color: var(--green); }

/* =====================================================
   GENERAL SECTIONS
===================================================== */
section { padding: 105px 0; }

.section-label {
    color: var(--gold); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 17px;
}

h2 {
    font-family: "Playfair Display", serif;
    color: var(--green);
    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.12; margin-bottom: 25px;
}

.section-heading { max-width: 700px; margin-bottom: 55px; }
.section-heading p { color: var(--muted); font-size: 15px; }

/* =====================================================
   INTRO
===================================================== */
.intro, .intro-grid { background: white; }

.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}

.intro-content p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

.intro-image {
    min-height: 550px;
    background: url("../images/image2.jpg") center/cover no-repeat;
}

/* =====================================================
   FACTS / FOCUS GRID
===================================================== */
.facts-section { background: var(--cream); }

.facts, .facts-grid {
    display: grid; grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.fact {
    padding: 35px 25px; background: white;
    border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.fact strong {
    display: block; font-family: "Playfair Display", serif;
    color: var(--green); font-size: 26px; margin-bottom: 6px;
}
.fact span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; }

/* =====================================================
   FOCUS / VALUE CARDS
===================================================== */
.focus, .focus-section { background: var(--cream); }

.focus-grid, .values-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1px; background: var(--border); border: 1px solid var(--border);
}

.focus-card, .value-card {
    background: white; padding: 38px 30px;
    min-height: 260px; transition: .3s;
}
.focus-card:hover, .value-card:hover { background: var(--green); color: white; }

.focus-card .number, .value-card .number {
    color: var(--gold); font-size: 12px; font-weight: 700; margin-bottom: 45px;
}

.focus-card h3, .value-card h3 {
    font-family: "Playfair Display", serif; color: var(--green);
    font-size: 23px; margin-bottom: 10px;
}
.focus-card:hover h3, .value-card:hover h3 { color: white; }
.focus-card p, .value-card p { color: var(--muted); font-size: 13px; }
.focus-card:hover p, .value-card:hover p { color: rgba(255,255,255,.75); }

.value-card i { color: var(--gold); font-size: 22px; margin-bottom: 25px; display: block; }

/* =====================================================
   VALUE CHAIN
===================================================== */
.chain-section, .value-chain { background: white; }

.chain {
    display: grid; grid-template-columns: repeat(5,1fr);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    margin-top: 55px;
}

.chain-step {
    position: relative; padding: 40px 25px;
    border-right: 1px solid var(--border);
}
.chain-step:last-child { border-right: none; }

.chain-number { color: var(--gold); font-size: 12px; font-weight: 700; }

.chain-step h3 {
    color: var(--green); font-family: "Playfair Display", serif;
    font-size: 22px; margin-top: 50px; margin-bottom: 8px;
}
.chain-step p { color: var(--muted); font-size: 13px; }

.arrow {
    position: absolute; top: 47px; right: -8px;
    width: 15px; height: 15px; background: var(--gold);
    transform: rotate(45deg); z-index: 2;
}
.chain-step:last-child .arrow { display: none; }

/* =====================================================
   DIRECTION / GREEN SECTIONS
===================================================== */
.farmers, .direction, .responsible {
    background: var(--green); color: white;
}
.farmers-grid, .direction-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.direction-grid { gap: 1px; background: rgba(255,255,255,.15); }

.direction-card { padding: 55px 45px; background: var(--green); }
.direction-card .number { color: #d6bd84; font-size: 12px; font-weight: 700; margin-bottom: 45px; }
.direction-card h2 { color: white; font-size: 38px; }
.direction-card p { color: rgba(255,255,255,.72); font-size: 15px; max-width: 500px; }

.farmers-content .section-label,
.responsible .section-label,
.direction .section-label { color: #d6bd84; }

.farmers-content h2,
.responsible h2 { color: white; }

.farmers-content > p, .responsible p { color: rgba(255,255,255,.72); }

.farmer-list, .responsible-list {
    border-top: 1px solid rgba(255,255,255,.17); margin-top: 30px;
}
.farmer-item, .responsible-list li {
    display: flex; gap: 14px; align-items: center;
    padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.17);
    font-size: 14px; color: rgba(255,255,255,.86);
}
.farmer-item i, .responsible-list i { color: #d6bd84; font-size: 10px; }

/* =====================================================
   QUALITY
===================================================== */
.quality-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.quality-content p { color: var(--muted); margin-bottom: 18px; font-size: 15px; }

.quality-list { margin-top: 30px; border-top: 1px solid var(--border); }
.quality-item {
    display: grid; grid-template-columns: 55px 1fr;
    gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--border);
}
.quality-item .number { color: var(--gold); font-size: 12px; font-weight: 700; }
.quality-item h3 { color: var(--green); font-size: 17px; margin-bottom: 4px; }
.quality-item p { color: var(--muted); font-size: 13px; margin: 0; }

.quality-image {
    min-height: 520px;
    background: url("https://images.unsplash.com/photo-1492496913980-501348b61469?auto=format&fit=crop&w=1400&q=85") center/cover no-repeat;
}

/* =====================================================
   MARKET
===================================================== */
.market {
    background:
        linear-gradient(rgba(13,41,29,.94), rgba(13,41,29,.94)),
        url("https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=2000&q=85")
        center/cover no-repeat;
    text-align: center; color: white;
}
.market .section-label { color: #d6bd84; }
.market h2 { color: white; max-width: 750px; margin: auto auto 22px; }
.market > .container > p { max-width: 700px; margin: auto; color: rgba(255,255,255,.72); }

.market-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1px; margin-top: 50px; background: rgba(255,255,255,.15);
}
.market-card { padding: 35px 25px; background: rgba(0,0,0,.13); }
.market-card i { color: #d6bd84; font-size: 23px; margin-bottom: 17px; }
.market-card h3 { font-size: 17px; margin-bottom: 7px; color: white; }
.market-card p { color: rgba(255,255,255,.65); font-size: 12px; }

/* =====================================================
   APPROACH ITEMS
===================================================== */
.approach { background: #eeeee7; }
.approach-grid {
    display: grid; grid-template-columns: .8fr 1.2fr;
    gap: 80px; align-items: start;
}
.approach-intro p { color: var(--muted); font-size: 15px; }
.approach-list { border-top: 1px solid var(--border); }
.approach-item {
    display: grid; grid-template-columns: 60px 1fr;
    gap: 20px; padding: 27px 0; border-bottom: 1px solid var(--border);
}
.approach-item .number { color: var(--gold); font-size: 12px; font-weight: 700; }
.approach-item h3 { color: var(--green); font-size: 18px; margin-bottom: 5px; }
.approach-item p { color: var(--muted); font-size: 13px; }

/* =====================================================
   RESPONSIBLE
===================================================== */
.responsible-grid {
    display: grid; grid-template-columns: .8fr 1.2fr;
    gap: 80px; align-items: start;
}
.responsible-items {
    display: grid; grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,.2);
    border-left: 1px solid rgba(255,255,255,.2);
}
.responsible-item {
    padding: 30px; border-right: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.responsible-item i { color: #d6bd84; font-size: 22px; margin-bottom: 17px; display: block; }
.responsible-item h3 { color: white; font-size: 16px; margin-bottom: 7px; }
.responsible-item p { color: rgba(255,255,255,.72); font-size: 13px; }

/* =====================================================
   CTA
===================================================== */
.cta { background: var(--gold); padding: 75px 0; }
.cta-inner {
    display: flex; justify-content: space-between;
    align-items: center; gap: 40px;
}
.cta h2 { color: var(--green-dark); margin-bottom: 7px; }
.cta p { color: rgba(13,41,29,.72); }
.cta-contact, .cta-right { text-align: right; }
.phone {
    display: block; color: var(--green-dark);
    font-family: "Playfair Display", serif;
    font-size: 28px; margin-bottom: 12px;
}
.cta .btn { background: var(--green); }
.cta .btn-outline {
    background: transparent; border: 1px solid rgba(13,41,29,.4); color: var(--green-dark);
}
.cta .btn-outline:hover { background: var(--green-dark); color: white; }
.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }

/* =====================================================
   GLOBAL POINTS
===================================================== */
.global {
    color: white;
    background:
        linear-gradient(rgba(13,41,29,.92), rgba(13,41,29,.92)),
        url("https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?auto=format&fit=crop&w=1800&q=85")
        center/cover no-repeat;
}
.global-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.global .section-label { color: #d6bd84; }
.global h2 { color: white; }
.global p { color: rgba(255,255,255,.72); margin-bottom: 18px; }
.global-points {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-top: 25px;
}
.global-point {
    padding: 17px; border: 1px solid rgba(255,255,255,.14);
    font-size: 13px; color: rgba(255,255,255,.85);
}
.global-point i { color: #d6bd84; margin-right: 8px; }

/* =====================================================
   CONTACT / FORM
===================================================== */
.contact-intro { background: var(--cream); }
.contact-layout {
    display: grid; grid-template-columns: .9fr 1.1fr;
    gap: 70px; align-items: start;
}
.contact-image { height: 560px; overflow: hidden; }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }

.contact-info h2 { font-size: 42px; line-height: 1.2; margin-bottom: 18px; }
.contact-info > p { color: var(--muted); margin-bottom: 35px; }

.contact-items { display: grid; gap: 22px; }
.contact-item {
    display: flex; gap: 18px; align-items: flex-start;
    padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.contact-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--green); color: white; border-radius: 50%;
}
.contact-item h4 { color: var(--green-dark); font-size: 15px; margin-bottom: 3px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 15px; }
.contact-item a:hover { color: var(--green); }

/* =====================================================
   FORM
===================================================== */
.form-section { background: white; }
.form-layout {
    display: grid; grid-template-columns: .8fr 1.2fr;
    gap: 80px; align-items: start;
}
.form-intro h2 { font-size: 43px; line-height: 1.2; margin-bottom: 20px; }
.form-intro p { color: var(--muted); margin-bottom: 30px; }

.enquiry-list { display: grid; gap: 14px; }
.enquiry-list div {
    display: flex; align-items: center; gap: 12px;
    color: var(--green); font-weight: 600; font-size: 14px;
}
.enquiry-list i { color: var(--gold); }

.contact-form {
    padding: 42px; border: 1px solid var(--border); background: var(--cream);
}
.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 700;
    color: var(--green-dark); margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; border: 1px solid var(--border);
    background: white; padding: 14px 15px;
    font-family: inherit; font-size: 14px; color: var(--text);
    outline: none; border-radius: 2px; transition: .3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); }
.form-group textarea { min-height: 145px; resize: vertical; }

.submit-btn {
    border: none; background: var(--green); color: white;
    padding: 15px 28px; font-family: inherit;
    font-size: 14px; font-weight: 700;
    cursor: pointer; border-radius: 3px; transition: .3s;
    display: inline-flex; align-items: center; gap: 10px;
}
.submit-btn:hover { background: var(--green-dark); }

/* ALERTS */
.alert {
    padding: 16px 20px; border-radius: 3px;
    margin-bottom: 25px; font-size: 14px;
    display: flex; align-items: flex-start; gap: 12px;
}
.alert-success { background: #e3f3e8; color: #1a5c34; border-left: 4px solid #2e8b57; }
.alert-error { background: #fdecea; color: #a8322d; border-left: 4px solid #c0392b; }
.alert i { margin-top: 3px; }

/* =====================================================
   FOOTER
===================================================== */
footer { background: #0c2117; color: white; padding: 70px 0 25px; }

.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 55px; padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand p { color: rgba(255,255,255,.55); font-size: 13px; max-width: 310px; margin-top: 18px; }
.footer-logo .logo-text strong { color: white; }
.footer-logo .logo-text span { color: rgba(255,255,255,.5); }

.footer-title {
    color: #d6bd84; font-size: 10px; font-weight: 700;
    letter-spacing: 1.7px; text-transform: uppercase; margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: 13px; transition: .2s; }
.footer-links a:hover { color: white; }

.footer-contact p { color: rgba(255,255,255,.65); font-size: 13px; margin-bottom: 12px; }
.footer-contact i { color: #d6bd84; width: 20px; }
.footer-contact a:hover { color: white; }

.footer-bottom {
    padding-top: 25px; display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.4); font-size: 11px; gap: 20px;
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 900px) {

    .nav-links {
        position: absolute; top: 82px; left: 0; width: 100%;
        background: white; display: none;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 10px 5%; box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 15px 5px; border-bottom: 1px solid #eee; }
    .nav-contact { margin: 10px 0; text-align: center; }
    .menu-btn { display: block; }

    .intro-grid, .farmers-grid, .quality-grid,
    .responsible-grid, .approach-grid, .direction-grid,
    .contact-layout, .form-layout, .global-grid {
        grid-template-columns: 1fr; gap: 45px;
    }

    .focus-grid, .values-grid { grid-template-columns: 1fr 1fr; }
    .chain { grid-template-columns: 1fr; }
    .chain-step { border-right: none; border-bottom: 1px solid var(--border); }
    .chain-step:last-child { border-bottom: none; }
    .arrow { display: none; }

    .market-grid { grid-template-columns: 1fr 1fr; }
    .facts, .facts-grid { grid-template-columns: 1fr 1fr; }

    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta-contact, .cta-right { text-align: left; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {

    section { padding: 75px 0; }
    .navbar { height: 72px; }
    .nav-links { top: 72px; }
    .hero { min-height: 650px; }
    .page-hero { min-height: 600px; }
    .hero h1, .page-hero h1 { font-size: 48px; }
    .hero p, .page-hero p { font-size: 15px; }

    .intro-image, .quality-image, .contact-image { min-height: 350px; height: 350px; }

    .focus-grid, .values-grid { grid-template-columns: 1fr; }
    .market-grid { grid-template-columns: 1fr; }
    .responsible-items { grid-template-columns: 1fr; }
    .facts, .facts-grid { grid-template-columns: 1fr; }
    .global-points { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 25px 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
