:root {
  --green: #6dc88c;
  --green-dark: #2d7d42;
  --green-soft: #eaf8ee;
  --navy: #0b1e28;
  --navy-soft: #1a3c4a;
  --charcoal: #1f2a2e;
  --muted: #5e6d75;
  --line: rgba(18, 30, 36, 0.08);
  --surface: #ffffff;
  --bg: #f3f4f3;
  --shadow: 0 18px 35px rgba(11, 29, 45, 0.08);
  --success: #2a9d63;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.page-shell {
  background: var(--bg);
}

.top-header {
  background: #f8f8f7;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d7f3de, #8cd5a1);
  border: 2px solid rgba(26, 83, 47, 0.2);
  font-size: 1.4rem;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.brand-subtitle {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--green-dark);
  transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-dark);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.request-quote,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.request-quote,
.primary-btn {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(49, 123, 69, 0.2);
}

.request-quote {
  font-size: 0.7rem;
  padding: 10px 18px;
}

.primary-btn {
  padding: 12px 22px;
  font-size: 0.7rem;
}

.primary-btn:hover,
.request-quote:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
  padding: 12px 22px;
  font-size: 0.7rem;
}

.secondary-btn.light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}

.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: center;
  min-height: 515px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(9, 19, 25, 0.1), rgba(9, 19, 25, 0.34));
  margin: 0 auto;
  width: min(1200px, calc(100% - 40px));
  border-radius: 0 0 6px 6px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-panel {
  position: relative;
  height: 100%;
  min-height: 515px;
  overflow: hidden;
}

.left-panel {
  background: url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.right-panel {
  background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 22, 30, 0.38), rgba(12, 22, 30, 0.16));
}

.panel-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(10, 27, 34, 0.3);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 1;
}

.panel-tag-right {
  left: auto;
  right: 18px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 52px 26px 42px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 25, 29, 0.28), rgba(14, 25, 29, 0.55));
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hero-content h1 {
  margin: 0 auto 18px;
  max-width: 520px;
  font-size: clamp(2.1rem, 3vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.hero-subtext {
  margin: 0 auto;
  max-width: 620px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.benefits {
  padding: 24px 0 18px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #f9faf9;
  border: 1px solid var(--line);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
}

.benefit-card:last-child {
  border-right: none;
}

.benefit-icon {
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(45, 125, 66, 0.25);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.95rem;
}

.benefit-card h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.benefit-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.products,
.buyers,
.contact-section {
  padding: 72px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 26px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.section-title-wrap h2,
.buyers-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.section-title-wrap h2 {
  font-size: clamp(3.3rem, 5vw, 5.1rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(17, 26, 30, 0.08);
  box-shadow: none;
}

.product-image {
  height: 230px;
  background-size: cover;
  background-position: center;
}

.image-onion {
  background-image: url('./images/onion-product.png');
  background-position: center;
  background-size: cover;
}

.image-tomato {
  background-image: url('https://images.unsplash.com/photo-1546094096-0df4bcaaa337?auto=format&fit=crop&w=900&q=80');
}

.image-fruits {
  background-image: url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=900&q=80');
}

.image-spices {
  background-image: url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?auto=format&fit=crop&w=900&q=80');
}

.product-copy {
  padding: 18px 18px 22px;
}

.product-copy h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.product-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.product-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
}

.product-copy a span {
  font-size: 1.1rem;
}

.stats-band {
  background: #edf3ef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 30px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 150px;
  padding: 18px 12px;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.stat-number {
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 200px;
}

.buyers-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: center;
}

.buyers-copy {
  max-width: 430px;
}

.buyers-copy p {
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 1rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cert-item {
  display: grid;
  justify-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: var(--shadow);
}

.cert-logo {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #edf8ef;
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 12px;
  border: 2px solid rgba(45, 125, 66, 0.14);
}

.cert-item strong {
  display: block;
  margin-bottom: 2px;
}

.cert-item span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.cta-strip {
  background: linear-gradient(135deg, #0d2430, #1b474e);
  color: #fff;
  padding: 24px 0;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-row p {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  align-items: start;
}

.contact-copy {
  padding-top: 8px;
}

.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
}

.contact-copy ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--navy);
  font-weight: 500;
}

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9faf9;
  color: var(--navy);
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(45, 125, 66, 0.14);
  border-color: rgba(45, 125, 66, 0.32);
}

.submit-btn {
  border: 0;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--success);
  font-weight: 700;
}

.form-status.error {
  color: #ca4040;
}

.site-footer {
  background: #0b1d25;
  color: rgba(255, 255, 255, 0.8);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.footer-brand-wrap {
  max-width: 500px;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-brand .brand-title,
.footer-brand .brand-subtitle {
  color: #fff;
}

.site-footer p,
.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.admin-login-link {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.admin-login-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.admin-login-link:hover,
.admin-login-link:focus-visible {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  outline: none;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (max-width: 980px) {
  .top-header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .main-nav {
    width: 100%;
  }

  .hero-banner {
    grid-template-columns: 1fr 1.4fr 1fr;
  }

  .benefits-grid,
  .product-grid,
  .stats-grid,
  .certs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyers-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .buyers-copy {
    max-width: 100%;
  }

  .footer-inner,
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .top-header-inner {
    padding: 12px 0;
  }

  .main-nav {
    gap: 10px 16px;
    font-size: 0.65rem;
  }

  .request-quote {
    width: 100%;
  }

  .hero-banner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    min-height: 180px;
  }

  .hero-content {
    padding: 36px 20px 30px;
  }

  .benefits-grid,
  .product-grid,
  .stats-grid,
  .certs-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .cta-actions,
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .request-quote {
    width: 100%;
  }
}
