/* ==========================================================================
   NB Agro - site stylesheet
   Typeface: Inter (self-hosted variable font, weights 400-800)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --forest: #173f2a;
  --dark: #0d2c1c;
  --lime: #d9ee72;
  --cream: #f7f3e8;
  --paper: #fffdf7;
  --ink: #16231c;
  --muted: #657069;
  --line: #dfe3d8;
  --accent: #527f20;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

/* --------------------------------------------------------------- base --- */

* { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit }

/* Only the upright font is self-hosted, so italics would be faux-slanted. */
em { font-style: normal }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Display headings: Inter needs negative tracking and real weight at size. */
.hero h1,
h2,
.page-hero h1,
.product-detail h1,
.not-found h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
}

/* ------------------------------------------------------------- header --- */

.site-header {
  height: 86px;
  max-width: 1320px;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 63, 42, .13);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.brand strong { color: var(--forest); font-weight: 800 }

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
  display: grid;
  place-items: center;
}

.brand-mark svg { width: 20px; height: 20px; display: block }

nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
}

nav a { padding: 4px 0; border-bottom: 2px solid transparent }
nav a:hover { color: var(--accent) }
nav a.active { color: var(--accent); border-bottom-color: var(--accent) }

.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  letter-spacing: -.01em;
  border: 0;
  border-radius: 4px;
}

.header-cta { min-height: 44px; padding: 0 18px; font-size: 14px; white-space: nowrap }
.button { min-height: 52px; padding: 0 22px; font-size: 15px; cursor: pointer }
.button:hover, .header-cta:hover { background: var(--dark) }
.full { width: 100% }

/* --------------------------------------------------------------- hero --- */

.hero {
  max-width: 1320px;
  min-height: 660px;
  margin: auto;
  padding: 62px 32px 76px;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 66px;
  align-items: center;
}

.eyebrow, .section-kicker {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 { font-size: clamp(50px, 5.4vw, 84px); line-height: .98; letter-spacing: -.042em }
.hero h1 em, .page-hero h1 em { color: #5d8a25 }

.hero-text {
  max-width: 610px;
  margin: 28px 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions { display: flex; align-items: center; gap: 26px }
.text-button { font-weight: 600; border-bottom: 1px solid; padding-bottom: 2px }
.text-button:hover { color: var(--accent) }

.trust-row {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #526057;
  font-size: 13px;
  font-weight: 600;
}

.hero-visual {
  min-height: 540px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 3px 64px 3px 3px;
  background: #dfe7d0;
}

.hero-visual > img { width: 100%; height: 100%; position: absolute; object-fit: cover }

.hero-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--forest);
  transform: rotate(-7deg);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.seed-card {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 22px 26px;
  min-width: 235px;
  background: rgba(255, 253, 247, .94);
}

.seed-card small {
  display: block;
  color: #6b756e;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 6px;
}

.seed-card strong { font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35 }

/* -------------------------------------------------------------- intro --- */

.intro {
  padding: 90px max(32px, calc((100vw - 1256px) / 2));
  background: var(--cream);
  display: grid;
  grid-template-columns: .45fr 1.55fr;
  gap: 50px;
}

.intro > div { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end }

.intro h2, .section-heading h2, .contact-copy h2 {
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.05;
}

.intro p:last-child, .section-heading > p, .contact-copy > p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ----------------------------------------------------------- products --- */

.products-section { max-width: 1320px; margin: auto; padding: 110px 32px 120px }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.section-heading > p { max-width: 490px }

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

.product-card {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  border-radius: 4px;
  transition: transform .25s, box-shadow .25s;
}

.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 46px rgba(23, 63, 42, .1) }
.product-image { height: 230px; overflow: hidden; background: #edf0e6 }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s }
.product-card:hover img { transform: scale(1.04) }
.product-content { padding: 22px }

.product-content > span {
  color: #668b33;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.product-content p {
  min-height: 62px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.product-content strong { font-size: 13px; font-weight: 650; color: var(--accent) }

/* ------------------------------------------------------------ promise --- */

.promise-section {
  padding: 105px max(32px, calc((100vw - 1256px) / 2));
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  background: var(--forest);
  color: #fff;
}

.section-kicker.light { color: var(--lime) }
.promise-section h2 { font-size: clamp(32px, 4.1vw, 52px); line-height: 1.08 }
.promise-list { border-top: 1px solid rgba(255, 255, 255, .18) }

.promise-list article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.promise-list span { color: var(--lime); font-size: 15px; font-weight: 700; letter-spacing: .04em }
.promise-list h3 { margin: 0 0 7px; font-size: 19px; font-weight: 650; letter-spacing: -.015em }
.promise-list p { margin: 0; color: #c3d0c7; font-size: 15px; line-height: 1.65 }

/* ------------------------------------------------------------ contact --- */

.contact-section {
  max-width: 1320px;
  margin: auto;
  padding: 115px 32px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
}

.contact-copy > p { max-width: 480px; margin: 25px 0 32px }
.contact-details { display: grid; gap: 14px; font-weight: 650 }
.contact-details a { overflow-wrap: anywhere }
.contact-details a:hover { color: var(--accent) }

.contact-details small {
  display: block;
  color: #78817b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 2px;
}

.contact-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 14px;
  font-weight: 600;
}

.inquiry-form {
  padding: 38px;
  background: var(--cream);
  border-radius: 5px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.inquiry-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 650 }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }

input, select, textarea {
  width: 100%;
  border: 1px solid #d3d8cb;
  background: #fff;
  padding: 13px 15px;
  outline: none;
  border-radius: 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}

input::placeholder, textarea::placeholder { color: #9aa39c }

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23173f2a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

input:focus, select:focus, textarea:focus {
  border-color: #6b942c;
  box-shadow: 0 0 0 3px rgba(107, 148, 44, .12);
}

textarea { resize: vertical; line-height: 1.6 }
.honeypot { position: absolute !important; left: -10000px !important }

.alert {
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  border-left: 3px solid;
}

.success { background: #e1efbd; color: #294519; border-color: #5c8a1f }
.error { background: #f5d8d2; color: #7b231a; border-color: #b8402f }

/* ------------------------------------------------------------- footer --- */

footer {
  padding: 34px max(32px, calc((100vw - 1256px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  background: #0b2217;
  color: #dfe8e1;
  font-size: 13px;
}

.footer-brand { color: #fff }
.footer-mid { display: grid; gap: 12px }
.footer-mid p { margin: 0; color: #9fb0a4 }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 600 }
.footer-nav a { color: #c7d4cb }
.footer-nav a:hover { color: #fff }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  height: 56px;
  padding: 0 22px 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 28px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  transition: transform .2s, background .2s;
}

.whatsapp-float:hover { transform: translateY(-2px); background: #1eb457 }
.whatsapp-float svg { width: 27px; height: 27px; flex: none; display: block }
.wa-label { white-space: nowrap }

/* ------------------------------------------------------ product detail --- */

.product-page { max-width: 1220px; margin: auto; padding: 55px 32px 100px }

.back-link { display: inline-block; margin-bottom: 30px; color: var(--accent); font-size: 14px; font-weight: 650 }
.back-link:hover { color: var(--dark) }

.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--cream) }
.detail-image { min-height: 610px }
.detail-image img { width: 100%; height: 100%; object-fit: cover }
.detail-copy { padding: 65px 55px }
.detail-copy h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.03; letter-spacing: -.04em }
.detail-copy .lead { color: var(--muted); font-size: 17px; line-height: 1.75 }

.detail-copy ul {
  list-style: none;
  padding: 22px 0;
  margin: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 13px;
  font-size: 15px;
  font-weight: 600;
}

.whatsapp-button {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
}

.not-found { min-height: 60vh; padding: 100px 32px; text-align: center }
.not-found h1 { font-size: clamp(38px, 4.6vw, 60px); margin-bottom: 14px }
.not-found p { color: var(--muted); margin-bottom: 28px }

/* ---------------------------------------------- about + contact pages --- */

.page-hero {
  max-width: 1320px;
  margin: auto;
  padding: 62px 32px 54px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.04em }
.page-hero > p { margin: 0; max-width: 530px; color: var(--muted); font-size: 17px; line-height: 1.8 }

.story-section {
  max-width: 1320px;
  margin: auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.story-image {
  min-height: 560px;
  overflow: hidden;
  border-radius: 3px 64px 3px 3px;
  background: #dfe7d0;
}

.story-image img { width: 100%; height: 100%; min-height: 560px; object-fit: cover }
.story-copy h2 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.08 }
.story-copy p { margin: 22px 0 0; color: var(--muted); line-height: 1.8 }

.stats-section {
  padding: 70px max(32px, calc((100vw - 1256px) / 2));
  background: var(--cream);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stats-section article { padding-left: 24px; border-left: 2px solid var(--forest) }

.stats-section strong {
  display: block;
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -.045em;
  line-height: 1;
}

.stats-section span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6 }

.serve-section { max-width: 1320px; margin: auto; padding: 110px 32px }
.serve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }

.serve-grid article {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  border-radius: 4px;
}

.serve-grid h3 { margin: 0 0 10px; font-size: 19px; font-weight: 650; letter-spacing: -.015em }
.serve-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65 }

.serve-section .section-heading h2,
.faq-section .section-heading h2 { font-size: clamp(30px, 3.5vw, 46px) }

.cta-band {
  padding: 90px max(32px, calc((100vw - 1256px) / 2));
  background: var(--forest);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.cta-band h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.12 }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 28px }
.cta-band .button { background: var(--lime); color: var(--forest); font-weight: 700 }
.cta-band .button:hover { background: #e7f89a }
.text-button.light { color: #fff }

.channel-section {
  max-width: 1320px;
  margin: auto;
  padding: 70px 32px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.channel-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform .25s, box-shadow .25s;
}

a.channel-card:hover { transform: translateY(-5px); box-shadow: 0 18px 46px rgba(23, 63, 42, .1) }
.channel-card.static { background: var(--cream) }

.channel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
}

.channel-card.static .channel-icon { background: #fff }
.channel-icon svg { width: 19px; height: 19px; display: block }

.channel-card small {
  display: block;
  color: #78817b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.channel-card strong {
  display: block;
  margin: 9px 0 12px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.channel-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6 }

.faq-section { padding: 100px max(32px, calc((100vw - 1256px) / 2)); background: var(--cream) }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px }
.faq-grid article { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 4px }
.faq-grid h3 { margin: 0 0 11px; font-size: 18px; font-weight: 650; letter-spacing: -.015em }
.faq-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7 }

/* --------------------------------------------------------- responsive --- */

@media (max-width: 1000px) {
  .site-header { height: auto; flex-wrap: wrap; padding-top: 16px; padding-bottom: 0 }

  nav {
    order: 3;
    width: 100%;
    gap: 24px;
    margin-top: 16px;
    padding: 12px 0;
    overflow-x: auto;
    white-space: nowrap;
    border-top: 1px solid rgba(23, 63, 42, .1);
  }

  .hero,
  .intro,
  .intro > div,
  .promise-section,
  .contact-section,
  .product-detail,
  .page-hero,
  .story-section,
  .cta-band { grid-template-columns: 1fr }

  .product-grid,
  .serve-grid,
  .channel-section,
  .stats-section { grid-template-columns: repeat(2, 1fr) }

  .hero-visual { min-height: 500px }
  .promise-section, .contact-section { gap: 55px }
  .detail-image { min-height: 420px }
  .story-image, .story-image img { min-height: 420px }
  .cta-actions { justify-content: flex-start }
  .page-hero { padding-bottom: 44px; gap: 34px }
  footer { grid-template-columns: 1fr 1fr }
}

@media (max-width: 650px) {
  .site-header { height: auto; padding: 14px 18px 0 }
  nav { gap: 20px; font-size: 13px }
  .header-cta { min-height: 40px; padding: 0 14px; font-size: 13px }
  .header-cta span { display: none }

  .hero { padding: 46px 18px 62px; gap: 42px }
  .hero h1 { font-size: 46px }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px }
  .hero-visual { min-height: 420px; border-radius: 3px 36px 3px 3px }

  .intro, .promise-section { padding: 70px 18px }
  .products-section, .contact-section, .product-page, .serve-section { padding: 80px 18px }
  .page-hero, .story-section { padding: 46px 18px }
  .stats-section, .faq-section, .cta-band { padding: 70px 18px }
  .channel-section { padding: 50px 18px 0 }

  .section-heading { align-items: flex-start; flex-direction: column }

  .product-grid,
  .serve-grid,
  .channel-section,
  .stats-section,
  .faq-grid,
  .field-row { grid-template-columns: 1fr }

  .product-image { height: 260px }
  .product-content p { min-height: 0 }
  .inquiry-form { padding: 24px 18px }
  .detail-copy { padding: 40px 24px }
  .detail-image { min-height: 300px; height: 300px }
  .story-image, .story-image img { min-height: 300px }
  .story-image { border-radius: 3px 36px 3px 3px }
  .page-hero h1 { font-size: 40px }

  footer { padding: 35px 18px; grid-template-columns: 1fr }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center }
  .wa-label { display: none }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important }
  .product-card:hover, a.channel-card:hover, .whatsapp-float:hover { transform: none }
}
