:root {
  color-scheme: light;
  --ink: #172015;
  --muted: #687165;
  --line: #e5e8df;
  --paper: #f7f5ed;
  --white: #ffffff;
  --green: #155638;
  --green-dark: #0d3524;
  --red: #b82822;
  --gold: #bd8434;
  --soft: #f0f4e8;
  --shadow: 0 18px 46px rgba(26, 38, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button {
  font: inherit;
}

.topline {
  color: #dce8d7;
  background: var(--green-dark);
  font-size: 13px;
}

.topline-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 8px 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(18px, 5vw, 70px);
  border-bottom: 1px solid rgba(229, 232, 223, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 4px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #d5522d);
  font-weight: 800;
  font-size: 18px;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 15px;
}

.site-header nav a {
  position: relative;
  display: inline-flex;
  min-height: 78px;
  align-items: center;
  color: #2c3429;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: 0.18s ease;
}

.site-header nav a:hover {
  color: var(--red);
}

.site-header nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: center;
  padding: clamp(80px, 12vw, 140px) clamp(18px, 6vw, 88px);
  color: var(--white);
  background: var(--green-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 34, 24, 0.88) 0%, rgba(12, 34, 24, 0.58) 45%, rgba(12, 34, 24, 0.2) 100%),
    url("assets/company-gate.jpg") center bottom / cover no-repeat;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero-content p,
.section-title p,
.contact-card p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.28;
}

.hero-content span {
  display: block;
  max-width: 620px;
  color: #e9f0e2;
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  padding: 0 24px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.quick-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1220px;
  margin: -48px auto 0;
  padding: 0 24px;
}

.quick-stats article {
  min-height: 128px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-stats article:first-child {
  border-radius: 8px 0 0 8px;
}

.quick-stats article:last-child {
  border-right: 0;
  border-radius: 0 8px 8px 0;
}

.quick-stats strong,
.quick-stats span {
  display: block;
}

.quick-stats strong {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 21px;
}

.quick-stats span,
.section-title span,
.about-text p,
.product-copy p,
.capability-grid span,
.news-grid p,
.contact-card span,
address {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 70px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title.light h2,
.section-title.light p {
  color: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}

.about-text {
  padding-left: clamp(0px, 3vw, 28px);
}

.about-text h3 {
  font-size: clamp(26px, 3vw, 38px);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.products {
  background: var(--white);
}

.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.product-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 18px;
  color: #394234;
  background: var(--white);
  cursor: pointer;
}

.product-tabs button.active,
.product-tabs button:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
}

.product-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-image {
  min-height: 250px;
  background:
    radial-gradient(circle at 28% 68%, rgba(238, 181, 83, 0.9) 0 7%, transparent 8%),
    radial-gradient(circle at 48% 58%, rgba(177, 105, 37, 0.9) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 64%, rgba(232, 154, 58, 0.88) 0 7%, transparent 8%),
    linear-gradient(135deg, #f4e6bd, #d8b573);
}

.product-image.seeds {
  background:
    radial-gradient(ellipse at 32% 62%, #2f2114 0 5%, transparent 6%),
    radial-gradient(ellipse at 52% 55%, #4a2e19 0 5%, transparent 6%),
    radial-gradient(ellipse at 72% 64%, #342011 0 5%, transparent 6%),
    linear-gradient(135deg, #e7d4a7, #9a7240);
}

.product-image.gift {
  background:
    linear-gradient(90deg, rgba(184, 40, 34, 0.9) 0 18%, transparent 19% 81%, rgba(184, 40, 34, 0.9) 82%),
    linear-gradient(0deg, rgba(21, 86, 56, 0.86) 0 18%, transparent 19% 81%, rgba(21, 86, 56, 0.86) 82%),
    linear-gradient(135deg, #f2dfad, #d19c49);
}

.product-copy {
  min-height: 182px;
  padding: 24px;
}

.manufacturing {
  background:
    linear-gradient(90deg, rgba(13, 53, 36, 0.98), rgba(13, 53, 36, 0.86)),
    url("assets/company-gate.jpg") center / cover no-repeat;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1220px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-grid article {
  min-height: 220px;
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.08);
}

.capability-grid b,
.capability-grid span {
  display: block;
}

.capability-grid b {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 22px;
}

.capability-grid span {
  color: #dce8d5;
}

.news {
  background: var(--soft);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto;
}

.news-grid article {
  min-height: 230px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
}

.news-grid time {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 800;
}

.contact {
  background: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: #fbfcf8;
  box-shadow: var(--shadow);
}

address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 70px);
  color: #dce8d7;
  background: var(--green-dark);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 20px;
}

.site-footer nav a {
  color: #dce8d7;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-header nav a {
    min-height: 36px;
    white-space: nowrap;
  }

  .quick-stats,
  .product-grid,
  .capability-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-stats article:nth-child(2) {
    border-radius: 0 8px 8px 0;
  }

  .quick-stats article:nth-child(3) {
    border-radius: 8px 0 0 8px;
  }

  .about-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topline-inner,
  .site-footer {
    flex-direction: column;
  }

  .topline-inner {
    gap: 4px;
  }

  .brand strong {
    white-space: normal;
  }

  .hero {
    min-height: 560px;
  }

  .quick-stats,
  .product-grid,
  .capability-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    margin-top: 0;
    padding-top: 18px;
  }

  .quick-stats article,
  .quick-stats article:first-child,
  .quick-stats article:nth-child(2),
  .quick-stats article:nth-child(3),
  .quick-stats article:last-child {
    border-right: 0;
    border-radius: 8px;
  }

  .product-image {
    min-height: 210px;
  }
}
