/* ==========================================================================
   农业官网前台 —— 「大地期刊 · 深色编辑风」Editorial Luxury
   设计语言：深森林绿 × 古铜金 × 暖纸色
   · 衬线大字标题（Cormorant Garamond + 思源宋体）
   · 章节索引数字 01 / 02 / 03（CSS 计数器）
   · 直角硬朗外形 + 发丝线描边
   · 深色区网格纹理 + 噪点纸感
   · 错落入场动效与精炼微交互
   ========================================================================== */

:root {
  /* 品牌色 */
  --forest: #1f3d2b;          /* 主色：深森林绿 */
  --forest-deep: #12271a;     /* 更深：深色区底 */
  --forest-soft: #2f5a3e;     /* 柔和绿 */
  --sage: #87a08a;            /* 灰绿辅助 */
  --bronze: #b0712f;          /* 古铜金点缀 */
  --bronze-deep: #8f5a22;
  --bronze-bright: #d9a05b;   /* 深色区上的亮铜 */
  --cream: #f4efe4;           /* 暖米色纸张底 */
  --paper: #fffdf7;           /* 卡片纸白 */
  --ink: #26251f;             /* 主文字 */
  --muted: #7c766a;           /* 次要文字 */
  --line: #e3dac6;            /* 发丝分隔线 */
  --line-strong: #cfc4a9;

  /* 深色区文字 */
  --dark-text: #ece7d8;
  --dark-muted: #9cab97;

  /* 字体 */
  --font-display: "Cormorant Garamond", "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(18, 39, 26, .05), 0 8px 24px rgba(18, 39, 26, .07);
  --shadow-lg: 0 32px 72px -28px rgba(18, 39, 26, .42);

  /* 动效曲线 */
  --ease-out: cubic-bezier(.22, .61, .36, 1);

  /* 头部高度（全屏首屏负边距用） */
  --topbar-h: 36px;
  --header-h: 78px;

  /* 深色区网格纹理 */
  --grid-dark:
    linear-gradient(rgba(244, 239, 228, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 228, .045) 1px, transparent 1px);
  --grid-dark-size: 64px 64px;

  /* 纸面噪点 */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-color: var(--forest) var(--cream);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image: var(--noise);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--bronze); color: #fffdf7; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--forest); border: 2px solid var(--cream); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* 内容容器：视口内流式，1400px 封顶居中 */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
}

/* 章节索引计数器（首页 section-head 与关于页 about-block 共用） */
body { counter-reset: secno; }

/* ==========================================================================
   顶部工具条
   ========================================================================== */
.topbar {
  background: var(--forest-deep);
  color: var(--dark-muted);
  font-size: 12px;
  letter-spacing: .12em;
  border-bottom: 1px solid rgba(244, 239, 228, .07);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  gap: 20px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item + .topbar-item { margin-left: 22px; }
.topbar-item::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--bronze-bright);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.topbar-slogan {
  color: var(--sage);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-group { display: flex; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: .14em;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  flex-shrink: 0;
}
.logo::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--bronze);
  margin-top: 3px;
}
.logo.has-img::after { display: none; }
.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 210px;
  max-height: 46px;
  object-fit: contain;
}

/* 导航：带编辑风索引数字 */
.nav { display: flex; gap: 36px; counter-reset: navi; }
.nav > a, .nav-item { counter-increment: navi; }
.nav > a::before, .nav-item > a::before {
  content: counter(navi, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--bronze);
  margin-right: 7px;
  vertical-align: 4px;
  letter-spacing: .08em;
}
.nav a {
  position: relative;
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--ink);
  padding: 8px 0;
  transition: color .25s ease;
}
.nav > a:hover, .nav-item > a:hover { color: var(--bronze-deep); }
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--bronze);
  transition: width .35s var(--ease-out), left .35s var(--ease-out);
}
.nav > a:hover::after, .nav-item > a:hover::after { width: 100%; left: 0; }
.nav a.active { color: var(--forest); font-weight: 600; }
.nav a.active::after { width: 100%; left: 0; background: var(--forest); }

/* 导航二级下拉（PC 端悬停显示） */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-drop {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 176px;
  padding: 10px 0 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px -18px rgba(18, 39, 26, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out), visibility .26s;
  z-index: 120;
}
.nav-drop::before {
  content: "";
  position: absolute;
  top: -1px; left: 22px;
  width: 26px; height: 2px;
  background: var(--bronze);
}
/* 下拉菜单上方的连接小竖线 */
.nav-drop::after {
  content: "";
  position: absolute;
  top: -14px; right: 28px;
  width: 1px; height: 14px;
  background: var(--line-strong);
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav .nav-drop a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--ink);
  white-space: nowrap;
  transition: background .22s ease, color .22s ease, padding-left .22s ease;
}
.nav .nav-drop a::after, .nav .nav-drop a::before { display: none; }
.nav .nav-drop a:hover { background: rgba(176, 113, 47, .07); color: var(--bronze-deep); padding-left: 28px; }
.nav .nav-drop a.active { color: var(--bronze-deep); font-weight: 600; }
/* 二级分类展开按钮：仅移动端显示（PC 端为悬停下拉） */
.nav-sub-toggle { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
  position: relative;
  z-index: 130; /* 高于全屏抽屉（z-index:90），保证展开后仍可点击关闭 */
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--forest);
  transition: transform .3s var(--ease-out), opacity .25s ease;
}
/* 抽屉打开时汉堡按钮变叉（现代浏览器 :has） */
.header-inner:has(.nav.open) .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header-inner:has(.nav.open) .nav-toggle span:nth-child(2) { opacity: 0; }
.header-inner:has(.nav.open) .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* 抽屉为深色底，关闭按钮统一用浅色，避免深绿图标在深色抽屉上不可见 */
.header-inner:has(.nav.open) .nav-toggle span { background: var(--cream); }

/* ---- 首页沉浸式首屏：导航透明悬浮于 banner 之上，滚动后恢复实底 ---- */
body.has-hero .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .45s ease, border-color .45s ease;
}
body.has-hero .logo { color: var(--cream); }
body.has-hero .logo::after { background: var(--bronze-bright); }
/* 仅作用于一级导航，避免浅色文字渗入二级下拉（下拉始终为纸白底 + 深色字） */
body.has-hero .nav > a,
body.has-hero .nav-item > a { color: #000; }
body.has-hero .nav > a::before,
body.has-hero .nav-item > a::before { color: var(--bronze-bright); }
body.has-hero .nav > a:hover,
body.has-hero .nav-item > a:hover { color: #000; }
body.has-hero .nav > a.active,
body.has-hero .nav-item > a.active { color: #000; }
body.has-hero .nav > a.active::after,
body.has-hero .nav-item > a.active::after { background: var(--bronze-bright); }
body.has-hero .nav-toggle span { background: var(--cream); }
/* 滚动后：恢复纸底实底（main.js 切换 .scrolled） */
body.has-hero .site-header.scrolled {
  background: rgba(255, 253, 247, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
body.has-hero .site-header.scrolled .logo { color: var(--forest); }
body.has-hero .site-header.scrolled .logo::after { background: var(--bronze); }
body.has-hero .site-header.scrolled .nav > a,
body.has-hero .site-header.scrolled .nav-item > a { color: var(--ink); }
body.has-hero .site-header.scrolled .nav > a::before,
body.has-hero .site-header.scrolled .nav-item > a::before { color: var(--bronze); }
body.has-hero .site-header.scrolled .nav > a:hover,
body.has-hero .site-header.scrolled .nav-item > a:hover { color: var(--bronze-deep); }
body.has-hero .site-header.scrolled .nav > a.active,
body.has-hero .site-header.scrolled .nav-item > a.active { color: var(--forest); }
body.has-hero .site-header.scrolled .nav > a.active::after,
body.has-hero .site-header.scrolled .nav-item > a.active::after { background: var(--forest); }
body.has-hero .site-header.scrolled .nav-toggle span { background: var(--forest); }

.site-main { min-height: 55vh; }

/* ==========================================================================
   首页轮播 —— 取景框式英雄区
   ========================================================================== */
.banner {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  /* 首页首屏：拉升至 topbar + header 之下 */
  margin-top: calc(-1 * (var(--topbar-h) + var(--header-h)));
  /* PC 首屏按 1920×1080（16:9）画幅显示，超宽屏高度封顶 1080px */
  width: 100%;
  aspect-ratio: 1920 / 1080;
  max-height: 1080px;
}
.banner-track {
  display: flex;
  height: 100%;
  transition: transform .65s var(--ease-out);
  will-change: transform;
}
.banner-track.dragging { transition: none; cursor: grabbing; }
.banner-slide { min-width: 100%; height: 100%; position: relative; }
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
/* 底部渐变：与下方纸白区块自然衔接 */
.banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(100px, 16vw, 240px);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0) 0%, rgba(255, 253, 247, .7) 60%, var(--paper) 100%);
  z-index: 2;
  pointer-events: none;
}
/* 取景框发丝线 */
.banner::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244, 239, 228, .32);
  z-index: 2;
  pointer-events: none;
}
.banner { cursor: grab; }
.banner:active { cursor: grabbing; }
.banner-dots {
  position: absolute;
  bottom: 46px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
}
.banner-dots span {
  display: inline-block;
  width: 30px;
  height: 2px;
  margin: 0 5px;
  background: rgba(38, 37, 31, .22);
  cursor: pointer;
  transition: background .35s ease, width .35s var(--ease-out);
}
.banner-dots span.active { background: var(--bronze); width: 52px; }
/* 首屏加载编排：大图缓缩定格 + 取景框渐现 + 圆点浮现
   （缓缩只作用于第一张：其余幻灯片若是同时播放，切换过去时会露出缩放中的画面） */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroDotsUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.banner-slide:first-child img { animation: heroZoom 2.8s var(--ease-out) both; }
.banner::after { animation: heroFade 1.5s .4s var(--ease-out) both; }
.banner-dots { animation: heroDotsUp .8s 1.05s var(--ease-out) both; }

/* ==========================================================================
   区块骨架 —— 索引数字 + 衬线标题
   ========================================================================== */
.section { padding: clamp(76px, 9vw, 136px) 0; }
.section-head {
  position: relative;
  counter-increment: secno;
  display: flex;
  align-items: flex-end;
  gap: 28px;
  padding-bottom: 26px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
}
/* 巨大章节索引数字 */
.section-head::before {
  content: counter(secno, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 64px;
  line-height: .72;
  color: var(--forest);
  opacity: .18;
  letter-spacing: 0;
  margin-bottom: 3px;
  flex-shrink: 0;
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 68px;
  height: 2px;
  background: var(--bronze);
}
.section-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .12em;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.section-title::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--bronze);
  margin-bottom: 6px;
}
.section-title::after {
  content: attr(data-en);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 4px;
}
.section-head .more { margin-left: auto; }

.more {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .28em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding-bottom: 8px;
  transition: color .3s ease;
}
.more::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--bronze);
  transition: width .35s var(--ease-out);
}
.more:hover { color: var(--bronze-deep); }
.more:hover::after { width: 48px; }

/* ==========================================================================
   关于我们摘要（首页）—— 错位画框
   ========================================================================== */
.about-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.about-summary { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.about-summary .about-media { position: relative; }
/* 铜线错位画框 */
.about-summary .about-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--bronze);
  opacity: .55;
  pointer-events: none;
}
.about-summary .about-media img {
  position: relative;
  width: 100%;
  height: clamp(300px, 32vw, 440px);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-text h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--forest);
  padding-top: 18px;
  margin-bottom: 22px;
  letter-spacing: .12em;
  line-height: 1.5;
}
/* 标题上方铜色 kicker 线 */
.about-text h3::before {
  content: "";
  position: absolute;
  top: 0; left: 1px;
  width: 38px;
  height: 2px;
  background: var(--bronze);
}
.about-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 2.2;
  text-align: justify;
  max-width: 680px;
  margin-bottom: 30px;
}
/* 了解更多：胶囊 CTA（与新闻卡片按钮同语汇） */
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--forest);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.about-link i {
  font-style: normal;
  font-family: var(--font-display);
  transition: transform .3s var(--ease-out);
}
.about-link:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.about-link:hover i { transform: translateX(5px); }

/* ==========================================================================
   产品卡片 —— 直角发丝线 + 悬停浮升
   ========================================================================== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
/* 显现编排：整卡上浮（transform 不参与交错延迟，保证 hover 即时响应），
   透明度按 nth-child 阶梯淡入 */
.grid .card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s var(--ease-out), box-shadow .35s ease, border-color .35s ease;
}
.grid .card.revealed { opacity: 1; transform: none; }
.grid .card:nth-child(3n+2) { transition-delay: .1s, 0s, 0s, 0s; }
.grid .card:nth-child(3n) { transition-delay: .2s, 0s, 0s, 0s; }
.card:hover,
.grid .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(176, 113, 47, .5);
}
.card-img { height: 240px; overflow: hidden; }
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96);
  transition: transform .8s var(--ease-out), filter .6s ease;
}
/* 图片显影：显现时从微放大+低饱和恢复，营造"冲洗照片"感 */
.grid .card.reveal-el .card-img img { transform: scale(1.14); filter: saturate(.5) brightness(1.1); }
.grid .card.revealed .card-img img { transform: scale(1); filter: saturate(.96); }
.card:hover .card-img img,
.grid .card:hover .card-img img { transform: scale(1.07); filter: saturate(1.06); }
.card-body { padding: 24px 26px 28px; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: .06em;
  line-height: 1.5;
  transition: color .3s ease;
}
.card:hover .card-body h3 { color: var(--forest); }
.card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-body .card-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--bronze);
}

/* --- 产品卡片：悬停图层与互动细节 --- */
.product-card { display: flex; flex-direction: column; }
.product-card:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* 「推荐」角标：直角铜牌 */
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 12px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .25em;
  color: #fffdf7;
  background: linear-gradient(135deg, var(--bronze), var(--bronze-deep));
  box-shadow: 0 8px 18px -8px rgba(143, 90, 34, .9);
}

.product-card .card-img { position: relative; height: 250px; }
/* 悬停时的底部渐隐遮罩 */
.product-card .card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 39, 26, 0) 45%, rgba(18, 39, 26, .5) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.product-card:hover .card-img::after { opacity: 1; }
/* 悬停时浮现的方形箭头角标 */
.product-card .card-img::before {
  content: "\2192";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s var(--ease-out);
  pointer-events: none;
}
.product-card:hover .card-img::before { opacity: 1; transform: translateY(0); }

.product-card .card-body { display: flex; flex-direction: column; flex: 1; }
.product-card .card-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .card-body p { min-height: 48px; }

/* 查看详情：发丝线之上的铜色小字 */
.product-card .card-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--bronze);
  transition: color .3s ease;
}
.product-card .card-more::after {
  content: "\2192";
  font-family: var(--font-display);
  transition: transform .3s var(--ease-out);
}
.product-card:hover .card-more { color: var(--bronze-deep); }
.product-card:hover .card-more::after { transform: translateX(6px); }

/* ==========================================================================
   新闻列表 —— 期刊目录式索引行
   ========================================================================== */
.news-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
/* 「置顶」徽标 */
.top {
  font-style: normal;
  font-size: 11px;
  color: #fffdf7;
  background: var(--bronze);
  padding: 3px 8px;
  letter-spacing: .2em;
  flex-shrink: 0;
}

/* ==========================================================================
   首页新闻动态 —— 侧栏分类导航 + 卡片横向轮播
   ========================================================================== */
.news-layout { display: flex; gap: 60px; align-items: stretch; }
.news-side { flex: 0 0 200px; display: flex; flex-direction: column; }
.news-side-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .1em;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.news-side-en {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--bronze);
}
.news-cats { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.news-cats a {
  position: relative;
  display: inline-block;
  padding: 9px 0 9px 28px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: .08em;
  transition: color .25s ease;
}
.news-cats a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: var(--line-strong);
  transition: background .25s ease, width .25s ease;
}
.news-cats a:hover { color: var(--forest); }
.news-cats a:hover::before { background: var(--forest); width: 22px; }
.news-ctrl { margin-top: auto; padding-top: 36px; display: flex; gap: 12px; }
.news-ctrl button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--forest);
  font-size: 17px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.news-ctrl button:hover:not(:disabled) { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.news-ctrl button:disabled { opacity: .32; cursor: default; }

/* 卡片轨道：横向滚动 + 逐卡吸附（首页） */
.news-cards {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* 滚动容器的 overflow 在 padding box 处裁剪，会切掉卡片投影。
     这里用 padding 撑出投影空间，再用等量负 margin 抵消，布局与卡片尺寸不变。 */
  --shadow-room: 40px;
  padding: var(--shadow-room);
  margin: calc(var(--shadow-room) * -1);
  scroll-padding: var(--shadow-room);
}
.news-cards::-webkit-scrollbar { display: none; }
/* 新闻卡片通用（首页轨道 + 列表页网格共用） */
.news-card {
  opacity: 0;
  transform: translateY(40px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 2px 12px rgba(18, 39, 26, .06);
  transition: opacity .8s ease, transform .8s var(--ease-out), box-shadow .35s ease;
}
.news-card.revealed { opacity: 1; transform: none; }
.news-card:nth-child(3n+2) { transition-delay: .1s, 0s, 0s; }
.news-card:nth-child(3n) { transition-delay: .2s, 0s, 0s; }
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -18px rgba(18, 39, 26, .28);
}
/* 首页轨道内的卡片宽度 */
.news-cards .news-card {
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
}
/* ==========================================================================
   新闻列表页 —— 封面缩略图 + 摘要行
   ========================================================================== */
.news-rows { list-style: none; display: flex; flex-direction: column; }
.news-rows li { border-bottom: 1px solid var(--line); }
.news-rows li:first-child { border-top: 1px solid var(--line); }
.news-rows li:nth-child(2n) { transition-delay: .08s; }
.news-rows li:nth-child(3n) { transition-delay: .16s; }
.news-row {
  display: grid;
  grid-template-columns: 260px 1fr 44px;
  align-items: center;
  gap: 36px;
  padding: 28px 6px;
  transition: padding-left .35s var(--ease-out), background .3s ease;
}
.news-row:hover { padding-left: 20px; }
/* 封面缩略图 */
.news-row-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
}
.news-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96);
  transition: transform .7s var(--ease-out), filter .5s ease;
}
.news-row:hover .news-row-thumb img { transform: scale(1.06); filter: saturate(1.06); }
/* 空封面降级：深绿网格底 + 幽灵字 */
.news-row-thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: transparent;
  background-color: var(--forest-deep);
  background-image:
    radial-gradient(320px 160px at 82% 118%, rgba(176, 113, 47, .2), transparent 62%),
    linear-gradient(rgba(244, 239, 228, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 228, .045) 1px, transparent 1px);
  background-size: auto, var(--grid-dark-size), var(--grid-dark-size);
}
.news-row-thumb.is-empty::before {
  content: "News";
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 216, .22);
}
/* 文字区 */
.news-row-body { min-width: 0; }
.news-row-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.news-row-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--forest-soft);
}
.news-row-tag::before { content: ""; width: 14px; height: 1px; background: var(--bronze); }
.news-row-date {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.news-row-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: .05em;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s ease;
}
.news-row:hover .news-row-title { color: var(--forest); }
.news-row-summary {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 行尾箭头 */
.news-row-arrow {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--line-strong);
  text-align: right;
  transition: color .3s ease, transform .35s var(--ease-out);
}
.news-row:hover .news-row-arrow { color: var(--bronze); transform: translateX(6px); }
.news-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--forest-soft);
}
.news-card-tag::before { content: ""; width: 14px; height: 1px; background: var(--bronze); }
.news-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: .04em;
  margin: 12px 0 6px;
  min-height: 58px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s ease;
}
.news-card:hover .news-card-title { color: var(--forest); }
.news-card-date {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.news-card-img {
  margin: 8px 0 22px;
  overflow: hidden;
  border-radius: 6px;
}
.news-card-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--forest);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.news-card-btn i {
  font-style: normal;
  font-family: var(--font-display);
  transition: transform .3s var(--ease-out);
}
.news-card:hover .news-card-btn {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.news-card:hover .news-card-btn i { transform: translateX(5px); }

@media (max-width: 960px) {
  .news-layout { flex-direction: column; gap: 30px; }
  .news-side { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
  .news-side-title { border-bottom: none; padding-bottom: 0; font-size: 28px; }
  .news-cats { flex-direction: row; flex-wrap: wrap; margin-top: 0; gap: 2px 24px; }
  .news-ctrl { margin-top: 0; margin-left: auto; padding-top: 0; }
  .news-cards { --shadow-room: 18px; }
  .news-cards .news-card { flex-basis: calc((100% - 28px) / 2); }
  .news-card-title { min-height: 0; }
  .news-row { grid-template-columns: 200px 1fr 36px; gap: 28px; }
  .news-row-title { font-size: 20px; }
}
@media (max-width: 640px) {
  .news-side-title { font-size: 24px; gap: 5px; }
  .news-side-en { font-size: 11px; letter-spacing: .3em; }
  .news-cats {
    flex-basis: 100%;
    order: 3;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .news-cats::-webkit-scrollbar { display: none; }
  .news-cats a { white-space: nowrap; padding: 8px 0 8px 22px; }
  .news-cats a::before { width: 12px; }
  .news-ctrl button { width: 40px; height: 40px; font-size: 15px; }
  .news-cards .news-card { flex-basis: 100%; padding: 22px; }
  .news-card-title { font-size: 17px; }
  /* 列表行：缩略图置顶堆叠 */
  .news-row { grid-template-columns: 1fr; gap: 16px; padding: 22px 2px; }
  .news-row:hover { padding-left: 2px; }
  .news-row-thumb { max-width: 100%; }
  .news-row-title { font-size: 18px; }
  .news-row-arrow { display: none; }
  .news-row-summary { -webkit-line-clamp: 3; }
}

/* ==========================================================================
   内页英雄横幅 —— 深色网格 + 幽灵英文
   ========================================================================== */
.page-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 88px;
  background-color: var(--forest-deep);
  background-image:
    radial-gradient(1100px 520px at 86% 130%, rgba(176, 113, 47, .18), transparent 62%),
    radial-gradient(820px 420px at 8% -12%, rgba(47, 90, 62, .55), transparent 62%),
    linear-gradient(rgba(244, 239, 228, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 228, .045) 1px, transparent 1px);
  background-size: auto, auto, var(--grid-dark-size), var(--grid-dark-size);
  color: var(--dark-text);
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 700;
  letter-spacing: .42em;
  padding-left: calc(24px + .42em);
  animation: pageBannerIn 1.2s var(--ease-out) both;
}
/* 幽灵描边英文 */
.page-banner::before {
  content: attr(data-en);
  position: absolute;
  right: -2%;
  bottom: -16%;
  z-index: -1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(96px, 17vw, 220px);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 216, .1);
  pointer-events: none;
  animation: ghostIn 1.6s .2s var(--ease-out) both;
}
.page-banner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  width: 56px;
  height: 1px;
  background: var(--bronze-bright);
}
@keyframes pageBannerIn {
  from { opacity: 0; letter-spacing: .72em; }
  to { opacity: 1; letter-spacing: .42em; }
}
@keyframes ghostIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.page { padding-top: 64px; padding-bottom: 104px; }

/* ==========================================================================
   分类筛选
   ========================================================================== */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-tabs a {
  padding: 9px 22px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 13px;
  letter-spacing: .18em;
  transition: all .25s ease;
}
.filter-tabs a:hover {
  border-color: var(--bronze);
  color: var(--bronze-deep);
  transform: translateY(-2px);
}
.filter-tabs a.active {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  box-shadow: 0 12px 26px -12px rgba(31, 61, 43, .6);
}

.empty {
  text-align: center;
  color: var(--muted);
  letter-spacing: .3em;
  padding: 90px 0;
  font-size: 14px;
}
.empty::before { content: "— "; color: var(--bronze); }
.empty::after { content: " —"; color: var(--bronze); }

/* ==========================================================================
   分页
   ========================================================================== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 60px; flex-wrap: wrap; }
.pagination a,
.pagination .current {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 13px;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  transition: all .25s ease;
}
.pagination a:hover {
  border-color: var(--bronze);
  color: var(--bronze-deep);
  transform: translateY(-2px);
}
.pagination .current { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* ==========================================================================
   产品详情
   ========================================================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  background: var(--paper);
  padding: 44px;
  border: 1px solid var(--line);
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}
.product-detail::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 88px; height: 2px;
  background: var(--bronze);
}
.product-gallery { min-width: 0; }
.main-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.thumb-list { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumb-list img {
  width: 86px;
  height: 64px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--line);
  opacity: .82;
  transition: border-color .25s ease, opacity .25s ease, transform .25s ease;
}
.thumb-list img:hover { border-color: var(--bronze); opacity: 1; transform: translateY(-2px); }
.product-info h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: .08em;
  line-height: 1.45;
}
.product-info .meta {
  display: inline-block;
  color: var(--bronze-deep);
  font-size: 12px;
  letter-spacing: .22em;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(176, 113, 47, .45);
}
.product-info .summary { color: var(--muted); margin-bottom: 24px; line-height: 2.05; }
.params { border-top: 1px solid var(--line); padding-top: 22px; }
.params h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--forest);
  letter-spacing: .14em;
}
.params ul { list-style: none; }
.params li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .03em;
}
.params li::before { content: "—"; color: var(--bronze); margin-right: 12px; }

.detail-content {
  margin: 40px auto 0;
  max-width: 1320px;
  background: var(--paper);
  padding: 48px;
  border: 1px solid var(--line);
}
.detail-content h2 {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.detail-content h2::before { content: ""; width: 34px; height: 1px; background: var(--bronze); }

/* ==========================================================================
   关于我们（内页）
   ========================================================================== */
.about-block { position: relative; margin-bottom: 96px; counter-increment: secno; }
/* 巨大幽灵索引数字 */
.about-block::before {
  content: counter(secno, decimal-leading-zero);
  position: absolute;
  top: -14px;
  right: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 120px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 113, 47, .28);
  pointer-events: none;
  z-index: 0;
}
.about-block > * { position: relative; z-index: 1; }
.about-block .section-title { margin-bottom: 36px; }
.about-profile { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: start; }
.about-profile .rich { max-width: 860px; }
.about-profile img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 110px;
}
.timeline { position: relative; padding-left: 44px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
/* 菱形节点 */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 12px;
  width: 9px;
  height: 9px;
  background: var(--bronze);
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px var(--cream);
}
.timeline-item:nth-child(2) { transition-delay: .08s; }
.timeline-item:nth-child(3) { transition-delay: .16s; }
.timeline-item:nth-child(4) { transition-delay: .24s; }
.timeline-item:nth-child(n+5) { transition-delay: .3s; }
.timeline-year {
  font-family: var(--font-display);
  color: var(--bronze);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: .04em;
}
.timeline-content h3 {
  font-family: var(--font-display);
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}
.timeline-content .rich { max-width: 780px; }
.timeline-media { margin-top: 14px; }
.timeline-media img {
  display: block;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.honor-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.honor-card .card-img { height: 200px; }
.honor-card .card-body h3 {
  font-size: 16px;
  text-align: center;
  letter-spacing: .12em;
  margin-bottom: 0;
}
.honor-card .card-body { padding: 18px 16px 22px; }

/* 图片点击放大查看 */
.zoomable { cursor: zoom-in; }
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  background: rgba(18, 39, 26, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.img-lightbox.show { display: flex; }
.img-lightbox img {
  max-width: 100%;
  max-height: 100%;
  background: var(--paper);
  border: 1px solid rgba(244, 239, 228, .2);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7);
  object-fit: contain;
}
.img-lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(244, 239, 228, .3);
  background: rgba(244, 239, 228, .08);
  color: var(--dark-text);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.img-lightbox-close:hover { background: rgba(244, 239, 228, .2); border-color: var(--bronze-bright); }

/* 公司位置 */
.company-map { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 28px; }
.company-map-canvas {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.company-map-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px;
  background: var(--forest-deep);
  background-image: var(--grid-dark);
  background-size: var(--grid-dark-size);
  color: var(--dark-text);
  position: relative;
}
.company-map-side::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--bronze-bright);
}
.company-map-side h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--dark-text);
}
.company-map-addr { color: var(--dark-muted); line-height: 2; font-size: 14px; }

/* ==========================================================================
   文章（新闻详情）—— 期刊内页排版
   ========================================================================== */
.article {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  padding: 60px 64px;
  border: 1px solid var(--line);
  position: relative;
}
.article::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 88px; height: 2px;
  background: var(--bronze);
}
.article-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: .06em;
  line-height: 1.55;
}
.article-meta {
  display: flex;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .06em;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.article-meta span + span::before {
  content: "·";
  color: var(--bronze);
  margin: 0 18px;
}
.article-nav {
  max-width: 880px;
  margin: 28px auto 0;
  background: var(--paper);
  padding: 22px 30px;
  font-size: 14px;
  border: 1px solid var(--line);
}
.article-nav a { color: var(--bronze-deep); border-bottom: 1px solid rgba(176, 113, 47, .35); transition: border-color .25s, color .25s; }
.article-nav a:hover { color: var(--forest); border-color: var(--forest); }
.article-nav p { margin: 8px 0; }
.article-nav p::before { content: "—"; color: var(--line-strong); margin-right: 10px; }

/* ==========================================================================
   富文本内容
   ========================================================================== */
.rich { color: var(--ink); font-size: 15px; line-height: 2.1; text-align: justify; }
.rich img { max-width: 100%; height: auto; margin: 20px 0; border: 1px solid var(--line); }
.rich p { margin: 16px 0; }
.rich h2, .rich h3 {
  font-family: var(--font-display);
  color: var(--forest);
  letter-spacing: .1em;
  margin: 30px 0 14px;
  line-height: 1.5;
}
.rich h2 { font-size: 24px; }
.rich h3 { font-size: 20px; }
.rich ul, .rich ol { padding-left: 24px; margin: 14px 0; }
.rich li { margin: 6px 0; }
.rich blockquote {
  border-left: 2px solid var(--bronze);
  padding: 14px 24px;
  color: var(--muted);
  background: rgba(176, 113, 47, .05);
  margin: 20px 0;
  font-size: 14px;
}
.rich a { color: var(--bronze-deep); border-bottom: 1px solid rgba(176, 113, 47, .4); }
.rich strong { color: var(--forest); }

/* ==========================================================================
   页脚 —— 深色网格底
   ========================================================================== */
.site-footer {
  background-color: var(--forest-deep);
  background-image:
    radial-gradient(900px 400px at 90% 110%, rgba(176, 113, 47, .12), transparent 60%),
    linear-gradient(rgba(244, 239, 228, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 228, .045) 1px, transparent 1px);
  background-size: auto, var(--grid-dark-size), var(--grid-dark-size);
  color: var(--dark-muted);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(217, 160, 91, .55);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.2fr;
  gap: 0;
  padding: 76px 0 56px;
}
/* 品牌栏右侧留白 */
.footer-brand { padding-right: clamp(36px, 4vw, 64px); }
/* 栏间发丝竖线：期刊分栏感 */
.footer-col + .footer-col {
  border-left: 1px solid rgba(244, 239, 228, .08);
  padding-left: clamp(36px, 4vw, 64px);
}
.footer-col + .footer-col:not(:last-child) { padding-right: clamp(28px, 3vw, 44px); }
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: .16em;
  margin-bottom: 18px;
}
.footer-logo::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--bronze-bright);
  margin-top: 12px;
}
.footer-desc { font-size: 13px; line-height: 2; max-width: 360px; }
.footer-qrs { display: flex; gap: 20px; margin-top: 26px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 6px;
  background: #fff;
}
.footer-qr-item span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(236, 231, 216, .65);
}
.footer-col h4 {
  color: var(--dark-text);
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: .34em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col h4::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--bronze-bright);
  transform: rotate(45deg);
}
/* 联系信息：铜色菱形引导符（呼应顶栏语汇） */
.footer-col:last-child p {
  position: relative;
  font-size: 13px;
  margin: 0;
  padding: 10px 0 10px 18px;
  letter-spacing: .04em;
}
.footer-col:last-child p + p { border-top: 1px dashed rgba(244, 239, 228, .08); }
.footer-col:last-child p::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1.35em;
  width: 5px;
  height: 5px;
  background: var(--bronze-bright);
  opacity: .65;
  transform: rotate(45deg);
}
/* 快速导航：目录式行 + 发丝分隔 */
.footer-links { display: flex; flex-direction: column; }
.footer-links a {
  font-size: 13px;
  letter-spacing: .08em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 239, 228, .08);
  transition: color .25s ease, padding-left .25s ease;
}
.footer-links a:first-child { border-top: 1px solid rgba(244, 239, 228, .08); }
.footer-links a:hover { color: var(--bronze-bright); padding-left: 8px; }
.footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(156, 171, 151, .75);
  border-top: 1px solid rgba(244, 239, 228, .08);
}
.footer-copy::before,
.footer-copy::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(217, 160, 91, .35);
}

/* ==========================================================================
   滚动显现动效
   ========================================================================== */
.reveal-el {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s var(--ease-out);
}
.reveal-el.revealed { opacity: 1; transform: none; }

/* ---- 新闻卡：保留 box-shadow 过渡（.reveal-el 的 transition 声明会覆盖它） ---- */
.news-card.reveal-el {
  transition: opacity .8s ease, transform .8s var(--ease-out), box-shadow .35s ease;
}
/* 未显现时的起始位移（显现后由 .reveal-el.revealed 接管为 none） */
.news-card.reveal-el:not(.revealed) { transform: translateY(40px); }

/* ---- 编排增强：区块头子件分步入场 ---- */
.section-head.reveal-el { opacity: 1; transform: none; }
.section-head.reveal-el::before,
.section-head.reveal-el .section-title,
.section-head.reveal-el .section-title::after,
.section-head.reveal-el .more {
  opacity: 0;
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.section-head.reveal-el::before { transform: translateX(-32px); }
.section-head.reveal-el .section-title { transform: translateY(26px); }
.section-head.reveal-el .section-title::after { transform: translateX(-16px); opacity: 0; }
.section-head.reveal-el .more { transform: translateY(14px); }
/* 底部铜线：从左向右展开 */
.section-head.reveal-el::after { transform: scaleX(0); transform-origin: left; transition: transform .9s .3s var(--ease-out); }
/* 已显现终态 */
.section-head.revealed::before { opacity: .18; transform: none; }
.section-head.revealed .section-title { opacity: 1; transform: none; transition-delay: .1s, .1s; }
.section-head.revealed .section-title::after { opacity: 1; transform: none; transition-delay: .26s, .26s; }
.section-head.revealed .more { opacity: 1; transform: none; transition-delay: .2s, .2s; }
.section-head.revealed::after { transform: scaleX(1); }

/* ---- 关于区块：图片显影 + 文字交错 ---- */
.about-summary .about-media img {
  transition: clip-path 1s var(--ease-out), opacity .9s ease, box-shadow .4s ease;
}
.about-summary .about-media.reveal-el img { clip-path: inset(10% 7% 10% 7%); opacity: .4; }
.about-summary .about-media.revealed img { clip-path: inset(0 0 0 0); opacity: 1; }
.about-summary .about-media.reveal-el::before { opacity: 0; transform: translate(16px, 16px); }
.about-summary .about-media::before { transition: opacity .8s .3s ease, transform .8s .3s var(--ease-out); }
.about-summary .about-media.revealed::before { opacity: .55; transform: none; }

.about-summary .about-text.reveal-el { opacity: 1; transform: none; }
.about-summary .about-text.reveal-el > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.about-summary .about-text.reveal-el > h3 { transition-delay: .06s, .06s; }
.about-summary .about-text.reveal-el > p { transition-delay: .2s, .2s; }
.about-summary .about-text.reveal-el > .about-link { transition-delay: .36s, .36s; }
.about-summary .about-text.revealed > * { opacity: 1; transform: none; }

/* ---- 新闻侧栏：横向滑入 + 子件递进 ---- */
.news-side.reveal-el { opacity: 1; transform: none; }
.news-side.reveal-el .news-side-title,
.news-side.reveal-el .news-cats,
.news-side.reveal-el .news-ctrl {
  opacity: 0;
  transform: translateX(-26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.news-side.reveal-el .news-cats { transition-delay: .14s, .14s; }
.news-side.reveal-el .news-ctrl { transition-delay: .28s, .28s; }
.news-side.revealed .news-side-title,
.news-side.revealed .news-cats,
.news-side.revealed .news-ctrl { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .section-head::before { font-size: 52px; }
}

@media (max-width: 960px) {
  .container { padding: 0 22px; }
  .section { padding: 76px 0; }
  .section-head { gap: 20px; margin-bottom: 42px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .about-summary, .about-profile, .product-detail, .company-map { grid-template-columns: 1fr; }
  .about-profile img { position: static; }
  /* 页脚：品牌整行 + 导航/联系两栏并排 */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 0; padding: 56px 0 44px; }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(244, 239, 228, .08);
  }
  .footer-col + .footer-col { border-left: none; padding-left: 0; }
  .footer-col:last-child { padding-left: 36px; border-left: 1px solid rgba(244, 239, 228, .08); }
  .about-block::before { font-size: 90px; top: -6px; }
  .article { padding: 44px 36px; }
  .article-title { font-size: 30px; }
  .product-detail { padding: 32px; gap: 36px; }
  .detail-content { padding: 36px; }
  .page-banner { min-height: 260px; }
}

/* ---- 移动端全屏抽屉导航 ---- */
@media (max-width: 800px) {
  :root { --header-h: 66px; }
  /* backdrop-filter 会为 fixed 子元素创建包含块，抽屉前需移除 */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  /* 首页 scrolled 态恢复 blur 后同样会复发包含块问题，移动端一律禁用 */
  body.has-hero .site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--paper);
  }
  /* 移动端 banner 不再叠在头部之下：头部统一实底，避免矮 banner 与透明头部互相干扰 */
  body.has-hero .site-header {
    background: var(--paper);
    border-bottom-color: var(--line);
  }
  body.has-hero .nav-toggle span { background: var(--forest); }
  /* 移动端抽屉为深色底，一级导航恢复浅色文字 */
  body.has-hero .nav > a,
  body.has-hero .nav-item > a { color: var(--dark-text); }
  body.has-hero .nav > a:hover,
  body.has-hero .nav-item > a:hover { color: var(--dark-text); }
  body.has-hero .nav > a.active,
  body.has-hero .nav-item > a.active { color: var(--bronze-bright); }

  /* 移动端 banner：取消上提与 16:9 画幅，按图片原始比例完整展示，避免 cover 裁切 */
  .banner { margin-top: 0; aspect-ratio: auto; max-height: none; }
  .banner-track { height: auto; }
  .banner-slide { height: auto; }
  .banner-slide img {
    height: auto;
    object-fit: contain;
  }
  .header-inner { height: 66px; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 120px 34px 44px;
    overflow-y: auto;
    background-color: var(--forest-deep);
    background-image:
      radial-gradient(700px 380px at 88% 108%, rgba(176, 113, 47, .16), transparent 62%),
      linear-gradient(rgba(244, 239, 228, .045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(244, 239, 228, .045) 1px, transparent 1px);
    background-size: auto, var(--grid-dark-size), var(--grid-dark-size);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  body:has(.nav.open) { overflow: hidden; }

  .nav > a, .nav-item {
    display: block;
    border-bottom: 1px solid rgba(244, 239, 228, .1);
    opacity: 0;
    transform: translateX(28px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  }
  .nav.open > a, .nav.open .nav-item { opacity: 1; transform: none; }
  .nav.open > *:nth-child(1) { transition-delay: .06s; }
  .nav.open > *:nth-child(2) { transition-delay: .12s; }
  .nav.open > *:nth-child(3) { transition-delay: .18s; }
  .nav.open > *:nth-child(4) { transition-delay: .24s; }

  .nav > a, .nav-item > a {
    display: block;
    padding: 20px 0;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--dark-text);
  }
  .nav > a::before, .nav-item > a::before {
    font-size: 13px;
    color: var(--bronze-bright);
    vertical-align: 6px;
    margin-right: 10px;
  }
  .nav > a.active, .nav-item > a.active { color: var(--bronze-bright); }
  .nav a::after { display: none; }

  /* 二级分类：抽屉内可折叠（默认收起，点击箭头展开） */
  .nav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .nav-item > a { flex: 1 1 auto; }
  .nav-sub-toggle {
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: flex-end;
    width: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-muted);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-sub-toggle::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .3s var(--ease-out);
  }
  .nav-item.open .nav-sub-toggle { color: var(--bronze-bright); }
  .nav-item.open .nav-sub-toggle::before { transform: rotate(-135deg) translate(-2px, -2px); }

  .nav-drop {
    flex: 1 1 100%;
    position: static;
    right: auto;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height .4s var(--ease-out), padding .4s var(--ease-out);
  }
  .nav-item.open .nav-drop {
    max-height: 360px;
    padding-bottom: 12px;
  }
  .nav-drop::before, .nav-drop::after { display: none; }
  .nav .nav-drop a {
    padding: 11px 0 11px 26px;
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: .1em;
    color: var(--dark-muted);
    border-bottom: 1px dashed rgba(244, 239, 228, .08);
  }
  .nav .nav-drop a::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 1px;
    background: var(--bronze-bright);
    margin-right: 10px;
    vertical-align: middle;
  }
  .nav .nav-drop a:hover { background: none; color: var(--bronze-bright); padding-left: 26px; }
  .nav .nav-drop a.active { color: var(--bronze-bright); }

  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  :root { --topbar-h: 32px; }
  .topbar-slogan { display: none; }
  .topbar-item + .topbar-item { margin-left: 14px; }

  .section { padding: 56px 0; }
  .section-head { flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 34px; }
  .section-head::before { font-size: 40px; }
  .section-head .more { margin-left: 0; width: 100%; order: 3; padding-bottom: 0; }
  .section-title { font-size: 26px; }
  .section-title::after { font-size: 12px; letter-spacing: .3em; }

  .grid { grid-template-columns: 1fr; gap: 22px; }
  .honor-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-img, .product-card .card-img { height: 210px; }

  .about-summary { gap: 36px; }
  .about-summary .about-media::before { inset: 14px -14px -14px 14px; }
  .about-summary .about-media img { height: 240px; }
  .about-text h3 { font-size: 22px; }

  .banner::after { inset: 12px; }
  .banner-dots { bottom: 34px; }

  .page { padding-top: 44px; padding-bottom: 72px; }
  .page-banner { font-size: 27px; letter-spacing: .3em; padding-left: calc(24px + .3em); min-height: 220px; }
  .page-banner::after { bottom: 44px; width: 40px; }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 34px;
    padding-bottom: 4px;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tabs a { flex-shrink: 0; padding: 8px 18px; }

  .product-detail { padding: 20px; gap: 26px; }
  .main-image img { height: 260px; }
  .thumb-list img { width: 68px; height: 52px; }
  .product-info h1 { font-size: 27px; }
  .detail-content { padding: 26px 20px; }

  .about-block { margin-bottom: 64px; }
  .about-block::before { font-size: 64px; }
  .timeline { padding-left: 30px; }
  .timeline-item::before { left: -34px; width: 7px; height: 7px; box-shadow: 0 0 0 4px var(--cream); }
  .timeline-year { font-size: 25px; }
  .about-profile img { height: 220px; }

  .article { padding: 30px 22px; }
  .article-title { font-size: 25px; }
  .article-meta { gap: 4px 0; }
  .article-nav { padding: 18px 20px; }

  .company-map-canvas { height: 300px; }
  .company-map-side { padding: 26px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
  .footer-brand { grid-column: auto; padding-bottom: 0; border-bottom: none; }
  .footer-col:last-child { padding-left: 0; border-left: none; }
  .footer-logo { font-size: 24px; }
}

@media (max-width: 480px) {
  /* 用左右内边距的长写法，避免 padding 简写把 .footer-inner 的上下留白清零 */
  .container { padding-left: 18px; padding-right: 18px; }
  .page-banner { font-size: 23px; letter-spacing: .24em; padding-left: calc(20px + .24em); }
  .logo { font-size: 22px; }
  .grid { gap: 18px; }
  .card-body { padding: 20px 20px 24px; }
  /* 版权条补左右内边距，避免装饰短线贴到屏幕边缘 */
  .footer-copy { padding: 20px 18px; }
}

/* ==========================================================================
   减少动态偏好
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal-el,
  .pf-head.reveal-el,
  .pf-card.reveal-el,
  .pf-problem.reveal-el,
  .pf-scene.reveal-el,
  .pf-step.reveal-el { opacity: 1; transform: none; }
  .grid .card { opacity: 1; }
}

/* ==========================================================================
   小程序平台专栏
   ========================================================================== */
.platform-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(70px, 9vw, 118px) 0 clamp(56px, 7vw, 84px);
  background-color: var(--forest-deep);
  background-image:
    radial-gradient(980px 500px at 88% 128%, rgba(176, 113, 47, .2), transparent 62%),
    radial-gradient(760px 420px at 4% -12%, rgba(47, 90, 62, .55), transparent 62%),
    var(--grid-dark);
  background-size: auto, auto, var(--grid-dark-size);
  color: var(--dark-text);
}
.platform-hero::before {
  content: "AGRI-MALL";
  position: absolute;
  right: -1%;
  bottom: -12%;
  z-index: -1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(90px, 16vw, 210px);
  letter-spacing: .04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 216, .09);
  pointer-events: none;
}
.pf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--bronze-bright);
}
.pf-eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--bronze-bright); }
.pf-brand {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.15;
  color: var(--cream);
}
.pf-slogan {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: .1em;
  color: var(--bronze-bright);
}
.pf-intro {
  max-width: 780px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--dark-muted);
  text-align: justify;
}
.pf-intro p { margin: 0 0 10px; }
.pf-intro strong { color: var(--cream); font-weight: 600; }
.pf-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 30px;
  border: 1px solid var(--bronze);
  background: var(--bronze);
  color: #fffdf7;
  font-size: 13px;
  letter-spacing: .22em;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease-out);
}
.pf-btn i { font-style: normal; transition: transform .3s var(--ease-out); }
.pf-btn:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); transform: translateY(-2px); }
.pf-btn:hover i { transform: translateX(4px); }
.pf-btn-ghost { background: transparent; border-color: rgba(236, 231, 216, .32); color: var(--cream); }
.pf-btn-ghost:hover { background: rgba(236, 231, 216, .1); border-color: var(--bronze-bright); }
.pf-qr {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 24px 12px 12px;
  background: rgba(255, 253, 247, .06);
  border: 1px solid rgba(236, 231, 216, .2);
}
.pf-qr img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 6px;
  background: #fff;
}
.pf-qr b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .12em;
  color: var(--cream);
}
.pf-qr span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--dark-muted);
}
.pf-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 54px;
}
.pf-highlight { padding-top: 18px; border-top: 1px solid rgba(236, 231, 216, .18); }
.pf-highlight b {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--cream);
}
.pf-highlight span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--dark-muted);
}

.pf-section { padding: clamp(64px, 8vw, 104px) 0; }
.pf-section-paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pf-head {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  padding-bottom: 24px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line-strong);
}
.pf-head-no {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 600;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 113, 47, .45);
}
.pf-head h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  color: var(--ink);
}
.pf-head p {
  margin-left: auto;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  text-align: right;
}

.pf-problems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pf-problem {
  position: relative;
  padding: 36px 30px 40px;
  background: var(--cream);
  transition: background .3s ease;
}
.pf-section-paper .pf-problem { background: var(--paper); }
.pf-problem:hover { background: var(--paper); }
.pf-problem-no {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 113, 47, .5);
}
.pf-problem h3 {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .14em;
  color: var(--forest);
}
.pf-problem p { font-size: 13px; line-height: 1.9; color: var(--muted); }

.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pf-card {
  position: relative;
  padding: 34px 30px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s ease, border-color .3s ease;
}
.pf-card::before {
  content: attr(data-no);
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 113, 47, .3);
  pointer-events: none;
}
.pf-card:hover,
.pf-card.revealed:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(176, 113, 47, .5);
}
.pf-card-media {
  height: 190px;
  margin: -34px -30px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pf-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.pf-card:hover .pf-card-media img { transform: scale(1.05); }
.pf-card-tag {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(176, 113, 47, .42);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--bronze-deep);
}
.pf-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--ink);
}
.pf-card p { font-size: 13.5px; line-height: 1.95; color: var(--muted); }

.pf-scenes { border-top: 1px solid var(--line); }
.pf-scene {
  display: grid;
  grid-template-columns: 78px minmax(0, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 30px 6px;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, padding .35s var(--ease-out);
}
.pf-scene:hover { padding-left: 18px; background: var(--paper); }
.pf-scene-no {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 113, 47, .5);
}
.pf-scene h3 {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .1em;
  line-height: 1.5;
  color: var(--forest);
}
.pf-scene p { max-width: 760px; font-size: 13.5px; line-height: 1.95; color: var(--muted); }

.pf-cats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pf-cats li {
  min-width: 150px;
  padding: 20px 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .18em;
  text-align: center;
  color: var(--forest);
  transition: border-color .3s ease, color .3s ease, transform .3s var(--ease-out);
}
.pf-cats li:hover { border-color: var(--bronze); color: var(--bronze-deep); transform: translateY(-3px); }

.pf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.pf-step { padding-top: 22px; border-top: 2px solid var(--line-strong); }
.pf-step-no {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--bronze);
}
.pf-step h3 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .1em;
  color: var(--ink);
}
.pf-step p { font-size: 13px; line-height: 1.9; color: var(--muted); }

.pf-cta {
  padding: clamp(56px, 7vw, 84px) 0;
  background-color: var(--forest);
  background-image: radial-gradient(800px 360px at 90% 120%, rgba(217, 160, 91, .18), transparent 60%);
  color: var(--cream);
}
.pf-cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 34px; }
.pf-cta-kicker {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: .34em;
  color: var(--bronze-bright);
}
.pf-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: .1em;
}
.pf-cta p { margin-top: 12px; font-size: 12px; letter-spacing: .18em; color: var(--dark-muted); }
.pf-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 入场动效 */
.pf-head.reveal-el,
.pf-card.reveal-el,
.pf-problem.reveal-el,
.pf-scene.reveal-el,
.pf-step.reveal-el {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s var(--ease-out), background .3s ease,
    box-shadow .4s ease, border-color .3s ease, padding .35s var(--ease-out);
}
.pf-head.revealed,
.pf-card.revealed,
.pf-problem.revealed,
.pf-scene.revealed,
.pf-step.revealed { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .pf-highlights { grid-template-columns: repeat(2, 1fr); }
  .pf-problems { grid-template-columns: repeat(2, 1fr); }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .pf-head { flex-wrap: wrap; gap: 12px 20px; }
  .pf-head p { width: 100%; max-width: none; margin-left: 0; text-align: left; }
  .pf-scene { grid-template-columns: 56px minmax(0, 1fr); gap: 8px 20px; }
  .pf-scene p { grid-column: 2; }
}

@media (max-width: 640px) {
  .platform-hero { padding: 56px 0 46px; }
  .pf-highlights { grid-template-columns: 1fr; gap: 18px; margin-top: 38px; }
  .pf-problems,
  .pf-grid,
  .pf-steps { grid-template-columns: 1fr; }
  .pf-scene { grid-template-columns: 44px minmax(0, 1fr); padding: 24px 2px; }
  .pf-scene:hover { padding-left: 2px; }
  .pf-cats li { flex: 1 1 40%; min-width: 0; padding: 16px 12px; font-size: 17px; }
  .pf-cta-inner { flex-direction: column; align-items: flex-start; }
}
