/* ==========================================================================
   湖南正旺农肥科技有限公司官网 —— 前台样式
   主题：绿色环保 · 农业兴旺（与主页设计需求书 v2.2 一致）
   ========================================================================== */

/* ===== 设计规范（Design Tokens · v1.2 升级版） ===== */
:root {
  --green: #2AA64E;          /* 品牌绿（主色）：鲜亮明快的亮绿，选中态菜单、按钮、板块标题装饰 */
  --green-light: #5FD068;    /* 生机绿（辅色）：悬停态、渐变叠层、指示器 */
  --green-deep: #1E5B2F;     /* 深林绿（v1.2 新增）：标题强调、渐变深端、页脚加深 */
  --gold: #F0B429;           /* 丰收金（点缀）：轮播文字点缀、当前指示器高亮 */
  --ink: #333333;            /* 正文黑 */
  --gray: #777777;           /* 辅助灰 */
  --footer-bg: #2F3437;      /* 页脚灰：底部菜单栏背景（不透明） */
  --nav-border: #E8E8E8;     /* 导航浅灰底边 */
  --sub-hover: #EAF7EE;      /* 子菜单悬停浅绿底（清亮） */

  /* v1.2 玻璃面板：半透明白 + 背景模糊，让视差田野底图在板块之间透出呼吸感 */
  --panel: rgba(255, 255, 255, 0.78);
  --panel-line: rgba(255, 255, 255, 0.65);
  --radius: 12px;                                   /* 统一卡片圆角 */
  --shadow-1: 0 4px 16px rgba(31, 61, 34, 0.10);    /* 常规投影 */
  --shadow-2: 0 16px 36px rgba(31, 61, 34, 0.20);   /* 悬停加深投影 */

  /* 字体：展示标题（MiSans Heavy / 思源黑体）与正文分属不同字重层级，形成强对比 */
  --font-display: "MiSans", "Source Han Sans SC", "思源黑体", "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-body: "MiSans", "Source Han Sans SC", "思源黑体", "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-en: "DIN Alternate", "DIN", "Bahnschrift", Arial, sans-serif; /* 板块英文副标 */

  /* 统一缓动曲线（轮播图文切换专用） */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* v1.2 磨砂玻璃卡基类：板块内容容器统一质感（backdrop-filter 让底图虚化透出） */
.glass {
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  min-width: 1200px;           /* PC 端 1920 基准，内容区 1200px 居中 */
  overflow-x: hidden;
  background-color: #F4FBF4;   /* 背景图加载前的兜底底色（近白的浅绿） */
}
ul { list-style: none; }
img { display: block; border: 0; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; }
a { text-decoration: none; color: inherit; }
.js-link { cursor: pointer; }
.js-link:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }
::selection { background: rgba(95, 208, 104, 0.35); }

/* 内容区：1200px 居中 */
.container { width: 1200px; margin: 0 auto; }

/* ==========================================================================
   区块：全局背景层（固定底图 + 绿色主题蒙版 + 视差联动）
   ========================================================================== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;                 /* 固定于最底层 */
  overflow: hidden;
}
.bg-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;                /* 实际高度由 JS 按最大视差位移动态加高 */
  object-fit: cover;
  will-change: transform;      /* 仅使用 transform 位移，保证流畅 */
}
/* 主题蒙版（提亮减淡）：符合"绿色环保、农业发展"主题的简约渐变，让底图鲜亮绿意透出 */
.bg-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 253, 246, 0.60), rgba(222, 244, 227, 0.42));
}

/* ==========================================================================
   区块：顶部导航栏（112px，固定顶部）
   v1.2 升级：顶部 3px 绿→金渐变饰条；滚动后变磨砂玻璃质感
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 112px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--nav-border);
  z-index: 1000;
  transition: box-shadow 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}
/* 顶部品牌饰条：绿→金渐变（全站视觉母题之一） */
.site-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 55%, var(--gold) 100%);
  z-index: 1;
}
/* 滚动过轮播区后：追加轻投影 + 磨砂玻璃质感（白 → 半透明 + 背景模糊） */
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 112px; }

/* 最左侧 · 品牌 Logo（正式商标 SVG：红底圆角徽章，放大后高 96px，宽随方形图标自适应） */
.logo-link { display: inline-flex; align-items: center; }
.logo-img {
  height: 96px;                  /* 原 48px，应用户要求放大 100% */
  width: auto;
  max-width: 260px;
  transition: transform 0.25s ease;   /* 悬停轻微放大 */
}
.logo-link:hover .logo-img { transform: scale(1.03); }

/* 右侧 · 菜单区（Logo 与菜单区之间留 60px 间距） */
.nav-menu { margin-left: 60px; flex: 1; display: flex; justify-content: flex-end; }
.menu-list { display: flex; align-items: center; }
.menu-item { position: relative; margin-left: 40px; }   /* 项间距 40px */
.menu-item:first-child { margin-left: 0; }

/* 一级菜单：16px；悬停文字变品牌绿 + 3px 下划线从左向右滑入 */
.menu-link {
  position: relative;
  display: flex;
  align-items: center;
  height: 112px;
  font-size: 16px;
  color: var(--ink);
  transition: color 0.25s ease-out;
}
.menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;       /* 从左向右滑入 */
  transition: transform 0.25s ease-out;
}
.menu-item:hover .menu-link,
.menu-item.open .menu-link { color: var(--green); }
.menu-item:hover .menu-link::after,
.menu-item.open .menu-link::after { transform: scaleX(1); }

/* 下拉面板（全部 8 项统一逻辑）：白底 + 投影，下滑展开 */
.sub-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 132px;
  padding: 8px 0;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);    /* translateY(-8px) → 0 */
  transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0.25s;
}
/* 无子菜单 4 项的单项面板：最小宽度 120px */
.sub-panel-single { min-width: 120px; }
.menu-item.open .sub-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 子菜单项（含单项面板条目）：14px，内边距 10px 20px */
.sub-list a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sub-list a:hover { background: var(--sub-hover); color: var(--green); }

/* ==========================================================================
   区块：满屏轮播区（100% 宽 × 620px 高）
   ========================================================================== */
.hero { position: relative; width: 100%; height: 620px; overflow: hidden; background: #4A7C50; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease;       /* 图片本身 0.8s 平滑过渡 */
}
.slide.active { opacity: 1; z-index: 2; }
.banner-img { width: 100%; height: 100%; object-fit: cover; }

/* 图片左半侧：由深到透明的渐变暗层，保证白字可读 */
.slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 30, 12, 0.62) 0%, rgba(10, 30, 12, 0.32) 38%, rgba(10, 30, 12, 0) 68%);
}

/* 文字位于画面左侧 8%、垂直居中 */
.caption {
  position: absolute;
  left: 8%;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
}
/* 图文切换动效：初始隐藏（新文字从切换方向对侧 40px 处、带虚化滑入） */
.caption-inner {
  opacity: 0;
  transform: translateX(40px);
  filter: blur(6px);
  will-change: transform, opacity, filter;
}
/* 入场：延迟 0.2s、0.6s 滑入归位 + 虚化消除 */
.caption-inner.cap-show {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  transition: opacity 0.6s var(--ease-smooth) 0.2s,
              transform 0.6s var(--ease-smooth) 0.2s,
              filter 0.6s var(--ease-smooth) 0.2s;
}
/* 出场（向切换反方向）：0.4s 滑出 + 透明度→0 + 虚化 0→6px */
.caption-inner.cap-out-left {
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(6px);
  transition: opacity 0.4s var(--ease-smooth),
              transform 0.4s var(--ease-smooth),
              filter 0.4s var(--ease-smooth);
}
.caption-inner.cap-out-right {
  opacity: 0;
  transform: translateX(40px);
  filter: blur(6px);
  transition: opacity 0.4s var(--ease-smooth),
              transform 0.4s var(--ease-smooth),
              filter 0.4s var(--ease-smooth);
}
/* 入场前的起始位（无过渡，由 JS 强制回流后切换到 cap-show） */
.caption-inner.cap-pre-right { transition: none; opacity: 0; transform: translateX(40px); filter: blur(6px); }
.caption-inner.cap-pre-left  { transition: none; opacity: 0; transform: translateX(-40px); filter: blur(6px); }

/* v1.2 金色英文眉题：主标题上方的小字点题，字距拉开营造精致感 */
.cap-kicker {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
/* 主标题 48px 白色加粗带阴影；副标题 18px 白色 90% */
.cap-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 3px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
/* v1.2 金色分隔短线：标题与副标题之间的层次分隔 */
.cap-rule {
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(240, 180, 41, 0.25));
}
.cap-sub {
  margin-top: 16px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
/* 「了解更多」按钮（v1.2 升级：绿→深绿渐变实底，箭头随悬停右移） */
.cap-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  padding: 11px 34px;
  font-size: 15px;
  letter-spacing: 3px;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  backdrop-filter: blur(2px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.cap-btn .cap-btn-arrow { transition: transform 0.3s ease; }
.cap-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(30, 91, 47, 0.45);
}
.cap-btn:hover .cap-btn-arrow { transform: translateX(4px); }

/* 左右箭头：悬停轮播区时淡入 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  z-index: 5;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
.hero-arrow-prev { left: 28px; }
.hero-arrow-next { right: 28px; }
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--green); }

/* 指示器：底部居中；圆点 10px，当前项 28px 丰收金胶囊 */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}
.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.35s var(--ease-smooth), background-color 0.35s ease;
}
.dot:hover { background: rgba(255, 255, 255, 0.9); }
.dot.active { width: 28px; background: var(--gold); }

/* v1.2 页码指示（左下角）：当前页大号金字 + 总页数小白字 */
.hero-count {
  position: absolute;
  left: 8%;
  bottom: 34px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  z-index: 5;
  font-family: var(--font-en);
}
.hero-count span:first-child {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero-count em { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.hero-count span:last-child { font-size: 14px; color: rgba(255, 255, 255, 0.75); letter-spacing: 2px; }

/* ==========================================================================
   区块：主页面下部板块（标题均中置）
   ========================================================================== */
.section { padding: 100px 0 108px; }

/* 板块标题（v1.2 升级）：斜切编号徽标（15° 母题）+ 36px 主标 + DIN 英文副标 + 绿→金渐变装饰线 */
.sec-head { text-align: center; }
/* 编号徽标：平行四边形小块（skewX 呼应研发生产板块的斜切母题） */
.sec-head::before {
  content: attr(data-no);
  display: block;
  width: 46px;
  height: 26px;
  margin: 0 auto 16px;
  transform: skewX(-15deg);
  border-radius: 3px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  box-shadow: 0 4px 10px rgba(42, 166, 78, 0.35);
  color: #FFFFFF;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 26px;
}
.sec-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 4px;
}
.sec-en {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--gray);
}
.sec-line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 55%, var(--gold) 100%);
}

/* ----- 走进正旺（v1.3 改版·舞台式）：右 1000×600 大图轮播，左玻璃简介卡叠图 ----- */
.about-stage {
  position: relative;
  height: 600px;
  margin-top: 58px;
}
/* 大图区：贴容器右侧（留 16px 供描边框外扩），1000×600 */
.about-frame { position: absolute; right: 16px; top: 0; width: 1000px; height: 600px; }
/* 外围错位描边框：品牌绿细线向右下偏移（右扩 16px 恰好不超出内容区） */
.about-frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid rgba(42, 166, 78, 0.45);
  border-radius: 14px;
  z-index: 0;
}
.about-slider {
  position: relative;
  z-index: 1;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(31, 61, 34, 0.18);
  background: #DDE8DD;
}
.about-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s var(--ease-smooth);  /* 滑动过渡 */
}
.about-img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }

/* 简介玻璃卡：绝对定位叠于大图左缘、垂直居中（磨砂模糊透出下层图片，杂志式层次） */
.about-card {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 430px;
  z-index: 2;
  padding: 34px 36px 36px;
}
.about-para {
  font-size: 15px;
  line-height: 2.1;
  color: #454a45;
  text-align: justify;
  text-indent: 2em;
}
/* 「查看详情」（v1.2 升级）：渐变实底白字 + 箭头随悬停右移 */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 11px 38px;
  font-size: 15px;
  letter-spacing: 3px;
  color: #FFFFFF;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 8px 20px rgba(42, 166, 78, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.btn-outline .btn-arrow { transition: transform 0.3s ease; }
.btn-outline:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 26px rgba(30, 91, 47, 0.38);
}
.btn-outline:hover .btn-arrow { transform: translateX(4px); }

/* 企业数据带（v1.3 移至大图下方全宽）：四项核心数字，玻璃条 + 竖线分隔 */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  padding: 22px 10px;
  text-align: center;
}
.stat { position: relative; }
.stat + .stat::before {                 /* 竖向分隔线 */
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(42, 166, 78, 0.22);
}
.stat-num {
  font-family: var(--font-en);
  color: var(--green-deep);
  line-height: 1.1;
}
.stat-num em {
  font-style: normal;
  font-size: 34px;
  font-weight: 700;
}
.stat-num i {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  margin-left: 3px;
  color: var(--green);
}
.stat-label { margin-top: 6px; font-size: 13px; color: var(--gray); letter-spacing: 1px; }

/* ----- 荣誉资质（v1.4 新增板块 H 区）：三列雾化蒙层证书卡 -----
   卡片视觉语言（依用户示意稿）：证书图上覆盖一层"由左向右减弱"的深绿雾化蒙层，
   左下角压白色标题 + 金色细线 + 简介；悬停时雾化溶解、文案淡出上移、证书微放大——
   "雾里看荣誉，拂雾见真章"。全部动效 0.45–0.55s 平缓过渡。 */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 列自适应换行，证书数可增补（当前 8 张：3+3+2） */
  gap: 24px;
  margin-top: 54px;
}
.honor-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.45s ease;       /* 悬停仅加深投影，卡片本身不位移 */
}
.honor-card:hover { box-shadow: var(--shadow-2); }
.honor-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;                     /* 与产品卡一致的取景比例 */
  background: #E6EFE6;
}
.honor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-smooth);   /* 悬停微放大 scale(1.05) */
}
.honor-card:hover .honor-img { transform: scale(1.05); }
/* 竖版证书（ISO 体系认证 885×1200）：取景位置偏上，保证标题区域进入画面 */
.honor-img-top { object-position: 50% 18%; }
/* 雾化蒙层：左侧浓、向右逐渐减弱至透明（深绿近黑，与轮播暗层同族色） */
.honor-fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(13, 35, 17, 0.82) 0%,
    rgba(13, 35, 17, 0.55) 42%,
    rgba(13, 35, 17, 0.14) 70%,
    rgba(13, 35, 17, 0) 88%);
  transition: opacity 0.5s ease-out;       /* 悬停：雾化溶解消散 */
}
.honor-card:hover .honor-fog { opacity: 0; }
/* 左下角文案：白色标题 + 金色细线 + 浅白简介；悬停随雾化淡出并轻微上移 */
.honor-cap {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.honor-card:hover .honor-cap { opacity: 0; transform: translateY(-8px); }
.honor-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
/* 金色细线：与轮播金色分隔线同一视觉语言，宽度收窄为卡片内装饰 */
.honor-rule {
  display: block;
  width: 26px;
  height: 2px;
  margin: 8px 0;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(240, 180, 41, 0.2));
}
.honor-desc {
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}


/* ----- 研发生产（v1.3 改版）：等高 6:4 斜切双图，共线拼接为整矩形 + 叠纸装饰 -----
   几何设计（内容区 1200×440 的整矩形）：
     · 左图（产品研发，面积约 40%）：盒宽 535，右边缘斜切（斜量 110px ≈ 440×tan14°）；
     · 右图（生产制造，面积约 60%）：盒宽 775、盒左界 x=425，左边缘斜切 110px——
       其斜边端点 (535,0)→(425,440) 与左图斜边完全共线，两图严丝合缝拼成整矩形；
     · 斜切用 clip-path；圆角仅组合矩形最外两角（左图左缘、右图右缘 16px），
       斜缝切口保持锐利；投影用父级 filter: drop-shadow（box-shadow 会被 clip-path 裁掉）。 */
.rd-body {
  position: relative;             /* 双图绝对定位于此容器内拼合 */
  height: 440px;
  margin-top: 58px;
}
/* 叠纸（伪阴影）效果：两张错位的半透明"纸"垫在组合矩形下方，向左下角探出，营造层叠纸堆质感 */
.rd-body::before,
.rd-body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  z-index: 0;
  pointer-events: none;           /* 不拦截鼠标，保证双图悬停动效 */
}
.rd-body::before {                /* 第一张纸：左下偏移 12px */
  transform: translate(-12px, 12px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(31, 61, 34, 0.10);
}
.rd-body::after {                 /* 第二张纸：左下偏移 24px，更淡更远 */
  transform: translate(-24px, 24px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px rgba(31, 61, 34, 0.08);
}
.rd-entry {
  position: absolute;
  top: 0;
  display: block;
  z-index: 1;                     /* 位于叠纸层之上 */
  /* 投影挂在父级：drop-shadow 会沿 clip-path 裁出的斜边轮廓投射 */
  filter: drop-shadow(0 12px 26px rgba(31, 61, 34, 0.18));
  transition: filter 0.45s ease-out;
}
.rd-entry:hover { filter: drop-shadow(0 22px 44px rgba(31, 61, 34, 0.34)); }

/* 裁剪层：clip-path 切斜边；圆角仅保留组合矩形的最外两角（左图左缘/右图右缘），
   斜缝切口保持锐利（悬停分离时缝隙边缘干净利落） */
.rd-shape {
  position: absolute;
  inset: 0;
  overflow: hidden;               /* 图片放大不外溢斜边，同时配合圆角裁剪 */
  background: #DDE8DD;
  transition: transform 0.45s var(--ease-smooth);
}

/* 左图（约 40%）：右边缘斜切；悬停自斜缝向左下方向小幅分离；
   圆角只在左侧两外角（TL/BL），斜缝侧（TR）为直角 */
.rd-entry-left { left: 0; width: 535px; height: 440px; }
.rd-entry-left .rd-shape {
  clip-path: polygon(0 0, 100% 0, calc(100% - 110px) 100%, 0 100%);
  border-radius: 16px 0 0 16px;
}
/* 右图（约 60%）：盒左界 425（=1200-775），左边缘斜切与左图共缝；悬停向右上方向小幅分离；
   圆角只在右侧两外角（TR/BR），斜缝侧（BL）为直角 */
.rd-entry-right { right: 0; width: 775px; height: 440px; }
.rd-entry-right .rd-shape {
  clip-path: polygon(110px 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 16px 16px 0;
}
/* 悬停分离动效：自斜缝向外侧角方向抽离 10px（左图→左下 / 右图→右上），缝隙张开显出层次 */
.rd-entry-left:hover .rd-shape { transform: translate(-10px, 10px); }
.rd-entry-right:hover .rd-shape { transform: translate(10px, -10px); }

.rd-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease-out;   /* 悬停微放大，移出复原 */
}
.rd-entry:hover .rd-img { transform: scale(1.06); }
/* 底部渐变暗层（下深上透明），保证白色标签可读 */
.rd-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 45, 20, 0) 40%, rgba(15, 45, 20, 0.55) 100%);
}
/* 悬停时暗层微微加深（叠加层淡入，0.3s） */
.rd-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 45, 20, 0) 30%, rgba(15, 45, 20, 0.72) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rd-entry:hover .rd-shade::after { opacity: 1; }
/* 左下角白色入口标签：20px 加粗 + 12px 英文小字副标 */
.rd-label {
  position: absolute;
  left: 30px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
}
/* 右图标签居于右下角（与左图对角呼应）：右对齐 */
.rd-entry-right .rd-label {
  left: auto;
  right: 30px;
  align-items: flex-end;
  text-align: right;
}
.rd-title-line { display: flex; align-items: center; }
.rd-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.rd-en {
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
}
/* 标签右侧箭头：默认隐去，悬停淡入并从左侧 12px 处滑入归位 */
.rd-arrow {
  margin-left: 10px;
  color: #FFFFFF;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.rd-entry:hover .rd-arrow { opacity: 1; transform: translateX(0); }

/* ----- 公司产品（v1.2 升级） ----- */
/* 第一层 · 文字入口：胶囊按钮，默认白底绿边深字，悬停绿底白字；第一项为选中态 */
.cat-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 50px;
}
.cat-btn {
  padding: 9px 28px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #2C3A2E;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--green);
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-btn:hover,
.cat-btn.active {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(42, 166, 78, 0.25);
}
.cat-btn:first-child {          /* 首项默认呈现选中态（纯视觉，路由二期接入时切换） */
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #FFFFFF;
}

/* 第二层 · 产品图片展示：4列×2行网格 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 46px;
}
/* 产品卡片（v1.2 升级）：整卡可点击；悬停上浮 + 投影加深 + 图片微放大 + "查看详情"浮层浮现 */
.prod-card {
  display: block;
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.prod-img-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #E6EFE6; }
.prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;     /* 图片微放大 scale(1.05) */
}
.prod-card:hover .prod-img { transform: scale(1.05); }
/* 分类角标：图片左上角绿色玻璃小签，标注所属分类 */
.prod-chip {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 3px 12px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #FFFFFF;
  background: rgba(42, 166, 78, 0.88);
  backdrop-filter: blur(4px);
  border-radius: 999px;
}
/* "查看详情"浮层：悬停时自图片底部浮起的白色胶囊按钮 */
.prod-hover {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  transform: translate(-50%, 10px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.prod-card:hover .prod-hover { opacity: 1; transform: translate(-50%, 0); }
.prod-name {
  display: block;
  padding: 14px 10px 16px;
  font-size: 14px;
  text-align: center;
  color: var(--ink);
  letter-spacing: 1px;
}

/* ----- 新闻资讯（v1.2 新增板块）：副标行 + 三列新闻卡 ----- */
.news-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding: 0 6px;
}
.news-sub { font-size: 14px; color: var(--gray); letter-spacing: 1px; }
/* 「更多新闻」入口：绿字 + 箭头悬停右移 */
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--green);
  transition: color 0.25s ease;
}
.news-more svg { transition: transform 0.3s ease; }
.news-more:hover { color: var(--green-deep); }
.news-more:hover svg { transform: translateX(4px); }

/* 新闻卡网格：三列；卡片为磨砂玻璃质感 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}
.news-card {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 24px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
/* 日期块：大号日期数字 + 年月小字 */
.news-date { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-en); }
.news-date em {
  font-style: normal;
  font-size: 34px;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}
.news-date i { font-style: normal; font-size: 13px; color: var(--gray); letter-spacing: 1px; }
/* 类型标签：公司新闻绿底 / 行业新闻金底 */
.news-tag {
  align-self: flex-start;
  margin-top: 14px;
  padding: 2px 12px;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 999px;
  color: #FFFFFF;
}
.tag-company { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.tag-industry { background: linear-gradient(135deg, #D99A0B, var(--gold)); }
.news-title {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  /* 最多两行，超出省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-summary {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   区块：底部区域（v1.2 重构：品牌列 + 菜单列 + 二维码，深绿渐变底）
   ========================================================================== */
/* 深色底部：灰绿基色向深林绿渐变，顶缘一道绿→金饰线与导航呼应 */
.footer {
  background: linear-gradient(180deg, var(--footer-bg) 0%, #25341F 100%);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 55%, var(--gold) 100%);
}
.footer-main {
  display: flex;
  align-items: flex-start;
  padding: 56px 0 46px;
}
/* 品牌列：商标 + 口号 + 联系信息
   （宽度 220 + 间距 36 + 菜单最小 546 + 间距 36 + 二维码 204 ≈ 1042 ≤ 1200，保证不溢出容器） */
.footer-brand { flex: 0 0 220px; margin-right: 36px; }
.footer-logo { height: 64px; width: auto; }
.footer-slogan {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.92);
}
.footer-contact { margin-top: 18px; }
.fc-line {
  font-size: 13px;
  line-height: 2.1;
  color: #B0B0B0;
}
.footer-nav { display: flex; justify-content: space-between; flex: 1; margin-right: 36px; }
.f-col { min-width: 80px; }
/* 一级菜单作栏目标题：白色 16px 加粗 */
.f-title {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
/* 子菜单逐行排列：浅灰 #B0B0B0、14px、行高 2.2；悬停提亮 */
.f-list a {
  display: block;
  font-size: 14px;
  line-height: 2.2;
  color: #B0B0B0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.f-list a:hover { color: var(--green-light); }

/* 最右侧 · 二维码预留位（90×90 + 白色小字标签） */
.footer-qr { display: flex; gap: 24px; padding-top: 4px; }
.qr-item { text-align: center; }
.qr-img {
  width: 90px;
  height: 90px;
  border-radius: 4px;
  background: #FFFFFF;
  padding: 3px;
}
.qr-label {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

/* 最底信息栏：1px 白色分隔线隔开，高 60px，两端对齐（左公司名 / 右版权） */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.25); }
.footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  font-size: 14px;
  color: #FFFFFF;
}
.fb-left { letter-spacing: 1px; }
.fb-right { font-size: 13px; color: rgba(255, 255, 255, 0.82); letter-spacing: 1px; }

/* ==========================================================================
   回到顶部浮动按钮（v1.2 新增）：滚动超过一屏后浮现
   ========================================================================== */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 36px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(42, 166, 78, 0.55);
  border-radius: 50%;
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  z-index: 900;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--green); color: #FFFFFF; }

/* ==========================================================================
   滚动进入视口淡入显现（IntersectionObserver 配合）
   ========================================================================== */
html.js .reveal { opacity: 0; }   /* 仅当 JS 可用时隐藏，JS 失败时内容兜底可见 */
.reveal.in { animation: rise-in 0.85s var(--ease-smooth) forwards; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 动效偏好：减弱动态效果 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html.js .reveal { opacity: 1; }
}
