/* ==========================================================================
   HGS UI v2 —— 视觉重设计覆盖层（2026-10-24）
   加载顺序：reset.css → style.css → ui-v2.css
   只做覆盖，不删除原样式，可整文件回滚
   ========================================================================== */

:root {
  --hgs-brand: #3F8B36;
  --hgs-brand-d: #2C6B27;
  --hgs-brand-l: #5AA22F;
  --hgs-tint: #f1f7ea;
  --hgs-lime: #8CC010;
  --hgs-tint-2: #f7fbf3;
  --hgs-ink: #16211c;
  --hgs-ink-2: #46564e;
  --hgs-ink-3: #6c7c74;
  --hgs-line: #e4ece7;
  --hgs-line-2: #eef3f0;
  --hgs-w: 1200px;
  --hgs-r-sm: 8px;
  --hgs-r: 14px;
  --hgs-r-lg: 20px;
  --hgs-sh-sm: 0 1px 2px rgba(4, 54, 31, .05);
  --hgs-sh: 0 2px 6px rgba(4, 54, 31, .05), 0 18px 40px -24px rgba(4, 54, 31, .18);
  --hgs-sh-lg: 0 4px 12px rgba(4, 54, 31, .06), 0 30px 60px -30px rgba(4, 54, 31, .25);
}

html { -webkit-text-size-adjust: 100%; }
body {
  color: var(--hgs-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
::selection { background: rgba(5, 118, 64, .16); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--hgs-brand); outline-offset: 2px;
}

/* ---------- 页头 ---------- */
.header_bottom_box { border-bottom: 1px solid var(--hgs-line-2); }
.header_bottom_box.fixed {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--hgs-line);
  box-shadow: 0 8px 30px -18px rgba(4, 54, 31, .35);
}
.header_bottom_content { height: 84px; }
/* logo：原主题把 .logo 写死 98px 宽，130x50 的旧图被压成一小条 */
.logo { width: auto !important; }
.logo img { height: 46px; width: auto; display: block; }
.logo a { display: block; }
.nav_box li + li { margin-left: 42px; }
.nav_frist_link {
  font-size: 16.5px;
  letter-spacing: .2px;
  color: #1d2a24;
  position: relative;
  transition: color .25s;
}
.nav_frist_link:after {
  content: ""; position: absolute; left: 50%; bottom: 22px;
  width: 0; height: 2px; background: var(--hgs-brand);
  transform: translateX(-50%); transition: width .28s ease;
  border-radius: 2px;
}
.nav_box li:hover .nav_frist_link:after,
.nav_box li.on .nav_frist_link:after { width: 100%; }
.header_product_nav_list_box {
  background: rgba(4, 54, 31, .94);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .45);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.header_product_nav_list_left dd a { font-size: 15.5px; letter-spacing: .3px; }
.header_product_nav_list_right_list a { font-size: 15px; color: rgba(255, 255, 255, .82); }
.header_product_nav_list_right_list a:hover { color: #fff; }
.header_list_box { border-radius: var(--hgs-r); box-shadow: var(--hgs-sh-lg); padding: 6px 0; overflow: hidden; }
.header_list_box a { line-height: 42px; border-bottom: none; font-size: 15px; padding: 0 18px; }
.header_list_box a:hover { background: var(--hgs-tint); color: var(--hgs-brand); }
.header_search_box { box-shadow: var(--hgs-sh-lg); }
.header_search_box input:first-of-type { border-bottom: 1px solid var(--hgs-line); }
.header_search_box input:last-of-type { border-radius: 999px; }

/* ---------- banner（栏目 / 单页） ---------- */
.banner { overflow: hidden; background: #122c14; }
.banner_bg { height: clamp(200px, 24.95vw, 480px); overflow: hidden; }
.banner_bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.banner:after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 30, 18, .10) 0%, rgba(3, 30, 18, .34) 62%, rgba(3, 30, 18, .50) 100%);
}
.banner_content { z-index: 2; }
.banner_content .contentWH1400,
.banner_content .contentWH1200 { position: relative; }
.banner_content h1 {
  font-size: clamp(24px, 2.35vw, 42px);
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .38);
  position: relative;
  padding-bottom: 16px;
}
.banner_content h1:after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 44px; height: 3px; margin-left: -22px;
  background: #fff; opacity: .82; border-radius: 3px;
}

/* ---------- 面包屑 ---------- */
.crumbs_box {
  background: var(--hgs-tint-2);
  border-bottom: 1px solid var(--hgs-line);
}
.crumbs_content { height: 54px; }
.crumbs_content_left { gap: 2px; flex-wrap: wrap; row-gap: 4px; padding: 6px 0; }
.crumbs_content a,
.crumbs_content i { font-size: 13.5px; color: var(--hgs-ink-3); line-height: 1.6; }
.crumbs_content a { transition: color .2s; }
.crumbs_content a:hover { color: var(--hgs-brand); }
.crumbs_content a:first-child { font-weight: 500; color: var(--hgs-ink-2); }
.crumbs_content img { width: 15px; opacity: .85; margin-right: 6px; }
.crumbs_content i { margin: 0 7px; opacity: .45; font-size: 12px; }
/* 当前页（最后一项）加粗、不可点感 */
.crumbs_content_left > a:last-child {
  color: var(--hgs-ink); font-weight: 600; pointer-events: none;
}
/* privacy-policy 等用 ul/li 结构的兼容 */
.crumbs_box ul { display: flex; align-items: center; flex-wrap: wrap; }
.crumbs_box ul li { font-size: 13.5px; color: var(--hgs-ink-3); }

/* ---------- 首页 hero ---------- */
/* 首屏高度按 40vw 走（2.5:1），与 2400x960 的首屏图同比例 —— 铺满且不裁切、不变形 */
.index_banner_bg { position: relative; height: clamp(420px, 40vw, 800px); }
.index_banner_bg:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(3, 30, 18, .80) 0%, rgba(3, 30, 18, .55) 42%, rgba(3, 30, 18, .12) 78%);
}
.index_banner_content_txt { z-index: 2; }
.index_banner_content_txt h1,
.index_banner_content_txt h2 {
  font-size: clamp(26px, 2.45vw, 44px);
  letter-spacing: 1px;
  line-height: 1.32;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.index_banner_content_txt p {
  font-size: 16.5px; line-height: 1.85; color: rgba(255, 255, 255, .92);
  max-width: 560px;
}
.index_banner_content_txt a {
  border-radius: 999px; border-width: 1px;
  background: rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 15.5px; letter-spacing: .5px;
  transition: transform .25s, background .25s, border-color .25s;
}
.index_banner_content_txt a:hover { transform: translateY(-2px); }

/* ---------- 区块标题 ---------- */
.index_title_box { margin-bottom: 8px; }
.index_title_box h1,
.index_title_box h2 {
  font-size: clamp(26px, 2.1vw, 34px);
  letter-spacing: .5px;
  color: var(--hgs-ink);
  position: relative;
  padding-bottom: 18px;
}
.index_title_box h1:after,
.index_title_box h2:after {
  content: ""; position: absolute; left: 50%; bottom: 0; margin-left: -20px;
  width: 40px; height: 3px; background: var(--hgs-brand); border-radius: 3px;
}

/* ---------- 首页 服务卡 ---------- */
.index_service_box { background: linear-gradient(180deg, #f7faf8 0%, #f2f7f4 100%); }
.index_service_ul li {
  border-radius: var(--hgs-r-lg);
  border: 1px solid var(--hgs-line);
  box-shadow: var(--hgs-sh-sm);
  padding: 34px 34px 118px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.index_service_ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--hgs-sh-lg);
  border-color: rgba(5, 118, 64, .38);
}
.index_service_ul li h3 { font-size: 21px; color: var(--hgs-ink); letter-spacing: .3px; }
.index_service_link a { font-size: 15px; color: var(--hgs-ink-3); line-height: 1.75; }
.index_service_link a:hover { color: var(--hgs-brand); text-decoration: none; }
.index_service_ico { opacity: .10; }
.index_service_more {
  width: auto; padding: 9px 18px; border-radius: 999px;
  background: var(--hgs-tint); color: var(--hgs-brand);
  font-size: 14.5px; font-weight: 500;
}
.index_service_more img { width: 18px; background: var(--hgs-brand); }

/* ---------- 首页 关于 ---------- */
.index_about_content_left h2 {
  font-size: clamp(24px, 1.9vw, 30px); color: var(--hgs-ink);
  padding-bottom: 16px; position: relative;
}
.index_about_content_left h2:after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 42px; height: 3px; background: var(--hgs-brand); border-radius: 3px;
}
.index_about_content_left p { font-size: 16px; line-height: 1.95; color: var(--hgs-ink-2); }
.index_about_content_right { border-radius: var(--hgs-r-lg); box-shadow: var(--hgs-sh); }
.index_about_content_right img { transition: transform .6s; }
.index_about_content_right:hover img { transform: scale(1.03); }

/* ---------- 首页 新闻卡 ---------- */
.index_news_box { background: #f7faf8; }
.index_news_ul li {
  border: 1px solid var(--hgs-line);
  border-radius: var(--hgs-r);
  overflow: hidden;
  box-shadow: var(--hgs-sh-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.index_news_ul li:hover { transform: translateY(-4px); box-shadow: var(--hgs-sh-lg); border-color: rgba(5, 118, 64, .3); }
.index_news_ul li a { padding: 0 0 4px; }
.index_news_ul_img { border-radius: 0; }
.index_news_ul_content { padding: 22px 24px 26px; }
.index_news_ul_content_time {
  display: inline-block; font-size: 12.5px; letter-spacing: .6px;
  color: var(--hgs-brand); background: var(--hgs-tint);
  padding: 3px 10px; border-radius: 999px;
}
.index_news_ul_content h2 { font-size: 17.5px; line-height: 1.55; color: var(--hgs-ink); min-height: 54px; }
.index_news_ul_content p { font-size: 14.5px; line-height: 1.75; color: var(--hgs-ink-3); }
.index_news_ul_content span {
  width: auto; padding: 8px 20px; height: auto; border-radius: 999px;
  font-size: 14px; border-color: var(--hgs-line);
}

/* ---------- 产品/分组卡片 ---------- */
.product_rz_box { padding: 68px 0 76px; }
.product_rz_ul li {
  border-radius: var(--hgs-r);
  box-shadow: var(--hgs-sh-sm);
  transition: transform .3s, box-shadow .3s;
}
.product_rz_ul li:hover { transform: translateY(-3px); box-shadow: var(--hgs-sh); }
.product_rz_ul_div {
  background: linear-gradient(180deg, rgba(3, 30, 18, .18) 0%, rgba(3, 30, 18, .72) 100%);
  align-items: flex-end; padding-bottom: 22px;
}
.product_rz_ul_div p { font-size: 18.5px; line-height: 1.5; letter-spacing: .3px; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }

/* ---------- 栏目页 布局 ---------- */
.service_content_box { padding: 64px 0 84px; }
.service_content_left_box { width: 25%; }
.service_content_left_right { width: 71%; }
.service_content_left_content { border-radius: var(--hgs-r); overflow: hidden; box-shadow: var(--hgs-sh-sm); border: 1px solid var(--hgs-line-2); }
.service_content_left_content_title {
  height: 56px; font-size: 17px; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--hgs-brand) 0%, var(--hgs-brand-d) 100%);
}
.service_content_left_content_bottom { margin-top: 0; }
.service_content_left_content_bottom a {
  background: #fff; border-bottom: 1px solid var(--hgs-line-2);
  font-size: 14.5px; line-height: 48px; color: var(--hgs-ink-2);
  position: relative; padding-left: 22px;
}
.service_content_left_content_bottom a:before {
  content: ""; position: absolute; left: 10px; top: 50%; margin-top: -3px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--hgs-line);
  transition: background .25s;
}
.service_content_left_content_bottom a:hover { background: var(--hgs-tint); color: var(--hgs-brand); }
.service_content_left_content_bottom a:hover:before,
.service_content_left_content_bottom a.on:before { background: #fff; }
.service_content_left_content_bottom a.on {
  background: var(--hgs-brand); color: #fff; border-bottom-color: transparent;
}

/* 正文排版 */
.service_content_left_right h1 {
  font-size: clamp(23px, 1.85vw, 30px);
  letter-spacing: .4px; line-height: 1.5;
  text-align: left; padding-bottom: 18px; margin-bottom: 8px;
  border-bottom: 1px solid var(--hgs-line);
}
.service_content_left_right h2 {
  font-size: 19px; color: var(--hgs-ink);
  position: relative; padding-left: 14px; padding-top: 26px;
}
.service_content_left_right h2:before {
  content: ""; position: absolute; left: 0; top: 30px;
  width: 4px; height: 17px; background: var(--hgs-brand); border-radius: 3px;
}
.service_content_left_right h3 { font-size: 16.5px; color: var(--hgs-ink); font-weight: 600; margin-top: 18px; }
.service_content_left_right p { font-size: 16px; line-height: 1.95; color: var(--hgs-ink-2); margin-top: 14px; }
.service_content_left_right img { max-width: 100%; height: auto; border-radius: 10px; }
.service_content_left_right table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14.5px; }
.service_content_left_right th { background: var(--hgs-tint); color: #2C6B27; }
.service_content_left_right th, .service_content_left_right td { border: 1px solid var(--hgs-line); padding: 11px 13px; }
.service_content_left_right ul, .service_content_left_right ol { margin: 14px 0 14px 22px; }
.service_content_left_right li { font-size: 15.5px; line-height: 1.9; color: var(--hgs-ink-2); margin: 6px 0; list-style: disc; }
.service_content_left_right blockquote {
  margin: 18px 0; padding: 14px 18px; background: var(--hgs-tint);
  border-left: 3px solid var(--hgs-brand); border-radius: 0 8px 8px 0;
  color: var(--hgs-ink-2); font-size: 15.5px;
}

/* 相关认证 / 同组卡片（模板内联样式覆盖） */
.hgs-rel-item, .hgs-sub-item {
  border-radius: 10px !important;
  border-color: var(--hgs-line) !important;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.hgs-rel-item:hover, .hgs-sub-item:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 118, 64, .35) !important;
  box-shadow: var(--hgs-sh-sm);
}
.hgs-rel-name, .hgs-sub-name { color: var(--hgs-ink) !important; font-weight: 600; }
.hgs-rel-tip, .hgs-sub-tip { color: var(--hgs-ink-3) !important; }

/* ---------- 新闻 / 案例 列表 ---------- */
.news_list_top_box { padding-top: 8px; }
.news_list_top_sw_img { border-radius: var(--hgs-r); overflow: hidden; box-shadow: var(--hgs-sh); }
.news_list_top_sw_right_time { color: var(--hgs-brand); font-size: 13px; letter-spacing: .5px; }
.news_list_top_sw_right h2 { font-size: 21px; line-height: 1.55; color: var(--hgs-ink); }
.news_list_top_sw_right p { color: var(--hgs-ink-3); font-size: 14.5px; line-height: 1.8; }
.news_list_bottom_box li {
  border: 1px solid var(--hgs-line); border-radius: var(--hgs-r);
  background: #fff; transition: transform .28s, box-shadow .28s, border-color .28s;
}
.news_list_bottom_box li:hover { transform: translateY(-3px); box-shadow: var(--hgs-sh); border-color: rgba(5, 118, 64, .3); }
.news_list_bottom_right h2 { font-size: 17.5px; line-height: 1.55; color: var(--hgs-ink); }
.news_list_bottom_right p { color: var(--hgs-ink-3); font-size: 14.5px; }
.news_list_bottom_time strong { color: var(--hgs-brand); }

/* ---------- 详情页 ---------- */
.news_detial_content_left_bottom { font-size: 16px; line-height: 1.95; color: var(--hgs-ink-2); }
.news_detial_content_left_bottom h2 {
  font-size: 19px; color: var(--hgs-ink); position: relative;
  padding-left: 14px; margin: 30px 0 12px;
}
.news_detial_content_left_bottom h2:before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 4px; height: 17px; background: var(--hgs-brand); border-radius: 3px;
}
.news_detial_content_left_bottom h3 { font-size: 16.5px; color: var(--hgs-ink); margin: 22px 0 10px; }
.news_detial_content_left_bottom p { margin: 12px 0; }
.news_detial_content_left_bottom img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.news_detial_content_left_bottom ul,
.news_detial_content_left_bottom ol { margin: 12px 0 12px 22px; }
.news_detial_content_left_bottom li { list-style: disc; line-height: 1.9; margin: 6px 0; }
.news_detial_content_left_bottom table th { background: var(--hgs-tint); color: #2C6B27; }
.news_detial_content_left_bottom_last {
  border-top: 1px solid var(--hgs-line); margin-top: 34px; padding-top: 6px;
}
.news_detial_content_left_bottom_last_list {
  font-size: 14.5px; color: var(--hgs-ink-3);
  padding: 12px 0; border-bottom: 1px dashed var(--hgs-line-2);
}
.news_detial_content_left_bottom_last_list strong { color: var(--hgs-ink); font-weight: 600; margin-right: 8px; }
.news_detial_content_left_bottom_last_list a { color: var(--hgs-ink-2); }
.news_detial_content_left_bottom_last_list a:hover { color: var(--hgs-brand); }

/* ---------- 联系页 ---------- */
.contact_box { background: var(--hgs-tint-2); }
.contact_list_box li {
  border: 1px solid var(--hgs-line); border-radius: var(--hgs-r);
  box-shadow: var(--hgs-sh-sm); transition: transform .28s, box-shadow .28s, border-color .28s;
}
.contact_list_box li:hover { transform: translateY(-3px); box-shadow: var(--hgs-sh); border-color: rgba(5, 118, 64, .35); }
.contact_list_title h2 { font-size: 18.5px; color: var(--hgs-ink); }
.contact_list_box li p { font-size: 15px; line-height: 1.8; color: var(--hgs-ink-2); }
.contact_form_right { border-radius: var(--hgs-r); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); }
.contact_form_right_form li input,
.contact_form_right_form li textarea {
  border-radius: 8px; border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .92); font-size: 14.5px;
}
.contact_form_right_form_btn {
  border-radius: 999px; width: 190px; height: 46px;
  font-weight: 600; letter-spacing: .5px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: radial-gradient(120% 140% at 12% 0%, #23491f 0%, #122c14 58%, #0a1c0c 100%);
  padding: 72px 0 40px;
}
.footer_top_nav_box { border-right: 1px solid rgba(255, 255, 255, .09); }
.footer_top_nav_title { font-size: 15px; color: rgba(255, 255, 255, .95); letter-spacing: .8px; }
.footer_top_nav_box a { font-size: 14px; color: rgba(255, 255, 255, .62); margin-bottom: 12px; }
.footer_top_nav_box a:hover { color: #fff; text-decoration: none; }
.footer_top_code_top_title h2 { font-size: 15px; color: rgba(255, 255, 255, .95); letter-spacing: .8px; }
.footer_top_code_ul_ico { color: rgba(255, 255, 255, .55); }
.footer_top_code_ul_img { background: #fff; padding: 6px; border-radius: 10px; }
.footer_bottom_box { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); }
.footer_bottom_box p { color: rgba(255, 255, 255, .45); font-size: 13px; }
.footer_bottom_box p a { color: rgba(255, 255, 255, .45); }

/* ---------- 右侧浮层 ---------- */
.right_online_btn { border-radius: 12px 0 0 12px; }
.right_online_content_code_img { border-radius: 10px; }

/* ---------- 表单 ---------- */
.public_contact_form_content_right_content_btn,
input[type="submit"] { border-radius: 999px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .nav_box li + li { margin-left: 26px; }
  .banner_bg { height: clamp(190px, 26vw, 400px); }
  .service_content_left_box { width: 28%; }
  .service_content_left_right { width: 68%; }
}
@media (max-width: 990px) {
  .header_bottom_content { height: 72px; }
  .logo img { height: 38px; }
  .banner_bg { height: 34vw; min-height: 180px; }
  .banner_content h1 { font-size: 24px; padding-bottom: 12px; }
  .crumbs_content { height: auto; min-height: 46px; padding: 8px 0; }
  .index_banner_bg { height: 62vw; }
  .index_banner_bg:after { background: linear-gradient(180deg, rgba(3, 30, 18, .35) 0%, rgba(3, 30, 18, .72) 100%); }
  .service_content_left_right h1 { font-size: 22px; }
  .footer { padding: 48px 0 28px; }
}
@media (max-width: 768px) {
  .logo img { height: 30px; }
  .banner_bg { height: 46vw; min-height: 150px; }
  .banner_content h1 { font-size: 5vw; letter-spacing: .5px; }
  .banner_content h1:after { width: 28px; height: 2px; margin-left: -14px; bottom: 0; }
  .crumbs_content a, .crumbs_content i { font-size: 3.4vw; }
  .crumbs_content i { margin: 0 1.5vw; }
  .crumbs_content img { width: 3.8vw; }
  .index_service_ul li { border-radius: 3.2vw; }
  .index_news_ul li, .product_rz_ul li { border-radius: 3vw; }
  .index_title_box h1:after, .index_title_box h2:after { width: 9vw; margin-left: -4.5vw; height: .6vw; }
  .service_content_left_right p { font-size: 3.7vw; line-height: 1.9; }
  .news_detial_content_left_bottom { font-size: 3.8vw; }
}

/* 详情页封面图（2026-10-25 新增：新闻/案例正文顶部大图） */
.news_detial_cover { margin: 0 0 26px; border-radius: 16px; overflow: hidden; background: var(--hgs-tint); box-shadow: 0 10px 30px rgba(20, 48, 15, .10); }
.news_detial_cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 768px) { .news_detial_cover { margin-bottom: 18px; border-radius: 12px; } }
