/* ===== 中锦地 企业官网 ===== */
:root {
  --green-950: #16381f;
  --green-900: #1d4a2a;
  --green-800: #24603a;
  --green-700: #2e7d43;
  --green-600: #3a9554;
  --green-500: #58a96b;
  --gold: #c39a4b;
  --gold-soft: #f0e6d0;
  --ink: #263129;
  --muted: #68776d;
  --bg: #f5f7f3;
  --card: #ffffff;
  --line: #e2e9e1;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(29, 74, 42, .08);
  --maxw: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部横幅与导航 ---------- */
.site-top { width: 100%; }
.nav-bar { background: var(--green-900); border-bottom: 3px solid var(--green-700); }
.nav-bar-inner { display: flex; align-items: center; height: 60px; gap: 18px; position: relative; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; }
.nav-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: #fff; padding: 2px; }
.nav-brand span { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-nav { margin-left: auto; display: flex; gap: 2px; height: 100%; align-items: center; }
.main-nav a { padding: 7px 16px; font-size: 15px; color: #e4f0e7; border-radius: 6px; transition: .2s; font-weight: 500; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.main-nav a.active { color: #fff; font-weight: 700; background: rgba(255,255,255,.18); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }

@media (max-width: 960px) {
  .nav-bar-inner { height: auto; flex-wrap: wrap; padding: 10px 0; }
  .nav-brand { font-size: 14px; }
  .nav-brand img { width: 36px; height: 36px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; flex: 1 0 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 6px 0 12px; border-top: 1px solid rgba(255,255,255,.15); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 8px; border-bottom: 1px dashed rgba(255,255,255,.12); border-radius: 0; color: #fff; }
}

/* ---------- 首页轮播 ---------- */
.home-slider { padding: 28px 0; background: #fff; border-bottom: 1px solid var(--line); }
.slider-frame { position: relative; max-width: 1000px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 28px rgba(29,74,42,.12); aspect-ratio: 1000 / 420; }
.slider-frame .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slider-frame .slide.active { opacity: 1; pointer-events: auto; }
.slider-frame .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-prev,.slider-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 60px; background: rgba(0,0,0,.35); color: #fff; border: 0; font-size: 28px; cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; }
.slider-prev { left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.slider-next { right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.slider-prev:hover,.slider-next:hover { background: rgba(0,0,0,.55); }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.slider-dots .dot.active { background: var(--gold); }
.slider-frame .slide-hit { display: block; width: 100%; height: 100%; }
.slider-frame .slide-hit img { transition: transform .6s ease; }
.slider-frame .slide-hit:hover img { transform: scale(1.03); }
.slider-frame .slide-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 44px 30px 26px; color: #fff; text-align: left; background: linear-gradient(180deg, rgba(6,32,18,0) 0%, rgba(6,32,18,.78) 100%); pointer-events: none; }
.slider-frame .slide-cap h3 { margin: 0 0 4px; font-size: 26px; font-weight: 700; line-height: 1.3; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.slider-frame .slide-cap p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 68%; }
.slider-frame .slide-cap .slide-more { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--gold); letter-spacing: 1px; }
.slider-frame.has-cap .slider-dots { justify-content: flex-end; right: 26px; left: auto; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 24px; border-radius: 8px; font-weight: 600; transition: .2s; }
.btn-solid { background: var(--gold); color: #fff; }
.btn-solid:hover { background: #b0852f; transform: translateY(-1px); }
.btn-line { border: 1.5px solid rgba(255,255,255,.8); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-800); transform: translateY(-1px); }

@media (max-width: 640px) {
  .slider-frame { aspect-ratio: 16 / 10; border-radius: 0; }
  .slider-prev,.slider-next { width: 32px; height: 48px; font-size: 22px; }
  .slider-frame .slide-cap { padding: 30px 16px 20px; }
  .slider-frame .slide-cap h3 { font-size: 18px; }
  .slider-frame .slide-cap p { font-size: 12px; max-width: 88%; }
}

/* ---------- 区块通用 ---------- */
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.sec-head .kicker { color: var(--green-600); letter-spacing: 3px; font-size: 13px; font-weight: 600; }
.sec-head h2 { font-size: 30px; color: var(--green-900); margin: 6px 0 10px; }
.sec-head p { color: var(--muted); font-size: 15px; }

/* 关于概览 */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about-pic { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.about-pic img { width: 100%; height: 360px; object-fit: cover; }
.about-pic .tag { position: absolute; left: 18px; bottom: 18px; background: rgba(29,74,42,.88); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 13px; }
.about-text h2 { color: var(--green-900); font-size: 28px; margin-bottom: 14px; }
.about-text .bar { width: 46px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0 0 18px; }
.about-text p { color: #46544b; margin-bottom: 14px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 18px 0 22px; }
.about-points li { display: flex; gap: 9px; align-items: flex-start; }
.about-points .dot { width: 7px; height: 7px; margin-top: 9px; background: var(--green-600); border-radius: 50%; flex: none; }

/* 主营业务卡片 */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 26px; transition: .25s; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--green-500); }
.service-card .ico { width: 62px; height: 62px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; background: linear-gradient(140deg, var(--green-500), var(--green-700) 58%, var(--green-900)); box-shadow: 0 12px 22px -12px rgba(46, 125, 67, .7); transition: .28s; }
.service-card .ico svg { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .16)); }
.service-card:hover .ico { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 26px -12px rgba(46, 125, 67, .85); }
.service-card h3 { font-size: 18px; color: var(--green-900); margin-bottom: 9px; }
.service-card p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.service-card .no { position: absolute; right: 16px; top: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .6px; color: var(--green-900); background: var(--gold-soft); border-radius: 999px; padding: 2px 11px; opacity: .9; font-variant-numeric: tabular-nums; }

/* 新闻列表 */
.news-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 46px; }
.news-line { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.news-line:hover h4 { color: var(--green-700); }
.news-line .dt { flex: none; text-align: center; width: 60px; }
.news-line .dt b { display: block; font-size: 22px; color: var(--green-700); line-height: 1; }
.news-line .dt span { font-size: 12px; color: var(--muted); }
.news-line h4 { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: .2s; }

/* 案例卡片 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .25s; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-card .pic { height: 190px; overflow: hidden; position: relative; }
.case-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.case-card:hover .pic img { transform: scale(1.05); }
.case-card .cap { padding: 14px 18px 16px; }
.case-card .cap h3 { font-size: 15.5px; color: var(--green-900); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-card .cap time { font-size: 12.5px; color: var(--muted); }

/* 资料下载 */
.dl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 14px; transition: .2s; }
.dl-card:hover { border-color: var(--green-500); box-shadow: var(--shadow); }
.dl-ico { width: 44px; height: 44px; flex: none; background: #eef6ef; border-radius: 10px; color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.dl-card h4 { font-size: 15px; flex: 1; }
.dl-card h4 a:hover { color: var(--green-700); }
.dl-card .meta { font-size: 12.5px; color: var(--muted); }

/* 联系横幅 */
.cta { background: linear-gradient(105deg, var(--green-900), var(--green-700)); color: #fff; border-radius: 16px; padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h3 { font-size: 22px; margin-bottom: 6px; }
.cta p { color: #dceadf; }
.cta .phone { font-size: 30px; font-weight: 800; color: var(--gold); letter-spacing: 1px; }

/* 面包屑 */
.crumb-bar { background: linear-gradient(105deg, var(--green-900), var(--green-700)); color: #fff; padding: 44px 0 36px; }
.crumb-bar h1 { font-size: 28px; margin-bottom: 6px; }
.crumb-bar .crumbs { font-size: 13px; color: #cfe0d2; }
.crumb-bar .crumbs a:hover { color: var(--gold); }
.crumb-bar .crumbs em { font-style: normal; margin: 0 6px; }

/* 通用页 */
.page-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.rich-content { color: #38443c; font-size: 15.5px; line-height: 2; }
.rich-content p { margin-bottom: 14px; }
.rich-content h1,.rich-content h2,.rich-content h3 { color: var(--green-900); margin: 20px 0 10px; line-height: 1.5; }
.rich-content img { border-radius: 10px; margin: 10px auto; }
.rich-content ul,.rich-content ol { padding-left: 22px; margin-bottom: 14px; }
.rich-content li { list-style: disc; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.project-gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 1000px) { .project-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .project-gallery { grid-template-columns: 1fr; } }
.rich-content a { color: var(--green-700); text-decoration: underline; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.rich-content td,.rich-content th { border: 1px solid var(--line); padding: 8px 12px; }

/* 列表页主结构 */
.list-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.card-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.post-line { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-line:last-child { border-bottom: 0; }
.post-line .thumb { width: 168px; height: 110px; flex: none; border-radius: 10px; overflow: hidden; }
.post-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-line h3 { font-size: 17px; color: var(--green-900); }
.post-line h3 a:hover { color: var(--green-600); }
.post-line .sum { color: var(--muted); font-size: 13.5px; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-line .meta { font-size: 12.5px; color: #93a098; display: flex; gap: 16px; }
.post-line.no-thumb .thumb { display: none; }
.side-title { font-size: 16px; color: var(--green-900); padding-bottom: 10px; border-bottom: 2px solid var(--green-700); margin-bottom: 14px; font-weight: 700; }
.side-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-list li a:hover { color: var(--green-700); }
.side-list li.active a { color: var(--green-700); font-weight: 700; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 26px 0 4px; flex-wrap: wrap; }
.pager a,.pager span { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.pager a:hover { border-color: var(--green-600); color: var(--green-700); }
.pager .cur { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* 详情页 */
.article-head { text-align: center; margin-bottom: 26px; }
.article-head h1 { font-size: 26px; color: var(--green-900); }
.article-head .meta { margin-top: 12px; color: #93a098; font-size: 13px; }
.article-head .meta span { margin: 0 12px; }
.article-head .meta a { color: var(--green-600); }
.article-body { line-height: 2.05; font-size: 15.5px; color: #37433b; }
.article-body img { margin: 14px auto; border-radius: 8px; max-width: 100%; }
.article-body h2,.article-body h3,.article-body h4 { color: var(--green-900); margin: 20px 0 8px; }
.article-body p { margin-bottom: 12px; }
.article-body ul { padding-left: 22px; margin-bottom: 12px; }
.article-body li { list-style: disc; }
.article-body a { color: var(--green-600); text-decoration: underline; }
.attach-box { border: 1px dashed var(--green-600); background: #f2f8f3; border-radius: 10px; padding: 14px 18px; margin-top: 26px; }
.attach-box h4 { color: var(--green-800); font-size: 14px; margin-bottom: 10px; }
.attach-box li { padding: 5px 0; font-size: 14px; }
.attach-box a { color: var(--green-700); }
.attach-box .sz { color: var(--muted); font-size: 12.5px; margin-left: 8px; }
.article-nav { margin-top: 30px; border-top: 1px dashed var(--line); padding-top: 14px; font-size: 14px; }
.article-nav div { padding: 4px 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav a:hover { color: var(--green-700); }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact-item { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.contact-item .ic { width: 42px; height: 42px; flex: none; border-radius: 10px; background: #eef6ef; color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.contact-item h4 { color: var(--green-900); font-size: 14px; }
.contact-item p { color: #46544b; font-size: 14.5px; }

/* 空状态 */
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* 页脚 */
.site-footer { background: #fff; color: var(--ink); margin-top: 0; }
.friend-links { background: #fff; border-top: 1px solid var(--line); padding: 28px 0; }
.friend-title { font-size: 15px; font-weight: 700; color: var(--green-900); border-bottom: 2px solid var(--green-700); display: inline-block; padding-bottom: 4px; margin-bottom: 18px; }
.friend-list { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 10px; column-gap: 8px; }
.friend-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px; text-align: center; border-radius: 10px; transition: background .2s; }
.friend-item:hover { background: #f5faf5; }
.friend-item img { width: 74px; height: 74px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: #fff; transition: .2s; }
.friend-item:hover img { border-color: var(--green-500); box-shadow: var(--shadow); }
.friend-name { font-size: 12px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 150px; }
.friend-fallback { width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--green-700); font-weight: 700; }

.footer-search { background: linear-gradient(90deg, var(--green-700), var(--green-900)); padding: 14px 0; }
.footer-search-form { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.footer-search-form label { color: #fff; font-weight: 500; font-size: 15px; }
.footer-search-form input { width: 320px; max-width: 100%; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; background: rgba(255,255,255,.95); font-size: 14px; }
.footer-search-form button { padding: 8px 20px; border: 0; border-radius: 4px; background: var(--gold); color: #fff; font-weight: 600; cursor: pointer; }
.footer-search-form button:hover { background: #b0852f; }

.footer-bottom { background: var(--green-950); color: #c9d8cd; padding: 18px 0; font-size: 13px; text-align: center; }
.footer-bottom .container { display: flex; flex-direction: column; gap: 10px; }
.footer-nav { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer-nav a { color: #dceadf; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom .copyright a { color: #c9d8cd; }
.footer-bottom .copyright a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .friend-list { grid-template-columns: repeat(2, 1fr); gap: 12px 6px; }
  .footer-search-form input { width: 100%; }
}

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .list-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .service-grid, .case-grid, .news-col { grid-template-columns: 1fr; }
  .post-line { flex-direction: column; }
  .post-line .thumb { width: 100%; height: 180px; }
}

/* 鎶€鏈澶囬〉锛歅PT 璁惧鍗＄墖 */
.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 10px 0 6px; }
.equip-item { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .25s; }
.equip-item:hover { box-shadow: var(--shadow); }
.equip-item .eq-img { display: block; background: #fff; padding: 14px; border-bottom: 1px solid var(--line); text-align: center; height: 170px; }
.equip-item .eq-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: inline-block; }
.equip-item figcaption { padding: 12px 14px 14px; }
.equip-item figcaption strong { display: block; font-size: 16px; color: var(--text); }
.equip-item figcaption em { display: block; font-style: normal; font-size: 12px; color: var(--green-700); margin: 3px 0 6px; }
.equip-item figcaption span { font-size: 13px; line-height: 1.7; color: var(--muted); }
@media (max-width: 480px) { .equip-grid { grid-template-columns: 1fr; } }
