/* ============================================================
   澳洁源环保官网（新站）全局样式：PC + 移动自适应
   ============================================================ */
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #eaf5ee;
  --text: #2c3e50;
  --muted: #7f8c8d;
  --bg: #f7faf8;
  --card-shadow: 0 2px 12px rgba(0,0,0,.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: var(--text); background: #fff; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.btn { display: inline-block; padding: 10px 28px; border-radius: 4px; border: 1px solid var(--green); color: var(--green); background: #fff; cursor: pointer; transition: .2s; font-size: 15px; }
.btn:hover { background: var(--green-light); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-light { background: #fff; color: var(--green); border-color: #fff; font-weight: bold; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }

/* ---------- 顶部导航 ---------- */
.site-header { background: var(--green); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.header-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.logo img { height: 42px; width: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
/* LOGO 右侧中英文公司名（老站导航同款双行文字）；文字加立体阴影 */
.logo-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.lt-cn { font-size: 18px; font-weight: bold; white-space: nowrap; text-shadow: 0 1px 0 rgba(0,0,0,.3), 0 2px 4px rgba(0,0,0,.35); }
.lt-en { font-size: 11px; opacity: .85; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.nav { display: flex; flex-wrap: nowrap; gap: 4px; margin-left: auto; min-width: 0; }
.nav > li, .nav-more { position: relative; }
.nav > li > a, .nav-more > .more-btn { display: block; color: #fff; padding: 8px 16px; border-radius: 4px; font-size: 15px; white-space: nowrap; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05) 55%, rgba(0,0,0,.08)); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 4px rgba(0,0,0,.22); transition: transform .15s, box-shadow .15s, background .15s; }
.nav > li > a:hover, .nav-more > .more-btn:hover { background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.1) 55%, rgba(0,0,0,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 6px rgba(0,0,0,.3); transform: translateY(-1px); }
/* 「更多」下拉（溢出收纳，JS 把放不下的菜单项移入） */
.nav-more { display: none; }
.nav-more.active { display: block; }
.nav-more > .more-btn { cursor: pointer; }
.nav-more > .more-btn::after { content: '\25BE'; margin-left: 6px; font-size: 12px; opacity: .85; }
.more-drop { display: none; position: absolute; top: 100%; right: 0; min-width: 180px; max-height: 70vh; overflow: auto; background: #fff; box-shadow: var(--card-shadow); border-radius: 4px; z-index: 99; }
.nav-more:hover .more-drop, .nav-more.open-click .more-drop { display: block; }
.more-drop a, .more-drop .more-group { display: block; padding: 10px 16px; color: var(--text); font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.more-drop a:hover { background: var(--green-light); color: var(--green); }
.more-drop .more-group { font-size: 12px; color: #999; padding-bottom: 4px; border-bottom: none; }
/* 下拉子菜单：浅绿背景；必须重置 ul 默认 margin/padding（否则顶部空一行、整体右移） */
.nav-drop { display: none; position: absolute; top: 100%; left: 0; min-width: 160px; margin: 0; padding: 6px 0; background: var(--green-light); box-shadow: var(--card-shadow); border-radius: 4px; overflow: hidden; z-index: 99; }
.nav > li:hover .nav-drop { display: block; }
.nav-drop a { display: block; padding: 10px 16px; color: var(--text); font-size: 14px; border-bottom: 1px solid rgba(74, 125, 87, 0.12); }
.nav-drop a:hover { background: #fff; color: var(--green); }
/* 服务子分类默认折叠：点击父分类展开，再次点击父分类进入分类页 */
.nav-drop-sub { display: none; }
.nav-drop li.nav-parent.open > .nav-drop-sub { display: block; }
.nav-drop-sub a { padding-left: 32px; font-size: 13px; color: #4a6b55; }
.nav-caret { float: right; font-size: 12px; opacity: .5; transition: transform .15s; }
.nav-drop li.nav-parent.open .nav-caret { transform: rotate(180deg); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

/* ---------- 轮播 ---------- */
.hero-carousel { position: relative; overflow: hidden; height: 460px; background: #123; }
.hero-carousel .slides, .hero-carousel .slide { height: 100%; }
.hero-carousel .slide { display: none; position: relative; }
.hero-carousel .slide.active { display: block; }
.hero-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-txt { position: absolute; left: 8%; bottom: 18%; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); max-width: 60%; }
.slide-txt h2 { font-size: 34px; margin-bottom: 8px; }
.slide-txt p { font-size: 16px; opacity: .9; }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); margin: 0 5px; cursor: pointer; }
.dot.active { background: #fff; }
.arr { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.25); color: #fff; border: none; font-size: 22px; padding: 14px 12px; cursor: pointer; }
.arr.prev { left: 0; } .arr.next { right: 0; }
.arr:hover { background: rgba(0,0,0,.45); }

/* ---------- 页头 ---------- */
.page-hero { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; padding: 48px 0; }
.page-hero h1 { font-size: 30px; }
.page-hero p { opacity: .85; margin-top: 6px; }
.breadcrumb { padding: 16px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

/* ---------- 通用节头 ---------- */
.sec-head { text-align: center; padding: 44px 0 26px; }
.sec-head h2 { font-size: 28px; color: #2d4a36; position: relative; display: inline-block; padding-bottom: 12px; }
.sec-head h2::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 40px; height: 3px; background: var(--green); border-radius: 2px; }
.sec-head p { color: var(--muted); margin-top: 8px; }
/* 区块底部「查看更多」按钮（首页服务与支持/企业简介，对齐老站首页按钮） */
.sec-more { text-align: center; padding-bottom: 40px; }
.card-grid + .sec-more { margin-top: -20px; }

/* ---------- 核心业务 / 服务与支持宫格 ---------- */
/* flex 布局：1 行最多 4 个，卡片数量增减后自动居中排列整齐（超出 4 个换行同样居中） */
.feature-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 20px; padding-bottom: 30px; }
.feature-wrap > .feature-card { flex: 0 0 calc((100% - 60px) / 4); box-sizing: border-box; position: relative; }
.feature-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 28px 20px; text-align: center; transition: .25s; }
.feature-card:hover { box-shadow: var(--card-shadow); transform: translateY(-4px); border-color: var(--green-light); }
/* 编辑模式：「+ 添加卡片」占位卡（虚线） */
.feature-add { display: flex; align-items: center; justify-content: center; min-height: 180px; border: 2px dashed #cbd5cb; background: #fbfdfb; color: #8aa58e; font-size: 15px; cursor: pointer; }
.feature-add:hover { border-color: #1a7f4b; color: #1a7f4b; box-shadow: none; transform: none; }
/* 编辑模式：卡片右上角删除按钮（悬停显示） */
.card-del-btn { position: absolute; top: 6px; right: 6px; z-index: 5; display: none; width: 24px; height: 24px; line-height: 22px; border: none; border-radius: 50%; background: #d32f2f; color: #fff; font-size: 15px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.card-del-btn:hover { background: #b71c1c; }
/* 编辑模式：卡片右上角样式设置按钮（悬停显示，删除按钮左侧） */
.card-style-btn { position: absolute; top: 6px; right: 34px; z-index: 5; display: none; width: 24px; height: 24px; line-height: 22px; border: none; border-radius: 50%; background: #1a7f4b; color: #fff; font-size: 13px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.card-style-btn:hover { background: #145f38; }
.feature-card:hover .card-del-btn, .feature-card:hover .card-style-btn,
.qual-card:hover .card-del-btn, .qual-card:hover .card-style-btn,
.stat:hover .card-del-btn, .stat:hover .card-style-btn { display: block; }
.f-icon { font-size: 40px; margin-bottom: 12px; }
/* 服务与支持宫格：图标整体为跳转链接 */
.f-icon-link { display: inline-block; text-decoration: none; color: inherit; cursor: pointer; }
/* 卡片图片与下方文字各自水平居中：img 全局为 display:block（左对齐），此处单独居中 */
.f-icon img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.feature-card h3 { font-size: 18px; color: #2d4a36; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--muted); min-height: 60px; }
.feature-card .more { color: var(--green); font-size: 13px; }
/* 卡片设定固定高度：图片区域随卡片尺寸伸缩，标题/描述固定在底部；
   图片按原比例自适应缩放填满图片区域（不裁切），卡片改大改小时图片跟着变 */
.feature-card.card-fixed-h { display: flex; flex-direction: column; }
.feature-card.card-fixed-h > .f-icon-link { flex: 1 1 auto; display: flex; min-height: 0; width: 100%; overflow: hidden; }
.feature-card.card-fixed-h .f-icon { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 0; width: 100%; overflow: hidden; }
.feature-card.card-fixed-h .f-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.feature-card.card-fixed-h h3 { flex: 0 0 auto; }

/* ---------- 数据优势 ---------- */
.stats-band { background: var(--green); color: #fff; padding: 36px 0; }
/* 数据优势：flex 宫格（与核心业务/服务与支持一致的尺寸规则，卡片宽度设置才能在各区块表现一致） */
.stats-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px; text-align: center; }
.stats-wrap > .stat { flex: 0 0 calc((100% - 48px) / 4); box-sizing: border-box; }
.stat { position: relative; }
.stat .num { font-size: 38px; font-weight: bold; }
.stat .num span { font-size: 18px; }
.stat .lbl { opacity: .85; font-size: 14px; }

/* ---------- 卡片网格（产品/案例/支持） ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 40px; }
.project-cases .card-grid { grid-template-columns: repeat(3, 1fr); }
/* ---------- 首页产品/案例单行轮播：只显示一行，箭头按屏滑动 ---------- */
.card-carousel { position: relative; overflow: hidden; padding-bottom: 40px; }
.card-carousel-track { display: flex; gap: 20px; transition: transform .4s ease; will-change: transform; }
.card-carousel.per-4 .card { flex: 0 0 calc((100% - 60px) / 4); }
.card-carousel.per-3 .card { flex: 0 0 calc((100% - 40px) / 3); }
.cc-arrow { position: absolute; top: calc(50% - 20px); transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(22, 119, 153, .85); color: #fff; font-size: 15px; line-height: 36px; text-align: center; cursor: pointer; z-index: 5; transition: opacity .2s, background .2s; }
.cc-arrow:hover { background: #2e7d32; }
.cc-prev { left: 4px; }
.cc-next { right: 4px; }
.cc-arrow.disabled { opacity: .35; cursor: default; }
/* 产品/案例/服务列表区块与页头横幅保持 30px 间距（覆盖区块标题默认 44px 顶距） */
section.product-cards, section.project-cases, section.support-cards { padding-top: 0; }
section.product-cards .sec-head, section.project-cases .sec-head, section.support-cards .sec-head { padding-top: 30px; }
section.product-cards .card-grid:first-child, section.project-cases .card-grid:first-child, section.support-cards .card-grid:first-child { padding-top: 30px; }
.card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: .25s; }
.card:hover { box-shadow: var(--card-shadow); transform: translateY(-4px); }
.card-img { height: 200px; overflow: hidden; background: var(--bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.card:hover .card-img img { transform: scale(1.05); }
.card h3 { font-size: 16px; color: #2d4a36; padding: 14px 14px 4px; }
.card p { font-size: 13px; color: var(--muted); padding: 0 14px 14px; }

/* ---------- 资质荣誉 ---------- */
/* 资质荣誉：flex 宫格（同上，保证各区块“同样宽度值 = 同样显示宽度”） */
.qual-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 20px; padding-bottom: 40px; }
.qual-grid > .qual-card { flex: 0 0 calc((100% - 60px) / 4); box-sizing: border-box; }
.qual-card { text-align: center; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 16px; position: relative; }
.qual-card img { height: 200px; width: 100%; object-fit: contain; }
.qual-card p { font-size: 13px; color: #2d4a36; margin-top: 8px; }

/* ---------- 新闻列表 ---------- */
.news-ul { padding-bottom: 40px; }
.news-ul li { border-bottom: 1px dashed #e5e5e5; }
.news-ul a { display: flex; justify-content: space-between; padding: 16px 4px; }
.news-ul a:hover .n-title { color: var(--green); }
/* 标题前绿色 10px 圆点 */
.n-title { font-size: 15px; color: #2d4a36; position: relative; padding-left: 20px; }
.n-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; background: var(--green); border-radius: 50%; }
.news-ul time { color: var(--muted); font-size: 13px; white-space: nowrap; margin-left: 20px; }
/* 新闻列表分页（对齐老站：上一页/页码下拉/下一页，居中） */
.news-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 6px 0 40px; }
.news-pagination .page-btn { padding: 7px 18px; border: 1px solid #d5e3d9; border-radius: 4px; background: #fff; color: #2d4a36; font-size: 14px; text-decoration: none; cursor: pointer; transition: all .2s ease; }
.news-pagination .page-btn:hover { background: #eaf5ee; border-color: var(--green); color: var(--green); }
.news-pagination .page-btn.disabled { color: #bbb; border-color: #e5e5e5; background: #fafafa; cursor: not-allowed; pointer-events: none; }
.news-pagination .page-info { color: #666; font-size: 14px; }
.news-pagination .page-select { padding: 4px 6px; border: 1px solid #d5e3d9; border-radius: 4px; color: #2d4a36; font-size: 14px; }

/* ---------- CTA 横幅 ---------- */
/* 列表页分类筛选按钮行（产品/案例/服务）：距页头 20px，按钮带浅绿背景 */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 0 26px; }
.cat-filter .cat-btn { padding: 8px 22px; border: 1px solid #d5e3d9; border-radius: 20px; background: #eaf5ee; color: #2d4a36; font-size: 14px; text-decoration: none; transition: all .2s ease; }
.cat-filter .cat-btn:hover { border-color: var(--green); color: var(--green); background: #d9eede; }
.cat-filter .cat-btn.active { background: var(--green); border-color: var(--green); color: #fff; }

.cta-banner { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; padding: 44px 0; background-size: cover; background-position: center; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-txt h2 { font-size: 24px; }
.cta-txt p { opacity: .85; }

/* ---------- 留言表单 ---------- */
.message-form { background: var(--bg); padding-bottom: 50px; }
.form-wrap { max-width: 640px; }
.msg-form { background: #fff; border-radius: 8px; padding: 26px; box-shadow: var(--card-shadow); }
.f-row { margin-bottom: 16px; }
.f-row label { display: block; font-size: 14px; margin-bottom: 6px; color: #2d4a36; }
.f-row label i { color: #e74c3c; font-style: normal; }
.f-row input, .f-row textarea { width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; font-size: 14px; font-family: inherit; color: #2d4a36; }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--green); }
.form-tip { font-size: 13px; margin-top: 10px; color: var(--muted); }
.form-tip.ok { color: var(--green); }
.form-tip.err { color: #e74c3c; }

/* ---------- 自研验证码（天御停用时自动启用） ---------- */
.self-cap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.self-cap-img { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; min-height: 60px; background: #eef5ee; border: 1px solid #d8e4d8; border-radius: 4px; overflow: hidden; line-height: 0; cursor: pointer; }
.self-cap-img svg { display: block; max-width: 100%; height: auto; }
.self-cap input[name="captchaCode"] { width: 140px !important; }
.self-cap-refresh { border: 1px solid #d8e4d8; background: #f4faf4; color: var(--green); border-radius: 4px; padding: 10px 14px; cursor: pointer; font-size: 14px; font-family: inherit; }
.self-cap-refresh:hover { background: #e6f2e6; }

/* ---------- 联系方式 ---------- */
.contact-info { padding-bottom: 50px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.c-item { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 22px; }
.c-item h3 { font-size: 15px; color: var(--green); margin-bottom: 8px; }
.c-item p { font-size: 14px; word-break: break-all; color: #2d4a36; }

/* ---------- 悬浮咨询 ---------- */
/* 悬浮咨询：固定在页面右侧竖直居中 */
.floating-contact { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--card-shadow); position: relative; }
.float-btn:hover { background: var(--green-dark); }
.float-btn.wechat { background: #07c160; }
.wechat-pop { display: none; position: absolute; right: 60px; top: 0; width: 160px; border: 4px solid #fff; border-radius: 6px; box-shadow: var(--card-shadow); }
.wechat-pop.show { display: block; }

/* ---------- 页脚 ---------- */
.site-footer { background: #22352a; color: #cfd8d2; margin-top: 0; }
.footer-in { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 30px; padding: 40px 16px 24px; min-width: 0; }
.footer-in > .f-col { min-width: 0; } /* 防止长链接内容把列撑出容器，导致快捷导航被挤出显示不全 */
.f-col .f-title { color: #fff; font-size: 16px; margin-bottom: 12px; }
.f-col p { font-size: 13px; margin-bottom: 6px; }
/* 友情链接/快捷导航：固定两列、每行 2 个、上下靠左对齐；超长链接名省略号截断 */
.f-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.f-links a { display: block; font-size: 13px; color: #cfd8d2; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-links a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 16px; font-size: 12px; text-align: center; }
/* 公安备案国徽徽标：全局 img 为 display:block（见文件顶部 reset），
   这里必须改回 inline-block，否则会把备案链接拆成多行 */
.police-badge { display: inline-block; height: 14px; width: auto; vertical-align: -2px; margin-right: 4px; }

/* ---------- 详情页 ---------- */
/* 详情页内容列：900px 阅读列整体居中，面包屑/标题/正文左边线对齐 */
.detail-wrap { max-width: 932px; margin: 0 auto; padding: 0 16px; }
.detail-wrap .breadcrumb { padding: 16px 0; }
.detail-main { min-height: 400px; }

.about-sec { padding: 20px 0; }
.about-sec h2 { font-size: 22px; color: #2d4a36; margin-bottom: 12px; padding-left: 10px; border-left: 4px solid var(--green); }
.about-html { font-size: 15px; line-height: 1.9; color: #2d4a36; }
.about-html img { max-width: 100%; }
/* ============================================================
   企业简介页（公司概况 / 发展历程 / 企业文化 / 荣誉资质）
   主题色 #2e7d32（标题/圆点/高亮数字/图标/分隔线/激活 Tab），辅助 #4a9c5c（hover）；
   正文 #2d4a36，次要文字同为 #2d4a36（与公司位置标题一致）；区块背景 #f4f9f5；卡片圆角 8px；hover 0.28s；
   容器 1200；断点 1200 / 768 / 480；仅作用于 .about-sections
   ============================================================ */
.about-sections {
  --ab-1: #2e7d32;
  --ab-2: #4a9c5c;
  --ab-ink: #2d4a36;
  --ab-muted: #2d4a36;
  --ab-line: #e0eae2;
  --ab-bg: #f4f9f5;
  background: var(--ab-bg);
}
.about-sections .wrap { padding-left: 24px; padding-right: 24px; }
.about-sections .about-html { font-size: 16px; line-height: 1.7; color: var(--ab-ink); }
.about-sections .about-html p { margin: 0 0 1.05em; }
.about-sections .about-html p:last-child { margin-bottom: 0; }
.about-sections .about-html a { color: var(--ab-ink); text-decoration: underline; text-underline-offset: 3px; }
.about-sections .about-html a:hover { color: var(--ab-2); }
/* 覆盖正文里的通用列表样式（本页列表均为宫格/时间线，不能出现圆点与缩进） */
.about-sections .about-html ul,
.about-sections .about-html ol { list-style: none; margin: 0; padding: 0; }
.about-sections .about-html li:not(.ab-tl-item) { margin: 0; }

/* 开篇简介：原文直出，加大首段字号形成导读 */
.ab-prose { max-width: 1000px; }
.ab-prose p:first-child { font-size: 16.5px; color: var(--ab-ink); }

/* 模块标题 */
.ab-mod { margin-top: 44px; }
.ab-mod-head { position: relative; margin: 0 0 20px; padding-left: 14px; font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--ab-ink); }
.ab-mod-head::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 18px; margin-top: -9px; border-radius: 2px; background: linear-gradient(180deg, var(--ab-1), var(--ab-2)); }
.ab-lead { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; color: var(--ab-muted); }
.ab-biz + .ab-lead { margin-top: 16px; }

/* 核心实力数据看板 */
.ab-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-metric { position: relative; overflow: hidden; padding: 24px 20px; background: #fff; border: 1px solid var(--ab-line); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.ab-metric::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--ab-1), var(--ab-2)); }
.ab-metric:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(46, 125, 50, .12); border-color: #4a9c5c; }
.ab-metric-num { display: block; font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--ab-ink); font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.ab-metric-unit { margin-left: 4px; font-size: 15px; font-weight: 600; color: var(--ab-ink); }
.ab-metric-label { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--ab-ink); }
.ab-metric-note { display: block; margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--ab-muted); }

/* 资质体系卡片组 */
.ab-quals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-qual { padding: 22px 20px; background: #fff; border: 1px solid var(--ab-line); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.ab-qual:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(46, 125, 50, .12); border-color: #4a9c5c; }
.ab-qual-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 8px; background: rgba(46, 125, 50, .12); color: var(--ab-1); }
.ab-qual-ico svg { width: 22px; height: 22px; }
.ab-qual h4 { margin: 0 0 10px; font-size: 16px; color: var(--ab-ink); }
.ab-qual-list li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.7; color: var(--ab-muted); }
.ab-qual-list li + li { margin-top: 6px; }
.ab-qual-list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--ab-2); }

/* 业务领域 */
.ab-biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-biz-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--ab-line); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease; }
.ab-biz-item:hover { transform: translateY(-4px); background: #fff; border-color: var(--ab-2); box-shadow: 0 10px 24px rgba(46, 125, 50, .1); }
.ab-biz-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(46, 125, 50, .14); color: var(--ab-1); }
.ab-biz-ico svg { width: 18px; height: 18px; }
.ab-biz-name { display: block; font-size: 15px; font-weight: 600; color: var(--ab-ink); }
.ab-biz-desc { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ab-muted); }

/* 产学研合作 */
.ab-partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-partner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 16px; text-align: center; font-size: 15px; color: var(--ab-ink); background: #fff; border: 1px solid var(--ab-line); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.ab-partner:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(46, 125, 50, .12); border-color: #4a9c5c; }
.ab-partner-ico { display: inline-flex; color: var(--ab-2); }
.ab-partner-ico svg { width: 20px; height: 20px; }

/* 标杆合作客户 */
.ab-clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab-client { display: flex; align-items: center; justify-content: center; min-height: 88px; padding: 16px; text-align: center; font-size: 14px; line-height: 1.6; color: var(--ab-ink); background: #fff; border: 1px solid var(--ab-line); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.ab-client:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(46, 125, 50, .1); border-color: #4a9c5c; }

/* ---------- 发展历程：左右交替时间线 + 树叶形卡片 ---------- */
.ab-tl-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ab-tl { --tl-gap: 10px; position: relative; width: 100%; margin: 0; padding: 6px 0 2px; }
.ab-tl::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 2px; background: linear-gradient(180deg, rgba(46, 125, 50, 0) 0%, rgba(46, 125, 50, .34) 6%, rgba(46, 125, 50, .34) 94%, rgba(46, 125, 50, 0) 100%); }
/* 节点纵向间距由 --tl-gap 控制：PC 10px，移动端 8px；卡片内边距与行高不动 */
.ab-tl .ab-tl-item { position: relative; width: 50%; margin: 0; padding: 0 56px var(--tl-gap) 0; }
/* 偶数年份（第 2/4/6… 个节点）叶片居右 */
.ab-tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 var(--tl-gap) 56px; }
/* 左右交错压缩：相邻节点位于轴线两侧，可上下叠压，进一步缩短整条时间线（不挤压卡片内文字） */
.ab-tl .ab-tl-item + .ab-tl-item { margin-top: -24px; }
/* 圆点与服务茎对齐叶片尖端（卡片垂直中心） */
.ab-tl-marker { position: absolute; right: -11px; top: calc((100% - var(--tl-gap)) / 2); margin-top: -11px; width: 22px; height: 22px; box-sizing: border-box; border: 3px solid var(--ab-1); border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(46, 125, 50, .1); z-index: 2; }
.ab-tl-item:nth-child(even) .ab-tl-marker { right: auto; left: -11px; }
.ab-tl-item::after { content: ''; position: absolute; right: 0; top: calc((100% - var(--tl-gap)) / 2); width: 56px; border-top: 2px solid #d7e8da; }
.ab-tl-item:nth-child(even)::after { right: auto; left: 0; }
/* 叶片容器只负责柔和投影：形状裁切放在内层，投影才能贴合叶形 */
.ab-tl-leaf { filter: drop-shadow(0 2px 4px rgba(46, 125, 50, .16)); transition: transform .28s ease, filter .28s ease; }
/* 叶形：尖端指向时间轴，文字侧留足内边距，保证阅读舒适 */
.ab-tl-card { padding: 18px 56px 18px 24px; background: #fff; clip-path: url(#abLeafL); transition: background .28s ease; }
.ab-tl-item:nth-child(even) .ab-tl-card { padding: 18px 24px 18px 56px; clip-path: url(#abLeafR); }
/* hover：叶片轻微上浮、底色略微加深、投影加深 */
.ab-tl-leaf:hover { transform: translateY(-4px); filter: drop-shadow(0 6px 12px rgba(46, 125, 50, .2)); }
.ab-tl-leaf:hover .ab-tl-card { background: #f1f9f3; }
.ab-tl-year { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; font-size: 20px; line-height: 1.3; font-weight: 800; color: var(--ab-ink); }
.ab-tl-tag { padding: 1px 10px; font-size: 14.5px; font-weight: 600; line-height: 1.7; color: var(--ab-ink); background: rgba(46, 125, 50, .12); border-radius: 4px; }
.ab-tl-card .event { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ab-ink); }
.ab-tl-card .event a { color: var(--ab-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 企业文化 ---------- */
.ab-culture-top { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ab-culture-card { padding: 26px 28px; background: #fff; border: 1px solid var(--ab-line); border-top: 3px solid var(--ab-1); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease; }
.ab-culture-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(46, 125, 50, .1); }
.ab-culture-card h4,
.ab-culture-note h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; color: var(--ab-ink); }
.ab-culture-ico { display: inline-flex; color: var(--ab-2); }
.ab-culture-ico svg { width: 20px; height: 20px; }
.ab-culture-card p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ab-ink); }
.ab-culture-sub { display: flex; align-items: center; gap: 10px; margin: 36px 0 16px; font-size: 17px; color: var(--ab-ink); }
.ab-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-value { padding: 20px; background: #fff; border: 1px solid var(--ab-line); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.ab-value:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(46, 125, 50, .1); border-color: #4a9c5c; }
.ab-value h5 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--ab-ink); }
.ab-value p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ab-muted); }
.ab-culture-bottom { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.ab-culture-note { padding: 22px 24px; background: #fff; border: 1px solid var(--ab-line); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease; }
.ab-culture-note:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(46, 125, 50, .1); }
.ab-culture-note p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ab-ink); }

/* ---------- 荣誉资质 ---------- */
.ab-certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-cert { padding: 12px 12px 16px; background: #fff; border: 1px solid var(--ab-line); border-radius: 8px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.ab-cert:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(46, 125, 50, .12); border-color: #4a9c5c; }
.ab-cert-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; margin: 0; padding: 8px; overflow: hidden; background: #f4f9f5; border-radius: 6px; }
.ab-cert-media img { width: 100%; height: 100%; object-fit: contain; }
.ab-cert-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 12px; color: var(--ab-muted); background: repeating-linear-gradient(45deg, #f4f9f5, #f4f9f5 10px, #eaf3eb 10px, #eaf3eb 20px); border: 1px dashed #d5e5d7; border-radius: 4px; }
.ab-cert h4 { margin: 12px 0 0; font-size: 14px; font-weight: 600; text-align: center; color: var(--ab-ink); }
.ab-cert-desc { margin-top: 6px; font-size: 12.5px; line-height: 1.6; text-align: center; color: var(--ab-muted); }

/* ---------- 滚动渐入（JS 加 html.ab-anim 后才生效，无 JS 时内容始终可见） ---------- */
html.ab-anim .ab-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
html.ab-anim .ab-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.ab-anim .ab-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .ab-quals { grid-template-columns: repeat(2, 1fr); }
  .ab-values { grid-template-columns: repeat(2, 1fr); }
  .ab-certs { grid-template-columns: repeat(2, 1fr); }
  .ab-clients { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about-sections .wrap { padding-left: 18px; padding-right: 18px; }
  .ab-metrics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ab-metric { padding: 20px 16px; }
  .ab-metric-num { font-size: 34px; }
  .ab-quals { grid-template-columns: 1fr; gap: 16px; }
  .ab-biz { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ab-partners { grid-template-columns: 1fr; gap: 12px; }
  .ab-culture-top,
  .ab-culture-bottom { grid-template-columns: 1fr; gap: 16px; }
  .ab-values { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ab-culture-sub { margin-top: 28px; }
  .ab-certs { gap: 16px; }
  /* 时间线：单边垂直排列（叶片全部靠左，尖端统一指向左侧轴线，避免错位溢出） */
  .ab-tl { --tl-gap: 8px; }
  .ab-tl::before { left: 10px; margin-left: 0; }
  .ab-tl .ab-tl-item,
  .ab-tl .ab-tl-item:nth-child(even) { width: 100%; margin: 0; padding: 0 0 var(--tl-gap) 36px; }
  /* 单边排列时不叠压，避免叶片互相遮挡 */
  .ab-tl .ab-tl-item + .ab-tl-item { margin-top: 0; }
  .ab-tl-marker,
  .ab-tl-item:nth-child(even) .ab-tl-marker { right: auto; left: -1px; top: calc((100% - var(--tl-gap)) / 2); margin-top: -10px; width: 20px; height: 20px; }
  .ab-tl-item::after,
  .ab-tl-item:nth-child(even)::after { right: auto; left: 10px; top: calc((100% - var(--tl-gap)) / 2); width: 26px; }
  .ab-tl-card,
  .ab-tl-item:nth-child(even) .ab-tl-card { padding: 16px 22px 16px 44px; clip-path: url(#abLeafR); }
  .ab-tl-year { font-size: 18px; }
}
@media (max-width: 480px) {
  .ab-metrics { grid-template-columns: 1fr; }
  .ab-biz { grid-template-columns: 1fr; }
  .ab-values { grid-template-columns: 1fr; }
  .ab-clients { grid-template-columns: 1fr; }
  .ab-certs { grid-template-columns: 1fr; }
  .ab-culture-card { padding: 22px 20px; }
  .ab-mod { margin-top: 36px; }
}
/* 数据优势：数字下方配套说明文字（首页统计模块） */
.stat .desc { font-size: 12px; line-height: 1.6; opacity: .78; margin-top: 6px; }
/* 案例卡片标签【行业｜处理类型】 */
.case-card .case-tag { display: inline-block; font-size: 12px; color: var(--green); margin-top: 8px; }
/* 联系页引导文案 / 业务介绍 */
.contact-lead { color: #2d4a36; font-size: 14px; line-height: 1.8; margin: 0 0 18px; }
/* 详情正文：去 H 标签后的段落小标题（保留视觉层级） */
.detail-subhead { margin: 18px 0 8px; font-size: 16px; line-height: 1.7; color: #2d4a36; }
/* 产品详情底部咨询 CTA */
.detail-cta { margin: 26px 0 10px; padding: 20px 24px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.detail-cta p { margin: 0; color: #2d4a36; font-size: 15px; }
/* 企业文化 / 荣誉资质：本页改版后由 .about-sections 内 .ab-* 组件承载，旧网格样式已移除 */

/* ---------- 编辑器模式 ---------- */
.blk-wrap { position: relative; }
.blk-toolbar { position: absolute; top: 6px; right: 6px; display: none; gap: 4px; background: rgba(33,33,33,.85); border-radius: 6px; padding: 4px 8px; z-index: 500; align-items: center; }
.blk-wrap:hover .blk-toolbar { display: flex; }
.blk-name { color: #ffd54f; font-size: 12px; margin-right: 6px; }
.blk-toolbar button { background: none; border: none; color: #fff; cursor: pointer; font-size: 14px; padding: 2px 4px; }
.blk-toolbar button:hover { color: #ffd54f; }
[data-e][contenteditable="true"] { outline: 2px dashed #1e88e5; outline-offset: 2px; cursor: text; }
[data-e-img] { cursor: pointer; }
.blk-wrap[data-hidden="1"] > *:not(.blk-toolbar) { opacity: .35; }

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  /* 展开菜单：高度不超屏（header 56px + 可滚动），菜单项多时底部不再被截断 */
  .nav { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--green); flex-direction: column; padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.2); max-height: calc(100vh - 56px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .lt-cn { font-size: 15px; }
  .lt-en { font-size: 10px; }
  .nav.open { display: flex; }
  .nav-drop { position: static; display: block; box-shadow: none; background: rgba(0,0,0,.15); margin: 4px 0 8px; }
  .nav-drop a { color: #dfeee4; border-bottom: none; }
  .nav-drop-sub a { color: #dfeee4; padding-left: 34px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-in { height: 56px; }
  .hero-carousel { height: 240px; }
  .slide-txt h2 { font-size: 20px; }
  .slide-txt { max-width: 80%; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .qual-grid { gap: 12px; }
  .qual-grid > .qual-card { flex-basis: calc((100% - 12px) / 2); }
  /* 宫格移动端 2 列居中（flex 布局） */
  .feature-wrap { gap: 12px; }
  .feature-wrap > .feature-card { flex-basis: calc((100% - 12px) / 2); }
  .project-cases .card-grid, .support-cards .card-grid { grid-template-columns: 1fr; }
  /* 轮播在移动端一屏 1 张 */
  .card-carousel.per-4 .card, .card-carousel.per-3 .card { flex-basis: 100%; }
  .stats-wrap > .stat { flex-basis: calc((100% - 16px) / 2); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 22px; }
  .sec-head h2 { font-size: 22px; }
  .floating-contact { right: 10px; }

}

/* ============================================================
   详情页版式（对齐老站：product-detail / service-detail / news-detail）
   规则提取自老站 css/style-6.62.css，仅作用于详情页区域
   ============================================================ */
/* 详情区容器（老站 .container 的定宽规则，仅限定详情页 section 内，不影响全站） */
.page-header .container, .product-detail .container, .service-detail .container, .news-detail .container { width: 100%; max-width: min(100%, 1400px); margin: 0 auto; padding: 0 clamp(16px, 2vw, 100px); box-sizing: border-box; }
.detail-page-wrap { width: 100%; }

.product-card:hover img,
.project-card:hover img,
.service-card:hover img,
.news-image:hover img,
.product-images img:hover,
.product-detail-images img:hover,
.tab-content img:hover,
.carousel-item:hover img {
    filter: saturate(1) brightness(1) contrast(1);
}

.news-detail h2,
.news-detail .detail-content h1 {
    color: #2d4a36 !important;
}

.page-header {
    background-color: #4a7d57 !important;
    color: #fff;
    min-height: 200px !important;
    padding: 60px 0 !important;
    text-align: center;
    box-sizing: border-box;
}

.page-header .container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(20px, 2.5vw, 36px);
    margin: 0 0 12px 0;
    text-align: center;
    width: 100%;
}

.page-header p {
    font-size: clamp(18px, 1.2vw, 22px);
    opacity: 0.95;
    margin: 0;
    text-align: center;
    text-indent: 0;
    width: 100%;
}

.news-detail .btn {
    min-height: 40px;
    height: 40px;
    padding: 0 28px;
    font-size: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
}

.product-detail .btn {
    min-height: 40px;
    height: 40px;
    padding: 0 28px;
    font-size: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.news-detail {
    padding: 60px 0;
    background-color: #f5f9f6;
}

.news-detail .detail-content {
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.news-detail h2,
.news-detail .detail-content h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #2d4a36 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    text-shadow: 0 0 5px rgba(74, 125, 87, 0.5) !important;
}

.news-detail .news-date {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.news-title-center {
    text-align: center !important;
}

.news-detail .detail-content h2.news-title-center {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.news-detail .news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2d4a36;
    margin-bottom: 30px;
}

.news-detail .news-content p {
    margin-bottom: 20px;
    text-align: left !important;
    text-indent: 2em !important;
}

.news-detail .news-image {
    margin: 30px 0;
    text-align: center;
    width: 100%;
}

.news-detail .news-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-detail .news-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    float: none !important;
    margin: 15px auto !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block !important;
}

.news-detail .news-content p:has(img) {
    text-indent: 0;
    text-align: center;
}

.news-detail .image-container {
    margin: 20px 0;
    text-align: center;
}

.news-detail .image-container img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-detail .news-share {
    margin: 40px 0;
    padding: 20px;
    background-color: #eaf5ee;
    border-radius: 8px;
}

.news-detail .news-share h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2d4a36;
}

.news-detail .share-buttons {
    display: flex;
    gap: 15px;
}

.news-detail .share-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #2d4a36;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-detail .share-btn:hover {
    background-color: #e0e0e0;
    color: #2d4a36;
}

.news-detail .news-nav {
    text-align: center;
    margin-top: 30px;
}

/* ==================== 联系我们页（对齐老站布局） ==================== */
/* 公司位置地图：1.0 原比例（容器全宽 1200×450，移动端 256 高） */
section.contact-map { padding: 40px 0 10px; background: #f5f9f6; }
section.contact-map h2 { font-size: 24px; margin-bottom: 24px; color: #2d4a36; text-align: center; }
.map-container { width: 100%; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(45, 74, 54, 0.1); background: #fff; }
.map-container iframe, .map-container embed { width: 100% !important; height: 450px !important; max-width: 100% !important; border: 0; display: block; }

/* 企业简介（老站布局：Tab 分页按钮 + 面板切换） */
.about-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 28px 0 40px; }
.about-tabs .about-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 32px; border: 1px solid #d5e3d9; border-radius: 999px; background: #eaf5ee; color: var(--ab-ink, #2d4a36); font-size: 15px; text-decoration: none; transition: color .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease; }
.about-tabs .about-tab:hover { border-color: var(--ab-1, #2e7d32); color: var(--ab-1, #2e7d32); }
/* 激活 Tab：与案例页筛选按钮一致（实心绿底 + 白字胶囊） */
.about-tabs .about-tab.active { background: var(--ab-1, #2e7d32); border-color: var(--ab-1, #2e7d32); color: #fff; font-weight: 700; box-shadow: none; }
.about-panel { display: none; padding-bottom: 56px; }
.about-panel.active { display: block; }
.about-panel > h2 { position: relative; margin: 0 0 26px; padding-bottom: 14px; font-size: 26px; color: var(--ab-ink, #2d4a36); }
.about-panel > h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #2e7d32, #4a9c5c); }
@media (max-width: 768px) { .map-container iframe, .map-container embed { height: 256px !important; } }

/* 联系信息区：整体上移（老站 padding-top 10px）+ 左信息右表单双栏 */
section.contact-section { padding: 10px 0 60px; background: #f5f9f6; }
.contact-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.contact-info h2, .contact-form h2 { font-size: 24px; margin-bottom: 30px; color: #2d4a36; }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info ul li { margin-bottom: 15px; display: flex; flex-direction: column; color: #2d4a36; }
.contact-info ul li strong { color: #2d4a36; margin-bottom: 5px; font-weight: 600; }
.contact-form form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .form-group { display: flex; flex-direction: column; }
.contact-form .form-group label { margin-bottom: 5px; font-weight: 500; color: #2d4a36; font-size: 14px; }
.contact-form .form-group input, .contact-form .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: #2d4a36; font-family: inherit; box-sizing: border-box; }
.contact-form .form-group input:focus, .contact-form .form-group textarea:focus { outline: none; border-color: #4a7d57; box-shadow: 0 0 0 2px rgba(74, 125, 87, 0.1); }
.required-mark { color: #e74c3c; margin-left: 2px; }

.product-header {
    margin-bottom: 30px;
}

.product-header h1 {
    font-size: 32px;
    color: #2d4a36;
    margin-bottom: 10px;
    font-family: "KaiTi", "STKaiti", "楷体", serif;
}

.product-code {
    font-size: 16px;
    color: #2d4a36;
    margin-bottom: 20px;
}

.product-content {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.product-sidebar {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0;
    min-width: 0;
}

.product-images {
    margin: 0;
}

.product-images img {
    border-radius: 8px 8px 0 0;
    width: 100%;
}

.product-description, .product-specs {
    padding: 20px;
}

@media (max-width: 992px) {
  .product-content {
        flex-direction: column;
    }
  .product-sidebar {
        width: 100%;
        order: 2;
    }
  .product-main {
        order: 1;
    }
}

@media (max-width: 768px) {
  .product-header h1 {
        font-size: 24px;
    }
}

.product-main {
    flex: 2;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 0;
}

.product-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.product-images {
    position: relative;
}

.product-images .main-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-images .thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.product-images .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-images .thumbnail:hover {
    border-color: #4a7d57;
    transform: scale(1.05);
}

.product-images .thumbnail.active {
    border-color: #4a7d57;
    box-shadow: 0 0 0 2px rgba(74, 125, 87, 0.3);
}

.tab-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-description,
.product-specs {
    margin-bottom: 25px;
}

.product-description h3,
.product-specs h3,
.product-description .detail-h,
.product-specs .detail-h {
    font-size: 18px;
    margin: 0 0 15px;
    color: #2d4a36;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.product-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #2d4a36;
    text-indent: 2em;
}

.product-specs ul {
    list-style: none;
}

.product-specs ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #2d4a36;
}

.product-specs ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2d4a36;
    font-weight: bold;
}

.product-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.detail-tabs {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.detail-tabs {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: #f5f9f6;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 20px 40px;
    border: none;
    background: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    color: #2d4a36;
}

.tab-btn:hover,
.tab-btn.active {
    color: #2d4a36;
    border-bottom-color: #4a7d57;
    background-color: #fff;
}

.tab-content {
    padding: 30px;
}

/* 渐进增强：未加 .js-tabs 时（爬虫/禁用 JS/脚本未执行）全部面板展开显示，
   技术文档、FAQ 等重要文本直接可见可读；脚本加载后加 .js-tabs 才恢复点击切换的隐藏逻辑 */
.detail-tabs.js-tabs .tab-pane {
    display: none;
}

.detail-tabs.js-tabs .tab-pane.active {
    display: block;
    overflow: hidden;
}

.detail-tabs.js-tabs .tab-pane.active::after {
    content: '';
    display: table;
    clear: both;
}

/* 服务列表页：左侧竖排分类 + 右侧明细列表（ID/名称/分类/上传日期） */
.svc-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    /* 分类容器与右侧列表顶部统一与页头保持 20px */
    margin-top: 20px;
}

.svc-side {
    /* 宽度/高度随分类按钮数量与文字长度自适应（最小 140px） */
    flex: 0 0 auto;
    min-width: 140px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* 分类按钮容器：浅绿底卡片 */
    background: #eaf4ec;
    border: 1px solid #d6e8da;
    border-radius: 12px;
    padding: 18px 12px;
    box-shadow: 0 2px 8px rgba(22, 119, 153, .08);
}

.svc-side-btn {
    display: block;
    padding: 10px 14px;
    border-radius: 20px;
    background: #fff;
    color: #2e7d32;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.svc-side-btn:hover {
    background: #dceddc;
}

.svc-side-btn.active {
    background: #2e7d32;
    color: #fff;
}

/* 服务子分类折叠组：默认隐藏，点击父分类展开 */
.svc-side-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.svc-side-sub-list {
    display: none;
    flex-direction: column;
    gap: 8px;
}

.svc-side-group.open .svc-side-sub-list {
    display: flex;
}

.svc-caret {
    float: right;
    font-size: 12px;
    opacity: .5;
    transition: transform .15s;
}

.svc-side-group.open .svc-caret {
    transform: rotate(180deg);
}

/* 服务子分类按钮：缩进、字号略小、虚线边框以示层级 */
.svc-side-btn.svc-side-sub {
    margin-left: 14px;
    padding: 8px 12px;
    font-size: 13px;
    background: #f7fbf8;
    color: #3d6650;
    border: 1px dashed #cfe3d5;
}

.svc-side-btn.svc-side-sub:hover {
    background: #eef6ef;
}

.svc-side-btn.svc-side-sub.active {
    background: #2e7d32;
    color: #fff;
    border-style: solid;
}

.svc-side-mark {
    display: inline-block;
    opacity: .5;
    margin-right: 4px;
    font-size: 12px;
}

.svc-main {
    flex: 1;
    min-width: 0;
}

.svc-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.svc-table {
    width: 100%;
    border-collapse: collapse;
}

.svc-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
    font-size: 14px;
    color: #2d4a36;
}

.svc-table tbody tr:hover {
    background: #f5faf5;
}

.svc-table td.c-id,
.svc-table td.c-cat,
.svc-table td.c-date {
    white-space: nowrap;
}

/* 列表序号圆点：替代原编号列，直径 2mm 绿色圆点 */
.svc-table .c-dot {
    display: inline-block;
    width: 2mm;
    height: 2mm;
    border-radius: 50%;
    background: var(--green);
    vertical-align: middle;
}

.svc-table td.c-name a {
    color: #2d4a36;
    text-decoration: none;
}

.svc-table td.c-name a:hover {
    color: #2e7d32;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .svc-layout {
        flex-direction: column;
    }

    .svc-side {
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .svc-side-group {
        width: 100%;
    }

    .svc-side-sub-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .svc-side-btn.svc-side-sub {
        margin-left: 0;
    }
}

.product-detail .tab-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.product-detail .tab-content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tab-pane h3,
.tab-pane .tab-h {
    font-size: 20px;
    margin: 0 0 20px;
    color: #2d4a36;
}

.tab-pane p {
        margin-bottom: 15px;
        color: #2d4a36;
        text-indent: 0;
        white-space: normal;
    }

.tab-pane * {
        color: #2d4a36 !important;
    }

.news-detail {
    padding: 60px 0;
    background-color: #f5f9f6;
}

.detail-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2d4a36;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.news-content {
    margin-bottom: 30px;
}

.news-detail .news-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #2d4a36;
    text-indent: 2em !important;
    text-align: left !important;
}

.news-share {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.news-share h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2d4a36;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9f6 50%, #ecf4ee 100%);
    color: #2d4a36;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid #cfe0d4;
    box-shadow:
        0 3px 5px rgba(45, 74, 54, 0.12),
        0 1px 3px rgba(45, 74, 54, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.share-btn:hover {
    background: linear-gradient(180deg, #5c986b 0%, #4d825a 50%, #41704c 100%);
    color: #fff;
    border-color: #3f6c4a;
    transform: translateY(-3px);
    box-shadow:
        0 8px 14px rgba(45, 74, 54, 0.32),
        0 4px 8px rgba(45, 74, 54, 0.2),
        0 0 28px rgba(168, 216, 185, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.share-btn:active {
    background: linear-gradient(180deg, #3f6c4a 0%, #3a6544 50%, #355e3f 100%);
    color: #fff;
    transform: translateY(1px);
    box-shadow:
        0 2px 4px rgba(45, 74, 54, 0.25),
        0 1px 2px rgba(45, 74, 54, 0.18),
        inset 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: all 0.1s ease;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

@media (max-width: 768px) {
  .page-header h1 {
        font-size: 24px;
    }
  .page-header p {
        font-size: 20px;
    }
  .detail-content {
        gap: 30px;
    }
  .news-detail .detail-content {
        padding: 20px;
    }
  .news-detail h2 {
        font-size: 24px;
    }
  .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
  .tab-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
  .product-main {
        order: 2;
    }
}

@media (max-width: 480px) {
  .news-detail h2 {
        font-size: 20px;
    }
  .news-detail .detail-content {
        padding: 15px;
    }
  .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
  .tab-content {
        padding: 15px;
    }
  .product-content {
        flex-direction: column;
    }
  .product-sidebar {
        width: 100%;
        order: 2;
    }
  .product-main {
        order: 1;
    }
  .product-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

.page-header {
    background: linear-gradient(135deg, #4a7d57, #3d6b4d);
}

.product-main {
    flex: 2;
    min-width: 0;
}

.product-main h3 {
    margin-bottom: 24px;
    color: #2d4a36;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-link {
    display: inline-block;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

.company-intro,
.product-showcase,
.news-section,
.about-section,
.contact-section,
.product-detail,
.news-detail {
    animation: fadeIn 0.8s ease-out;
}

.news-detail h2,
.news-detail .detail-content h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #2d4a36 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    text-shadow: 0 0 5px rgba(74, 125, 87, 0.5) !important;
}

.service-detail {
    padding: 60px 0;
}

.service-detail-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-detail h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2d4a36;
    font-weight: 600;
}

.detail-body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.detail-image-side {
    flex: 0 0 50%;
    max-width: 50%;
}

.detail-image-side img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.detail-doc-side {
    flex: 1 1 auto;
    min-width: 0;
}

.detail-body > .detail-doc-side:only-child {
    flex: 1 1 100%;
}

@media (max-width: 768px) {
  .detail-body {
        flex-direction: column;
        gap: 20px;
    }
  .detail-image-side {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
}

.service-detail-section {
    margin-top: 40px;
}

.detail-doc-side > .service-detail-section:first-child {
    margin-top: 0;
}

/* 容器统一墨绿基色：h3/h4/li 等未单独设色的元素全部继承，
   避免出现 h2/p 是 #2d4a36、h3 却回落到正文蓝黑 #2c3e50 的杂色问题 */
.service-detail-section {
    color: #2d4a36;
}

.service-detail-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2d4a36;
    border-bottom: 2px solid #4a7d57;
    padding-bottom: 10px;
    font-weight: 600;
}

.service-detail-section h3,
.service-detail-section h4 {
    font-size: 18px;
    margin: 18px 0 12px;
    font-weight: 600;
}

.service-detail-section p,
.service-detail-section div {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #2d4a36;
    text-indent: 2em;
}

.pdf-document {
    margin-top: 20px;
    padding: 20px;
    background: #f0f0f0;
    border-radius: 8px;
}

.pdf-document h3 {
    margin-bottom: 15px;
    color: #2d4a36;
    font-size: 18px;
    font-weight: 600;
}

.pdf-link {
    display: inline-block;
    padding: 10px 20px;
    background: #4a7d57;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pdf-link:hover {
    background: #3d6b4d;
    box-shadow: 0 0 15px rgba(74, 125, 87, 0.3);
}

.back-link {
    display: inline-block;
    margin-top: 60px;
    padding: 14px 32px;
    background: transparent;
    color: #2d4a36;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #4a7d57;
    border-radius: 4px;
}

.back-link:hover {
    background: #4a7d57;
    color: #fff;
}

@media (min-width: 1920px) {
  .page-header h1 {
        font-size: clamp(36px, 2.5vw, 48px);
    }
}

@media (min-width: 2560px) {
  .page-header h1 {
        font-size: clamp(48px, 2vw, 64px);
    }
}

/* 案例详情：顶部图片行（最多 3 张、限高 300px、整体水平居中，点击可看大图） */
.detail-gallery-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.detail-gallery-row img {
    height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
}

@media (max-width: 768px) {
    .detail-gallery-row img {
        height: 200px;
    }
}

/* 详情页底部「上一条 / 下一条」（产品/案例/新闻/服务共用） */
.detail-prevnext {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
}

.detail-prevnext .pn-item {
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #888;
}

.detail-prevnext a {
    color: #2e7d32;
    text-decoration: none;
}

.detail-prevnext a:hover {
    text-decoration: underline;
}

/* 富文本正文（详情页/关于我们/图文区块）：恢复被全局 ul{list-style:none} 清掉的列表圆点，
   与后台编辑器显示保持一致；只作用于内容容器，导航等 UI 元素不受影响 */
.detail-body ul, .about-html ul, .rich-text .wrap ul { list-style: disc; padding-left: 1.6em; margin: .6em 0; }
.detail-body ol, .about-html ol, .rich-text .wrap ol { list-style: decimal; padding-left: 1.6em; margin: .6em 0; }
.detail-body li, .about-html li, .rich-text .wrap li { margin: .15em 0; }
