/* ============================================================
   山东大树植脂末 - 全站样式
   配色：深绿(主色) + 米白(底色) + 琥珀金(点缀)
   ============================================================ */
:root {
  --green: #1a5c3e;
  --green-dark: #12422c;
  --green-light: #e8f1ec;
  --cream: #faf7f0;
  --amber: #c9973f;
  --amber-dark: #a87c2c;
  --ink: #232a28;
  --muted: #6b7570;
  --line: #e6e0d4;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 60, 45, .08);
  --shadow-lg: 0 14px 40px rgba(30, 60, 45, .14);
  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, .display { font-family: var(--serif); font-weight: 700; }

/* ---------- 顶部通栏 ---------- */
.topbar {
  background: var(--green-dark);
  color: #d9e7df;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 34px; gap: 12px; flex-wrap: wrap;
}
.topbar a { color: #ffd98a; }

/* ---------- 头部导航 ---------- */
.header {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #2e7a54);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--green-dark); line-height: 1.2; white-space: nowrap; }
img.brand-mark { background: #fff; box-shadow: none; object-fit: contain; }
.brand-name small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 2px; white-space: normal; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 8px; color: var(--ink); font-size: 15px;
  transition: .2s;
}
.nav a:hover, .nav a.active { color: var(--green); background: var(--green-light); }
.nav .btn { margin-left: 8px; }
/* 中英文切换 */
/* 语言切换：位于顶部通栏最右侧，深绿底上的金色描边胶囊 */
.topbar .lang-switch {
  padding: 4px 13px; font-size: 12px; font-weight: 700; line-height: 1.6;
  color: #ffd98a; border: 1.5px solid #c8a24a; border-radius: 999px;
  background: rgba(255,217,138,.08); letter-spacing: 1px; white-space: nowrap;
  margin-left: auto; text-decoration: none; transition: .2s;
}
.topbar .lang-switch:hover { background: #ffd98a; color: var(--green-dark); border-color: #ffd98a; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-dark); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent; transition: .2s; line-height: 1.4;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(26,92,62,.28); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 6px 18px rgba(201,151,63,.3); }
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green-light); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #efe8da; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 560px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px 22px 70px 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--amber-dark); font-weight: 600; letter-spacing: 3px; font-size: 14px; margin-bottom: 18px;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--amber); }
.hero h1 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.25; color: var(--green-dark); }
.hero-brand {
  display: block;
  font-size: clamp(19px, 2.3vw, 30px);
  color: #6a2fb5;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
@media (min-width: 961px) {
  .hero-brand { white-space: nowrap; }
}
.hero h1 em { font-style: normal; color: var(--amber-dark); }
.hero-sub { margin: 20px 0 28px; font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-sub strong { color: var(--ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { position: relative; min-height: 420px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; right: 26px; bottom: 26px;
  background: rgba(255,255,255,.92); border-radius: 12px; padding: 10px 18px;
  font-size: 13px; color: var(--green-dark); box-shadow: var(--shadow);
}

/* 信任条 */
.chips {
  background: var(--green-dark); color: #e9f2ed;
  padding: 14px 0; font-size: 14px;
}
.chips .container { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.chips span { display: inline-flex; align-items: center; gap: 8px; }
.chips b { color: #ffd98a; }

/* ---------- 统计数字 ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 30px 10px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 34px; color: var(--green); }
.stat b i { font-style: normal; font-size: 18px; margin-left: 2px; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- 区块通用 ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .kicker { color: var(--amber-dark); letter-spacing: 4px; font-size: 13px; font-weight: 600; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); color: var(--green-dark); margin: 10px 0 14px; }
.section-head p { color: var(--muted); }

/* ---------- 产品卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.pcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: .25s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d8cbb2; }
.pcard .ico {
  width: 52px; height: 52px; border-radius: 13px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.pcard .ico svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.7; }
.pcard h3 { font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.pcard p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pcard .more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--amber-dark);
  border: 1px solid #e5d3a6; border-radius: 999px; padding: 6px 16px;
  background: #fff; transition: .2s;
}
.pcard:hover .more { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; }
.pcard .tag {
  position: absolute; top: 16px; right: 16px; font-size: 12px;
  background: #fdf3e3; color: var(--amber-dark); padding: 3px 10px; border-radius: 999px;
}

/* ---------- 应用场景大卡 ---------- */
.acard {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow);
}
.acard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.acard:hover img { transform: scale(1.05); }
.acard .cap {
  position: relative; width: 100%; padding: 26px 24px;
  background: linear-gradient(transparent, rgba(10, 35, 24, .82)); color: #fff;
}
.acard .cap h3 { font-size: 21px; margin-bottom: 6px; }
.acard .cap p { font-size: 14px; opacity: .88; }
.acard .cap .more { color: #ffd98a; font-size: 14px; font-weight: 600; }

/* ---------- 优势 ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wcard { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.wcard .num {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px;
}
.wcard h3 { font-size: 17px; color: var(--green-dark); margin-bottom: 6px; }
.wcard p { font-size: 14px; color: var(--muted); }

/* ---------- 图文分栏 ---------- */
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }

/* ---------- 资质证照 ---------- */
.cert { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm, 0 4px 14px rgba(23,54,42,.06)); transition: transform .25s, box-shadow .25s; }
.cert:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(23,54,42,.14); }
.cert a { display: block; }
.cert img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #f4f7f5; padding: 14px; }
.cert figcaption { padding: 14px 16px 16px; font-size: 13.5px; line-height: 1.75; color: var(--ink); border-top: 1px solid var(--line); }
.cert figcaption b { color: var(--green-dark); font-size: 14.5px; }
.cert figcaption span { color: var(--muted); font-size: 12.5px; }
.cert-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }
.cert-note b { color: var(--green-dark); }
.cert-note a { color: var(--green-dark); font-weight: 600; }
.split h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--green-dark); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 12px; }
.checklist li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 15px; }
.checklist li::before { content: "✓"; color: var(--green); font-weight: 700; flex: 0 0 auto; }

/* ---------- 参数表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.spec { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
table.spec th, table.spec td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec th { background: var(--green-light); color: var(--green-dark); font-weight: 600; white-space: nowrap; }
table.spec tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--green-dark);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--amber); transition: .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }

/* ---------- 询盘表单 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), #1e6a48);
  color: #fff; border-radius: 20px; padding: 46px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.cta-band p { opacity: .85; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #cfe0d7;
  font-size: 14px; font-family: var(--sans); background: #fff; color: var(--ink);
}
.form-grid textarea { min-height: 84px; resize: vertical; }
.form-note { font-size: 12px; opacity: .75; margin-top: 10px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--green-dark); color: #c9d8d0; padding: 56px 0 90px; font-size: 14px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-family: var(--serif); }
.footer .grid-4 { align-items: start; }
.footer a { color: #c9d8d0; }
.footer a:hover { color: #ffd98a; }
.footer li { margin-bottom: 9px; }
.footer .kw a { margin-right: 12px; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; text-align: center; font-size: 13px; opacity: .7; }

/* ---------- 移动端底部操作栏 ---------- */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: none; background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.mobilebar a {
  flex: 1; text-align: center; padding: 11px 4px; font-size: 13px; font-weight: 600;
  color: var(--green-dark); border-left: 1px solid var(--line);
}
.mobilebar a:first-child { border-left: 0; }
.mobilebar a.hot { background: var(--amber); color: #fff; }

/* ---------- 面包屑 / 内页头 ---------- */
.page-hero { background: var(--green-light); padding: 46px 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(26px, 3vw, 36px); color: var(--green-dark); }
.page-hero p { color: var(--muted); margin-top: 8px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

/* ---------- 详情页要素 ---------- */
.feature-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 26px; }
.feature-box h3 { color: var(--green-dark); margin-bottom: 12px; font-size: 18px; }
.models { display: flex; flex-wrap: wrap; gap: 10px; }
.models span { background: var(--green-light); color: var(--green-dark); border-radius: 8px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.notice {
  background: #fdf8ec; border: 1px solid #ecd9ae; border-radius: 12px;
  padding: 16px 20px; font-size: 14px; color: #7a5c1e; margin-top: 26px;
}

/* ---------- 新闻列表 ---------- */
.ncard { display: grid; grid-template-columns: 220px 1fr; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; transition: .2s; }
.ncard:hover { box-shadow: var(--shadow); }
.ncard .nimg { min-height: 160px; }
.ncard .nimg img { width: 100%; height: 100%; object-fit: cover; }
.ncard .nbody { padding: 20px 24px 20px 0; }
.ncard .nmeta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ncard h3 { font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.ncard p { font-size: 14px; color: var(--muted); }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .brand-name { font-size: 15px; }
  .brand-mark { width: 38px; height: 38px; font-size: 19px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 46px 0 30px; }
  .hero-img { min-height: 300px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .cta-band { grid-template-columns: 1fr; padding: 32px; }
  .ncard { grid-template-columns: 1fr; }
  .ncard .nbody { padding: 0 22px 22px; }
  .ncard .nimg { min-height: 180px; }
}
@media (max-width: 720px) {
  .brand { min-width: 0; }
  .brand-mark { flex-shrink: 0; }
  .brand-name { white-space: normal; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px 22px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .topbar .hide-sm { display: none; }
  .grid-4, .grid-3, .why, .grid-2 { grid-template-columns: 1fr; }
  .grid-2.split-wrap { gap: 26px; }
  .section { padding: 54px 0; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .mobilebar { display: flex; }
  body { padding-bottom: 52px; }
  .footer { padding-bottom: 110px; }
  .footer .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .kw a { white-space: normal; }
}
