:root {
  --green-950: #06251d;
  --green-900: #113d2d;
  --green-700: #235f45;
  --green-100: #e3eee7;
  --red-700: #b62b28;
  --gold-700: #9b7a37;
  --gold-600: #bd9447;
  --gold-300: #e3c474;
  --paper: #fffdf7;
  --warm: #f7f1e5;
  --ivory: #fbf7ed;
  --ink: #17221e;
  --muted: #647169;
  --line: rgba(17, 61, 45, 0.14);
  --shadow: 0 24px 70px rgba(6, 37, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 247, 0.9);
  border-bottom: 1px solid rgba(15, 59, 45, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand picture,
.brand img {
  display: block;
}

.brand img {
  width: min(330px, 45vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--green-950);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red-700);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 80px) 64px;
  overflow: hidden;
  color: white;
  background: var(--green-950);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 37, 29, 0.94) 0%, rgba(6, 37, 29, 0.76) 34%, rgba(6, 37, 29, 0.22) 72%),
    linear-gradient(180deg, rgba(6, 37, 29, 0.08), rgba(6, 37, 29, 0.5)),
    url("assets/hero-nongben-nanniwan.webp") center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 248, 230, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #10241d;
  background: linear-gradient(135deg, #f0d88f, var(--gold-600));
  box-shadow: 0 12px 26px rgba(155, 122, 55, 0.22);
}

.btn.secondary {
  color: var(--paper);
  border-color: rgba(255, 248, 230, 0.5);
  background: rgba(255, 248, 230, 0.08);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 80px);
  bottom: 40px;
  z-index: 1;
  width: min(420px, calc(100% - 40px));
  padding: 22px;
  border-left: 4px solid var(--red-700);
  background: rgba(6, 37, 29, 0.76);
  box-shadow: var(--shadow);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 8px;
  color: var(--gold-300);
}

.section {
  padding: 92px clamp(20px, 6vw, 80px);
}

.section-head {
  max-width: 840px;
  margin-bottom: 38px;
}

.section-head h2,
.strategy h2,
.contact h2 {
  margin-bottom: 14px;
  color: var(--green-950);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.architecture article,
.channel-grid article,
.quality-chain article,
.product-cards article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.architecture span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green-900);
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  color: var(--green-950);
  font-size: 22px;
}

article p,
li {
  color: var(--muted);
}

.strategy {
  background: var(--green-950);
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.strategy h2 {
  color: var(--paper);
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-list div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 248, 230, 0.18);
  border-radius: 8px;
  background: rgba(255, 248, 230, 0.08);
}

.value-list b {
  color: var(--gold-300);
}

.value-list span {
  color: rgba(255, 248, 230, 0.86);
}

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

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.product-layout > img {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-cards {
  display: grid;
  gap: 16px;
}

.quality {
  background:
    linear-gradient(135deg, rgba(216, 163, 61, 0.12), transparent 44%),
    var(--paper);
}

.quality-chain article {
  min-height: 220px;
}

.quality-chain h3::before {
  display: block;
  width: 56px;
  height: 5px;
  margin-bottom: 24px;
  content: "";
  background: var(--red-700);
}

.channels {
  background: var(--paper);
}

.channel-grid ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.contact {
  background: var(--green-950);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 8px;
  background: var(--paper);
}

.contact dl {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  color: var(--green-950);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--red-700);
  font-weight: 700;
}

.site-footer {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 40px 20px;
  color: rgba(255, 248, 230, 0.78);
  text-align: center;
  background: #061c16;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-logos img {
  width: min(460px, 86vw);
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .hero {
    min-height: 720px;
    align-items: end;
    padding-top: 104px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(6, 37, 29, 0.2) 0%, rgba(6, 37, 29, 0.9) 58%, rgba(6, 37, 29, 0.98) 100%),
      url("assets/hero-nongben-nanniwan.webp") 63% center / cover;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }

  .architecture,
  .channel-grid,
  .quality-chain,
  .strategy-grid,
  .product-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: min(230px, 58vw);
  }

  .site-header {
    padding: 12px 16px;
  }

  .section {
    padding: 68px 18px;
  }

  .hero {
    min-height: 690px;
    padding: 104px 18px 36px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy,
  .section-head p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .value-list div,
  .contact dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .architecture article,
  .channel-grid article,
  .quality-chain article,
  .product-cards article {
    padding: 22px;
  }
}
