:root{
    --green-dark:#063f1d;
    --green:#1d6f2e;
    --brown-dark:#4a220b;
    --brown:#8a4b17;
    --cream:#fff5df;
    --cream-2:#f6e8cc;
    --gold:#e5c086;
    --text:#2a1b11;
    --white:#fff;
    --shadow:0 18px 45px rgba(32,20,10,.18);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:var(--cream);
    color:var(--text);
}

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

.container{
    width:91%;
    max-width:1220px;
    margin:auto;
}

.topbar{
    background:linear-gradient(90deg,#053518,#0d5425,#073717);
    color:#fff9e8;
    font-size:13px;
    padding:9px 0;
}

.topbar .container,
.navwrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.top-contact{
    display:flex;
    gap:28px;
    flex-wrap:wrap;
}

.navbar{
    background:rgba(255,249,235,.96);
    border-bottom:1px solid rgba(93,48,14,.12);
    position:sticky;
    top:0;
    z-index:9999;
}

.navwrap{
    padding:15px 0;
}

.brand{
    display:flex;
    align-items:center;
    gap:14px;
}

.brand-logo{
    width:66px;
    height:66px;
    border:2px solid var(--brown);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff8e9;
    overflow:hidden;
}

.brand-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.brand h2{
    color:var(--brown-dark);
    font-size:17px;
    line-height:1.05;
    text-transform:uppercase;
}

.brand span{
    color:var(--green);
}

.menu{
    display:flex;
    gap:30px;
    list-style:none;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    align-items:center;
}

.menu li{
    position:relative;
}

.menu a:hover{
    color:var(--brown);
}

/* DROPDOWN MENU */
.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    background:white;
    min-width:280px;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
    padding:10px 0;
    display:none;
    z-index:99999;
    list-style:none;
}

.dropdown-menu li{
    list-style:none;
}

.dropdown-menu li a{
    display:block;
    padding:14px 20px;
    color:#222 !important;
    font-weight:700;
    text-transform:none;
    transition:.3s;
    white-space:nowrap;
}

.dropdown-menu li a:hover{
    background:#f5faf5;
    color:var(--green) !important;
    padding-left:28px;
}

.dropdown:hover .dropdown-menu{
    display:block;
}

.nav-actions{
    display:flex;
    gap:12px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:none;
    border-radius:35px;
    padding:12px 24px;
    cursor:pointer;
    font-weight:800;
    font-size:13px;
    transition:.3s;
    text-transform:uppercase;
}

.btn-green{
    background:linear-gradient(135deg,#1b692d,#0c481e);
    color:#fff;
}

.btn-brown{
    background:linear-gradient(135deg,#8c4e19,#55270d);
    color:#fff;
}

.btn-outline{
    border:1.5px solid var(--brown);
    color:var(--brown-dark);
    background:transparent;
}

.btn:hover{
    transform:translateY(-2px);
}

.hamburger{
    display:none;
    font-size:28px;
    cursor:pointer;
}

.hero{
    min-height:610px;
     background:
        linear-gradient(145deg,rgba(255,245,223,.25),rgba(13,75,30,.08)),
        url('/emcc/images/hero-products.jpg');
    border-bottom:8px solid var(--green-dark);
    position:relative;
    overflow:hidden;
}

.hero-inner{
    min-height:610px;
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    align-items:center;
    gap:35px;
    padding:45px 0;
}

.hero-tag{
    display:inline-flex;
    background:var(--green);
    color:#fff;
    padding:9px 22px;
    border-radius:40px;
    font-weight:800;
    margin-bottom:18px;
}

.hero h1{
    font-size:61px;
    line-height:.95;
    text-transform:uppercase;
    color:var(--green-dark);
    letter-spacing:-2px;
    margin-bottom:18px;
}

.hero h1 .brown{
    color:var(--brown-dark);
}

.hero p{
    font-size:17px;
    color:#3f2c1e;
    max-width:580px;
    margin-bottom:30px;
    line-height:1.75;
}

.hero-buttons{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:35px;
}

.hero-features{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
}

.hero-feature strong{
    display:block;
    color:var(--brown-dark);
}

.hero-visual{
    min-height:470px;
    display:flex;
    align-items:end;
    justify-content:center;
}

.product-stage{
    width:100%;
    min-height:445px;
    border-radius:42px;
    background:
        linear-gradient(145deg,#ffffff,#f7f0df);
    border:1px solid rgba(138,75,23,.12);
    box-shadow:0 18px 45px rgba(32,20,10,.12);
    position:relative;
    overflow:hidden;
}

.product-stage::before{
    content:'🍄';
    position:absolute;
    font-size:180px;
    opacity:.08;
    right:40px;
    top:40px;
}

.product-stage::after{
    content:'EMCC';
    position:absolute;
    bottom:30px;
    left:40px;
    font-size:60px;
    font-weight:900;
    color:rgba(15,90,38,.08);
    letter-spacing:6px;
}

.services-band{
    background:linear-gradient(90deg,#063816,#0b5021,#053617);
    color:white;
    padding:33px 0;
}

.service-row{
    display:grid;
    grid-template-columns:repeat(6,1fr);
}

.service-mini{
    text-align:center;
    padding:0 20px;
    border-right:1px solid rgba(255,255,255,.32);
}

.service-mini:last-child{
    border-right:none;
}

.service-mini .sicon{
    font-size:35px;
    color:var(--gold);
    margin-bottom:10px;
}

.service-mini h3{
    font-size:14px;
    text-transform:uppercase;
}

.service-mini p{
    font-size:13px;
    color:#f4e7c9;
    line-height:1.5;
}

section{
    padding:70px 0;
}

.section-title{
    text-align:center;
    margin-bottom:38px;
}

.section-title span{
    color:var(--green);
    font-weight:900;
    text-transform:uppercase;
}

.section-title h2{
    color:var(--brown-dark);
    font-size:37px;
    text-transform:uppercase;
    line-height:1.05;
    margin:7px 0 12px;
}

.section-title p{
    color:#5a4632;
    max-width:700px;
    margin:auto;
    line-height:1.65;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.product-card,
.panel,
.table-card{
    background:rgba(255,248,232,.95);
    border:1px solid rgba(138,75,23,.18);
    border-radius:14px;
    box-shadow:0 8px 25px rgba(84,49,20,.12);
    overflow:hidden;
}

.product-img{
    height:170px;
    background:linear-gradient(135deg,#d8c29a,#8a4b17);
    background-size:cover;
    background-position:center;
}

.product-info{
    padding:20px;
    text-align:center;
}

.product-info h3{
    text-transform:uppercase;
    color:#161006;
}

.shop-btn{
    margin-top:13px;
    background:var(--brown);
    color:white;
    border:none;
    border-radius:6px;
    padding:10px 20px;
    font-weight:bold;
    cursor:pointer;
}

.about-stats{
    padding:0;
    display:grid;
    grid-template-columns:1fr 1fr;
    background:var(--cream-2);
}

.about-photo{
    min-height:360px;
    background:
        linear-gradient(rgba(20,60,24,.08),rgba(20,60,24,.08)),
        url('/emcc/images/emcc-farmer.jpg');
    background-size:cover;
    background-position:center;
}

.about-text{
    background:linear-gradient(135deg,#08401c,#0f5a25);
    color:white;
    padding:55px;
}

.about-text p{
    color:#f6e7c8;
    line-height:1.8;
    margin-bottom:25px;
}

.stats-panel{
    padding:55px;
    background:linear-gradient(135deg,#fff5df,#efe0c3);
}

.big-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    text-align:center;
}

.big-stat h3{
    color:var(--brown);
    font-size:31px;
}

.join-band{
    background:linear-gradient(90deg,#0b3f1c,#125827,#063818);
    color:white;
    padding:38px 0;
}

.join-grid{
    display:grid;
    grid-template-columns:1.1fr 1fr 1fr 1fr;
    gap:25px;
    align-items:center;
}

.join-card{
    border-right:1px solid rgba(255,255,255,.28);
    padding-right:22px;
}

.page-title{
    background:linear-gradient(135deg,#0b3f1c,#8a4b17);
    color:#fff;
    padding:55px 0;
}

.form-card{
    max-width:560px;
    margin:40px auto;
    background:#fff8e9;
    border-radius:18px;
    padding:30px;
    box-shadow:var(--shadow);
}

label{
    font-weight:bold;
    display:block;
    margin:12px 0 6px;
}

input,
select,
textarea{
    width:100%;
    padding:13px;
    border:1px solid #d6b98d;
    border-radius:10px;
    background:#fffdf7;
}

textarea{
    min-height:120px;
}

.alert{
    padding:13px;
    border-radius:10px;
    margin:12px 0;
}

.success{
    background:#dff2df;
    color:#145d23;
}

.error{
    background:#f9dddd;
    color:#7a1010;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.dash-card{
    background:#fff8e9;
    border-left:6px solid var(--green);
    padding:24px;
    border-radius:16px;
    box-shadow:0 8px 25px rgba(84,49,20,.12);
}

table{
    width:100%;
    border-collapse:collapse;
    background:#fff8e9;
    border-radius:12px;
    overflow:hidden;
}

th,
td{
    padding:12px;
    border-bottom:1px solid #ead6b8;
    text-align:left;
}

th{
    background:#0b5021;
    color:white;
}

footer{
    background:linear-gradient(90deg,#6d350f,#8b4d18,#5c2a0b);
    color:#fff3d5;
    padding:18px 0;
    font-size:13px;
}

footer .container{
    display:flex;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
}

@media(max-width:1050px){

    .hero-inner,
    .about-stats,
    .join-grid{
        grid-template-columns:1fr;
    }

    .service-row{
        grid-template-columns:repeat(3,1fr);
    }

    .products-grid,
    .dashboard-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .menu{
        display:none;
        position:absolute;
        top:96px;
        left:0;
        width:100%;
        background:#fff8e9;
        flex-direction:column;
        align-items:flex-start;
        padding:24px;
        box-shadow:var(--shadow);
        gap:14px;
    }

    .menu.show{
        display:flex;
    }

    .dropdown{
        width:100%;
    }

    .dropdown-menu{
        position:relative;
        top:auto;
        left:auto;
        width:100%;
        min-width:100%;
        box-shadow:none;
        border-radius:10px;
        margin-top:8px;
        background:#f7faf7;
        display:none;
    }

    .dropdown:hover .dropdown-menu{
        display:block;
    }

    .hamburger{
        display:block;
    }

    .nav-actions{
        display:none;
    }
}

@media(max-width:720px){

    .topbar .container{
        flex-direction:column;
        text-align:center;
        gap:8px;
    }

    .hero h1{
        font-size:42px;
    }

    .product-cluster,
    .products-grid,
    .service-row,
    .big-stats,
    .dashboard-grid{
        grid-template-columns:1fr;
    }

    .service-mini{
        border-right:0;
        border-bottom:1px solid rgba(255,255,255,.25);
        padding:20px;
    }

    .brand-logo{
        width:54px;
        height:54px;
    }

    .brand h2{
        font-size:14px;
    }
}