:root {
  --green: #24643b;
  --green-deep: #143c27;
  --green-soft: #edf4ee;
  --ink: #1d2820;
  --muted: #687069;
  --line: #dde5de;
  --paper: #fbfcfa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(25, 60, 37, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-tint { background: var(--green-soft); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(221, 229, 222, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-logo { width: 45px; height: 50px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-size: 16px; letter-spacing: 0.08em; }
.brand-text small { color: var(--muted); font-size: 9px; letter-spacing: 0.06em; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 30px; color: #4d5950; font-size: 14px; }
.main-nav a { transition: color 0.2s ease; }
.main-nav a:hover { color: var(--green); }

.hero { position: relative; min-height: 600px; display: grid; align-items: center; color: var(--white); overflow: hidden; background: #173b29 url("assets/images/facility-aerial.webp") center 57% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 41, 26, 0.89) 0%, rgba(18, 50, 32, 0.66) 46%, rgba(12, 29, 20, 0.22) 100%); }
.hero-content { position: relative; padding: 80px 0; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.eyebrow.light { color: #b9ddc4; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(38px, 5.2vw, 64px); font-weight: 700; line-height: 1.22; letter-spacing: 0.05em; }
.hero-copy { max-width: 590px; margin-bottom: 34px; color: rgba(255,255,255,0.87); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid transparent; font-size: 15px; font-weight: 600; transition: transform 0.2s ease, background 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #f3f7f1; color: var(--green-deep); }
.button-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }

.split-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(44px, 7vw, 96px); align-items: center; }
.intro-image-wrap { position: relative; }
.intro-image-wrap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro-image-wrap p { position: absolute; right: 0; bottom: 0; margin: 0; padding: 9px 15px; background: var(--green); color: var(--white); font-size: 13px; letter-spacing: 0.08em; }
.intro-copy h2, .section-heading h2, .contact h2 { margin-bottom: 22px; font-size: clamp(28px, 3vw, 38px); line-height: 1.3; letter-spacing: 0.04em; }
.intro-copy > p:not(.eyebrow) { color: #4d554e; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; }
.facts div { display: grid; gap: 2px; }
.facts strong { color: var(--green); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; font-weight: 700; }
.facts .unit { font-size: 0.64em; }
.facts span:last-child { color: var(--muted); font-size: 12px; line-height: 1.5; }

.section-heading { margin-bottom: 45px; }
.section-heading.centered { max-width: 640px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.centered > p:last-child { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 225px; padding: 29px; background: var(--white); border: 1px solid #e0e9e1; }
.service-number { display: block; margin-bottom: 36px; color: #8daf95; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.service-card h3 { margin-bottom: 10px; color: var(--green-deep); font-size: 22px; letter-spacing: 0.04em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

.products { background: var(--white); }
.products-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.products-heading > p { max-width: 460px; margin-bottom: 3px; color: var(--muted); font-size: 14px; }
.product-groups { display: grid; gap: 56px; }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 13px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.group-title h3 { margin: 0; color: var(--green-deep); font-size: 22px; letter-spacing: 0.04em; }
.group-title span { color: #7e8c80; font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: calc(50% - 8px); }
.product-card { overflow: hidden; border: 1px solid #e2e8e2; background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.product-card:hover { transform: translateY(-3px); border-color: #b6cdbb; box-shadow: var(--shadow); }
.product-image { display: grid; height: 220px; overflow: hidden; padding: 17px; place-items: center; background: linear-gradient(145deg, #f4f7f4, #edf2ed); }
.product-image img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.product-image.image-wide img { mix-blend-mode: normal; }
.product-info { min-height: 105px; padding: 17px 16px; border-top: 1px solid #edf0ed; }
.product-info h4 { margin-bottom: 7px; color: #26392b; font-size: 15px; line-height: 1.45; }
.product-info p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.section-dark { background: var(--green-deep); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr); align-items: center; gap: 64px; }
.contact h2 { margin-bottom: 13px; }
.contact p:not(.eyebrow) { max-width: 540px; margin-bottom: 0; color: #d3e4d6; }
.address-card { display: grid; gap: 21px; padding: 32px; background: rgba(255,255,255,0.07); border: 1px solid rgba(215, 237, 218, 0.24); font-style: normal; }
.contact-detail { display: grid; gap: 8px; }
.address-card span { color: #b9ddc4; font-size: 13px; letter-spacing: 0.12em; }
.address-card strong { font-size: 20px; line-height: 1.55; letter-spacing: 0.03em; }
.contact-phone { color: var(--white); font-size: 24px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; }
.address-card small { color: #d3e4d6; font-size: 13px; }

.site-footer { padding: 31px 0 26px; background: #102a1c; color: #aebcae; text-align: center; font-size: 12px; line-height: 1.8; }
.site-footer p { margin: 0; }
.filing { margin-top: 10px !important; }
.filing a { color: #e2f0e4; text-decoration: underline; text-underline-offset: 3px; }

.error-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.error-main { display: grid; min-height: 520px; place-items: center; padding: 80px 24px; background: radial-gradient(circle at 50% 8%, #f1f7f2 0, #fbfcfa 48%, #eaf2eb 100%); text-align: center; }
.error-content { max-width: 580px; }
.error-code { margin: 0 0 -17px; color: rgba(36, 100, 59, 0.12); font-size: clamp(110px, 20vw, 200px); font-weight: 800; line-height: 0.9; letter-spacing: -0.08em; }
.error-content h1 { margin: 0 auto 16px; color: var(--green-deep); font-size: clamp(28px, 4vw, 42px); letter-spacing: 0.04em; }
.error-content > p:not(.eyebrow):not(.error-code) { max-width: 430px; margin: 0 auto 30px; color: var(--muted); }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-compact { max-width: 66.66%; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 560px); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 66px; }
  .main-nav { display: none; }
  .hero { min-height: 570px; background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(13, 41, 26, 0.88), rgba(16, 48, 30, 0.55)); }
  .hero-copy { font-size: 16px; }
  .split-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .intro-image-wrap { order: 2; }
  .facts { gap: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-number { margin-bottom: 18px; }
  .products-heading { display: block; }
  .products-heading > p { max-width: none; }
  .product-grid, .product-grid-compact { grid-template-columns: repeat(2, 1fr); max-width: none; gap: 12px; }
  .product-image { height: 174px; padding: 12px; }
  .product-info { min-height: 115px; padding: 13px; }
  .group-title { display: block; }
  .group-title span { display: block; margin-top: 4px; }
  .address-card { padding: 25px; }
  .error-main { min-height: 460px; padding: 64px 16px; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 90px 1fr; align-items: end; }
}
