/* ==========================================================================
   灿硕节水 - 官网公共样式表
   说明：全站唯一样式文件，按「变量 / 基础 / 布局 / 组件 / 页面 / 响应式」分区
   主色：#73b868（柔和浅绿）  辅色：白色 / 深灰
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 全局 CSS 变量（改这里即可全站换色）
   -------------------------------------------------------------------------- */
:root {
  --green: #73b868;         /* 主色：柔和浅绿 */
  --green-dark: #5a9a50;    /* 主色深一档：hover 状态 */
  --green-light: #eaf4e8;   /* 主色浅底：区块背景 */
  --gray-900: #2f3437;      /* 深灰：正文标题 */
  --gray-600: #5f6a6e;      /* 中灰：正文段落 */
  --gray-400: #97a1a5;      /* 浅灰：辅助说明 */
  --gray-100: #f5f7f6;      /* 极浅灰：分区背景 */
  --line: #e6eae8;          /* 描边颜色 */
  --white: #ffffff;

  --header-h: 74px;         /* 顶部导航高度（桌面） */
  --header-h-m: 60px;       /* 顶部导航高度（移动） */
  --radius: 6px;            /* 统一圆角 */
  --shadow: 0 2px 12px rgba(47, 52, 55, .07);
  --shadow-hover: 0 6px 20px rgba(47, 52, 55, .12);
  --maxw: 1200px;           /* 内容最大宽度 */
}

/* --------------------------------------------------------------------------
   2. 基础重置与排版
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;              /* 锚点平滑滚动 */
  scroll-padding-top: var(--header-h);  /* 避免锚点内容被固定导航遮挡 */
  background: #eef7ea;                  /* 页面最底层底色：淡绿，营造田园空气感 */
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-600);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(115,184,104,.28); }   /* 选中文字淡绿高亮 */

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--gray-900); font-weight: 700; line-height: 1.4; }

/* 通用容器 */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* 分区通用间距与背景 */
.section {
  padding: 70px 0;
  position: relative;
  overflow: hidden;                    /* 裁掉装饰圆环，防止横向滚动 */
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfa 100%);
}
.section--gray {
  background: linear-gradient(180deg, #f3f9f0 0%, #f8fbf6 100%);
}
.section--gray::before {               /* 灰区分区：极淡点阵纹理（喷灌水珠意象） */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(115,184,104,.15) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}
.section--green {
  background: linear-gradient(135deg, #eef7eb 0%, #e1efdc 100%);
}
.section::after {                      /* 分区右下角：柔和圆环装饰 */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -130px; bottom: -70px; width: 300px; height: 300px; border-radius: 50%;
  border: 44px solid rgba(115,184,104,.10);
}

/* 分区标题 */
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head h2 { font-size: 30px; letter-spacing: 1px; }
.sec-head h2::before {                 /* 标题前叶子图标，呼应农业主题 */
  content: "\f06c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--green);
  margin-right: 10px;
  font-size: .85em;
}
.sec-head h2 span { color: var(--green); }
.sec-head p { margin-top: 10px; color: var(--gray-400); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.sec-head::after {                     /* 渐变分隔线，两端淡出 */
  content: ""; display: block; width: 76px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--green) 30%, #a9d69d 70%, transparent);
  margin: 18px auto 0; border-radius: 3px;
}

/* 按钮 */
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 8px;
  font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease,
              transform .2s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(90,154,80,.28); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--green); }
.btn--line { border-color: var(--green); color: var(--green); background: var(--white); }
.btn--line:hover { background: var(--green); color: var(--white); }

/* --------------------------------------------------------------------------
   3. 顶部导航（固定在页面顶部）
   -------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--header-h);
  background: rgba(255,255,255,.90);    /* 半透明 + 毛玻璃，滚动时更精致 */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { box-shadow: var(--shadow); }  /* 页面滚动后加阴影 */

.header__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}

/* 站点 LOGO */
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo__text strong { display: block; font-size: 19px; color: var(--gray-900); line-height: 1.2; }
.logo__text small { display: block; font-size: 11px; color: var(--gray-400); letter-spacing: 1px; }

/* 主菜单 */
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  display: block; padding: 0 16px; line-height: var(--header-h);
  font-size: 15.5px; color: var(--gray-900); position: relative;
}
.nav a::after {   /* hover 下划线，简洁不花哨 */
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 20px;
  height: 2px; background: var(--green); transform: scaleX(0);
  transition: transform .2s ease;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--green); }

/* 顶部电话 */
.header__tel { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 18px; font-weight: 700; white-space: nowrap; }
.header__tel i { font-size: 16px; }

/* 汉堡按钮（仅移动端显示） */
.hamburger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--gray-900); transition: transform .25s ease, opacity .2s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 页面主体：预留固定导航高度 */
.main { padding-top: var(--header-h); }

/* --------------------------------------------------------------------------
   4. 首页轮播 Banner
   -------------------------------------------------------------------------- */
.banner { position: relative; overflow: hidden; background: var(--gray-100); }
.banner__list { position: relative; height: 520px; }
.banner__item {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .5s ease;                 /* 仅淡入淡出，克制的动效 */
  background-size: cover; background-position: center;
}
.banner__item.is-active { opacity: 1; visibility: visible; }
.banner__item::before {                          /* 压暗蒙层，保证文字可读 */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(47,52,55,.62) 0%, rgba(47,52,55,.20) 70%);
}
.banner__caption {
  position: relative; z-index: 2; max-width: var(--maxw); height: 100%;
  margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: var(--white);
}
.banner__caption h2 { color: var(--white); font-size: 42px; line-height: 1.3; }
.banner__caption p { margin: 16px 0 26px; font-size: 17px; color: rgba(255,255,255,.9); max-width: 640px; }
.banner__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* 左右箭头 */
.banner__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.18); color: var(--white); font-size: 18px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer; transition: background .2s ease;
}
.banner__arrow:hover { background: var(--green); }
.banner__arrow--prev { left: 24px; }
.banner__arrow--next { right: 24px; }

/* 圆点指示器 */
.banner__dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.banner__dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s ease, width .2s ease;
}
.banner__dots button.is-active { background: var(--green); width: 26px; border-radius: 5px; }

/* 内页头部小 Banner */
.page-banner {
  height: 260px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47,52,55,.55), rgba(47,52,55,.38)); }
.page-banner::after {  /* 底部向下一区块的自然过渡 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
  background: linear-gradient(180deg, transparent, rgba(20,40,20,.20));
}
.page-banner__inner { position: relative; z-index: 2; color: var(--white); }
.page-banner h1 { color: var(--white); font-size: 34px; }
.page-banner p { color: rgba(255,255,255,.85); margin-top: 8px; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }

/* 面包屑 */
.crumb { background: linear-gradient(180deg, #f3f9f0, #f8fbf6); border-bottom: 1px solid var(--line); font-size: 14px; }
.crumb .container { padding-top: 14px; padding-bottom: 14px; color: var(--gray-400); }
.crumb i { margin-right: 6px; color: var(--green); }

/* --------------------------------------------------------------------------
   5. 通用栅格与卡片组件
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }   /* 防止网格子项被内容(如宽表格)撑破，手机端横向溢出 */
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 图文卡片（产品 / 案例 / 新闻通用） */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(47,52,55,.03), 0 10px 26px rgba(47,52,55,.05);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.card:hover {
  box-shadow: 0 14px 34px rgba(64,128,56,.16);
  border-color: #cfe6c8;
  transform: translateY(-4px);
}
.card__thumb { position: relative; overflow: hidden; background: var(--gray-100); aspect-ratio: 4 / 3; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__thumb img { transform: scale(1.04); }   /* 轻微放大，无花哨动画 */
.card__tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: var(--green); color: var(--white); font-size: 12px;
  padding: 3px 10px; border-radius: 3px;
}
.card__body { padding: 18px 20px 22px; }
.card__body h3 { font-size: 17px; margin-bottom: 8px; }
.card__body p { font-size: 14px; color: var(--gray-600); }
.card__meta { margin-top: 12px; font-size: 13px; color: var(--gray-400); display: flex; justify-content: space-between; align-items: center; }
.card__more { color: var(--green); font-size: 14px; }

/* 参数小标签 */
.spec { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.spec li { font-size: 12px; color: var(--green-dark); background: var(--green-light); border-radius: 3px; padding: 3px 9px; }

/* 数字实力 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats__item {
  padding: 26px 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f8ed 100%);
  border-radius: 12px; border: 1px solid #e3efde;
  box-shadow: 0 4px 14px rgba(47,52,55,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stats__item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(64,128,56,.13); }
.stats__num { font-size: 36px; font-weight: 700; color: var(--green); line-height: 1.2; }
.stats__num small { font-size: 16px; margin-left: 2px; }
.stats__item p { margin-top: 6px; font-size: 14px; color: var(--gray-600); }

/* 图标优势项 */
.feature {
  display: flex; gap: 16px; padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf6 100%);
  border: 1px solid var(--line); border-radius: 12px;
  transition: box-shadow .2s ease, transform .25s ease;
}
.feature:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.feature__icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14px; }

/* 左图右文 */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media__text h2 { font-size: 28px; margin-bottom: 6px; }
.media__text .sub { color: var(--green); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.media__text p { margin-bottom: 14px; }
.media__img { position: relative; }
.media__img::before {                /* 图片背后错位色块，增强层次 */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  inset: 14px -14px -14px 14px;
  background: linear-gradient(135deg, var(--green-light), #f0f8ed);
  border-radius: 12px;
}
.media__img img { position: relative; z-index: 1; width: 100%; border-radius: 10px; box-shadow: var(--shadow-hover); }

/* 勾选列表 */
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 15px; }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}

/* 产品分类筛选按钮 */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.filter button {
  padding: 9px 22px; border: 1px solid var(--line); background: var(--white);
  border-radius: 40px; font-size: 14.5px; color: var(--gray-600); cursor: pointer;
  transition: all .2s ease;
}
.filter button:hover { border-color: var(--green); color: var(--green); }
.filter button.is-active { background: var(--green); border-color: var(--green); color: var(--white); }

/* 表格（产品参数） */
.table-wrap { overflow-x: auto; max-width: 100%; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
table.tbl th, table.tbl td { border: 1px solid var(--line); padding: 12px 14px; font-size: 14px; text-align: center; }
table.tbl th { background: linear-gradient(180deg, #eaf5e6, #dcedd6); color: var(--gray-900); font-weight: 700; }

/* 规格速查区块（产品页） */
.spec-sec { margin-top: 42px; padding-top: 30px; border-top: 1px dashed var(--line); }
.spec-sec h3 { font-size: 20px; margin-bottom: 14px; }
.spec-sec h3 i { color: var(--green); margin-right: 8px; }
.spec-sec .spec-img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.spec-sec .note { margin-top: 10px; font-size: 13px; color: var(--gray-400); }
.spec-sec .tip { background: var(--green-light); border-left: 3px solid var(--green); border-radius: 4px; padding: 10px 14px; font-size: 14px; margin-top: 14px; color: var(--gray-600); line-height: 1.7; }
.spec-sec .tip strong { color: var(--green); }
.spec-sec table.tbl { margin-top: 12px; }
.spec-sec .grid { margin-top: 16px; align-items: start; }

/* 文章详情页 */
.article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; }
.article h1 { font-size: 28px; line-height: 1.4; margin-bottom: 10px; }
.article .article__meta { color: var(--gray-400); font-size: 13px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 22px; }
.article h2 { font-size: 21px; margin: 32px 0 14px; padding-left: 12px; border-left: 4px solid var(--green); line-height: 1.4; }
.article h3 { font-size: 17px; margin: 22px 0 10px; }
.article p { line-height: 1.95; color: var(--gray-600); font-size: 15px; margin-bottom: 14px; }
.article ul, .article ol { padding-left: 22px; line-height: 1.95; color: var(--gray-600); font-size: 15px; margin-bottom: 14px; }
.article li { margin-bottom: 6px; }
.article table.tbl { margin: 16px 0 18px; }
.article .tip { background: var(--green-light); border-left: 3px solid var(--green); border-radius: 4px; padding: 12px 16px; font-size: 14px; margin: 16px 0; color: var(--gray-600); line-height: 1.8; }
.article .tip strong { color: var(--green); }
.article .art-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--gray-400); }
.article .art-nav a { color: var(--green); }
.article .art-nav a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .article { padding: 22px 18px; }
  .article h1 { font-size: 22px; }
  .article h2 { font-size: 18px; }
}

/* 列表页阅读全文与分页 */
.news-item h3 a { color: inherit; }
.news-item h3 a:hover { color: var(--green); }
.news-item__more { display: inline-block; margin-top: 8px; color: var(--green); font-size: 14px; font-weight: 600; }
.news-item__more:hover { text-decoration: underline; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 14px; color: var(--gray-600); }
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination a.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.pagination a.is-disabled { opacity: .45; pointer-events: none; }

/* --------------------------------------------------------------------------
   6. 联系相关组件
   -------------------------------------------------------------------------- */
/* 联系引导条（首页 / 内页通用） */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #4e9743 0%, #73b868 48%, #8fc584 100%);
  color: var(--white); padding: 52px 0;
}
.cta::before {               /* 右上大圆环装饰 */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%;
  border: 34px solid rgba(255,255,255,.16);
}
.cta::after {                /* 左下柔光圆 */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 9%; bottom: -80px; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: 26px; }
.cta p { color: rgba(255,255,255,.9); margin-top: 6px; }
.cta__tel { font-size: 30px; font-weight: 700; color: var(--white); white-space: nowrap; }
.cta__tel a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cta__tel small { display: block; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.85); }

/* 联系方式卡片 */
.contact-card { text-align: center; padding: 30px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s ease; }
.contact-card .big a { color: var(--green); }
.contact-card:hover { box-shadow: var(--shadow-hover); }
.contact-card i { font-size: 24px; color: var(--green); }
.contact-card h3 { margin: 12px 0 6px; font-size: 17px; }
.contact-card p { font-size: 15px; word-break: break-all; }
.contact-card .big { font-size: 22px; font-weight: 700; color: var(--green); }

/* 二维码 */
.qrcode { text-align: center; }
.qrcode img { width: 180px; height: 180px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: var(--white); }
.qrcode p { margin-top: 10px; font-size: 14px; color: var(--gray-400); }

/* 在线询盘表单（提交到 contact.php） */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form label { display: block; font-size: 14px; color: var(--gray-900); margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; font-family: inherit; color: var(--gray-900); background: var(--white);
  transition: border-color .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--green); }
.form textarea { min-height: 120px; resize: vertical; }
.form__note { font-size: 13px; color: var(--gray-400); margin-top: 12px; }
.form .req { color: #e05b4d; }
.form__result { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; line-height: 1.6; }
.form__result.is-show { display: block; }
.form__result.is-ok { color: #1d7a3e; background: #e8f6ec; border: 1px solid #b7e3c3; }
.form__result.is-err { color: #b3362e; background: #fdeeed; border: 1px solid #f3c4c0; }

/* --------------------------------------------------------------------------
   7. 新闻列表
   -------------------------------------------------------------------------- */
.news-item {
  display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center;
  padding: 20px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(47,52,55,.03), 0 8px 22px rgba(47,52,55,.04);
  transition: box-shadow .25s ease, transform .25s ease;
}
.news-item:hover { box-shadow: 0 12px 30px rgba(64,128,56,.14); transform: translateY(-3px); }
.news-item__thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--gray-100); }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 { font-size: 19px; margin-bottom: 8px; }
.news-item .date { font-size: 13px; color: var(--gray-400); margin-bottom: 8px; }
.news-item .date i { color: var(--green); margin-right: 6px; }

/* 侧边栏 */
.layout-side { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.widget h3 { font-size: 17px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.widget li { padding: 8px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.widget li:last-child { border-bottom: 0; }

/* 分页（静态展示） */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; line-height: 36px; text-align: center; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; background: var(--white);
}
.pager .is-active { background: var(--green); border-color: var(--green); color: var(--white); }

/* --------------------------------------------------------------------------
   8. 页脚
   -------------------------------------------------------------------------- */
.footer {
  background: linear-gradient(180deg, #30383a 0%, #243c2a 130%);
  color: rgba(255,255,255,.72); padding: 56px 0 0; font-size: 14px;
}
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--green); }
.footer li { margin-bottom: 9px; }
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__logo img { height: 38px; }
.footer__logo strong { color: var(--white); font-size: 18px; }
.footer__contact li { display: flex; gap: 9px; }
.footer__contact i { color: var(--green); margin-top: 6px; }
.footer__contact a { color: inherit; transition: color .2s ease; }
.footer__contact a:hover { color: var(--green); }
.footer__qr a { display: inline-block; }
.footer__qr img { width: 120px; background: var(--white); padding: 6px; border-radius: 4px; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }

/* 返回顶部按钮 */
.to-top {
  position: fixed; right: 20px; bottom: 84px; z-index: 900;
  width: 44px; height: 44px; border: 0; border-radius: var(--radius);
  background: var(--green); color: var(--white); font-size: 16px; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, background .2s ease;
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--green-dark); }

/* WhatsApp 悬浮直聊按钮（全站常驻） */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 910;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white); font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(37,211,102,.55); }

/* 移动端底部快捷联系条（仅小屏显示） */
.mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   9. 响应式：平板 / 手机
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .banner__list { height: 420px; }
  .banner__caption h2 { font-size: 32px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .layout-side { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: var(--header-h-m); }

  .header { height: var(--header-h-m); }
  .main { padding-top: var(--header-h-m); }
  .header__tel { display: none; }       /* 移动端顶部隐藏电话，改用底部快捷条 */
  .hamburger { display: flex; }
  .logo img { height: 32px; }
  .logo__text strong { font-size: 16px; }
  .logo__text small { display: none; }

  /* 移动端折叠菜单：默认收起，点击汉堡展开 */
  .nav {
    position: fixed; top: var(--header-h-m); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h-m)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;                       /* JS 切换 is-open 显示 */
  }
  .nav.is-open { display: flex; }
  .nav a { line-height: 52px; padding: 0 20px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.is-active { background: var(--green-light); }

  .section { padding: 46px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: 23px; }

  .banner__list { height: 340px; }
  .banner__caption h2 { font-size: 24px; }
  .banner__caption p { font-size: 14.5px; margin: 12px 0 20px; }
  .banner__arrow { display: none; }      /* 手机端隐藏箭头，支持滑动切换 */

  .page-banner { height: 180px; }
  .page-banner h1 { font-size: 24px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__num { font-size: 28px; }

  .media { grid-template-columns: 1fr; gap: 24px; }
  .media__text h2 { font-size: 22px; }

  .news-item { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }

  .cta { padding: 34px 0; }
  .cta__inner { flex-direction: column; text-align: center; }
  .cta h2 { font-size: 21px; }

  .footer { padding-top: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; }

  /* 底部固定快捷联系条：一键拨号 + 微信 */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: var(--white); border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    padding: 13px 0; text-align: center; font-size: 15px; color: var(--gray-900);
  }
  .mobile-bar a i { color: var(--green); margin-right: 6px; }
  .mobile-bar a:first-child { background: var(--green); color: var(--white); }
  .mobile-bar a:first-child i { color: var(--white); }
  body { padding-bottom: 50px; }        /* 预留底部条高度 */
  .to-top { bottom: 124px; right: 14px; }
  .wa-float { bottom: 64px; right: 14px; width: 48px; height: 48px; font-size: 24px; }

  /* 移动端收敛装饰：隐藏大圆环，保留轻量点阵 */
  .section::after { display: none; }
  .media__img::before { display: none; }
  .cta::before, .cta::after { transform: scale(.7); }
}
