/* 杭州华义环保科技有限公司 - 站点样式 */

:root {
  --green-900: #12281f;
  --green-800: #1b3b2d;
  --green-700: #24513c;
  --green-600: #2f684e;
  --green-500: #3f8061;
  --green-100: #e7f0e9;
  --green-50: #f3f7f3;
  --cream: #faf8f3;
  --paper: #ffffff;
  --ink: #1d2a24;
  --muted: #66756d;
  --line: #e2e8e3;
  --gold: #a9814b;
  --gold-soft: #c9a876;
  --shadow: 0 1px 2px rgba(18, 40, 31, .04), 0 8px 28px rgba(18, 40, 31, .06);
  --radius: 10px;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: .06em; color: var(--green-800); }
.brand-en { font-size: 9px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a { font-size: 14px; color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--green-600); transition: width .25s; }
.nav a:hover, .nav a.active { color: var(--green-700); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav-cta { padding: 9px 20px !important; border: 1px solid var(--green-600); border-radius: 4px; color: var(--green-700) !important; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--green-700); color: #fff !important; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 5px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--green-800); margin: 4px auto; transition: .25s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; border-radius: 4px; font-size: 14px; letter-spacing: .03em; transition: .25s; border: 1px solid transparent; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--green-600); color: var(--green-700); }
.btn-ghost:hover { background: var(--green-100); }
.btn-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.12); }
.btn svg { width: 15px; height: 15px; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; padding: 92px 0 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 56px); line-height: 1.3; font-weight: 700; color: var(--green-900); letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--green-600); background: linear-gradient(transparent 72%, rgba(169,129,75,.22) 72%); }
.hero p.lead { font-size: 16px; color: var(--muted); margin: 26px 0 34px; max-width: 520px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 42px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats div strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--green-700); line-height: 1.2; }
.hero-stats div span { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-art::before { content: ""; position: absolute; width: 400px; height: 400px; border: 1px solid var(--green-100); border-radius: 50%; }
.hero-art::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px dashed rgba(169,129,75,.3); border-radius: 50%; }
.hero-art svg { position: relative; z-index: 1; width: 100%; max-width: 420px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-white { background: var(--paper); }
.section-green { background: var(--green-800); color: #e8f0ea; }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.4; color: var(--green-900); font-weight: 700; }
.section-green .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); margin-top: 16px; max-width: 620px; }
.section-green .section-head p { color: rgba(232,240,234,.72); }
.section-green .eyebrow { color: var(--gold-soft); }
.section-green .eyebrow::before { background: var(--gold-soft); }

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.feature-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--green-50); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--green-600); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--serif); font-size: 19px; color: var(--green-900); margin-bottom: 10px; font-weight: 700; }
.feature p { font-size: 14px; color: var(--muted); }

/* Product card */
.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-visual { height: 210px; background: var(--green-50); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.product-visual svg { width: 150px; height: 150px; }
.product-body { padding: 28px 28px 30px; }
.product-body h3 { font-family: var(--serif); font-size: 20px; color: var(--green-900); margin-bottom: 8px; }
.product-body p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 11px; padding: 4px 10px; border-radius: 3px; background: var(--green-50); color: var(--green-700); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-visual svg { width: 100%; max-width: 480px; margin: 0 auto; }
.split h2 { font-family: var(--serif); font-size: clamp(26px,3vw,36px); color: var(--green-900); line-height: 1.4; margin-bottom: 22px; }
.split p { color: var(--muted); margin-bottom: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.check-list svg { width: 18px; height: 18px; flex: none; color: var(--green-600); margin-top: 3px; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--green-800); color: #fff; padding: 78px 0 84px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -100px; top: -120px; width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(32px,4vw,48px); line-height: 1.35; }
.page-hero p { max-width: 620px; margin-top: 18px; color: rgba(255,255,255,.72); font-size: 16px; }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 24px; letter-spacing: .06em; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
th { background: var(--green-50); text-align: left; padding: 16px 20px; font-weight: 600; color: var(--green-800); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
tr:last-child td { border-bottom: none; }
td strong { color: var(--ink); font-weight: 600; }

/* ---------- Timeline ---------- */
.timeline { border-left: 1px solid var(--line); margin-left: 10px; padding-left: 34px; }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -41px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green-600); }
.timeline-item .year { font-family: var(--serif); color: var(--green-600); font-size: 18px; margin-bottom: 6px; }
.timeline-item h3 { font-size: 16px; color: var(--green-900); margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--muted); }

/* ---------- Values ---------- */
.value-card { text-align: center; padding: 38px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.value-card .num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.value-card h3 { font-family: var(--serif); font-size: 20px; color: var(--green-900); margin: 12px 0; }
.value-card p { font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 18px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item .ci-icon { width: 42px; height: 42px; flex: none; border-radius: 6px; background: var(--green-50); display: flex; align-items: center; justify-content: center; color: var(--green-600); }
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: 14px; color: var(--green-800); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--muted); word-break: break-all; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.form-card h3 { font-family: var(--serif); font-size: 22px; color: var(--green-900); margin-bottom: 8px; }
.form-card .hint { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--green-800); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; font-family: inherit; font-size: 14px; color: var(--ink); background: var(--cream); transition: .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-500); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-msg { font-size: 13px; margin-top: 14px; min-height: 20px; color: var(--green-600); }

/* ---------- CTA ---------- */
.cta { background: var(--green-800); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 58px 0; }
.cta h2 { font-family: var(--serif); font-size: clamp(24px,3vw,32px); }
.cta p { color: rgba(255,255,255,.7); margin-top: 8px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.62); padding: 68px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 18px; max-width: 300px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid { padding: 64px 0 72px; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 36px, 1140px); }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; text-align: center; border-bottom: none !important; }
  .nav-toggle { display: block; }
  .section, .section-sm { padding: 64px 0; }
  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
