:root {
  --forest: #083f38;
  --leaf: #138b66;
  --fresh: #7bcb35;
  --teal: #0f6f72;
  --gold: #f2b43f;
  --soil: #5b3523;
  --cream: #f7fbf2;
  --paper: #ffffff;
  --ink: #18322e;
  --muted: #5a6f68;
  --line: rgba(8, 63, 56, 0.14);
  --shadow: 0 22px 60px rgba(8, 63, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Avenir Next, Montserrat, Inter, Segoe UI, Arial, sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(8, 63, 56, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: clamp(148px, 15vw, 220px);
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  padding: 12px 0;
}

.nav-cta,
.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-cta {
  color: #ffffff;
  background: var(--forest);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 251, 242, 0.98) 0%, rgba(247, 251, 242, 0.82) 38%, rgba(247, 251, 242, 0.12) 74%),
    linear-gradient(0deg, rgba(8, 63, 56, 0.34), rgba(8, 63, 56, 0.02) 50%);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 136px auto 70px;
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  max-width: 860px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.tagline {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--leaf);
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero-copy {
  max-width: 580px;
  margin: 22px 0 0;
  color: #334a44;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button.primary {
  color: #ffffff;
  background: var(--leaf);
  box-shadow: 0 14px 30px rgba(19, 139, 102, 0.22);
}

.button.secondary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.hero-strip {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 24px;
  display: flex;
  gap: 10px;
  max-width: calc(100% - 40px);
}

.hero-strip span {
  padding: 11px 14px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(8, 63, 56, 0.1);
}

.section-pad {
  padding: clamp(70px, 9vw, 128px) max(20px, calc((100vw - 1180px) / 2));
}

.section-heading {
  max-width: 820px;
}

.section-heading.centered {
  margin: 0 auto 36px;
  text-align: center;
}

h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--forest);
  font-size: 1.24rem;
  line-height: 1.2;
}

.intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(247, 251, 242, 0.98)),
    radial-gradient(circle at 80% 10%, rgba(242, 180, 63, 0.2), transparent 34%);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: end;
  margin-top: 36px;
}

.story-panel {
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-panel p,
.quality-copy p,
.contact-copy p,
.product-card p,
.steps p {
  color: var(--muted);
  line-height: 1.75;
}

.story-panel p {
  margin: 0;
  font-size: 1.08rem;
}

.story-panel p + p {
  margin-top: 18px;
}

.metric-row {
  display: grid;
  gap: 14px;
}

.metric-row div {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 90px;
  padding: 20px;
  color: var(--forest);
  background: #eef8e9;
  border-left: 6px solid var(--fresh);
  border-radius: 8px;
}

.metric-row strong {
  color: var(--gold);
  font-size: 2rem;
}

.metric-row span {
  font-weight: 800;
}

.products {
  background: #ffffff;
}

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

.product-card {
  min-height: 298px;
  padding: 30px;
  background: linear-gradient(180deg, #ffffff, #f2f8ef);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(8, 63, 56, 0.08);
}

.leaf-mark {
  width: 68px;
  height: 68px;
  margin-bottom: 54px;
  background: var(--leaf);
  border-radius: 68px 6px 68px 6px;
  transform: rotate(-28deg);
  box-shadow: inset -13px -10px 0 rgba(8, 63, 56, 0.16);
}

.leaf-mark.powder {
  background: var(--fresh);
  border-radius: 50%;
}

.leaf-mark.pods {
  width: 92px;
  height: 24px;
  margin-top: 18px;
  background: var(--gold);
  border-radius: 99px;
}

.product-card p {
  margin: 14px 0 0;
}

.quality {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  background: #edf6e9;
}

.quality-visual {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #d8efc8 0%, #ffffff 46%, #d2b18b 100%);
  border: 1px solid rgba(8, 63, 56, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.soil-line {
  position: absolute;
  right: -10%;
  bottom: 76px;
  left: -10%;
  height: 130px;
  background: linear-gradient(180deg, var(--soil), #2f1d16);
  transform: rotate(-7deg);
}

.seedling {
  position: absolute;
  left: 50%;
  bottom: 120px;
  width: 10px;
  height: 220px;
  background: var(--leaf);
  border-radius: 99px;
  transform: translateX(-50%);
}

.seedling span {
  position: absolute;
  top: 58px;
  width: 120px;
  height: 62px;
  background: var(--fresh);
  border-radius: 120px 6px;
  transform-origin: left center;
}

.seedling span:first-child {
  left: 8px;
  transform: rotate(-26deg);
}

.seedling span:last-child {
  right: 8px;
  transform: rotate(206deg);
}

.quality-copy > p:last-of-type {
  max-width: 620px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.steps article {
  display: grid;
  grid-template-columns: 52px 120px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 63, 56, 0.12);
  border-radius: 8px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: var(--leaf);
  border-radius: 50%;
  font-weight: 900;
}

.steps p {
  margin: 0;
}

.exports {
  color: #ffffff;
  background:
    linear-gradient(rgba(8, 63, 56, 0.9), rgba(8, 63, 56, 0.9)),
    url("assets/moringa-export-hero.png") center / cover;
}

.exports-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.exports h2,
.exports .eyebrow {
  color: #ffffff;
}

.export-list {
  display: grid;
  gap: 12px;
}

.export-list span {
  display: block;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 78px);
  background: #ffffff;
}

.contact-copy {
  max-width: 530px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(8, 63, 56, 0.18);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  grid-column: 1 / -1;
  color: #ffffff;
  background: var(--forest);
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--leaf);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  color: var(--forest);
  background: #e5f2dd;
}

.site-footer img {
  width: min(320px, 52vw);
}

.site-footer p {
  margin: 0;
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-content {
    margin-top: 172px;
  }

  .hero-strip {
    position: static;
    flex-wrap: wrap;
    width: min(1180px, calc(100% - 40px));
    margin: -50px auto 24px;
  }

  .intro-grid,
  .quality,
  .exports-inner,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .quality-visual {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 20px);
    padding: 10px;
  }

  .brand img {
    width: 178px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(247, 251, 242, 0.97) 0%, rgba(247, 251, 242, 0.82) 54%, rgba(247, 251, 242, 0.24) 100%),
      linear-gradient(0deg, rgba(8, 63, 56, 0.26), rgba(8, 63, 56, 0));
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-top: 184px;
  }

  h1 {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
    line-height: 0.98;
  }

  .hero-actions,
  .hero-strip {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .metric-row div,
  .steps article,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label:nth-child(4),
  .contact-form button {
    grid-column: auto;
  }

  .site-footer {
    display: grid;
  }
}
