/* ============================================================
   广州锦鹏环保环卫设备有限公司 · 企业官网样式
   风格：简约大气 / 环保绿 + 大面积留白
   ============================================================ */

:root {
  --ink: #101820;
  --text: #3a444e;
  --muted: #74808b;
  --line: #e8ecea;
  --line-strong: #d8ded9;
  --bg: #ffffff;
  --soft: #f5f8f6;
  --soft-2: #eef4ef;
  --accent: #1f8a4c;
  --accent-dark: #14663a;
  --accent-deep: #0d3b23;
  --accent-soft: #e9f4ed;
  --danger: #c0392b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(16, 24, 32, .05);
  --shadow: 0 10px 34px rgba(16, 24, 32, .08);
  --shadow-lg: 0 22px 60px rgba(16, 24, 32, .13);
  --max: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: .01em;
}

h1 { font-size: 2.6rem; letter-spacing: .02em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--soft); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title { font-size: 2rem; margin-bottom: 14px; }
.section-desc { color: var(--muted); margin: 0; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1.05rem;
  letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(31, 138, 76, .28);
  flex: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 1.06rem; font-weight: 700; letter-spacing: .04em; }
.brand-sub { font-size: .68rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.nav-links a {
  color: var(--text);
  font-size: .95rem;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--soft-2); color: var(--accent-dark); }
.nav-links a.active { color: var(--accent-dark); font-weight: 600; background: var(--accent-soft); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 11px 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(31, 138, 76, .24); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--accent-deep); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--accent-deep);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 38, 23, .92) 0%, rgba(11, 52, 31, .78) 45%, rgba(10, 40, 25, .42) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0; max-width: 720px; }
.hero h1 { color: #fff; font-size: 3rem; margin-bottom: 20px; letter-spacing: .02em; }
.hero-lead { font-size: 1.08rem; color: rgba(255, 255, 255, .86); margin-bottom: 30px; max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .08em;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- 数据条 ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -56px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stat-num { font-size: 2.1rem; font-weight: 700; color: var(--accent-dark); line-height: 1.1; letter-spacing: .01em; }
.stat-num small { font-size: 1rem; font-weight: 600; margin-left: 2px; }
.stat-label { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* ---------------- 通用网格 ---------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid; place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.card-num { font-size: .8rem; letter-spacing: .16em; color: var(--accent); font-weight: 700; margin-bottom: 12px; }

/* ---------------- 分栏 ---------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.media-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 700;
  display: grid; place-items: center;
}

/* ---------------- 产品 ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font-size: .9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute; left: 14px; top: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--accent-dark);
  font-size: .76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-model { font-size: .78rem; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.product-body h3 { font-size: 1.14rem; margin-bottom: 10px; }
.product-body p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  background: var(--soft-2);
  color: var(--text);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .8rem;
}
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* 参数表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { background: var(--soft); color: var(--ink); font-weight: 600; width: 42%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------------- 资质 ---------------- */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cert-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cert-card img { width: 100%; height: 260px; object-fit: contain; background: var(--soft); padding: 12px; }
.cert-card figcaption { padding: 18px 22px; font-size: .92rem; color: var(--text); }
.cert-card figcaption strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }

/* ---------------- 流程 / 时间线 ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: -14px; left: 0;
  background: #fff;
  padding-right: 12px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
}
.step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 24px; }
.timeline li::before {
  content: "";
  position: absolute; left: -33px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}
.timeline-year { font-weight: 700; color: var(--accent-dark); margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------------- 页头 ---------------- */
.page-hero {
  background: linear-gradient(160deg, #0d3b23 0%, #14663a 55%, #1f8a4c 100%);
  color: #fff;
  padding: 84px 0 76px;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .84); max-width: 680px; margin: 0; font-size: 1.04rem; }
.breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, .88); }

/* ---------------- 联系 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid; place-items: center;
  font-size: 1rem;
  font-weight: 700;
}
.info-list dt { font-size: .84rem; color: var(--muted); }
.info-list dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }

/* 表单 */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: .9rem; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.form-row .req { color: var(--danger); margin-left: 2px; }
.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 138, 76, .12);
}
.textarea { min-height: 132px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

.alert {
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: .9rem;
  margin-bottom: 20px;
  display: none;
}
.alert.show { display: block; }
.alert-success { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #cfe6d8; }
.alert-error { background: #fdecea; color: var(--danger); border: 1px solid #f5cfca; }
.alert-info { background: #eef4fb; color: #2b5d92; border: 1px solid #d5e3f2; }

/* ---------------- 模态 ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 20, 14, .55);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 900px;
  max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg);
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: flex-start; gap: 16px; padding: 28px 32px 0; }
.modal-head h3 { margin: 0; font-size: 1.35rem; }
.modal-close {
  margin-left: auto; border: none; background: var(--soft); width: 36px; height: 36px;
  border-radius: 50%; font-size: 1.1rem; cursor: pointer; color: var(--text); flex: none;
}
.modal-close:hover { background: var(--soft-2); }
.modal-body { padding: 24px 32px 32px; }
.modal-figure { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.modal-figure img { width: 100%; max-height: 380px; object-fit: cover; }
.modal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.modal-cols h4 { font-size: .95rem; color: var(--accent-dark); margin-bottom: 12px; letter-spacing: .04em; }
.modal-cols ul { margin: 0; padding-left: 18px; color: var(--text); font-size: .93rem; }
.modal-cols ul li { margin-bottom: 8px; }

/* ---------------- CTA ---------------- */
.cta-band {
  background: linear-gradient(120deg, #0d3b23 0%, #14663a 60%, #1f8a4c 100%);
  color: #fff; border-radius: 22px; padding: 56px 48px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .84); margin: 0; }
.cta-band .btn { margin-left: auto; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0c1a13; color: rgba(255, 255, 255, .68); padding: 64px 0 28px; margin-top: 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .04em; }
.site-footer a { color: rgba(255, 255, 255, .68); display: block; padding: 5px 0; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .5); }
.footer-brand .brand-mark { box-shadow: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; font-size: .85rem; color: rgba(255, 255, 255, .5); }
/* 备案号（工信部 / 公安备案）：横向排列在版权信息之后 */
.filing-links { display: inline-flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom .filing-links a { display: inline-block; padding: 0; color: rgba(255, 255, 255, .5); }
.footer-bottom .filing-links a:hover { color: #fff; text-decoration: underline; }

/* ---------------- 工具 ---------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 24px; }
.mt-2 { margin-top: 40px; }
.mb-2 { margin-bottom: 40px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .grid-4, .product-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 1.95rem; }
  .section-title, h2 { font-size: 1.6rem; }
  .container { padding: 0 18px; }

  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 18px 18px; display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; border-radius: 10px; }

  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .grid-2, .grid-3, .grid-4, .product-grid, .steps, .cert-grid, .modal-cols, .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 40px 26px; }
  .cta-band .btn { margin-left: 0; }
  .form-card { padding: 26px 22px; }
  .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
}
