: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;
  overflow-x: hidden;
}

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(132px, 14vw, 190px);
  height: 50px;
  object-fit: contain;
  object-position: left center;
}

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

.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,
.standards .section-heading p,
.standards-grid p,
.team-card 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;
}

.standards {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f9ef 100%),
    radial-gradient(circle at 8% 0%, rgba(123, 203, 53, 0.18), transparent 32%);
}

.standards .section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.standards .section-heading p:last-child {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 1.06rem;
}

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

.standards-grid article {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(8, 63, 56, 0.07);
}

.standards-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  min-height: 38px;
  margin-bottom: 26px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--leaf);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standards-grid article:nth-child(2n) span {
  background: var(--teal);
}

.standards-grid article:nth-child(3n) span {
  background: var(--gold);
  color: var(--forest);
}

.standards-grid p {
  margin: 14px 0 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;
}

.team {
  background:
    linear-gradient(180deg, #f7fbf2 0%, #ffffff 100%),
    radial-gradient(circle at 88% 12%, rgba(19, 139, 102, 0.12), transparent 30%);
}

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

.team-card {
  min-height: 330px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--leaf);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(8, 63, 56, 0.08);
}

.team-card:nth-child(2) {
  border-top-color: var(--gold);
}

.team-card:nth-child(3) {
  border-top-color: var(--teal);
}

.team-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-card:nth-child(2) span {
  color: #9a6810;
}

.team-card:nth-child(3) span {
  color: var(--teal);
}

.team-card p {
  margin: 16px 0 0;
}

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

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

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-direct > a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  padding: 0 16px;
  color: var(--forest);
  background: #eef8e9;
  border: 1px solid var(--line);
  border-left: 5px solid var(--fresh);
  border-radius: 6px;
  font-weight: 900;
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  max-width: 100%;
  min-height: 42px;
  padding: 0 12px 0 16px;
  color: var(--forest);
  background: linear-gradient(180deg, #f5fbf0, #edf8e7);
  border: 1px solid var(--line);
  border-left: 4px solid var(--fresh);
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(8, 63, 56, 0.06);
}

.phone-row span {
  flex: 0 1 auto;
  line-height: 1.2;
}

.icon-link {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  max-width: 24px;
  min-width: 24px;
  min-height: 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--forest);
  background: #ffffff;
  border: 1px solid rgba(8, 63, 56, 0.16);
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(8, 63, 56, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.icon-link.whatsapp {
  color: #ffffff;
  background: #25d366;
  border-color: rgba(37, 211, 102, 0.32);
}

.icon-link svg {
  display: block;
  flex: 0 0 auto;
  max-width: 12px;
  max-height: 12px;
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.icon-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(8, 63, 56, 0.13);
}

.office-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.office-list address {
  margin: 0;
  padding: 18px 20px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-style: normal;
  line-height: 1.65;
}

.office-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.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(6) {
  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(260px, 44vw);
  max-height: 95px;
  object-fit: contain;
  object-position: left center;
}

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

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.footer-contact a {
  color: var(--forest);
  font-weight: 800;
}

.footer-phone-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-phone-list .phone-row {
  background: transparent;
  border: 0;
  min-height: 28px;
  padding: 0;
  box-shadow: none;
}

.footer-contact address {
  max-width: 720px;
  margin: 4px 0 0;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 176px;
  }

  .site-header {
    top: 10px;
    flex-wrap: wrap;
    gap: 10px 16px;
    max-height: calc(100vh - 20px);
    overflow: hidden;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 0 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 9px 12px;
    background: #eef8e9;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

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

  .hero-content {
    margin-top: 188px;
    margin-bottom: 48px;
  }

  .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;
  }

  .contact-copy {
    max-width: 100%;
  }

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

  .standards-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  html {
    scroll-padding-top: 148px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    min-height: 0;
    gap: 8px 10px;
    padding: 8px;
  }

  .brand img {
    width: clamp(112px, 36vw, 142px);
    height: 42px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.78rem;
  }

  .nav-links {
    gap: 8px;
    font-size: 0.78rem;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .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: 154px;
    margin-bottom: 34px;
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(2.2rem, 10.4vw, 3rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.12rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }

  .tagline {
    margin-top: 18px;
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 26px;
  }

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

  .button {
    width: 100%;
  }

  .hero-strip {
    width: calc(100% - 28px);
    margin: 0 auto 18px;
    gap: 8px;
  }

  .hero-strip span {
    padding: 10px 12px;
  }

  .section-pad {
    padding: 58px 16px;
  }

  .intro-grid,
  .product-grid,
  .standards-grid,
  .team-grid,
  .steps {
    gap: 12px;
  }

  .story-panel,
  .product-card,
  .standards-grid article,
  .team-card,
  .contact-form {
    padding: 22px;
  }

  .product-card,
  .standards-grid article,
  .team-card {
    min-height: 0;
  }

  .leaf-mark {
    margin-bottom: 34px;
  }

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

  .seedling {
    height: 160px;
  }

  .seedling span {
    width: 88px;
    height: 48px;
  }

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

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

  .contact-direct > a,
  .phone-row {
    width: 100%;
    min-height: 46px;
  }

  .office-list address {
    padding: 16px;
  }

  .site-footer {
    display: grid;
    padding: 26px 16px;
  }

  .site-footer img {
    width: min(220px, 74vw);
    max-height: 100px;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }

  .footer-phone-list {
    display: grid;
    justify-content: flex-start;
    gap: 8px;
  }

  .footer-contact address {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .brand img {
    width: 112px;
    height: 40px;
  }

  .nav-cta {
    padding: 0 9px;
    font-size: 0.74rem;
  }

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

  h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .section-pad {
    padding-right: 14px;
    padding-left: 14px;
  }
}
