/* ==========================================================================
   Treeing 官网样式 —— 移动端优先，仅使用系统字体，无任何外部资源
   视觉基调参照首页 UI 示意图：明亮通透、实景大图 + 白色渐变、
   中文粗标题搭配英文字距小标题、半透明白色玻璃质感、品牌绿点缀
   ========================================================================== */

:root {
  --c-primary: #17803d;
  --c-primary-dark: #0f5e2c;
  --c-primary-soft: #eaf5ec;
  --c-leaf: #8cc63f;
  --c-title: #0e2018;
  --c-text: #1f2e27;
  --c-muted: #5a6962;
  --c-border: #e1e8e4;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f5f7;
  --c-studio: #eef1f3;
  --c-dark: #0c2418;
  --glass: rgb(255 255 255 / 78%);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgb(14 32 24 / 5%), 0 10px 30px rgb(14 32 24 / 7%);
  --shadow-hover: 0 2px 6px rgb(14 32 24 / 6%), 0 18px 40px rgb(14 32 24 / 12%);
  --container: 1400px;
  --gutter: 16px;
  --header-h: 64px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; font-weight: 700; color: var(--c-title); }
h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: .02em; }
h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; }
h3, .h3 { font-size: 1.12rem; }
.h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-leaf); outline-offset: 2px; }
main:focus { outline: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.note { font-size: .875rem; color: var(--c-muted); }
.lead { font-size: 1.05rem; color: var(--c-muted); }
.eyebrow { margin: 0 0 .3em; font-size: .82rem; font-weight: 600; color: var(--c-primary); }
.eyebrow-en {
  margin: 0 0 .7em; font-size: .75rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--c-primary);
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; padding: 8px 16px; background: var(--c-primary); color: #fff; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 46px; padding: 10px 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none !important;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 6px 18px rgb(23 128 61 / 25%); }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-outline { background: transparent; border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary-soft); }
.btn-glass {
  background: var(--glass); border-color: rgb(255 255 255 / 90%); color: var(--c-primary-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: #fff; }
.btn-light { background: #fff; color: var(--c-primary-dark); }
.btn-light:hover { background: var(--c-primary-soft); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn-row-center { justify-content: center; }
.link-more { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }

/* ---------- 页头（半透明白色玻璃） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgb(255 255 255 / 55%);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgb(255 255 255 / 88%); box-shadow: 0 1px 0 rgb(14 32 24 / 8%), 0 8px 24px rgb(14 32 24 / 5%); }
.header-inner { display: flex; align-items: center; min-height: var(--header-h); gap: 16px; }
/* 品牌区：图形 + treeing 字样 + 中英文公司名（中文按英文宽度两端对齐） */
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none !important; margin-right: auto; }
.logo-mark { width: 38px; height: 38px; }
.brand-word {
  font-family: "Avenir Next", "Century Gothic", "Futura", "Segoe UI", var(--font);
  font-size: 1.62rem; font-weight: 600; line-height: 1; letter-spacing: .01em; color: #17803d;
  padding-bottom: 2px;
}
.brand-divider { display: none; width: 1px; height: 28px; margin: 0 8px 0 6px; background: linear-gradient(180deg, transparent, #bccac3 20%, #bccac3 80%, transparent); }
.brand-text { display: none; flex-direction: column; gap: 3px; line-height: 1.2; }
.brand-name {
  font-size: 1rem; font-weight: 500; color: #16261e;
  text-align: justify; text-align-last: justify; text-justify: inter-character;
}
.brand-sub {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: .5rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #6f7d76;
}

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center;
  border: 0; background: none; cursor: pointer; color: var(--c-title);
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

.site-nav ul { list-style: none; }
.site-nav a { color: #2a3a33; }
.nav-link { display: block; padding: 12px 0; font-weight: 500; }
.nav-pill { display: none; }
.nav-link[aria-current="page"] { color: var(--c-primary); font-weight: 700; }

/* 无 JS 时导航直接展开；有 JS 时手机端折叠 */
.site-nav { width: 100%; padding-bottom: 12px; }
html:not(.js) .header-inner { flex-wrap: wrap; }
.js .nav-toggle { display: inline-flex; }
.js .site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 20px; background: #fff;
  border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow);
}
.js .site-nav.is-open { display: block; }
/* 手机菜单打开时：锁住背后的页面，菜单以外加半透明遮罩（点遮罩关闭菜单），遮罩盖住悬浮按钮 */
/* 只锁 html：body 也设 overflow 会让顶栏的 sticky 改以 body 为参照，页面滑动过后菜单会跑到屏幕外 */
html.nav-open { overflow: hidden; }
html.nav-open .site-header { z-index: 86; }
html.nav-open body::after { content: ""; position: fixed; inset: 0; z-index: 85; background: rgb(14 32 24 / 30%); }
.nav-item + .nav-item { border-top: 1px solid var(--c-border); }

/* 下拉菜单：手机端直接展开在菜单里，桌面端悬停弹出 */
.nav-menu { padding: 0 0 12px; }
.drop-list { list-style: none; display: grid; gap: 2px; }
.drop-item { display: flex; align-items: center; gap: 10px; padding: 9px 0 9px 12px; color: var(--c-text); text-decoration: none !important; }
.drop-item strong { font-weight: 500; font-size: .95rem; color: var(--c-title); }
.drop-effect { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--c-primary); }
.drop-effect .icon { width: 14px; height: 14px; }
.drop-all { display: none; }
.contact-pop { list-style: none; display: grid; gap: 4px; }
.contact-pop a { display: flex; align-items: center; gap: 12px; padding: 8px 0 8px 12px; color: var(--c-text); text-decoration: none !important; font-size: .9rem; }
.contact-pop small { display: block; font-size: .75rem; color: var(--c-muted); }
.pop-icon { flex: none; display: inline-flex; padding: 8px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.pop-icon .icon { width: 18px; height: 18px; }

.lang-switch { display: flex; gap: 12px; list-style: none; margin-top: 12px; font-size: .85rem; font-weight: 600; }
.lang-switch a { color: var(--c-muted); }
.lang-switch a[aria-current="true"] { color: var(--c-title); }

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p:not(.eyebrow-en) { color: var(--c-muted); margin: 0; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-more { margin: 28px 0 0; }

/* ---------- 首屏：实景大图 + 白色渐变 ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 28px) 0 24px;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); gap: 24px; /* 列宽不随 AI 输入条的内容撑大 */
  /* 天空色背景，颜色取自首屏图片边缘，图片渐隐后无缝衔接 */
  background: linear-gradient(180deg, #cfe0f1 0%, #e2ebf4 45%, #edf1f4 100%);
}
/* 图片不铺满全屏：靠右下、按原始比例显示，避免放大模糊；左侧和上方渐隐 */
.hero-media {
  position: absolute; z-index: -2; right: -22%; bottom: 0;
  width: 170%; aspect-ratio: 1672 / 941;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
}
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-inner { position: relative; align-self: start; }
.hero-ai { position: relative; align-self: end; }
.hero-eyebrow { color: #33443c; letter-spacing: .32em; }
.hero-title { font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 800; line-height: 1.22; letter-spacing: .06em; margin-bottom: .45em; }
.hero-title span { display: block; }
.hero-text { font-size: 1.02rem; color: #2d3d35; max-width: 30em; margin-bottom: 1.4em; }
.hero-inner > * { max-width: 620px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 14px 22px; list-style: none; margin: 0; }
.hero-features li { display: flex; align-items: center; gap: 10px; }
.hero-features .icon { width: 28px; height: 28px; color: #1f5f3a; }
.hero-features strong { display: block; font-size: .92rem; color: var(--c-title); line-height: 1.3; }
.hero-features small { display: block; font-size: .58rem; letter-spacing: .1em; color: var(--c-muted); }
.scroll-cue {
  display: none; position: absolute; right: 32px; bottom: 28px;
  flex-direction: column; align-items: center; gap: 6px;
  color: #2a3a33; font-size: .62rem; letter-spacing: .2em; text-decoration: none !important;
}
.scroll-cue .icon { width: 28px; height: 28px; }

/* ---------- 内页横幅 ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 36px) 0 40px;
  background: #dfe9f2;
}
.page-hero-media, .page-hero-media picture, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero-media { z-index: -2; }
.page-hero-media img { object-fit: cover; object-position: 70% 45%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(246 249 251 / 94%) 0%, rgb(246 249 251 / 86%) 60%, rgb(246 249 251 / 60%) 100%);
}
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { margin: 0; max-width: 720px; color: #3a4a42; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: .85rem; color: var(--c-muted); }
.breadcrumb a { color: var(--c-muted); }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; gap: 20px; list-style: none; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s;
}
.card-link a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card-link a:hover h2, .card-link a:hover h3 { color: var(--c-primary); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--c-muted); font-size: .93rem; }
.card-body h3 { margin-bottom: .45em; }
.card-en { margin: 0 0 .35em; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted) !important; }
.card .more { display: inline-flex; align-items: center; gap: .3em; margin-top: auto; color: var(--c-primary); font-weight: 600; font-size: .92rem; }

.product-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(180deg, #f7f9fa, var(--c-studio)); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }

.card-grid-compact .card-link a { padding: 18px 20px; }
.card-grid-compact p { color: var(--c-muted); font-size: .9rem; margin: 0; }
.card-grid-compact h3 { margin-bottom: .3em; }

/* 案例卡片：大图 + 底部渐变文字 */
.case-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.case-card a { display: block; color: #fff; text-decoration: none; }
.case-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.case-card:hover img { transform: scale(1.04); }
.case-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px;
  background: linear-gradient(180deg, rgb(8 24 16 / 0%), rgb(8 24 16 / 78%));
}
.case-card h2, .case-card h3 { color: #fff; margin: 0; }
.case-card .eyebrow { color: #c9eaa4; }

/* 其他产品（弱化展示） */
.mini-list { list-style: none; display: grid; gap: 10px; }
.mini-list a {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  background: #fff; border-radius: var(--radius-sm); color: inherit; text-decoration: none;
  border: 1px solid var(--c-border);
}
.mini-list a:hover { border-color: var(--c-primary); }
.mini-list strong { flex: none; color: var(--c-title); }
.mini-list span { flex: 1; font-size: .88rem; color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .icon { color: var(--c-primary); }

/* ---------- 优势 ---------- */
.feature-grid { display: grid; gap: 16px; list-style: none; }
.feature { padding: 26px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature p { margin: 0; color: var(--c-muted); font-size: .94rem; }
.feature-icon {
  display: inline-flex; padding: 12px; margin-bottom: 14px; border-radius: 50%;
  background: var(--c-primary-soft); color: var(--c-primary);
}
.feature-icon .icon { width: 24px; height: 24px; }

/* ---------- 图文分栏 / 数据 ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-text p:not(.eyebrow-en) { color: var(--c-muted); }
.stats { display: flex; flex-wrap: wrap; gap: 20px 40px; list-style: none; margin: 8px 0 28px; }
.stats li { display: flex; flex-direction: column; }
.stat-num { font-size: 2.2rem; font-weight: 800; line-height: 1.1; color: var(--c-primary); margin: 0; }
.stat-label { font-size: .88rem; color: var(--c-muted); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--c-primary-dark) 0%, var(--c-primary) 60%, #4fae3b 100%); color: #e9f5ec; }
.cta h2 { color: #fff; }
.cta p { color: rgb(255 255 255 / 85%); margin: 0; }
.cta-inner { display: grid; gap: 22px; }
.cta .btn-primary { background: #fff; color: var(--c-primary-dark); box-shadow: none; }
.cta .btn-primary:hover { background: var(--c-primary-soft); }
.cta .btn-outline { border-color: rgb(255 255 255 / 70%); color: #fff; }
.cta .btn-outline:hover { background: rgb(255 255 255 / 12%); }

/* ---------- 产品详情 ---------- */
.product-top { display: grid; gap: 28px; margin-bottom: 40px; }
.product-media { border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #f7f9fa, var(--c-studio)); }
.product-media img { width: 100%; }
/* 产品页：治理对象、适用机组 */
.product-facts { display: grid; gap: 10px; margin: 0 0 24px; }
.product-facts div { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--c-bg-alt); }
.product-facts dt { flex: none; width: 4.5em; font-size: .85rem; color: var(--c-muted); }
.product-facts dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-weight: 700; color: var(--c-title); }
.product-facts dd .icon { width: 18px; height: 18px; color: var(--c-primary); }
.product-facts dd small { font-size: .82rem; font-weight: 500; color: var(--c-muted); }
/* 没有产品图时：介绍区与下方“工作原理”同宽居中 */
.product-top-noimg { max-width: 860px; }
.check-list { list-style: none; margin-bottom: 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.check-list .icon { margin-top: .3em; color: var(--c-primary); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 28px; }
.tag-list li { padding: 5px 14px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary-dark); font-size: .86rem; }

.prose { max-width: 860px; margin-bottom: 40px; }
.prose ol, .prose ul { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .5em; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); box-shadow: var(--shadow); background: #fff; }
.spec-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--c-border); text-align: left; white-space: nowrap; }
.spec-table thead th { background: var(--c-primary); color: #fff; font-weight: 600; }
.spec-table tbody tr:nth-child(even) { background: var(--c-bg-alt); }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.table-scroll + .note { margin-top: 10px; }

/* ---------- 案例详情 ---------- */
.case-layout { display: grid; gap: 24px; margin-bottom: 36px; }
.case-media img { border-radius: var(--radius); width: 100%; }
.case-facts { margin: 0; display: grid; gap: 12px; align-content: start; }
.case-facts div { padding: 14px 18px; background: var(--c-bg-alt); border-radius: var(--radius-sm); }
.case-facts dt { font-size: .8rem; color: var(--c-muted); }
.case-facts dd { margin: 0; font-weight: 600; }

/* ---------- 专利 ---------- */
.patent-list { list-style: none; display: grid; gap: 16px; }
.patent { display: flex; gap: 16px; padding: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.patent-index {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #4fae3b, var(--c-primary-dark)); color: #fff; font-weight: 700;
}
.patent h3 { margin-bottom: .3em; }
.patent p { color: var(--c-muted); font-size: .94rem; margin-bottom: .6em; }
.patent-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: .84rem; }
.patent-meta div { display: flex; gap: 6px; }
.patent-meta dt { color: var(--c-muted); }
.patent-meta dd { margin: 0; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list p { margin: 0 0 .3em; }
.contact-list h2 { margin-bottom: .2em; }
.contact-icon { flex: none; display: inline-flex; padding: 11px; height: fit-content; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.qr { margin: 8px 0; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.map-img { display: block; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-img img { width: 100%; }

.form-wrap { max-width: 880px; }
.inquiry-form { display: grid; gap: 16px; padding: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: .95rem; }
.req { color: #c0392b; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid #c8d4cf; border-radius: var(--radius-sm); background-color: #fbfcfc;
  font-size: 16px; /* 防止 iOS 聚焦时自动放大 */
}
/* 下拉框：去掉浏览器自带箭头（各浏览器位置不一，常贴着边框），改用 CSS 画的箭头，距右边框 18px */
.inquiry-form select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #5b6b64 50%), linear-gradient(135deg, #5b6b64 50%, transparent 50%);
  background-position: calc(100% - 23px) 52%, calc(100% - 18px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--c-primary); outline: 3px solid var(--c-primary-soft); background-color: #fff; }
.inquiry-form [aria-invalid="true"] { border-color: #c0392b; }
.form-status { margin: 0; font-weight: 600; color: var(--c-primary); }
.form-status:empty { display: none; }
.form-status.is-error { color: #c0392b; }
.copy-fallback { width: 100%; min-height: 160px; font-size: .9rem; }
.inquiry-form .note { margin: 0; }

/* ---------- 404 ---------- */
.not-found { padding: 80px 0; }
.not-found .stat-num { font-size: 4.5rem; margin-bottom: 12px; }

/* ---------- 页脚 ---------- */
/* 页脚：浅灰底、小字号，只保留公司名称、电话、地址与备案信息 */
.site-footer { background: var(--c-bg-alt); color: var(--c-muted); font-size: .85rem; border-top: 1px solid var(--c-border); }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--c-primary); text-decoration: none; }
.footer-main { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; padding-bottom: 22px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-title) !important; font-size: .95rem; font-weight: 600; text-decoration: none !important; }
.footer-brand .logo-mark { width: 26px; height: 26px; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: .2em; color: var(--c-primary); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px;
  padding-top: 14px; padding-bottom: 18px; border-top: 1px solid var(--c-border); font-size: .78rem;
}
.footer-bottom p { margin: 0; }
.footer-beian { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.footer-beian a { display: inline-flex; align-items: center; gap: 4px; }
.police-icon { width: 16px; height: 16px; }

/* ---------- AI 助手：首屏输入条 ---------- */
.ai-bar {
  position: relative; display: flex; align-items: center; gap: 14px;
  max-width: 860px; margin: 0 auto; padding: 8px;
  background: rgb(255 255 255 / 70%);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgb(255 255 255 / 90%); border-radius: 22px;
  box-shadow: 0 24px 60px rgb(14 32 24 / 16%);
}
.ai-bar-intro { display: flex; align-items: center; gap: 8px; flex: none; padding-left: 6px; }
.ai-bar-intro .logo-mark { width: 30px; height: 30px; }
.ai-bar-intro strong { font-size: .95rem; color: var(--c-title); white-space: nowrap; }
.ai-bar-divider, .ai-bar-intro p { display: none; }
/* 免责声明放在输入条正下方；首屏背景是图片，用半透明玻璃底保证看得清 */
.hero-ai { padding-bottom: 34px; }
.ai-bar-note {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  width: max-content; max-width: 100%; margin: 0; padding: 3px 12px; border-radius: 12px;
  background: rgb(255 255 255 / 72%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .72rem; line-height: 1.5; text-align: center; color: #4a5a53;
}
.ai-input {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  padding: 5px 5px 5px 16px; background: #fff; border-radius: 16px;
  border: 1px solid rgb(14 32 24 / 8%);
  transition: border-color .2s, box-shadow .2s;
}
.ai-input:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgb(23 128 61 / 12%); }
.ai-input input { flex: 1; min-width: 0; min-height: 40px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.ai-send {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--c-primary); color: #fff;
  transition: transform .25s var(--ease), background-color .2s;
}
.ai-send:hover { background: var(--c-primary-dark); transform: scale(1.08); }
.ai-send .icon { width: 20px; height: 20px; }

/* 快捷入口：手机端常显（可横向滑动），桌面端悬停 / 聚焦输入条时浮现 */
.ai-suggest {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 10px);
  display: flex; gap: 8px; list-style: none; overflow-x: auto; scrollbar-width: none;
}
.ai-suggest::-webkit-scrollbar { display: none; }
.ai-suggest a, .ai-suggest button, .ai-chips a, .ai-chips button {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px;
  border: 1px solid rgb(23 128 61 / 18%); border-radius: 999px; cursor: pointer;
  background: rgb(255 255 255 / 88%); color: var(--c-primary-dark);
  font-size: .85rem; font-weight: 600; white-space: nowrap; text-decoration: none !important;
  transition: background-color .2s, transform .2s var(--ease);
}
.ai-suggest a:hover, .ai-suggest button:hover, .ai-chips a:hover, .ai-chips button:hover { background: var(--c-primary-soft); transform: translateY(-1px); }
.ai-suggest a, .ai-suggest button { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* ---------- AI 助手：对话面板 + 悬浮按钮 ---------- */
.ai-launcher {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px 7px 7px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 999px; cursor: pointer;
  background: rgb(255 255 255 / 85%);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgb(14 32 24 / 18%);
  font-weight: 700; color: var(--c-title);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.ai-launcher .logo-mark { width: 34px; height: 34px; }
.ai-launcher:hover { transform: translateY(-3px); }
.ai-bar-visible .ai-launcher, .ai-open .ai-launcher { opacity: 0; transform: translateY(16px); pointer-events: none; }

.ai-panel {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 80;
  display: flex; flex-direction: column;
  height: min(78vh, 640px);
  background: rgb(255 255 255 / 92%);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgb(255 255 255 / 90%); border-radius: 24px;
  box-shadow: 0 30px 80px rgb(14 32 24 / 25%);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.ai-panel.is-open { opacity: 1; transform: none; }
.ai-panel[hidden] { display: none; }
.ai-panel-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--c-border); }
.ai-panel-head .logo-mark { width: 38px; height: 38px; }
.ai-panel-head div { flex: 1; min-width: 0; }
.ai-panel-head h2 { font-size: 1rem; margin: 0; }
.ai-panel-head p { font-size: .75rem; line-height: 1.5; color: var(--c-muted); margin: 0; }
.ai-close {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--c-bg-alt); color: var(--c-text);
}
.ai-close:hover { background: var(--c-border); }
.ai-log { flex: 1; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.ai-msg { max-width: 90%; animation: msgIn .35s var(--ease) both; }
.ai-msg p { margin: 0; padding: 10px 14px; font-size: .92rem; line-height: 1.65; white-space: pre-wrap; }
.ai-msg-bot p { background: var(--c-bg-alt); border-radius: 18px 18px 18px 6px; }
.ai-msg-user { align-self: flex-end; }
.ai-msg-user p { background: var(--c-primary); color: #fff; border-radius: 18px 18px 6px 18px; }
.ai-msg.is-typing p { animation: pulse 1.2s ease-in-out infinite; }
.ai-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ai-panel-input { flex: none; margin: 8px 12px 4px; }
.ai-disclaimer { flex: none; margin: 0 16px 10px; font-size: .72rem; line-height: 1.5; color: var(--c-muted); }
/* AI 入口默认隐藏，后端开关开启后由 main.js 给 <html> 加上 ai-ready 才显示 */
html:not(.ai-ready) .ai-launcher, html:not(.ai-ready) .hero-ai, html:not(.ai-ready) [data-ai-open] { display: none !important; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- 数据：数字滚动 + 项目滚动播报 ---------- */
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px; text-align: center;
  border-radius: var(--radius); background: var(--c-bg-alt);
}
.stat-en { font-size: .64rem; font-weight: 600; letter-spacing: .2em; color: var(--c-muted); }
.stat-big {
  font-size: clamp(2.4rem, 9vw, 4.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #0f5e2c 0%, #17803d 45%, #7cc242 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-big em { font-style: normal; font-size: .42em; margin-left: .15em; letter-spacing: 0; }
.stat-desc { font-size: .9rem; color: var(--c-muted); }

.ticker {
  display: flex; align-items: center; margin-top: 48px; padding: 14px 0;
  border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.ticker-label {
  flex: none; padding: 0 16px 0 var(--gutter);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--c-primary);
}
.ticker-viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track { display: flex; width: max-content; }
.ticker-list { display: flex; gap: 44px; padding-right: 44px; list-style: none; }
.ticker-list li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: .92rem; color: var(--c-muted); }
.ticker-list strong { color: var(--c-title); }
.ticker-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-leaf); }
.ticker-tag { padding: 2px 10px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary-dark); font-size: .8rem; font-weight: 600; }
/* 横向可滑动；开启动效时由 main.js 自动向左滚动，手指拖动时跟手，松手后继续自动滚动 */
.ticker-viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.ticker-viewport::-webkit-scrollbar { display: none; }

/* ---------- 产品卡片：治理对象标签、倾斜高光 ---------- */
.card { position: relative; }
.product-card-img { position: relative; }
.effect-pill {
  position: absolute; left: 14px; top: 14px;
  padding: 4px 12px; border-radius: 999px;
  background: rgb(255 255 255 / 86%); color: var(--c-primary-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .78rem; font-weight: 700; box-shadow: 0 2px 8px rgb(14 32 24 / 8%);
}
.card-glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / 38%), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.card.is-tilting, .case-tile.is-tilting { transition: transform .12s linear, box-shadow .3s !important; box-shadow: var(--shadow-hover); }
.card.is-tilting .card-glare, .case-tile.is-tilting .card-glare { opacity: 1; }

/* ---------- 动效：滚动渐显、首屏入场 ---------- */
.reveal-on [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-on .card[data-reveal].is-visible, .reveal-on .case-tile[data-reveal].is-visible { transition: opacity .9s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); transition-delay: 0s; }
.card-grid > [data-reveal]:nth-child(2) { --i: 1; }
.card-grid > [data-reveal]:nth-child(3) { --i: 2; }
.card-grid > [data-reveal]:nth-child(4) { --i: 3; }

.motion .hero-inner > * { animation: rise 1s var(--ease) both; }
.motion .hero-inner > :nth-child(2) { animation-delay: .12s; }
.motion .hero-inner > :nth-child(3) { animation-delay: .24s; }
.motion .hero-inner > :nth-child(4) { animation-delay: .36s; }
.motion .ai-bar { animation: rise 1s var(--ease) .55s both; }
.motion .scroll-cue .icon { animation: cue 2.2s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes cue { 50% { transform: translateY(6px); } }

/* ---------- 案例：卡片、统计、筛选、相册 ---------- */
.case-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.case-tile > a, .case-tile-inner { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none !important; }
.case-tile > a:hover h3 { color: var(--c-primary); }
.case-tile:has(> a):hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.case-tile-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-studio); }
.case-tile-img picture, .product-card-img picture { display: block; height: 100%; }
.case-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case-tile:hover .case-tile-img img { transform: scale(1.05); }
.case-tile-body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.case-tile-city { margin: 0 0 .2em; font-size: .78rem; color: var(--c-muted); }
.case-tile h3 { font-size: 1.02rem; line-height: 1.45; margin: 0 0 12px; }
.case-tile-meta { display: flex; gap: 24px; margin: auto 0 0; }
.case-tile-meta div { display: flex; flex-direction: column; }
.case-tile-meta dt { font-size: .72rem; color: var(--c-muted); }
.case-tile-meta dd { margin: 0; font-weight: 700; color: var(--c-title); font-variant-numeric: tabular-nums; }
.case-tile-highlight {
  display: flex; align-items: center; gap: 6px; margin: 12px 0 0; padding-top: 12px;
  border-top: 1px solid var(--c-border); font-size: .85rem; font-weight: 600; color: var(--c-primary);
}
.case-tile-highlight .icon { width: 16px; height: 16px; }
/* 没有照片的项目：文字卡片 */
.case-tile-text { background: var(--c-bg-alt); box-shadow: none; }
.case-tile-text .effect-pill { position: static; align-self: flex-start; margin: 16px 18px 0; }
.case-tile-text .case-tile-body { padding: 10px 18px 16px; }
.case-tile-text h3 { font-size: .98rem; margin-bottom: 10px; }
.case-more { margin-top: 48px; }
.case-more[hidden] { display: none; }
.case-more-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; font-size: 1.25rem; }
.case-more-title small { font-size: .82rem; font-weight: 400; color: var(--c-muted); }
.case-tile[hidden] { display: none; }

.case-stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; }
.case-stats li { display: flex; flex-direction: column; padding: 18px 20px; border-radius: var(--radius); background: var(--c-bg-alt); }
.case-stats strong {
  font-size: 2rem; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #0f5e2c, #17803d 50%, #7cc242); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case-stats span { font-size: .85rem; color: var(--c-muted); }

.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.case-filter button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 16px;
  border: 1px solid var(--c-border); border-radius: 999px; background: #fff; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--c-text);
  transition: background-color .2s, border-color .2s, color .2s;
}
.case-filter button small { font-size: .75rem; color: var(--c-muted); }
.case-filter button:hover { border-color: var(--c-primary); }
.case-filter button[aria-pressed="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.case-filter button[aria-pressed="true"] small { color: rgb(255 255 255 / 75%); }

.case-photo { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.case-photo img { width: 100%; transition: transform .5s var(--ease); }
.case-photo:hover img { transform: scale(1.03); }
.case-media .case-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.case-fact-hero { background: var(--c-primary-soft) !important; }
.case-fact-hero dd { font-size: 2rem; font-weight: 800; color: var(--c-primary); line-height: 1.2; }
.case-body { display: grid; gap: 8px 48px; margin-bottom: 32px; }
.case-body .prose { margin-bottom: 0; }
.case-gallery { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.case-gallery .case-photo img { aspect-ratio: 4 / 3; object-fit: cover; }

/* 照片放大查看 */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 56px 16px 16px; background: rgb(8 16 12 / 88%);
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox picture, .lightbox img { max-width: 100%; max-height: 100%; }
.lightbox img { width: auto; height: auto; max-height: calc(100vh - 80px); border-radius: 12px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(255 255 255 / 15%); color: #fff;
}

/* ---------- 技术实力：专利（发明专利重点展示，实用新型列表） ---------- */
.ip-stats { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 40px; margin: 12px 0 0; }
.ip-stats li { display: flex; align-items: flex-end; gap: 10px; }
.ip-stat-main .stat-big { font-size: clamp(3.6rem, 12vw, 5.6rem); }
.ip-stat-num { font-size: 2.2rem; font-weight: 800; line-height: 1.1; color: var(--c-muted); }
.ip-stat-num em { font-style: normal; font-size: .5em; margin-left: .1em; }
.ip-stat-label { display: flex; flex-direction: column; padding-bottom: .5em; font-weight: 700; color: var(--c-title); line-height: 1.3; }
.ip-stat-label small { font-size: .6rem; font-weight: 600; letter-spacing: .16em; color: var(--c-muted); }
.ip-stats li:not(.ip-stat-main) .ip-stat-label { font-weight: 600; color: var(--c-muted); }

.invention-list { list-style: none; display: grid; gap: 20px; }
.invention {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; padding: 28px 26px 26px;
  border-radius: var(--radius); color: #e3f1e7;
  background: linear-gradient(155deg, #0c4d26 0%, #13703a 55%, #2f9443 100%);
  box-shadow: 0 18px 40px rgb(15 94 44 / 25%);
}
.invention::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 14%), transparent 70%); pointer-events: none;
}
.invention-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.invention-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgb(255 255 255 / 16%); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
}
.invention-badge .icon { width: 16px; height: 16px; color: #c9eaa4; }
.invention-no { font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: #c9eaa4; font-variant-numeric: tabular-nums; }
.invention h3 { color: #fff; font-size: 1.25rem; line-height: 1.45; margin-bottom: .6em; }
.invention p { color: rgb(255 255 255 / 80%); font-size: .95rem; margin-bottom: 20px; }
.invention-meta { display: grid; gap: 6px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 18%); font-size: .85rem; }
.invention-meta div { display: flex; justify-content: space-between; gap: 12px; }
.invention-meta dt { color: rgb(255 255 255 / 60%); }
.invention-meta dd { margin: 0; color: #fff; font-variant-numeric: tabular-nums; }

.utility-list { list-style: none; border-top: 1px solid var(--c-border); }
.utility-list li { display: grid; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--c-border); }
.utility-main h3 { font-size: 1.02rem; margin-bottom: .3em; }
.utility-main p { margin: 0; font-size: .9rem; color: var(--c-muted); }
.utility-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: .82rem; }
.utility-meta div { display: flex; gap: 6px; }
.utility-meta dt { color: var(--c-muted); }
.utility-meta dd { margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- 在线留言（接口提交）、微信卡片、一键拨打 ---------- */
/* 留言区：表单与微信同在一块卡片里 */
.inquiry-panel {
  display: grid; overflow: hidden;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.inquiry-panel .inquiry-form { background: none; box-shadow: none; border-radius: 0; padding: 24px 20px 26px; }
.inquiry-side {
  order: -1;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 28px 22px 26px;
  background: linear-gradient(180deg, #f1f8f3 0%, #e6f2ea 100%);
  border-bottom: 1px solid rgb(23 128 61 / 10%);
}
.inquiry-side .eyebrow-en { margin: 0; }
.side-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.15rem; }
.side-title .icon { width: 22px; height: 22px; color: #1aad19; }
.side-qr {
  margin: 6px 0 2px; padding: 12px; border-radius: 18px; background: #fff;
  box-shadow: 0 8px 22px rgb(14 32 24 / 10%);
}
.side-qr img { width: 160px; height: 160px; }
.side-sub { margin: 0; font-size: .92rem; color: var(--c-text); }
.inquiry-side .wechat-note { margin: 2px 0 0 !important; background: #fff; text-align: center; }
.side-hint { margin: 0; font-size: .75rem; line-height: 1.5; color: var(--c-muted); }
.side-divider {
  display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 6px;
  font-size: .8rem; color: var(--c-muted);
}
.side-divider::before, .side-divider::after { content: ""; flex: 1; height: 1px; background: rgb(14 32 24 / 12%); }
.side-call { width: 100%; }
.form-row label .opt { margin-left: 4px; font-size: .78rem; font-weight: 400; color: var(--c-muted); }
.char-count { align-self: flex-end; font-size: .75rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.char-count.is-near { color: #b7791f; }
/* 陷阱字段：移出屏幕（不用 display:none，部分机器人会跳过 display:none 的字段） */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit[disabled] { opacity: .7; cursor: wait; }
.form-status { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-success { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.form-status.is-error { background: #fdecea; color: #b42318; }
.form-privacy { font-size: .8rem; }

.wechat-card {
  display: flex; gap: 18px; align-items: center; padding: 20px;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.wechat-qr { flex: none; width: 128px; height: 128px; border-radius: 12px; border: 1px solid var(--c-border); background: #fff; }
.wechat-text p { margin: 0; }
.wechat-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.05rem; color: var(--c-title); }
.wechat-title .icon { color: #1aad19; }
.wechat-sub { margin-top: 4px !important; font-size: .9rem; color: var(--c-text); }
.wechat-hint { margin-top: 6px !important; font-size: .75rem; line-height: 1.5; color: var(--c-muted); }
/* 添加好友提示：浅绿底，醒目但不刺眼 */
.wechat-note {
  margin-top: 8px !important; padding: 8px 12px; border-radius: 10px;
  background: var(--c-primary-soft); color: var(--c-primary-dark) !important;
  font-size: .8rem; line-height: 1.55; text-align: left;
}
.wechat-call { margin-top: 12px; }
.cta .wechat-card { color: var(--c-text); }
/* CTA 区块的段落是白色，卡片内要单独恢复深色文字 */
.cta .wechat-card .wechat-title { color: var(--c-title); }
.cta .wechat-card .wechat-sub { color: var(--c-text); }
.cta .wechat-card .wechat-hint { color: var(--c-muted); }
.cta .wechat-card .btn-primary { background: var(--c-primary); color: #fff; }
.cta-text .btn-row { margin-top: 20px; }

.call-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px;
  border-radius: 999px; background: var(--c-primary); color: #fff !important;
  font-weight: 700; text-decoration: none !important;
  box-shadow: 0 10px 28px rgb(23 128 61 / 35%);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.call-fab .icon { width: 20px; height: 20px; }
.ai-open .call-fab, .ai-ready.ai-bar-visible .call-fab { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ---------- 联系页顶部：联系方式卡片 + 地图 ---------- */
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 22px; border-radius: var(--radius); background: var(--c-bg-alt);
}
.cc-body { flex: 1; min-width: 0; }
.cc-body p { margin: 0; }
.cc-label { margin: 2px 0 4px; font-size: .82rem; font-weight: 600; color: var(--c-muted); }
.cc-value { font-size: 1.02rem; font-weight: 600; color: var(--c-title); line-height: 1.55; }
.cc-phone a { font-size: 1.45rem; font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; color: var(--c-primary); }
.cc-sub { margin-top: 4px !important; font-size: .9rem; color: var(--c-text); }
.cc-note {
  display: inline-block; margin-top: 10px !important; padding: 5px 12px; border-radius: 10px;
  background: var(--c-primary-soft); color: var(--c-primary-dark); font-size: .82rem; font-weight: 600;
}
.cc-qr { flex: none; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgb(14 32 24 / 10%); }
.cc-qr img { width: 92px; height: 92px; }
.cc-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.cc-buttons .btn { background: #fff; }
.map-block .map-img { margin: 0; }

/* ==========================================================================
   平板（≥ 600px）
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .brand-divider { display: block; }
  .brand-text { display: flex; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .inquiry-form { grid-template-columns: 1fr 1fr; padding: 32px; }
  .inquiry-panel .inquiry-form { padding: 32px; }
  .form-row-full, .form-status, .copy-fallback { grid-column: 1 / -1; }
  .hero-features li + li { padding-left: 22px; border-left: 1px solid rgb(14 32 24 / 15%); }
  .ai-launcher { right: 24px; bottom: 24px; }
  .ai-panel { left: auto; right: 24px; bottom: 24px; width: 400px; }
  .stats-grid { gap: 18px; }
  .case-gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ==========================================================================
   桌面（≥ 900px）
   ========================================================================== */
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  body { font-size: 17px; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.4rem; letter-spacing: .01em; }
  .section { padding: 110px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { margin-bottom: 44px; }

  /* 900–1179px 空间有限，只保留图形 + treeing 字样 */
  .brand-divider, .brand-text { display: none; }
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav {
    display: flex; align-items: center; gap: 32px;
    position: relative; width: auto; padding: 0; background: none; border: 0; box-shadow: none;
    max-height: none; overflow: visible;
  }
  .nav-list { position: relative; z-index: 1; display: flex; gap: 4px; }
  .nav-item { display: flex; align-items: center; height: var(--header-h); }
  .nav-item + .nav-item { border: 0; }
  .nav-item.has-menu { position: relative; }
  .nav-link { position: relative; padding: 8px 18px; border-radius: 999px; font-size: .95rem; transition: color .25s; }
  .nav-link:hover, .nav-item:hover > .nav-link { text-decoration: none; color: var(--c-title); }
  .nav-link[aria-current="page"] { color: var(--c-primary); }
  .nav-link:focus-visible { outline-offset: 0; }

  /* 液态玻璃选中框：位置和宽度由 JS 设置，移动时有果冻式拉伸回弹；文字不受影响 */
  .nav-pill {
    display: block; position: absolute; left: 0; top: calc(50% - 19px); z-index: 0;
    width: 0; height: 38px; border-radius: 999px; pointer-events: none;
    opacity: 0; transition: opacity .3s var(--ease);
    background:
      radial-gradient(120% 90% at var(--px, 50%) 0%, rgb(255 255 255 / 95%), rgb(255 255 255 / 0%) 60%),
      linear-gradient(180deg, rgb(255 255 255 / 70%), rgb(232 245 236 / 55%));
    -webkit-backdrop-filter: blur(10px) saturate(1.8); backdrop-filter: blur(10px) saturate(1.8);
    border: 1px solid rgb(255 255 255 / 90%);
    box-shadow:
      inset 0 1px 1px rgb(255 255 255 / 95%),
      inset 0 -2px 6px rgb(23 128 61 / 8%),
      0 0 0 .5px rgb(14 32 24 / 8%),
      0 6px 18px rgb(14 32 24 / 12%);
    will-change: transform, width;
  }
  .nav-pill.is-on { opacity: 1; }
  .lang-switch { margin: 0; }

  /* 悬停弹出的面板（半透明玻璃，带进入动画；visibility 延迟收起，鼠标移入面板时不会闪退） */
  .nav-menu {
    position: absolute; top: 100%; padding: 0; z-index: 60;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .25s;
  }
  .nav-item:hover > .nav-menu, .nav-item:focus-within > .nav-menu {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .nav-menu-products {
    left: -28px; width: 300px; padding: 10px; margin-top: -10px;
    background: rgb(255 255 255 / 94%);
    -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
    border-radius: 18px; box-shadow: 0 24px 48px rgb(14 32 24 / 14%);
  }
  .drop-item {
    justify-content: space-between; padding: 12px 14px; border-radius: 12px;
    transition: background-color .2s;
  }
  .drop-item:hover, .drop-item:focus-visible { background: var(--c-primary-soft); }
  .drop-item:hover strong { color: var(--c-primary-dark); }
  /* 鼠标移到某个产品上时，右侧浮现它治理的对象 */
  .drop-effect {
    padding: 3px 10px; border-radius: 999px; background: #fff; white-space: nowrap;
    opacity: 0; transform: translateX(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .drop-item:hover .drop-effect, .drop-item:focus-visible .drop-effect { opacity: 1; transform: none; }
  .drop-all {
    display: flex; align-items: center; gap: 6px; margin: 6px 4px 2px; padding: 10px 10px 4px;
    border-top: 1px solid var(--c-border); font-size: .88rem; font-weight: 600;
  }

  .nav-menu-contact {
    right: -24px; width: 320px; padding: 10px; margin-top: -10px;
    background: rgb(255 255 255 / 94%);
    -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
    border-radius: 18px; box-shadow: 0 24px 48px rgb(14 32 24 / 14%);
  }
  .contact-pop a { padding: 10px 12px; border-radius: 12px; transition: background-color .2s; }
  .contact-pop a:hover { background: var(--c-primary-soft); }
  html:not(.js) .header-inner { flex-wrap: nowrap; }

  .hero { padding: calc(var(--header-h) + 24px) 0 40px; }
  .hero-inner { align-self: center; }
  /* 宽度取 60vw 与 125vh 中较大者，保证图片高度约占首屏 70%，且最多铺满宽度 */
  .hero-media {
    right: 0; width: min(100vw, max(60vw, 125vh));
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%), linear-gradient(to bottom, transparent 0%, #000 34%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 32%), linear-gradient(to bottom, transparent 0%, #000 34%);
    mask-composite: intersect;
  }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgb(237 242 247 / 80%) 0%, rgb(237 242 247 / 45%) 32%, rgb(237 242 247 / 0%) 52%);
  }
  .hero-text { font-size: 1.2rem; }
  .ai-bar { padding: 8px 8px 8px 18px; gap: 16px; }
  .ai-bar-divider { display: block; width: 1px; height: 28px; margin: 0 4px; background: rgb(14 32 24 / 14%); }
  .ai-bar-intro p { display: block; margin: 0; font-size: .8rem; line-height: 1.5; color: var(--c-muted); white-space: nowrap; } /* 副标题保持一行 */
  .ai-bar .ai-input { flex: 1 1 300px; } /* 只作用于首屏输入条；对话面板是纵向布局，300px 会变成高度 */
  .ai-suggest {
    justify-content: center; overflow: visible;
    opacity: 0; transform: translateY(8px); pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .ai-bar:hover .ai-suggest, .ai-bar:focus-within .ai-suggest { opacity: 1; transform: none; pointer-events: auto; }
  .hero-features .icon { width: 32px; height: 32px; }
  .scroll-cue { display: flex; }

  .page-hero { padding: calc(var(--header-h) + 64px) 0 72px; min-height: 380px; }
  .page-hero::before {
    background: linear-gradient(90deg, rgb(246 249 251 / 94%) 0%, rgb(246 249 251 / 75%) 40%, rgb(246 249 251 / 5%) 75%);
  }

  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .stat-card { padding: 36px 30px; }
  .ticker { margin-top: 72px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .stat-num { font-size: 2.8rem; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
  .inquiry-panel { grid-template-columns: minmax(0, 1fr) 340px; }
  .inquiry-panel .inquiry-form { padding: 40px 40px 36px; align-content: start; }
  .inquiry-side {
    order: 0; justify-content: center; padding: 40px 32px;
    border-bottom: 0; border-left: 1px solid rgb(23 128 61 / 10%);
  }
  .side-qr img { width: 176px; height: 176px; }
  .call-fab { display: none; }

  .product-top { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .product-top.product-top-noimg { grid-template-columns: 1fr; }
  .case-layout { grid-template-columns: 3fr 2fr; gap: 40px; }
  .case-body { grid-template-columns: 3fr 2fr; }
  .case-stats { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .case-stats strong { font-size: 2.6rem; }
  .patent-list { grid-template-columns: 1fr 1fr; }
  .invention-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .invention { padding: 32px 30px 28px; }
  .utility-list li { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
  .utility-meta { flex-direction: column; align-items: flex-end; text-align: right; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
  .contact-card { padding: 22px 26px; }
  .cc-qr img { width: 120px; height: 120px; }
  .map-block { display: flex; }
  .map-block .map-img { position: relative; flex: 1; min-height: 360px; }
  .map-block .map-img picture, .map-block .map-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .map-block .map-img img { object-fit: cover; object-position: 44% 50%; }
  .footer-main { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .footer-contact { flex-direction: row; flex-wrap: wrap; gap: 8px 32px; }
}

@media (min-width: 1180px) {
  .brand-divider { display: block; }
  .brand-text { display: flex; }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .cta, .inquiry-form, .scroll-cue, .ai-launcher, .ai-panel, .ai-bar { display: none !important; }
  .hero, .page-hero { margin-top: 0; }
}
