/* =========================================================
   上海蓓佳果蔬专业合作社 官网样式
   风格：新中式 · 国风（宣纸底 / 青绿主调 / 赭金线条 / 朱砂印章）
   —— 设计参考：传统中国风配色（青花蓝·国槐绿·琉璃黄·水墨黑·玉脂白）、
      留白与对称构图、印章 / 远山 / 回纹 / 宣纸纹理等东方元素，
      低饱和用色避免沉闷，细线勾勒避免元素堆砌。
   纯静态 · 响应式 · 单文件样式表
   ========================================================= */

:root {
  /* —— 青绿主调（低饱和，避免沉重）—— */
  --green-900: #0f2e23;
  --green-800: #173d2e;
  --green-700: #255c45;
  --green-600: #35694d;
  --green-500: #4a7f60;
  --green-300: #9dbaa8;
  --green-100: #e8efe8;

  /* —— 宣纸 / 墨 —— */
  --paper: #f7f4ec;
  --paper-2: #fbf9f3;
  --paper-3: #efe9db;
  --ink: #1d2a23;
  --muted: #6d7c73;

  /* —— 赭金 · 朱砂 —— */
  --gold: #b08d4f;
  --gold-2: #c9a961;
  --gold-soft: #e6d9bd;
  --cinnabar: #9b2c25;
  --accent: #c9a961;
  --accent-dark: #a8833f;

  --bg: #f7f4ec;
  --bg-soft: #f2eee3;
  --line: rgba(37, 92, 69, .14);
  --line-gold: rgba(176, 141, 79, .34);

  --shadow-sm: 0 1px 2px rgba(15, 46, 35, .05), 0 6px 18px rgba(15, 46, 35, .05);
  --shadow-md: 0 12px 32px rgba(15, 46, 35, .09);
  --shadow-lg: 0 24px 58px rgba(15, 46, 35, .14);

  --radius: 4px;
  --radius-sm: 3px;
  --max: 1180px;
  --header-h: 74px;

  /* —— 字体：标题宋体，正文黑体，点缀楷体 —— */
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", "Songti TC", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --kai: "Kaiti SC", "STKaiti", "KaiTi", "楷体", var(--serif);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  /* 极淡的宣纸纹理 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.45; margin: 0 0 .6em; font-weight: 700;
  color: var(--green-900); letter-spacing: .02em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: rgba(201, 169, 97, .35); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 236, .9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-gold);
}
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--gold) 50%, var(--green-700));
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 13px; }
/* 印章式 logo */
.brand__mark {
  width: 44px; height: 44px; flex: none; border-radius: 3px;
  background: linear-gradient(160deg, #a8332b, #8e241e);
  color: #fdf6ea; display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1;
  box-shadow: 0 4px 12px rgba(155, 44, 37, .26), inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--green-900); letter-spacing: .14em; }
.brand__sub { font-size: 10px; color: var(--gold); letter-spacing: .24em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative; color: var(--ink); font-family: var(--serif);
  font-size: 15px; font-weight: 500; letter-spacing: .06em;
  padding: 10px 14px; border-radius: 0; transition: color .25s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 5px; height: 1px;
  background: var(--gold); transition: left .3s ease, right .3s ease;
}
.nav__links a:hover { color: var(--green-700); background: none; }
.nav__links a:hover::after { left: 14px; right: 14px; }
.nav__links a.is-active { color: var(--green-800); background: none; font-weight: 700; }
.nav__links a.is-active::after { left: 14px; right: 14px; background: var(--green-600); }
.nav__links a.nav__cta {
  background: transparent !important; color: var(--green-800) !important;
  font-weight: 700 !important; border: 1px solid var(--gold); border-radius: 2px;
  padding: 8px 18px; margin-left: 10px;
}
.nav__links a.nav__cta::after { display: none; }
.nav__links a.nav__cta:hover { background: var(--gold) !important; color: #fff !important; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-gold);
  background: transparent; border-radius: 2px; cursor: pointer; padding: 11px;
}
.nav__toggle span { display: block; height: 1.5px; background: var(--green-800); }
.nav__toggle span + span { margin-top: 5px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 30px; border-radius: 2px; border: 1px solid transparent;
  font-family: var(--serif); font-size: 15px; font-weight: 700; letter-spacing: .12em;
  cursor: pointer; transition: .28s ease; white-space: nowrap;
}
.btn--primary { background: var(--green-700); color: #f8f5ec; box-shadow: inset 0 0 0 1px rgba(201, 169, 97, .45); }
.btn--primary:hover {
  background: var(--green-800); color: #fff; transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, .7), 0 12px 26px rgba(15, 46, 35, .18);
}
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--gold); }
.btn--ghost:hover { background: rgba(201, 169, 97, .14); color: var(--green-900); border-color: var(--gold-2); }
.btn--accent { background: linear-gradient(160deg, var(--gold-2), var(--gold)); color: #2a1f08; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn--accent:hover { background: linear-gradient(160deg, #d5b876, var(--gold-2)); color: #2a1f08; }
.btn--block { width: 100%; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; position: relative; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--green-900); color: #e8efe8; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-family: var(--kai); font-size: 14px; font-weight: 700;
  letter-spacing: .36em; text-indent: .36em; color: var(--gold); margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px); color: var(--green-900);
  letter-spacing: .06em; margin-bottom: 0;
}
/* 标题下的「细线 + 菱形」国风饰线 */
.section-head h2::after {
  content: ""; display: block; width: 200px; height: 10px; margin: 18px auto 0;
  background:
    linear-gradient(90deg, rgba(176, 141, 79, 0), rgba(176, 141, 79, .62)) left center / 42% 1px no-repeat,
    linear-gradient(90deg, rgba(176, 141, 79, .62), rgba(176, 141, 79, 0)) right center / 42% 1px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Crect x='2.6' y='2.6' width='4.8' height='4.8' transform='rotate(45 5 5)' fill='%23b08d4f'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}
.section-head.left h2::after { margin-left: 0; }
.section-head p { color: var(--muted); margin: 20px 0 0; font-size: 15.5px; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden; color: #f2efe4;
  background: linear-gradient(165deg, #16402f, #0f2e23 55%, #0a2318);
}
/* 注：首页主视觉（图片/视频）已全部改为由 js/data.js 控制，
   css 里不再硬编码任何图片，方便后期自己换图。 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 80% -12%, rgba(201, 169, 97, .22), transparent 62%),
    radial-gradient(620px 320px at 6% 112%, rgba(157, 186, 168, .18), transparent 62%);
}
/* 远山 + 云雾，向下融入宣纸 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 170px; z-index: 1;
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0) 52%, rgba(247, 244, 236, .95) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 160V104c150-46 262 4 412-16s236-54 386-32 250 48 400 20c88-16 172-6 242 8v76z' fill='%231b4a37' fill-opacity='.55'/%3E%3Cpath d='M0 160v-32c168-32 300 14 462 2s258-42 420-26 302 42 458 20c38-5 70-4 100 0v36z' fill='%230d2a1e' fill-opacity='.85'/%3E%3C/svg%3E") center bottom / 100% 160px no-repeat;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: 104px 0 170px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px;
  border: 1px solid rgba(201, 169, 97, .5); border-radius: 2px;
  background: rgba(255, 255, 255, .05);
  font-family: var(--kai); font-size: 14px; letter-spacing: .2em;
  color: rgba(242, 239, 228, .92); margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 54px); margin-bottom: 22px; letter-spacing: .08em;
  color: #fff; line-height: 1.35; text-shadow: 0 2px 26px rgba(0, 0, 0, .32);
}
.hero h1 b { font-weight: 700; color: var(--gold-2); }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p.lead {
  font-size: clamp(15.5px, 1.8vw, 17.5px); color: rgba(242, 239, 228, .82);
  max-width: 650px; line-height: 2;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* 竖排题字 + 印章 */
.hero__deco {
  position: absolute; right: 30px; top: 92px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 16px; pointer-events: none;
}
.hero__vline { width: 1px; height: 74px; background: linear-gradient(rgba(201, 169, 97, .05), rgba(201, 169, 97, .75)); }
.hero__vtext { writing-mode: vertical-rl; font-family: var(--serif); font-size: 15px; letter-spacing: .42em; color: rgba(242, 239, 228, .82); }
.seal {
  display: grid; place-items: center; border-radius: 3px;
  background: linear-gradient(160deg, #a8332b, #8e241e); color: #fdf6ea;
  font-family: var(--serif); font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.seal--hero { width: 64px; height: 64px; font-size: 16px; letter-spacing: .14em; writing-mode: vertical-rl; padding: 7px 0; line-height: 1.15; text-align: center; }

/* 数据条：宣纸卡片 */
.hero__stats {
  position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper-2); border: 1px solid var(--line-gold); border-radius: 2px;
  overflow: hidden; margin-top: -74px; box-shadow: var(--shadow-lg);
}
.hero__stat { position: relative; padding: 30px 18px; text-align: center; }
.hero__stat + .hero__stat::before {
  content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line-gold);
}
.hero__stat b {
  display: block; font-family: var(--serif); font-size: clamp(24px, 3vw, 34px);
  color: var(--green-800); line-height: 1.25; letter-spacing: .02em;
}
.hero__stat span { font-size: 12.5px; color: var(--muted); letter-spacing: .1em; }

/* ---------------- 网格 / 卡片 ---------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* 悬停时出现金色角标（回纹式描角） */
.card::before, .card::after {
  content: ""; position: absolute; width: 15px; height: 15px;
  border: 1px solid var(--gold); opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; }
.card::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.card:hover::before, .card:hover::after { opacity: .9; }
/* 图标位：方形印章格 */
.card__icon {
  width: 52px; height: 52px; border-radius: 2px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(37, 92, 69, .08), rgba(37, 92, 69, .02));
  border: 1px solid var(--line-gold); box-shadow: inset 0 0 0 3px rgba(251, 249, 243, .95);
  font-family: var(--serif); font-size: 24px; color: var(--green-700); margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: .05em; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.85; }

/* ---------------- 产品卡 ---------------- */
.product-card {
  position: relative; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.product-card__media {
  aspect-ratio: 4 / 3; height: auto; display: grid; place-items: center; position: relative;
  font-family: var(--serif); font-size: 52px; color: var(--green-700);
  background: linear-gradient(160deg, #fbfaf5, #f1eee3); overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: contain; padding: 14px;
  transition: transform .6s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(176, 141, 79, .18); pointer-events: none; }
.product-card__season {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-family: var(--serif); font-size: 12px; letter-spacing: .1em;
  background: rgba(15, 46, 35, .88); color: #f2efe4; padding: 5px 13px; border-radius: 0 0 2px 0;
}
.product-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__body h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: .04em; }
.product-card__body p { color: var(--muted); font-size: 14px; flex: 1; line-height: 1.85; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag {
  font-size: 12px; padding: 3px 11px; border-radius: 2px;
  border: 1px solid var(--line-gold); background: transparent;
  color: var(--green-700); font-weight: 600; letter-spacing: .05em;
}

/* 分类筛选 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 38px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--paper-2); color: var(--muted);
  padding: 9px 22px; border-radius: 2px; font-family: var(--serif);
  font-size: 14px; font-weight: 600; letter-spacing: .08em; cursor: pointer; transition: .25s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--green-700); }
.filter-btn.is-active {
  background: var(--green-700); border-color: var(--green-700); color: #f8f5ec;
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, .5);
}

/* ---------------- 基地实景画廊 ---------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item {
  position: relative; margin: 0; border: 1px solid var(--line-gold); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); background: var(--paper-2);
}
.gallery__item img { width: 100%; height: 250px; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px;
  background: linear-gradient(transparent, rgba(9, 32, 22, .88));
  color: #f2efe4; font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .1em;
}

/* ---------------- 荣誉 ---------------- */
.honor-card {
  position: relative; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 22px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.honor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--line-gold); }
.honor-card__img {
  width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line-gold); border-radius: 2px;
  overflow: hidden; margin-bottom: 16px; background: #fff; padding: 6px;
}
.honor-card__img img { width: 100%; height: 100%; object-fit: contain; }
.honor-card__seal {
  width: 84px; height: 84px; margin: 6px auto 16px; border-radius: 3px;
  display: grid; place-items: center; font-family: var(--serif); font-size: 34px;
  background: linear-gradient(160deg, #a8332b, #8e241e); color: #fdf6ea;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.honor-card h3 { font-size: 16px; margin-bottom: 6px; letter-spacing: .04em; }
.honor-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------------- 新闻 ---------------- */
.news-item {
  display: grid; grid-template-columns: 104px 1fr; gap: 24px; align-items: start;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.news-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-gold); }
.news-item__date {
  background: linear-gradient(160deg, rgba(37, 92, 69, .07), rgba(37, 92, 69, .02));
  border: 1px solid var(--line-gold); border-radius: 2px; text-align: center; padding: 16px 8px;
}
.news-item__date b { display: block; font-family: var(--serif); font-size: 28px; color: var(--green-800); line-height: 1.1; }
.news-item__date span { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.news-item__cat {
  display: inline-block; font-family: var(--serif); font-size: 12px; font-weight: 700;
  color: var(--gold); background: transparent; border: 1px solid var(--line-gold);
  padding: 2px 11px; border-radius: 2px; margin-bottom: 10px; letter-spacing: .1em;
}
.news-item h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: .03em; }
.news-item p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.85; }

/* ---------------- 溯源 ---------------- */
.trace-box {
  position: relative; background: var(--paper-2); border: 1px solid var(--line-gold);
  border-radius: var(--radius); padding: 40px 38px; box-shadow: var(--shadow-md);
  max-width: 760px; margin: 0 auto;
}
.trace-box::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid rgba(176, 141, 79, .18);
  border-radius: 2px; pointer-events: none;
}
.trace-form { display: flex; gap: 14px; flex-wrap: wrap; }
.trace-form input {
  flex: 1; min-width: 220px; padding: 14px 18px; border: 1px solid var(--line);
  border-radius: 2px; font-size: 15px; font-family: var(--serif); letter-spacing: .08em;
  outline: none; transition: .25s ease; background: #fff; color: var(--ink);
}
.trace-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 97, .16); }
.trace-result { margin-top: 26px; display: none; }
.trace-result.show { display: block; animation: fade .35s ease; }
.trace-result table { width: 100%; border-collapse: collapse; font-size: 15px; }
.trace-result td { padding: 12px; border-bottom: 1px dashed var(--line-gold); }
.trace-result td:first-child { color: var(--muted); width: 130px; font-family: var(--serif); letter-spacing: .08em; }
.trace-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.trace-step { text-align: center; }
.trace-step__n {
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 2px;
  background: var(--green-700); color: #f8f5ec; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(201, 169, 97, .5);
}
.trace-step h4 { font-size: 15px; margin: 0 0 4px; letter-spacing: .06em; }
.trace-step p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------------- 表单 ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--serif); font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--green-800); }
.form-field label .req { color: var(--cinnabar); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 15px; font-family: var(--sans); outline: none; transition: .25s ease;
  background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 97, .16);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-msg {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: 2px;
  font-size: 14px; font-weight: 600; border: 1px solid transparent;
}
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(37, 92, 69, .07); color: var(--green-800); border-color: var(--line-gold); }
.form-msg.err { background: rgba(155, 44, 37, .06); color: #8e241e; border-color: rgba(155, 44, 37, .25); }

/* ---------------- 联系信息 ---------------- */
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed var(--line-gold); }
.contact-card:last-child { border-bottom: 0; }
.contact-card__ico {
  width: 46px; height: 46px; flex: none; border-radius: 2px; border: 1px solid var(--line-gold);
  background: linear-gradient(160deg, rgba(37, 92, 69, .08), rgba(37, 92, 69, .02));
  display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: var(--green-700);
}
.contact-card h3 { font-size: 15px; margin-bottom: 2px; letter-spacing: .1em; color: var(--gold); }
.contact-card p { color: var(--ink); font-size: 15px; margin: 0; word-break: break-all; }
.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-gold);
  min-height: 320px; background: var(--bg-soft);
  display: grid; place-items: center; color: var(--muted); text-align: center;
  padding: 30px; box-shadow: var(--shadow-sm);
}

/* ---------------- 在线订购 ---------------- */
.shop-qrs {
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: flex-start;
}
.shop-qrs .shop-qr { flex: 0 0 auto; }
.shop-qr { text-align: center; }
.shop-qr img {
  width: 170px; height: 170px; object-fit: contain; margin: 0 auto 10px;
  border: 1px solid var(--line-gold); border-radius: 2px; background: #fff; padding: 8px;
}
.shop-qr p { font-size: 13px; color: rgba(242, 239, 228, .8); margin: 0; letter-spacing: .1em; }
.shop-hero {
  position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center;
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  color: #f2efe4; border-radius: var(--radius); padding: 48px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.shop-hero::before {
  content: ""; position: absolute; inset: 11px; border: 1px solid rgba(201, 169, 97, .28);
  border-radius: 2px; pointer-events: none;
}
.shop-hero::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 169, 97, .16), transparent 70%);
  pointer-events: none;
}
.shop-hero > * { position: relative; z-index: 2; }
.shop-hero h2 { color: #fff; font-size: 26px; letter-spacing: .06em; }
.shop-hero p { color: rgba(242, 239, 228, .82); }
.shop-steps { counter-reset: s; display: grid; gap: 14px; margin-top: 24px; }
.shop-steps li { list-style: none; display: flex; gap: 14px; align-items: flex-start; color: rgba(242, 239, 228, .9); }
.shop-steps li::before {
  counter-increment: s; content: counter(s); flex: none;
  width: 26px; height: 26px; border-radius: 2px; background: var(--gold); color: #2a1f08;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 13px;
}
@media (max-width: 760px) { .shop-hero { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------------- 时间线 ---------------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(rgba(176, 141, 79, .15), rgba(176, 141, 79, .6), rgba(176, 141, 79, .15));
}
.timeline__item { position: relative; padding: 0 0 36px 24px; }
/* 朱砂菱形节点 */
.timeline__item::before {
  content: ""; position: absolute; left: -34px; top: 7px; width: 11px; height: 11px;
  background: var(--cinnabar); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--paper);
}
.timeline__item time { font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .18em; }
.timeline__item h3 { font-size: 17px; margin: 6px 0; letter-spacing: .04em; }
.timeline__item p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.85; }

/* ---------------- 页面头（内页） ---------------- */
.page-hero {
  position: relative; overflow: hidden; padding: 76px 0 100px;
  background: linear-gradient(160deg, var(--green-800), var(--green-900)); color: #f2efe4;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 340px at 82% -20%, rgba(201, 169, 97, .2), transparent 65%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 112px;
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0), rgba(247, 244, 236, .92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 160V104c150-46 262 4 412-16s236-54 386-32 250 48 400 20c88-16 172-6 242 8v76z' fill='%231b4a37' fill-opacity='.5'/%3E%3Cpath d='M0 160v-32c168-32 300 14 462 2s258-42 420-26 302 42 458 20c38-5 70-4 100 0v36z' fill='%230d2a1e' fill-opacity='.8'/%3E%3C/svg%3E") center bottom / 100% 112px no-repeat;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(26px, 3.8vw, 38px); color: #fff; letter-spacing: .12em; }
.page-hero p { color: rgba(242, 239, 228, .8); max-width: 680px; margin: 0; line-height: 1.95; }
.breadcrumb { font-family: var(--serif); font-size: 12.5px; color: rgba(242, 239, 228, .55); margin-bottom: 14px; letter-spacing: .16em; }
.breadcrumb a { color: rgba(201, 169, 97, .92); }

/* ---------------- CTA 条 ---------------- */
.cta-bar {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  color: #f2efe4; border-radius: var(--radius); padding: 46px; display: flex;
  align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-bar::before {
  content: ""; position: absolute; inset: 11px; border: 1px solid rgba(201, 169, 97, .26);
  border-radius: 2px; pointer-events: none;
}
.cta-bar > * { position: relative; z-index: 2; }
.cta-bar h2 { color: #fff; margin: 0 0 8px; font-size: 24px; letter-spacing: .06em; }
.cta-bar p { margin: 0; color: rgba(242, 239, 228, .82); }

/* ---------------- 页脚 ---------------- */
.site-footer { position: relative; overflow: hidden; background: #0b2318; color: rgba(242, 239, 228, .72); padding: 64px 0 26px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, .75), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 38px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-family: var(--serif); letter-spacing: .16em; }
.site-footer a { color: rgba(242, 239, 228, .72); font-size: 14px; display: block; padding: 5px 0; transition: .25s ease; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer p { font-size: 14px; line-height: 1.9; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.footer-brand .brand__mark { width: 42px; height: 42px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: rgba(201, 169, 97, .8); }
.footer-bottom {
  border-top: 1px solid rgba(201, 169, 97, .22); margin-top: 42px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(242, 239, 228, .5);
}
.footer-bottom a { display: inline; padding: 0; }

/* ---------------- 浮动联系 ---------------- */
.float-contact { position: fixed; right: 20px; bottom: 26px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-contact a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-700); color: #f8f5ec; font-family: var(--serif); font-size: 20px;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(201, 169, 97, .5); transition: .28s ease;
}
.float-contact a:hover { background: var(--green-800); transform: translateY(-3px); color: #fff; }
.float-contact a.accent { background: linear-gradient(160deg, var(--gold-2), var(--gold)); color: #2a1f08; }

/* ---------------- 滚动动效 ----------------
   仅在 JS 生效（<html class="js">）时才隐藏初始状态，
   保证禁用 / 加载失败 JS 时内容依然可见。 */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1020px) {
  .hero__deco { display: none; }
}
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(odd)::before { display: none; }
  .hero__stat:nth-child(n + 3) { border-top: 1px solid var(--line-gold); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trace-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 16px 18px 24px; gap: 4px;
    border-bottom: 1px solid var(--line-gold); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: .32s ease; max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 13px 16px; font-size: 16px; border-radius: 2px; }
  .nav__links a::after { display: none; }
  .nav__links a.nav__cta { margin-left: 0; text-align: center; }
  .nav__toggle { display: block; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__inner { padding: 70px 0 130px; }
  .hero__stats { margin-top: -56px; }
  .hero__stat { padding: 24px 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 16px; }
  .news-item__date { display: flex; align-items: baseline; gap: 10px; justify-content: center; padding: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .trace-steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item img { height: 220px; }
  .section-head h2::after { width: 160px; }
  .section-head p { margin-top: 18px; }
  .trace-box { padding: 30px 22px; }
  .cta-bar { padding: 32px 24px; }
  .cta-bar::before { inset: 7px; }
  .site-footer { padding: 48px 0 22px; }
}

/* =========================================================================
   以下为「内容由 data.js 渲染」后新增的组件
   ========================================================================= */

/* ---------------- 通用小件 ---------------- */
.center-cta { text-align: center; margin-top: 40px; }
.form-wrap { max-width: 780px; margin: 0 auto; }
.cta-bar__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-list { margin-top: 8px; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .85); }
.noscript-tip {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--cinnabar); color: #fff; text-align: center; padding: 10px 16px; font-size: 14px;
}

/* ---------------- 首页「关于我们」：图片组合 + 档案要点 ---------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 58px; align-items: center; }
.about-media { position: relative; padding-bottom: 56px; }
.about-media__main { border: 1px solid var(--line-gold); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media__main img { width: 100%; height: 420px; object-fit: cover; }
.about-media__sub {
  position: absolute; left: 0; bottom: 0; width: 52%; background: var(--paper-2);
  border: 1px solid var(--line-gold); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-media__sub img { width: 100%; height: 168px; object-fit: cover; }
.seal--corner {
  position: absolute; right: 18px; bottom: 66px; width: 62px; height: 62px;
  font-size: 15px; letter-spacing: .12em; writing-mode: vertical-rl;
  padding: 6px 0; line-height: 1.15; text-align: center;
}
.about-title { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: .04em; }
.facts { margin: 26px 0 30px; border-top: 1px solid var(--line-gold); }
.facts__row { display: flex; gap: 16px; padding: 11px 2px; border-bottom: 1px dashed var(--line-gold); }
.facts__row dt { flex: none; width: 90px; font-family: var(--serif); font-size: 14px; color: var(--gold); letter-spacing: .1em; }
.facts__row dd { margin: 0; font-size: 14.5px; color: var(--ink); }

/* ---------------- 合作社档案表 ---------------- */
.facts-table { border-top: 1px solid var(--line-gold); max-width: 880px; margin: 0 auto; }
.facts-table__row { display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 16px 4px; border-bottom: 1px dashed var(--line-gold); }
.facts-table__k { font-family: var(--serif); font-size: 14.5px; font-weight: 700; color: var(--gold); letter-spacing: .12em; }
.facts-table__v { font-size: 15px; color: var(--ink); line-height: 1.8; }

/* ---------------- 图文左右交错 ---------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media {
  position: relative; margin: 0; border: 1px solid var(--line-gold);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
}
.feature__media img { width: 100%; height: 420px; object-fit: cover; }
.feature__media .seal--corner { right: 18px; bottom: 18px; }
.feature__body h2 { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: .04em; }
.feature__body p { color: var(--muted); font-size: 15.5px; line-height: 1.95; }

/* ---------------- 轮作模式图示 ---------------- */
.cycle {
  display: flex; align-items: flex-start; justify-content: center; gap: 16px;
  flex-wrap: wrap; position: relative; padding-bottom: 48px;
}
.cycle__step { width: 218px; text-align: center; }
.cycle__icon {
  display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line-gold);
  box-shadow: inset 0 0 0 4px #fff, var(--shadow-sm);
  font-family: var(--serif); font-size: 30px; color: var(--green-700);
}
.cycle__step h3 { font-size: 17px; margin-bottom: 6px; }
.cycle__step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.8; }
.cycle__arrow { align-self: center; margin-top: 20px; color: var(--gold); font-size: 22px; }
.cycle__loop {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-family: var(--kai); font-size: 13.5px; color: var(--gold); letter-spacing: .16em;
}

/* ---------------- 深色引言带 ---------------- */
.band-quote {
  position: relative; overflow: hidden; padding: 72px 0;
  background: linear-gradient(150deg, var(--green-800), var(--green-900)); color: #f2efe4;
}
.band-quote::before {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 169, 97, .22);
  border-radius: 2px; pointer-events: none;
}
.band-quote .container { position: relative; z-index: 2; }
.band-quote__inner { text-align: center; max-width: 900px; margin: 0 auto; }
.band-quote__mark { display: block; font-family: var(--serif); font-size: 64px; line-height: .6; color: rgba(201, 169, 97, .5); }
.band-quote__text { font-family: var(--serif); font-size: clamp(19px, 2.6vw, 30px); letter-spacing: .14em; color: #fff; margin: 18px 0 0; }
.band-quote__by { font-family: var(--kai); font-size: 13.5px; letter-spacing: .2em; color: var(--gold-2); margin: 16px 0 0; }

/* ---------------- 溯源查询框标题 ---------------- */
.trace-box__title { text-align: center; color: var(--green-900); margin-bottom: 10px; }
.trace-box__lead { text-align: center; color: var(--muted); margin: 0; }
.qr-placeholder { max-width: 660px; margin: 0 auto; text-align: center; }
.qr-placeholder__box {
  width: 170px; height: 170px; margin: 20px auto 0; border: 2px dashed var(--green-300);
  border-radius: 2px; display: grid; place-items: center; color: var(--muted); font-size: 13px;
}

/* ---------------- 新增组件的响应式 ---------------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media__main img { height: 340px; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media img { height: 320px; }
}
@media (max-width: 760px) {
  .facts-table__row { grid-template-columns: 1fr; gap: 4px; padding: 13px 2px; }
  .facts__row dt { width: 78px; }
  .about-media__main img { height: 260px; }
  .about-media__sub { width: 58%; }
  .about-media__sub img { height: 120px; }
  .seal--corner { right: 12px; bottom: 46px; width: 54px; height: 54px; font-size: 13px; }
  .cycle { flex-direction: column; align-items: center; }
  .cycle__arrow { margin: 0; transform: rotate(90deg); }
  .cycle__step { width: 100%; max-width: 320px; }
  .band-quote { padding: 52px 0; }
  .band-quote__mark { font-size: 48px; }
  .cta-bar__btns { width: 100%; }
  .cta-bar__btns .btn { flex: 1; }
}

/* =========================================================================
   交互 UI 组件
   ========================================================================= */

/* ---------------- 顶部阅读进度条 ---------------- */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 130;
  background: linear-gradient(90deg, var(--green-600), var(--gold-2));
  box-shadow: 0 0 10px rgba(201, 169, 97, .55);
}

/* ---------------- 返回顶部（带进度环） ---------------- */
.to-top {
  position: fixed; left: 20px; bottom: 26px; z-index: 95;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-gold); background: var(--paper-2); color: var(--green-800);
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: .3s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), rgba(176, 141, 79, .16) 0);
  -webkit-mask: radial-gradient(circle, transparent 0 84%, #000 85%);
  mask: radial-gradient(circle, transparent 0 84%, #000 85%);
}
.to-top:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* ---------------- reveal 错落延迟 ---------------- */
.js .reveal { transition-delay: var(--d, 0ms); }

/* ---------------- 产品卡：可点击 + 筛选弹入 ---------------- */
.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.product-card__zoom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 14px 11px;
  text-align: center; font-family: var(--serif); font-size: 13px; letter-spacing: .16em; color: #fff;
  background: linear-gradient(transparent, rgba(9, 32, 22, .8));
  opacity: 0; transform: translateY(8px); transition: .3s ease;
}
.product-card:hover .product-card__zoom,
.product-card:focus-visible .product-card__zoom { opacity: 1; transform: none; }
@keyframes cardPop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.product-card.card-pop { animation: cardPop .45s cubic-bezier(.2, .7, .3, 1) both; }

/* 可放大的图片：鼠标变放大镜 */
.honor-card__img img, .gallery__item img, .feature__media img,
.about-media img, .map-embed img { cursor: zoom-in; }

/* ---------------- 产品详情弹窗 ---------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.show { display: block; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(9, 32, 22, .62);
  backdrop-filter: blur(3px); animation: fade .3s ease;
}
.modal__panel {
  position: relative; z-index: 2; width: min(940px, calc(100% - 32px));
  max-height: calc(100vh - 64px); margin: 32px auto; overflow: auto;
  background: var(--paper-2); border: 1px solid var(--line-gold);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: modalIn .38s cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; right: 14px; top: 14px; z-index: 3; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line-gold); background: var(--paper-2);
  color: var(--green-800); font-size: 20px; line-height: 1; cursor: pointer; transition: .25s;
}
.modal__close:hover { background: var(--cinnabar); color: #fff; border-color: var(--cinnabar); }
.pm { display: grid; grid-template-columns: 1.02fr 1fr; }
.pm__media { position: relative; background: linear-gradient(160deg, #fbfaf5, #f1eee3); min-height: 340px; }
.pm__media img { width: 100%; height: 100%; object-fit: contain; padding: 22px; min-height: 340px; }
.pm__icon { display: grid; place-items: center; height: 100%; min-height: 320px; font-family: var(--serif); font-size: 84px; color: var(--green-700); }
.pm__info { padding: 36px 34px; }
.pm__cat {
  display: inline-block; font-family: var(--serif); font-size: 12px; letter-spacing: .14em;
  color: var(--gold); border: 1px solid var(--line-gold); border-radius: 2px; padding: 2px 11px; margin-bottom: 12px;
}
.pm__info h3 { font-size: 24px; margin-bottom: 12px; letter-spacing: .04em; }
.pm__desc { color: var(--muted); font-size: 15px; line-height: 1.95; }
.pm__meta { margin: 20px 0 0; border-top: 1px solid var(--line-gold); }
.pm__meta > div { display: flex; gap: 14px; padding: 9px 2px; border-bottom: 1px dashed var(--line-gold); }
.pm__meta dt { flex: none; width: 66px; font-family: var(--serif); font-size: 13.5px; color: var(--gold); letter-spacing: .08em; }
.pm__meta dd { margin: 0; font-size: 14px; color: var(--ink); }
.pm__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.pm__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------------- 图片灯箱 ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 210; display: none; background: rgba(7, 26, 18, .95); }
.lightbox.show { display: block; animation: fade .25s ease; }
.lightbox__stage {
  position: absolute; inset: 0; margin: 0; padding: 58px 68px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.lightbox__stage img {
  max-width: 100%; max-height: calc(100vh - 180px); object-fit: contain;
  background: #fff; padding: 8px; border-radius: 2px;
  border: 1px solid rgba(201, 169, 97, .5); box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.lightbox__stage figcaption { color: rgba(242, 239, 228, .85); font-family: var(--serif); font-size: 14px; letter-spacing: .14em; }
.lightbox__close {
  position: absolute; right: 20px; top: 20px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, .55); background: transparent; color: #f2efe4;
  font-size: 24px; line-height: 1; cursor: pointer; transition: .25s;
}
.lightbox__close:hover { background: var(--gold); color: #2a1f08; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; transition: .25s;
  border: 1px solid rgba(201, 169, 97, .5); background: rgba(255, 255, 255, .06);
  color: #f2efe4; font-size: 28px; line-height: 1;
}
.lightbox__nav:hover { background: var(--gold); color: #2a1f08; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------------- 常见问题手风琴 ---------------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line-gold); }
.faq__item { border-bottom: 1px dashed var(--line-gold); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 6px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 16.5px; font-weight: 700; color: var(--green-900);
  letter-spacing: .03em; transition: color .25s;
}
.faq__q:hover { color: var(--green-600); }
.faq__ico { position: relative; flex: none; width: 22px; height: 22px; }
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold);
  transform: translate(-50%, -50%); transition: .3s ease;
}
.faq__ico::before { width: 14px; height: 1.5px; }
.faq__ico::after { width: 1.5px; height: 14px; }
.faq__item.open .faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.2, .7, .3, 1); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p { margin: 0; padding: 0 6px 22px; max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.95; }

/* ---------------- 交互组件的响应式 ---------------- */
@media (max-width: 760px) {
  .to-top { left: 14px; bottom: 18px; width: 42px; height: 42px; font-size: 14px; }
  .pm { grid-template-columns: 1fr; }
  .pm__media, .pm__media img, .pm__icon { min-height: 210px; height: 210px; }
  .pm__info { padding: 24px 20px; }
  .pm__info h3 { font-size: 20px; }
  .modal__panel { margin: 16px auto; max-height: calc(100vh - 32px); }
  .lightbox__stage { padding: 62px 14px; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 22px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__stage img { max-height: calc(100vh - 200px); padding: 5px; }
  .faq__q { font-size: 15.5px; padding: 17px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
  .to-top, .product-card__zoom { transition: none; }
  .modal__panel, .modal__backdrop, .lightbox.show, .product-card.card-pop { animation: none; }
}

/* =========================================================================
   参考「花西子」官网的设计语言
   —— 香槟金 #F4D19E / 朱砂红 #B12028、超宽字距、标题旁小号红色拼音、
      四角回纹角花、横向展开画廊、全幅大图 + 左侧 1/3 文字、
      导航金色下划线从右滑出、页脚装饰性回顶标签
   ========================================================================= */

/* ---------------- 配色微调 ---------------- */
:root {
  --gold-2: #f4d19e;      /* 香槟金（花西子同款强调色） */
  --cinnabar: #b12028;    /* 朱砂红（花西子同款） */
}

/* ---------------- 排版：更宽的字距 ---------------- */
.section-head h2 { letter-spacing: .09em; }
.hero h1 { letter-spacing: .1em; }
.brand__name { letter-spacing: .18em; }

/* 标题旁的小号红色拼音（花西子标志性细节） */
.h2-latin {
  display: inline-block; margin-left: 12px; vertical-align: middle;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .24em; color: var(--cinnabar); text-transform: uppercase;
  transform: translateY(-2px); white-space: nowrap;
}

/* ---------------- 顶部导航：透明 → 实底 + 金色下划线从右滑出 ---------------- */
.site-header { transition: background-color .5s ease, border-color .5s ease; }
.nav__links a { letter-spacing: .12em; }
.nav__links a::after {
  left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--gold-2);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .5s cubic-bezier(.645, .045, .355, 1);
}
.nav__links a:hover::after { left: 12px; right: 12px; transform: scaleX(1); }
.nav__links a.is-active::after { left: 12px; right: 12px; background: var(--gold-2); transform: scaleX(1); }

.site-header.is-transparent { background: transparent; border-bottom-color: rgba(255, 255, 255, .18); backdrop-filter: none; }
.site-header.is-transparent .brand__name { color: #fff; }
.site-header.is-transparent .brand__sub { color: rgba(244, 209, 158, .85); }
.site-header.is-transparent .nav__links a { color: rgba(255, 255, 255, .9); }
.site-header.is-transparent .nav__links a:hover,
.site-header.is-transparent .nav__links a.is-active { color: var(--gold-2); }
.site-header.is-transparent .nav__links a.nav__cta { color: #fff !important; border-color: rgba(244, 209, 158, .65); }
.site-header.is-transparent .nav__links a.nav__cta:hover { background: var(--gold-2) !important; color: #2a1f08 !important; border-color: var(--gold-2); }
.site-header.is-transparent .nav__toggle { border-color: rgba(255, 255, 255, .35); }
.site-header.is-transparent .nav__toggle span { background: #fff; }

/* ---------------- 四角回纹角花（花西子卡片细节） ---------------- */
.card::after, .honor-card::after, .news-item::after { content: none; }
.news-item { position: relative; }
.card::before, .honor-card::before, .news-item::before {
  content: ""; position: absolute; inset: 7px; width: auto; height: auto; border: 0;
  pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 15px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 1px 15px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 15px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 1px 15px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 15px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 1px 15px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 15px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1px 15px no-repeat;
}
.card:hover::before, .honor-card:hover::before, .news-item:hover::before { opacity: .95; }

/* ---------------- 横向展开画廊（花西子「东方护肤 / 香氛」区块） ---------------- */
.hgal {
  display: flex; gap: 10px; width: 100%; height: 460px;
  padding: 0 24px; margin-top: 8px;
}
.hgal__item {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line-gold); border-radius: var(--radius); background: #0e2b1f;
  transition: flex-grow .75s cubic-bezier(.645, .045, .355, 1), box-shadow .5s ease;
}
.hgal__item.is-active { flex-grow: 3.1; box-shadow: var(--shadow-lg); }
.hgal__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) brightness(.84);
  transition: transform 1.4s cubic-bezier(.2, .7, .3, 1), filter .6s ease;
}
.hgal__item.is-active img { transform: scale(1.05); filter: none; }
.hgal__mask {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 70px 24px 26px; text-align: left; color: #fff;
  background: linear-gradient(transparent, rgba(9, 32, 22, .84));
}
.hgal__title {
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--serif); font-size: 14px; letter-spacing: .18em; margin: 0;
}
.hgal__item.is-active .hgal__title {
  writing-mode: horizontal-tb; font-size: 21px; letter-spacing: .14em; margin: 0 0 14px;
}
.hgal__line { display: none; width: 34px; height: 1px; background: rgba(244, 209, 158, .9); margin-bottom: 12px; }
.hgal__sub { display: none; font-size: 12.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .88); margin: 0; }
.hgal__item.is-active .hgal__line,
.hgal__item.is-active .hgal__sub { display: block; }
.hgal__arrow {
  position: absolute; right: 24px; bottom: 24px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(244, 209, 158, .7); color: var(--gold-2);
  display: grid; place-items: center; font-size: 17px;
  opacity: 0; transform: scale(.85); transition: .4s ease;
}
.hgal__item.is-active .hgal__arrow { opacity: 1; transform: none; }
/* 画廊四角角花（常显，压在照片上） */
.hgal__item::before {
  content: ""; position: absolute; inset: 10px; z-index: 3; pointer-events: none;
  background:
    linear-gradient(var(--gold-2), var(--gold-2)) left top / 18px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) left top / 1px 18px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) right top / 18px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) right top / 1px 18px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) left bottom / 18px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) left bottom / 1px 18px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) right bottom / 1px 18px no-repeat;
  opacity: .85;
}

/* ---------------- 全幅大图 + 左侧 1/3 文字（花西子「品牌简介」区块） ---------------- */
.band-full {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: 44vw; padding: 8vw 0; background: var(--green-900); color: #fff;
}
.band-full__bg { position: absolute; inset: 0; }
.band-full__bg img { width: 100%; height: 100%; object-fit: cover; }
.band-full__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 32, 22, .9) 0%, rgba(9, 32, 22, .66) 44%, rgba(9, 32, 22, .16) 100%);
}
.band-full__inner { position: relative; z-index: 2; width: 100%; }
.band-full__col { max-width: 34%; }
.band-full__latin {
  display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 24px;
}
.band-full__title {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.7;
  letter-spacing: .2em; color: #fff; margin: 0 0 26px; text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.band-full__by { font-family: var(--kai); font-size: 13.5px; letter-spacing: .16em; color: rgba(255, 255, 255, .75); margin: 0 0 30px; }
.band-full__btn {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 7px;
  font-family: var(--serif); font-size: 14px; letter-spacing: .18em; color: var(--gold-2);
  border-bottom: 1px solid rgba(244, 209, 158, .5); transition: .3s ease;
}
.band-full__btn:hover { color: #fff; border-bottom-color: #fff; }

/* ---------------- 页脚「回到顶部」装饰标签（花西子页脚细节） ---------------- */
.site-footer { overflow: visible; }
.footer-top-tab {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -100%);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: min(300px, 74vw); height: 46px; cursor: pointer;
  background: var(--paper-2); color: var(--green-800);
  border: 1px solid var(--line-gold); border-bottom: 0; border-radius: 3px 3px 0 0;
  font-family: var(--serif); font-size: 13.5px; letter-spacing: .24em;
  box-shadow: 0 -10px 26px rgba(15, 46, 35, .07); transition: .3s ease;
}
.footer-top-tab:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.footer-top-tab__ico { color: var(--gold); font-size: 10px; transition: .3s ease; }
.footer-top-tab:hover .footer-top-tab__ico { color: var(--gold-2); }

/* ---------------- 花西子风格的响应式 ---------------- */
@media (max-width: 980px) {
  .band-full { min-height: 0; padding: 68px 0; }
  .band-full__col { max-width: 100%; }
  .band-full__bg::after { background: linear-gradient(180deg, rgba(9, 32, 22, .5), rgba(9, 32, 22, .9)); }
}
@media (max-width: 760px) {
  .hgal { flex-direction: column; height: auto; padding: 0 18px; gap: 12px; }
  .hgal__item { height: 200px; flex: none; }
  .hgal__item.is-active { flex-grow: 0; }
  .hgal__title { writing-mode: horizontal-tb; font-size: 17px; letter-spacing: .12em; margin: 0 0 8px; }
  .hgal__line, .hgal__sub { display: block; }
  .hgal__arrow { opacity: 1; transform: none; width: 34px; height: 34px; right: 16px; bottom: 16px; }
  .hgal__mask { padding: 50px 18px 18px; }
  .h2-latin { display: block; margin: 8px 0 0; font-size: 10px; letter-spacing: .2em; }
  .band-full__title { letter-spacing: .16em; }
  .footer-top-tab { height: 42px; font-size: 12.5px; letter-spacing: .2em; }
}

/* =========================================================================
   主视觉媒体：图片 / 视频 可替换
   （在 js/data.js 的 CONTENT.home.hero.media 里切换 type: "image" / "video"）
   ========================================================================= */
.hero__media {
  position: absolute; left: 0; right: 0; top: -8%; bottom: -8%;
  z-index: 0; overflow: hidden;
}
.hero__media img, .hero__media video {
  display: block; width: 100%; height: 100%; object-fit: cover; will-change: transform;
}
/* 遮罩：保证文字在任何画面/视频上都清晰 */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(165deg,
    rgba(9, 32, 22, var(--scrim-a, .92)) 0%,
    rgba(16, 49, 35, var(--scrim-b, .64)) 48%,
    rgba(9, 32, 22, var(--scrim-c, .95)) 100%);
}
/* 全幅区块用横向遮罩（左侧深、右侧透） */
.hero__media--band::after {
  background: linear-gradient(90deg,
    rgba(9, 32, 22, var(--scrim-a, .9)) 0%,
    rgba(9, 32, 22, var(--scrim-b, .66)) 44%,
    rgba(9, 32, 22, var(--scrim-c, .16)) 100%);
}
.hero::before { z-index: 1; }
.page-hero::after { z-index: 1; }

/* 视频声音开关（只在用视频时出现） */
.hero__sound {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 2px; background: transparent;
  font-family: var(--serif); font-size: 15px; letter-spacing: .12em; color: #fff;
  cursor: pointer; transition: .28s ease;
}
.hero__sound:hover { background: rgba(244, 209, 158, .92); color: #2a1f08; border-color: var(--gold-2); }
.hero__sound em { font-style: normal; }
.hero__sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.hero__sound-bars i { display: block; width: 2px; height: 4px; background: currentColor; }
.hero__sound.is-on .hero__sound-bars i { animation: soundBar .9s infinite ease-in-out; }
.hero__sound.is-on .hero__sound-bars i:nth-child(2) { animation-delay: .18s; }
.hero__sound.is-on .hero__sound-bars i:nth-child(3) { animation-delay: .36s; }
@keyframes soundBar { 0%, 100% { height: 4px; } 50% { height: 13px; } }

@media (prefers-reduced-motion: reduce) {
  .hero__sound.is-on .hero__sound-bars i { animation: none; height: 9px; }
  .hero__media img, .hero__media video { will-change: auto; }
}

/* =========================================================================
   基地位置地图（高德嵌入 + 导航按钮 + 复制地址）
   ========================================================================= */
.map-grid { gap: 26px; align-items: stretch; }
.map-grid--solo { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }

/* 点击加载：先显示基地照片 + 「查看地图」按钮 */
.map-embed--click { display: block; padding: 0; overflow: hidden; }
.map-embed__cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.92) brightness(.92);
}
.map-embed__load {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; cursor: pointer;
  background: rgba(251, 249, 243, .95); border: 1px solid var(--line-gold); border-radius: 2px;
  font-family: var(--serif); font-size: 15px; letter-spacing: .16em; color: var(--green-800);
  box-shadow: var(--shadow-md); transition: .3s ease;
}
.map-embed__load:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.map-embed__load-ico { color: var(--gold); font-size: 17px; line-height: 1; }
.map-embed__load:hover .map-embed__load-ico { color: var(--gold-2); }
.map-embed__hint {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; text-align: center;
  font-size: 12px; letter-spacing: .14em; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.map-embed--live {
  position: relative; display: block; padding: 0; min-height: 400px;
  background: var(--paper-3);
}
.map-embed--live iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
}
.map-card { display: flex; flex-direction: column; margin: 0; }
.map-card__addr {
  font-family: var(--serif); font-size: 17px; line-height: 1.75;
  color: var(--green-900); letter-spacing: .04em; margin: 0;
}
.map-card__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.map-card__btns .btn { padding: 11px 20px; font-size: 14px; letter-spacing: .1em; }
.map-card__note { margin: 16px 0 0; font-size: 13px; color: var(--muted); line-height: 1.85; }

@media (max-width: 980px) {
  .map-embed--live { min-height: 320px; }
}
@media (max-width: 760px) {
  .map-card__addr { font-size: 15.5px; }
  .map-card__btns .btn { flex: 1 1 46%; }
}

/* =========================================================================
   修正 1：首屏顶到页面最上方，让「透明导航」真的浮在大图上
   （原来导航是 sticky 占了 74px，大图在它下面，所以白字压在了米白底上）
   ========================================================================= */
.hero, .page-hero { margin-top: calc(-1 * var(--header-h)); }
.hero__inner { padding-top: calc(104px + var(--header-h)); }
.page-hero { padding-top: calc(76px + var(--header-h)); }

@media (max-width: 760px) {
  .hero__inner { padding-top: calc(70px + var(--header-h)); }
  .page-hero { padding-top: calc(62px + var(--header-h)); }
}

/* 品牌名与导航文字不换行 */
.brand__name { white-space: nowrap; }
.nav__links a { white-space: nowrap; }

/* =========================================================================
   修正 2：宽屏（>1200px）显示完整导航，≤1200px 收成汉堡菜单
   ========================================================================= */
@media (max-width: 1200px) {
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 16px 18px 24px; gap: 4px;
    border-bottom: 1px solid var(--line-gold); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: .32s ease;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 13px 16px; font-size: 16px; border-radius: 2px; white-space: normal; }
  .nav__links a::after { display: none; }
  .nav__links a.nav__cta { margin-left: 0; text-align: center; }
  .nav__toggle { display: block; }

  /* 汉堡菜单展开时是宣纸底，透明状态下的白字要换回墨色 */
  .site-header.is-transparent .nav__links.open a { color: var(--ink); }
  .site-header.is-transparent .nav__links.open a.is-active { color: var(--green-800); }
  .site-header.is-transparent .nav__links.open a.nav__cta { color: var(--green-800) !important; border-color: var(--gold); }
}

@media (max-width: 480px) {
  .brand__name { font-size: 15px; letter-spacing: .08em; }
  .brand__sub { display: none; }
}
