:root {
  --primary: #2f7d32;
  --secondary: #1b5e20;
  --accent: #ffb300;
  --bg: #f7faf7;
  --text: #222;
  --muted: #4a5a4a;
  --card: #ffffff;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --transition: all 0.28s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; position: relative; }

h1, h2, h3 { font-family: 'Montserrat', 'Open Sans', sans-serif; margin: 0 0 12px; color: #0f1c0f; }
p { margin: 0 0 12px; color: var(--muted); }

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6vw;
  background: rgba(247, 250, 247, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(47, 125, 50, 0.08);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; }
.brand { display: flex; flex-direction: column; }
.brand .name { font-weight: 700; color: var(--secondary); }
.brand .tagline { font-size: 12px; color: var(--muted); }

nav { display: flex; gap: 18px; }
nav a {
  padding: 8px 0;
  font-weight: 600;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
nav a:hover::after,
nav a.active::after { width: 100%; }

#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
#hamburger span {
  width: 26px;
  height: 3px;
  background: var(--secondary);
  transition: var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn.primary { background: var(--primary); color: #fff; }
.btn.accent { background: var(--accent); color: #1f1500; }
.btn.ghost { background: transparent; color: var(--secondary); border-color: rgba(47, 125, 50, 0.25); }
.btn.primary:hover, .btn.accent:hover {
  box-shadow: 0 10px 30px rgba(47, 125, 50, 0.25), 0 0 0 4px rgba(255, 179, 0, 0.18);
  transform: translateY(-2px);
}
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 8px 26px rgba(0,0,0,0.08); }

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 0 6vw;
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: -2;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(47,125,50,0.65), rgba(27,94,32,0.45));
  z-index: -1;
}
.bg-shape {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 46% 54% 64% 36%;
  background: radial-gradient(circle at 30% 30%, rgba(255,179,0,0.32), rgba(255,179,0,0));
  animation: float 12s ease-in-out infinite;
  mix-blend-mode: screen;
  z-index: -1;
}
.shape-1 { top: 10%; left: 12%; animation-delay: 0s; }
.shape-2 { bottom: 5%; right: 8%; animation-delay: 3s; }

.hero-content { max-width: 640px; color: #fff; padding: 20px 0 60px; }
.hero .eyebrow { letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: #e6ffe6; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); color: #fff; }
.subhead { font-size: 18px; color: #e8f3e8; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.section { padding: 72px 6vw; }
.section-header { max-width: 760px; margin-bottom: 32px; }
.eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--secondary); text-transform: uppercase; margin-bottom: 8px; }
.preview-grid, .card-grid, .commodities-grid, .contact-panels { display: grid; gap: 18px; }
.preview-grid { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }

.stat-card, .card, .panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover, .panel:hover, .stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.card-grid { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.service-card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(47,125,50,0.08);
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 20px;
}
.service-card .link { color: var(--primary); font-weight: 700; }

.icon-badge {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47,125,50,0.12) 0%, rgba(255,179,0,0.08) 100%);
  font-size: 28px;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  margin-top: 10px;
}

.commodity-card {
  transition: var(--transition);
}
.commodity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 46px rgba(47,125,50,0.15);
}

.commodities-grid { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.commodities-grid.cards .commodity {
  padding: 0;
  overflow: hidden;
}
.commodity img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s ease; }
.commodity:hover img { transform: scale(1.05); }
.commodity h3 { padding: 18px 18px 8px; }
.commodity p { padding: 0 18px 18px; }

.commodities-preview .commodity-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.commodities-preview .commodity-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.commodities-preview .commodity-card p {
  margin-bottom: 12px;
}
  border-radius: 12px;
  transition: transform 0.4s ease;
}
.commodities-preview .commodity-card:hover { transform: translateY(-8px); }
.commodities-preview .commodity-card:hover img { transform: scale(1.05); }

.center { text-align: center; margin-top: 24px; }
.cta { padding: 60px 6vw; }
.cta-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: linear-gradient(120deg, var(--secondary), var(--primary));
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.cta .btn.ghost:hover { border-color: #fff; }

.contact-panels { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }

.footer {
  background: linear-gradient(135deg, #0f1c0f 0%, #1b5e20 100%);
  color: #e6f1e6;
  padding: 48px 6vw 24px;
  border-top: 2px solid rgba(255, 179, 0, 0.2);
}

.footer-container {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1400px;
  margin: 0 auto 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 179, 0, 0.15);
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffb300;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column .tagline {
  font-size: 13px;
  color: #ffb300;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-column .description {
  font-size: 13px;
  line-height: 1.6;
  color: #c7d5c7;
  margin: 0;
}

.footer-column p {
  font-size: 13px;
  margin: 8px 0;
  color: #c7d5c7;
  line-height: 1.6;
}

.footer-column a {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: #c7d5c7;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: #ffb300;
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 179, 0, 0.12);
  border-radius: 50%;
  color: #ffb300;
  font-weight: 700;
  margin: 0;
  transition: var(--transition);
}

.social-links a:hover {
  background: #ffb300;
  color: #0f1c0f;
  transform: translateY(-4px);
  padding-left: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 16px;
  font-size: 12px;
  color: #b7c5b7;
}

.footer-bottom p {
  margin: 0;
}

.page-hero {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); z-index: -2; }
.page-hero .overlay { background: linear-gradient(120deg, rgba(27,94,32,0.75), rgba(47,125,50,0.55)); }
.page-hero-content { padding: 40px 6vw 30px; max-width: 720px; }
.page-hero.compact { min-height: 260px; }

.internal-page .section { padding-top: 64px; }
.highlight { background: linear-gradient(180deg, rgba(47,125,50,0.06), rgba(47,125,50,0)); border-top: 1px solid rgba(47,125,50,0.12); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li::before { content: "✔"; color: var(--primary); margin-right: 8px; }
.panel h3 { margin-top: 0; }

.form-layout { align-items: stretch; }
.form-card { background: #fff; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
label { font-weight: 700; color: #0f1c0f; }
input, textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 15px;
  transition: var(--transition);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,125,50,0.18);
}
.error { color: #b00020; min-height: 14px; font-size: 12px; }
.form-note { font-size: 13px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.04); }
}

@media (max-width: 1024px) {
  .navbar { padding: 10px 5vw; }
  .hero { padding: 0 5vw; }
}
@media (max-width: 820px) {
  nav { position: absolute; top: 70px; right: 6vw; background: #fff; padding: 14px; border-radius: 12px; box-shadow: var(--shadow); display: none; flex-direction: column; }
  nav.open { display: flex; }
  #hamburger { display: inline-flex; }
  .contact-btn { display: none; }
  .commodities-preview .commodity-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { min-height: 80vh; }
  .hero-content { padding-bottom: 40px; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}
