/* ==========================================================================
   坤土之精 · 全站共享样式系统
   适配 WordPress + Astra 主题 + Elementor 生态
   配色 / 间距 / 字体 统一由 CSS 变量管理，便于后续维护
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS 变量（设计令牌）
   -------------------------------------------------------------------------- */
:root {
  /* 配色体系 */
  --color-primary: #6B4423;          /* 主色 · 深咖 */
  --color-primary-dark: #4F311A;     /* 深咖加深 */
  --color-accent: #C9A96E;           /* 辅助色 · 土金 */
  --color-accent-light: #E3D3B0;     /* 土金浅调 */
  --color-green: #4A7C59;            /* 点缀色 · 草本绿 */
  --color-bg: #FAF7F2;               /* 背景 · 米白 */
  --color-bg-alt: #F3EDE3;           /* 背景 · 米白加深 */
  --color-text: #333333;             /* 正文 · 深灰 */
  --color-text-light: #666666;       /* 辅助 · 浅灰 */
  --color-white: #ffffff;

  /* 字体规范 */
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  /* 书法字体：仅品牌名使用，生产环境建议加载商用书法 Web 字体 */
  --font-calligraphy: "STXingkai", "Xingkai SC", "KaiTi", "STKaiti", "楷体", var(--font-serif);

  /* 布局 */
  --container: 1200px;
  --section-pad: 96px;
  --section-pad-md: 64px;
  --radius: 4px;

  /* 动效 */
  --ease: cubic-bezier(.25, .8, .25, 1);
  --transition: .35s var(--ease);
  --shadow-sm: 0 2px 12px rgba(107, 68, 35, .08);
  --shadow-md: 0 14px 40px rgba(107, 68, 35, .14);
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.3; color: var(--color-primary); }

/* --------------------------------------------------------------------------
   3. 通用布局工具
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: var(--section-pad) 0; position: relative; }
.section--alt { background: var(--color-bg-alt); }

/* 板块统一头部 */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head__en {
  display: inline-block; font-size: 12px; letter-spacing: 6px; color: var(--color-accent);
  text-transform: uppercase; margin-bottom: 12px;
}
.section-head__title { font-size: 36px; letter-spacing: 4px; margin-bottom: 16px; }
.section-head__line { width: 48px; height: 2px; background: var(--color-accent); margin: 0 auto 20px; position: relative; }
.section-head__line::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; background: var(--color-accent); transform: rotate(45deg);
}
.section-head__desc { color: var(--color-text-light); font-size: 15px; }

/* --------------------------------------------------------------------------
   4. 顶部导航 Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  padding: 12px 0; background: rgba(250, 247, 242, .95);
  backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 40px; height: 40px; border: 1px solid var(--color-accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-calligraphy); font-size: 20px; color: var(--color-accent);
}
.brand__name { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--color-primary); letter-spacing: 2px; }
.brand__en { font-size: 10px; letter-spacing: 2px; color: var(--color-text-light); }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a {
  position: relative; font-size: 15px; color: var(--color-text);
  padding: 4px 0; transition: color var(--transition);
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--color-accent); transition: width var(--transition);
}
.nav-menu a:hover, .nav-menu a.is-active { color: var(--color-primary); }
.nav-menu a:hover::after, .nav-menu a.is-active::after { width: 100%; }

.nav-toggle { display: none; width: 34px; height: 26px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--color-primary);
  transition: var(--transition);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.is-open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. 首屏 Hero（三层结构）
   -------------------------------------------------------------------------- */
.hero {
  position: relative; height: 100vh; min-height: 620px; overflow: hidden;
  background: #2c241a; /* 图片加载前兜底色 */
}

/* —— 背景层（慢动效） —— */
.hero-bg { position: absolute; inset: 0; will-change: transform; }
.hero-bg-image {
  /* 模拟实景：九华山山林+黄精种植基地（本地预览用 SVG，正式替换见 docs/AI配图清单.md） */
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(44,36,26,.22) 0%, rgba(44,36,26,0) 42%, rgba(44,36,26,.5) 100%),
    url("../img/hero-bg.svg") center / cover no-repeat;
  filter: saturate(.78) brightness(.98);
  animation: heroBgIn 1.4s ease forwards;
}
@keyframes heroBgIn { from { opacity: 0; } to { opacity: 1; } }

/* 云雾粒子（Canvas 渲染，数据见 main.js FOG_LAYERS） */
.hero-fog-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}

/* 晨光暖金光晕（呼吸明暗，8s 周期） */
.hero-glow {
  position: absolute; left: 50%; bottom: -8%; width: 70vw; height: 46vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 50%, rgba(201,169,110,.5) 0%, rgba(201,169,110,0) 70%);
  animation: glowBreathe 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowBreathe {
  0%, 100% { opacity: .4; }
  50% { opacity: .95; }
}

/* —— 装饰层（中速 · 轻交互） —— */
.hero-decor { position: absolute; inset: 0; pointer-events: none; will-change: transform, opacity; transition: opacity .2s linear; }
.decor-line {
  position: absolute; top: 50%; left: 8%; width: 30%; height: 1px;
  background: linear-gradient(90deg, rgba(201,169,110,.5), rgba(201,169,110,0));
  transform: translateY(-50%);
}
.decor-line--right {
  left: auto; right: 8%;
  background: linear-gradient(90deg, rgba(201,169,110,0), rgba(201,169,110,.5));
}
.decor-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 12px rgba(201,169,110,.9); animation: dotFloat 10s ease-in-out infinite; }
.decor-dot:nth-child(2) { top: 30%; left: 18%; animation-delay: -2s; }
.decor-dot:nth-child(3) { top: 66%; left: 30%; width: 4px; height: 4px; animation-delay: -5s; }
.decor-dot:nth-child(4) { top: 24%; right: 22%; animation-delay: -7s; }
.decor-dot:nth-child(5) { top: 70%; right: 16%; width: 5px; height: 5px; animation-delay: -3s; }
.decor-dot:nth-child(6) { top: 46%; right: 34%; width: 3px; height: 3px; animation-delay: -8s; }
@keyframes dotFloat {
  0%, 100% { transform: translate(0, 0); opacity: .5; }
  25% { transform: translate(8px, -14px); opacity: 1; }
  50% { transform: translate(-6px, -6px); opacity: .7; }
  75% { transform: translate(10px, 8px); opacity: .9; }
}

/* 水墨晕染边角 */
.decor-ink { position: absolute; width: 260px; height: 260px; opacity: .35; background: radial-gradient(circle at 30% 30%, rgba(107,68,35,.35), transparent 65%); }
.decor-ink--tl { top: -40px; left: -40px; }
.decor-ink--br { bottom: -40px; right: -40px; background: radial-gradient(circle at 70% 70%, rgba(107,68,35,.35), transparent 65%); }

/* —— 内容层（有序入场） —— */
.hero-content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 24px; color: var(--color-white);
}
.hero-title { width: min(620px, 88vw); margin: 0 auto; }
.hero-title svg { width: 100%; height: auto; display: block; }
.hero-title text { font-family: var(--font-calligraphy); font-weight: 700; }

.hero-title-stroke {
  fill: none; stroke: var(--color-accent-light); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--title-len, 1800);
  stroke-dashoffset: var(--title-len, 1800);
  animation: titleWrite 1.8s ease forwards;
}
@keyframes titleWrite { to { stroke-dashoffset: 0; } }

.hero-title-fill {
  fill: var(--color-accent-light); opacity: 0;
  animation: titleFill .6s ease 1.8s forwards, titleGlow 3.4s ease-in-out 2.4s infinite;
}
@keyframes titleFill { to { opacity: 1; } }
/* 书写完成后呼吸光效（2.4s 起循环） */
@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(201,169,110,0)); }
  50% { filter: drop-shadow(0 0 22px rgba(201,169,110,.75)); }
}

.hero-sub { margin-top: 24px; font-size: 15px; letter-spacing: 6px; color: rgba(255,255,255,.88); opacity: 0; animation: fadeUp .8s ease 2.6s forwards; }
.hero-slogan { margin-top: 16px; font-family: var(--font-serif); font-size: 20px; letter-spacing: 8px; color: rgba(255,255,255,.92); opacity: 0; animation: fadeUp .8s ease 2.8s forwards; }
.hero-slogan em { font-style: normal; color: var(--color-accent); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* 双 CTA */
.hero-cta { margin-top: 44px; display: flex; gap: 20px; opacity: 0; animation: fadeUp .8s ease 3.0s forwards; }

/* —— 按钮 —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; padding: 14px 34px; font-size: 15px; letter-spacing: 3px;
  position: relative; transition: transform var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn--solid {
  background: var(--color-primary); color: var(--color-white);
  border: 1px solid var(--color-primary);
}
.btn--solid::before {
  content: ""; position: absolute; inset: -1px; border: 1px solid var(--color-accent);
  opacity: 0; transition: inset var(--transition), opacity var(--transition);
}
.btn--solid:hover {
  background: var(--color-accent); color: var(--color-primary-dark);
  transform: scale(1.03); box-shadow: var(--shadow-md);
}
.btn--solid:hover::before { inset: 6px; opacity: .6; }

.btn--outline {
  background: transparent; color: var(--color-white);
  border: 1px solid rgba(255,255,255,.7);
}
.btn--outline::before {
  content: ""; position: absolute; inset: -1px; border: 1px solid var(--color-accent);
  opacity: 0; transition: inset var(--transition), opacity var(--transition);
}
.btn--outline:hover {
  border-color: var(--color-accent); color: var(--color-accent);
  transform: scale(1.03);
}
.btn--outline:hover::before { inset: 5px; opacity: .5; }

/* 滚动引导箭头 */
.hero-scroll { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 3; }
.hero-scroll__arrow {
  display: block; width: 22px; height: 22px; border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent); transform: rotate(45deg);
  animation: arrowBounce 2s ease-in-out infinite; cursor: pointer;
}
@keyframes arrowBounce { 0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .5; } 50% { transform: rotate(45deg) translate(6px, 6px); opacity: 1; } }

/* --------------------------------------------------------------------------
   6. 滚动揭示动画（通用）
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

/* --------------------------------------------------------------------------
   7. 企业概览 · 数据滚动
   -------------------------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 40px 16px; background: var(--color-white); box-shadow: var(--shadow-sm); }
.stat-card__num { font-family: var(--font-serif); font-size: 46px; font-weight: 700; color: var(--color-primary); line-height: 1.2; }
.stat-card__num span { font-size: 22px; color: var(--color-accent); margin-left: 2px; }
.stat-card__label { margin-top: 8px; color: var(--color-text-light); letter-spacing: 2px; }
.stat-card__line { width: 32px; height: 2px; background: var(--color-accent); margin: 12px auto 0; }

/* --------------------------------------------------------------------------
   8. 全产业链 · 四栏卡片
   -------------------------------------------------------------------------- */
.chain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.chain-card {
  background: var(--color-white); padding: 40px 28px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid transparent;
}
.chain-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-top-color: var(--color-accent); }
.chain-card__num { font-family: var(--font-serif); font-size: 44px; color: var(--color-accent-light); font-weight: 700; }
.chain-card__title { margin: 16px 0 12px; font-size: 20px; letter-spacing: 2px; }
.chain-card__desc { color: var(--color-text-light); font-size: 14px; }

/* --------------------------------------------------------------------------
   9. 产品中心 · 双品牌卡片
   -------------------------------------------------------------------------- */
.brand-tabs { display: flex; justify-content: center; gap: 40px; margin-bottom: 48px; }
.brand-tab {
  font-family: var(--font-serif); font-size: 20px; letter-spacing: 4px; color: var(--color-text-light);
  padding: 8px 4px; position: relative; transition: color var(--transition);
}
.brand-tab::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--color-accent); transform: translateX(-50%); transition: width var(--transition); }
.brand-tab.is-active, .brand-tab:hover { color: var(--color-primary); }
.brand-tab.is-active::after { width: 100%; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: var(--color-white); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-card__media { height: 220px; background: var(--color-bg-alt); position: relative; overflow: hidden; }
.product-card__body { padding: 24px; }
.product-card__brand { font-size: 12px; letter-spacing: 2px; color: var(--color-accent); }
.product-card__title { font-size: 18px; margin: 8px 0 10px; }
.product-card__desc { color: var(--color-text-light); font-size: 14px; }

/* --------------------------------------------------------------------------
   10. 批发代加工招商（OEM/ODM）
   -------------------------------------------------------------------------- */
.oem { background: linear-gradient(180deg, var(--color-primary-dark), var(--color-primary)); color: var(--color-white); }
.oem .section-head__title { color: var(--color-white); }
.oem .section-head__desc { color: rgba(255,255,255,.72); }
.oem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.oem-card { border: 1px solid rgba(201,169,110,.35); padding: 36px 28px; text-align: center; transition: background var(--transition), transform var(--transition); }
.oem-card:hover { background: rgba(201,169,110,.12); transform: translateY(-6px); }
.oem-card__icon { font-size: 34px; color: var(--color-accent); }
.oem-card__title { color: var(--color-accent); font-size: 19px; margin: 16px 0 12px; letter-spacing: 2px; }
.oem-card__desc { color: rgba(255,255,255,.78); font-size: 14px; }
.oem-cta { text-align: center; margin-top: 48px; }

/* --------------------------------------------------------------------------
   11. 黄精文化 & 产研学
   -------------------------------------------------------------------------- */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.culture-card { position: relative; height: 300px; overflow: hidden; box-shadow: var(--shadow-sm); }
.culture-card__bg { position: absolute; inset: 0; background: var(--color-bg-alt); transition: transform .6s var(--ease); }
.culture-card:hover .culture-card__bg { transform: scale(1.06); }
.culture-card__overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(44,36,26,.78));
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: var(--color-white);
}
.culture-card__title { color: var(--color-white); font-size: 20px; letter-spacing: 2px; margin-bottom: 6px; }
.culture-card__desc { font-size: 13px; color: rgba(255,255,255,.82); }

/* --------------------------------------------------------------------------
   12. 新闻资讯
   -------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--color-white); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card__media { height: 180px; background: var(--color-bg-alt); }
.news-card__body { padding: 24px; }
.news-card__meta { font-size: 12px; color: var(--color-text-light); display: flex; gap: 16px; margin-bottom: 10px; }
.news-card__title { font-size: 17px; line-height: 1.5; }
.news-card__more { margin-top: 12px; font-size: 13px; color: var(--color-accent); }

/* --------------------------------------------------------------------------
   13. 联系信息 & Footer
   -------------------------------------------------------------------------- */
.contact-section { background: var(--color-bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-info__item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info__icon { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--color-accent); color: var(--color-accent); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-info__label { font-size: 13px; color: var(--color-text-light); }
.contact-info__value { font-size: 17px; color: var(--color-primary); font-weight: 600; }

.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; margin-bottom: 16px; border: 1px solid #e2d9cc;
  background: var(--color-white); font-family: inherit; font-size: 14px; color: var(--color-text);
  transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-accent); }
.contact-form textarea { min-height: 120px; resize: vertical; }

.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,.72); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand__name { font-family: var(--font-serif); font-size: 22px; color: var(--color-white); letter-spacing: 2px; margin-bottom: 12px; }
.footer-brand__desc { font-size: 13px; line-height: 1.8; }
.footer-col h4 { color: var(--color-white); font-size: 16px; letter-spacing: 2px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 12px; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; text-align: center; font-size: 13px; }

/* --------------------------------------------------------------------------
   14. 内页 Banner（子页面通用）
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; padding: 180px 0 90px; text-align: center; color: var(--color-white);
  background:
    linear-gradient(180deg, rgba(44,36,26,.55), rgba(44,36,26,.7)),
    radial-gradient(120% 100% at 50% 0%, #6b7a63 0%, #37402f 70%, #2c241a 100%);
  overflow: hidden;
}
.page-hero__en { font-size: 13px; letter-spacing: 6px; color: var(--color-accent); text-transform: uppercase; }
.page-hero__title { font-size: 42px; letter-spacing: 6px; color: var(--color-white); margin-top: 12px; }
.page-hero__crumb { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.7); }
.page-hero__crumb a:hover { color: var(--color-accent); }

/* 内页内容通用块 */
.page-body { padding: var(--section-pad) 0; }
.lead-text { font-size: 18px; line-height: 2; color: var(--color-text); }
.lead-text strong { color: var(--color-primary); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-box { height: 320px; background: var(--color-bg-alt); box-shadow: var(--shadow-sm); }

/* 新闻列表页 */
.news-list { display: grid; grid-template-columns: 1fr; gap: 24px; }
.news-list__item { display: flex; gap: 28px; background: var(--color-white); box-shadow: var(--shadow-sm); padding: 20px; transition: transform var(--transition), box-shadow var(--transition); }
.news-list__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-list__media { flex: 0 0 220px; height: 150px; background: var(--color-bg-alt); }
.news-list__body { flex: 1; }

/* --------------------------------------------------------------------------
   15. 图片占位通用样式
   -------------------------------------------------------------------------- */
.img-ph { position: relative; background: var(--color-bg-alt); overflow: hidden; }
.img-ph::after {
  content: attr(data-spec); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 12px; letter-spacing: 2px; color: var(--color-text-light); text-align: center; padding: 0 12px;
}

/* --------------------------------------------------------------------------
   15.5 子页面通用组件（补全页面用）
   -------------------------------------------------------------------------- */
/* 要点列表（金点） */
.check-list { display: grid; gap: 14px; margin-top: 24px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--color-text); line-height: 1.8; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  border: 1px solid var(--color-accent); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--color-bg);
}
.check-list li::after { content: ""; position: absolute; left: 5px; top: 14px; width: 2px; height: 2px; background: var(--color-accent); border-radius: 50%; }

/* 时间轴 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--color-accent-light); }
.timeline__item { position: relative; padding-bottom: 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: -40px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px rgba(201,169,110,.22); }
.timeline__year { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--color-primary); }
.timeline__title { font-size: 16px; font-weight: 600; color: var(--color-primary); margin: 4px 0 8px; }
.timeline__desc { color: var(--color-text-light); font-size: 14px; }

/* CTA 横幅 */
.cta-banner { position: relative; padding: 64px 0; text-align: center; color: var(--color-white); background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary)); overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 80% 0%, rgba(201,169,110,.28), transparent 60%); }
.cta-banner__title { position: relative; color: var(--color-white); font-size: 30px; letter-spacing: 4px; margin-bottom: 12px; }
.cta-banner__desc { position: relative; color: rgba(255,255,255,.78); margin-bottom: 32px; }
.cta-banner .btn { position: relative; }

/* 资质荣誉 */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.honor-card { background: var(--color-white); border: 1px solid #ece3d6; padding: 32px 20px; text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.honor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.honor-card__icon { width: 56px; height: 56px; margin: 0 auto 16px; border: 1px solid var(--color-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--color-accent); }
.honor-card__title { font-size: 17px; margin-bottom: 8px; }
.honor-card__desc { font-size: 13px; color: var(--color-text-light); }

/* 横向流程步骤 */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-step { text-align: center; }
.flow-step__num { width: 48px; height: 48px; margin: 0 auto 16px; border: 1px solid var(--color-accent); color: var(--color-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 20px; font-weight: 700; background: var(--color-white); }
.flow-step__title { font-size: 17px; margin-bottom: 8px; }
.flow-step__desc { font-size: 13px; color: var(--color-text-light); }

/* 标签 */
.tag { display: inline-block; padding: 2px 12px; font-size: 12px; letter-spacing: 1px; color: var(--color-accent); border: 1px solid var(--color-accent-light); border-radius: 2px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--color-white); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--color-primary); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--color-accent); transition: transform var(--transition); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--color-text-light); font-size: 14px; line-height: 1.9; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #e2d9cc; font-size: 14px; color: var(--color-text); transition: var(--transition); }
.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination .is-current { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* 价值观卡片 */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--color-white); padding: 40px 24px; text-align: center; box-shadow: var(--shadow-sm); border-bottom: 3px solid transparent; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.value-card:hover { border-bottom-color: var(--color-accent); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card__icon { font-size: 32px; color: var(--color-accent); margin-bottom: 16px; }
.value-card__title { font-size: 19px; margin-bottom: 10px; letter-spacing: 2px; }
.value-card__desc { font-size: 13px; color: var(--color-text-light); }

/* --------------------------------------------------------------------------
   16. 响应式断点
   -------------------------------------------------------------------------- */
/* 平板 768px */
@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .section-head__title { font-size: 28px; }
  .stats-grid, .chain-grid, .product-grid, .oem-grid, .culture-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-grid, .honor-grid, .flow-steps { grid-template-columns: repeat(2, 1fr); }

  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background: var(--color-bg);
    flex-direction: column; justify-content: center; gap: 28px; transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,.1);
  }
  .nav-menu.is-open { right: 0; }
  .nav-toggle { display: block; z-index: 1001; }

  /* 移动端降级：关闭粒子与光点动效，保留淡入/书写 */
  .decor-dot { animation: none; }
  .hero-glow { animation: none; opacity: .6; }
  .hero-sub { letter-spacing: 3px; }
  .hero-slogan { letter-spacing: 4px; font-size: 17px; }
}

/* 手机 375px */
@media (max-width: 375px) {
  :root { --section-pad: 48px; }
  .section-head__title { font-size: 24px; }
  .stats-grid, .chain-grid, .product-grid, .oem-grid, .culture-grid, .news-grid { grid-template-columns: 1fr; }
  .value-grid, .honor-grid, .flow-steps { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; width: 100%; padding: 0 20px; }
  .btn { min-width: 0; width: 100%; }
  .news-list__item { flex-direction: column; }
  .news-list__media { flex: none; width: 100%; }
  .page-hero__title { font-size: 30px; letter-spacing: 3px; }
}

/* 大屏 1920px：限制容器宽度，保持留白 */
@media (min-width: 1920px) {
  .container { max-width: 1320px; }
}

/* 无障碍：尊重系统减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
