/* =====================================================
   为信臻品 · 企业官网  设计规范：东方雅奢
   主色：墨绿 #123B32 / 深松绿 #0B2B24
   点缀：铜金 #B08D46    底色：米白 #F7F4EE
   字体：思源宋体（标题）+ 思源黑体（正文）
   ===================================================== */

:root {
  --green-900: #0B2B24;
  --green-700: #123B32;
  --green-500: #2E5C4F;
  --gold: #B08D46;
  --gold-light: #CDAE6E;
  --paper: #F7F4EE;
  --paper-dark: #EFEAE0;
  --ink: #1C1C1A;
  --ink-soft: #55534D;
  --line: #DDD6C8;
  --serif: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'SimSun', serif;
  --sans: 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--green-900);
  color: rgba(247, 244, 238, .82);
  font-size: 13px;
}
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 7px 24px;
  display: flex; justify-content: space-between; gap: 16px;
}
.topbar i { color: var(--gold-light); margin-right: 6px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 43, 36, .10); }
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal {
  width: 46px; height: 46px; flex: 0 0 46px;
  background: var(--green-700); color: var(--paper);
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; box-shadow: inset 0 0 0 2px var(--gold);
}
.brand-text strong { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: 2px; }
.brand-text em { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-soft); letter-spacing: 1px; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  padding: 8px 18px; font-size: 15.5px; color: var(--ink-soft);
  border-radius: 6px; position: relative; transition: color .25s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 2px;
  height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-700); }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-login {
  background: none; border: 1px solid var(--line); color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer;
  font-family: var(--sans); transition: all .25s;
}
.btn-login:hover { border-color: var(--gold); color: var(--green-700); }
.btn-mp {
  background: var(--green-700); color: var(--paper);
  padding: 9px 20px; border-radius: 999px; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px; transition: background .25s;
}
.btn-mp:hover { background: var(--green-900); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--green-700); cursor: pointer; }

/* ---------- 英雄区 ---------- */
.hero { background: linear-gradient(155deg, var(--paper) 0%, var(--paper-dark) 100%); overflow: hidden; }
.hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 72px 24px 88px;
  display: grid; grid-template-columns: 11fr 9fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  color: var(--gold); letter-spacing: 4px; font-size: 14px; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(38px, 5vw, 60px); line-height: 1.25; color: var(--green-900);
  letter-spacing: 3px;
}
.hero h1 .em { color: var(--gold); }
.hero-sub { margin: 24px 0 34px; font-size: 17px; color: var(--ink-soft); max-width: 30em; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; font-size: 15.5px; cursor: pointer;
  font-family: var(--sans); border: none; transition: all .25s;
}
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 22px rgba(176, 141, 70, .35); }
.btn-gold:hover { background: #9d7c38; transform: translateY(-2px); }
.btn-ghost { background: none; border: 1.5px solid var(--green-700); color: var(--green-700); }
.btn-ghost:hover { background: var(--green-700); color: var(--paper); }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.hero-stats { display: flex; gap: 44px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: 24px; color: var(--green-700); }
.hero-stats span { font-size: 13px; color: var(--ink-soft); }

.hero-visual { position: relative; min-height: 460px; }
.hero-photo {
  position: absolute; top: 0; right: 0; width: 78%; height: 82%;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 43, 36, .18);
}
.hero-card {
  position: absolute; bottom: 0; left: 0; width: 58%;
  background: var(--green-900); color: var(--paper);
  border-radius: 14px; padding: 16px;
  box-shadow: 0 20px 48px rgba(11, 43, 36, .38);
  border: 1px solid rgba(176, 141, 70, .35);
}
.hero-card-head { font-size: 14px; letter-spacing: 1px; margin-bottom: 10px; }
.hero-card-head i { color: var(--gold-light); margin-right: 8px; }
.hero-card-foot { font-size: 12.5px; color: rgba(247, 244, 238, .75); display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #E05656; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* 实拍图占位通用样式 */
.photo-placeholder {
  background: repeating-linear-gradient(45deg, #E9E3D6, #E9E3D6 12px, #EFEAE0 12px, #EFEAE0 24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #A39B88; font-size: 14px; text-align: center; gap: 8px;
}
.photo-placeholder small { font-size: 12px; color: #B3AB97; }
.photo-placeholder i { font-size: 30px; }
.live-placeholder {
  aspect-ratio: 16 / 9; border-radius: 8px;
  background: rgba(247, 244, 238, .06);
  border: 1px dashed rgba(176, 141, 70, .5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(247, 244, 238, .55); font-size: 13.5px; gap: 8px;
}
.live-placeholder i { font-size: 26px; color: var(--gold-light); }

/* ---------- 区块标题通用 ---------- */
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; }
.section-eyebrow { color: var(--gold); letter-spacing: 5px; font-size: 13px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--green-900); letter-spacing: 2px; }
.section-desc { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.more-link { color: var(--green-700); font-size: 15px; white-space: nowrap; padding-bottom: 6px; }
.more-link:hover { color: var(--gold); }

/* ---------- 溯源链条 ---------- */
.trace { background: var(--green-900); color: var(--paper); }
.trace-inner { max-width: 1240px; margin: 0 auto; padding: 96px 24px; }
.trace .section-head h2 { color: var(--paper); }
.trace .section-desc { color: rgba(247, 244, 238, .72); }
.trace-chain {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: step;
}
.trace-chain li {
  position: relative; padding: 28px 20px 24px;
  background: rgba(247, 244, 238, .05);
  border: 1px solid rgba(176, 141, 70, .28);
  border-radius: 12px;
  transition: transform .3s, background .3s;
}
.trace-chain li:hover { transform: translateY(-6px); background: rgba(247, 244, 238, .09); }
.chain-ico {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(176, 141, 70, .16); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--gold-light); margin-bottom: 16px;
}
.trace-chain h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: 1px; }
.trace-chain p { font-size: 13.5px; color: rgba(247, 244, 238, .68); line-height: 1.75; }
.trace-chain li:not(:last-child)::after {
  content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: -16px; top: 46px; color: var(--gold); font-size: 14px; z-index: 2;
}

/* ---------- 产品区 ---------- */
.products-inner { max-width: 1240px; margin: 0 auto; padding: 96px 24px; }
.product-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.product-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(11, 43, 36, .14); }
.card-water { grid-column: span 7; }
.card-chicken { grid-column: span 5; }
.card-egg { grid-column: span 5; }
.card-huangjing { grid-column: span 7; }
.product-photo { height: 220px; }
.product-info { padding: 24px 26px 28px; }
.product-info h3 { font-size: 22px; color: var(--green-900); margin-bottom: 8px; }
.product-info p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; }
.product-link { color: var(--gold); font-size: 14.5px; letter-spacing: 1px; }
.product-card:hover .product-link i { transform: translateX(4px); }
.product-link i { transition: transform .25s; }

/* ---------- 新闻区 ---------- */
.news { background: #fff; border-top: 1px solid var(--line); }
.news-inner { max-width: 1240px; margin: 0 auto; padding: 96px 24px; }
.news-list li {
  display: flex; gap: 36px; padding: 26px 6px;
  border-bottom: 1px solid var(--line); align-items: baseline;
}
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-date {
  font-family: var(--serif); color: var(--gold); font-size: 15px;
  flex: 0 0 96px; letter-spacing: 1px;
}
.news-list h3 { font-size: 18.5px; color: var(--ink); transition: color .25s; }
.news-list li:hover h3 { color: var(--green-700); }
.news-list p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--green-900); color: rgba(247, 244, 238, .78); }
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 72px 24px 48px;
  display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 40px;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand p { margin-top: 6px; font-size: 14px; color: var(--gold-light); letter-spacing: 1px; }
.footer-brand strong { font-family: var(--serif); font-size: 22px; color: var(--paper); letter-spacing: 2px; }
.footer-col h4 {
  font-size: 16px; color: var(--paper); margin-bottom: 18px; letter-spacing: 2px;
}
.footer-col a { display: block; font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { font-size: 14px; padding: 5px 0; }
.footer-col i { color: var(--gold-light); margin-right: 8px; width: 16px; }
.mp-qrcode { width: 108px; height: 108px; border-radius: 8px; margin-top: 12px; }
.mp-qrcode i { font-size: 34px; margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(247, 244, 238, .12);
  padding: 20px 24px; text-align: center; font-size: 13px;
  color: rgba(247, 244, 238, .5);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 悬浮商城按钮 ---------- */
.mp-float {
  position: fixed; right: 26px; bottom: 90px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--gold); color: #fff; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; box-shadow: 0 10px 26px rgba(176, 141, 70, .45);
  transition: transform .25s;
}
.mp-float:hover { transform: scale(1.08); }
.mp-float i { font-size: 20px; }
.mp-float span { font-size: 11px; letter-spacing: 2px; }

/* ---------- 登录弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 43, 36, .55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask[hidden] { display: none; }
.modal {
  background: var(--paper); border-radius: 16px; padding: 38px 36px;
  width: 100%; max-width: 400px; position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.modal h3 { font-size: 24px; color: var(--green-900); margin-bottom: 8px; }
.modal-tip { font-size: 13px; color: var(--gold); margin-bottom: 22px; }
.modal label { display: block; font-size: 14px; color: var(--ink-soft); margin: 14px 0 6px; }
.modal input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; background: #fff; font-family: var(--sans);
}
.modal .btn { margin-top: 26px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 20px; color: var(--ink-soft); cursor: pointer;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { min-height: 420px; }
  .trace-chain { grid-template-columns: repeat(2, 1fr); }
  .trace-chain li:not(:last-child)::after { display: none; }
  .card-water, .card-chicken, .card-egg, .card-huangjing { grid-column: span 12; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 12px 24px; gap: 4px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .btn-login { display: none; }
  .topbar-right { display: none; }
  .hero-visual { min-height: 380px; }
  .hero-photo { width: 100%; height: 70%; }
  .hero-card { width: 76%; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .trace-chain { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .news-list li { flex-direction: column; gap: 6px; }
  .mp-float { right: 16px; bottom: 70px; }
}
/* =====================================================
   内页通用 + 关于我们
   ===================================================== */
.page-hero {
  background: linear-gradient(140deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--paper); padding: 76px 24px 64px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(176, 141, 70, .35);
}
.page-hero::before {
  content: ''; position: absolute; right: -20px; top: -20px;
  width: 160px; height: 160px; border-radius: 50%;
  border: 1px solid rgba(176, 141, 70, .25);
}
.page-hero-inner { max-width: 1240px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(247, 244, 238, .6); letter-spacing: 1px; margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-light); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: 3px; }
.page-hero p.page-desc { margin-top: 14px; color: rgba(247, 244, 238, .72); font-size: 16px; max-width: 40em; }

.page-body { max-width: 1240px; margin: 0 auto; padding: 80px 24px 96px; }
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.about-text h2 { font-size: 26px; color: var(--green-900); margin: 34px 0 14px; letter-spacing: 1px; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.about-photo {
  border-radius: 14px; overflow: hidden; box-shadow: 0 20px 48px rgba(11, 43, 36, .16);
}
.about-photo .photo-placeholder { height: 320px; }
.about-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px;
}
.about-facts li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px;
}
.about-facts strong { font-family: var(--serif); color: var(--green-700); font-size: 17px; display: block; }
.about-facts span { font-size: 13px; color: var(--ink-soft); }

/* 三层品牌架构 */
.arch { margin-top: 84px; }
.arch-layers { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.arch-stack { display: flex; flex-direction: column; gap: 0; }
.arch-layer {
  padding: 26px 28px; border-radius: 12px; color: var(--paper);
  position: relative;
}
.arch-layer + .arch-layer { margin-top: 10px; }
.arch-root { background: var(--green-900); }
.arch-platform { background: var(--green-700); margin-left: 32px; }
.arch-brand { background: var(--gold); margin-left: 64px; }
.arch-layer h3 { font-size: 20px; letter-spacing: 2px; }
.arch-layer p { font-size: 13.5px; color: rgba(247, 244, 238, .8); margin-top: 4px; }
.arch-layer small { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 2px; color: var(--gold-light); }
.arch-brand small { color: rgba(255, 255, 255, .85); }
.arch-note { color: var(--ink-soft); font-size: 15.5px; }
.arch-note strong { color: var(--green-700); }
.arch-note .keyline { border-left: 3px solid var(--gold); padding: 14px 18px; background: #fff; margin: 18px 0; font-family: var(--serif); font-size: 17px; color: var(--green-900); }

/* 选品原则 */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.principle {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 30px; transition: transform .3s, box-shadow .3s;
}
.principle:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 43, 36, .12); }
.principle i { font-size: 26px; color: var(--gold); margin-bottom: 16px; }
.principle h3 { font-size: 20px; color: var(--green-900); margin-bottom: 10px; }
.principle p { font-size: 14.5px; color: var(--ink-soft); }

/* 发展历程 */
.timeline { margin-top: 40px; border-left: 2px solid var(--line); padding-left: 32px; }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li::before {
  content: ''; position: absolute; left: -39px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--gold);
}
.timeline strong { font-family: var(--serif); color: var(--green-700); font-size: 17px; margin-right: 12px; }
.timeline span { color: var(--ink-soft); font-size: 14.5px; }

@media (max-width: 1024px) {
  .about-grid, .arch-layers { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .arch-platform { margin-left: 16px; }
  .arch-brand { margin-left: 32px; }
}
/* =====================================================
   产品服务页
   ===================================================== */
.pledge {
  background: var(--gold); color: #fff;
  border-radius: 14px; padding: 30px 36px;
  display: flex; align-items: center; gap: 22px;
  box-shadow: 0 14px 36px rgba(176, 141, 70, .3);
}
.pledge i { font-size: 34px; flex: 0 0 auto; }
.pledge h3 { font-size: 20px; letter-spacing: 1px; margin-bottom: 4px; }
.pledge p { font-size: 14.5px; color: rgba(255, 255, 255, .92); }

.catalog { margin-top: 24px; }
.catalog-item {
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px;
  padding: 64px 0; border-bottom: 1px solid var(--line);
  align-items: center;
}
.catalog-item:last-child { border-bottom: none; }
.catalog-item:nth-child(even) { direction: rtl; }
.catalog-item:nth-child(even) > * { direction: ltr; }
.catalog-photo {
  border-radius: 14px; overflow: hidden; box-shadow: 0 20px 48px rgba(11, 43, 36, .14);
}
.catalog-photo .photo-placeholder { height: 300px; }
.catalog-info .cat-tag {
  display: inline-block; font-size: 12px; letter-spacing: 2px;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 3px 12px; border-radius: 999px; margin-bottom: 14px;
}
.catalog-info h3 { font-size: 28px; color: var(--green-900); letter-spacing: 2px; margin-bottom: 6px; }
.catalog-info .cat-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.catalog-info ul.cat-points { margin: 18px 0 22px; }
.catalog-info ul.cat-points li {
  position: relative; padding: 6px 0 6px 26px;
  font-size: 15px; color: var(--ink-soft);
}
.catalog-info ul.cat-points li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 8px; font-size: 13px; color: var(--gold);
}
.cat-vs {
  background: var(--paper-dark); border-left: 3px solid var(--gold);
  padding: 12px 16px; font-size: 13.5px; color: var(--ink-soft);
  border-radius: 0 8px 8px 0; margin-bottom: 22px;
}
.cat-vs strong { color: var(--green-700); }
.trace-mini { margin-top: 80px; }
.trace-mini .principles { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .catalog-item { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .catalog-item:nth-child(even) { direction: ltr; }
  .trace-mini .principles { grid-template-columns: 1fr; }
}
/* =====================================================
   企业新闻页 + 文章详情
   ===================================================== */
.news-page-list li {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 32px;
  padding: 30px 10px; border-bottom: 1px solid var(--line);
  align-items: center; transition: background .25s;
}
.news-page-list li:first-child { border-top: 1px solid var(--line); }
.news-page-list li:hover { background: #fff; }
.np-date { font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.np-date small { display: block; font-family: var(--sans); color: var(--ink-soft); font-size: 12px; letter-spacing: 0; }
.np-title { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.np-title:hover { color: var(--green-700); }
.np-excerpt { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.np-arrow { color: var(--line); font-size: 18px; transition: color .25s, transform .25s; }
.news-page-list li:hover .np-arrow { color: var(--gold); transform: translateX(4px); }
.np-cat {
  display: inline-block; font-size: 12px; color: var(--green-700);
  background: var(--paper-dark); border-radius: 999px;
  padding: 2px 12px; margin-bottom: 8px; letter-spacing: 1px;
}

/* 文章详情 */
.article { max-width: 780px; margin: 0 auto; }
.article-head { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-head .np-cat { margin-bottom: 16px; }
.article-head h1 { font-size: clamp(26px, 3.4vw, 36px); color: var(--green-900); line-height: 1.4; letter-spacing: 1px; }
.article-meta { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 24px; }
.article-meta i { color: var(--gold); margin-right: 6px; }
.article-body p { font-size: 16px; color: #3A3833; margin-bottom: 20px; line-height: 1.9; }
.article-body h2 {
  font-size: 22px; color: var(--green-900); margin: 38px 0 16px; letter-spacing: 1px;
}
.article-body h2::before { content: '§ '; color: var(--gold); }
.article-body blockquote {
  border-left: 3px solid var(--gold); background: #fff;
  padding: 16px 22px; margin: 24px 0; color: var(--green-700);
  font-family: var(--serif); font-size: 17px;
}
.article-figure {
  margin: 28px 0; border-radius: 12px; overflow: hidden;
}
.article-figure .photo-placeholder { height: 320px; }
.article-figure figcaption {
  text-align: center; font-size: 13px; color: var(--ink-soft); padding: 10px 0 0;
}
.article-back { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-back a { color: var(--green-700); font-size: 15px; }
.article-back a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .news-page-list li { grid-template-columns: 1fr; gap: 8px; }
  .np-arrow { display: none; }
}
/* =====================================================
   联系我们页
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.info-cards { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start;
}
.info-card i {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
  background: var(--green-900); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.info-card h3 { font-size: 17px; color: var(--green-900); margin-bottom: 4px; }
.info-card p { font-size: 14.5px; color: var(--ink-soft); }
.info-card .ent { font-size: 13px; color: var(--gold); margin-top: 6px; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 38px 40px;
}
.contact-form h3 { font-size: 22px; color: var(--green-900); margin-bottom: 6px; }
.contact-form .form-tip { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 7px; }
.form-field label .req { color: var(--gold); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: var(--sans); background: var(--paper); color: var(--ink);
  transition: border-color .25s, background .25s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-msg { font-size: 14px; margin-top: 14px; display: none; }
.form-msg.ok { color: var(--green-500); display: block; }
.form-msg.err { color: #C0554F; display: block; }

.map-block { margin-top: 64px; }
.map-frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  height: 320px; position: relative;
}
.map-frame .photo-placeholder { height: 100%; }
.map-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}
/* =====================================================
   用户体系：登录弹窗 / 顶栏用户态
   ===================================================== */
.lm-tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.lm-tab {
  flex: 1; padding: 10px 0; background: none; border: none;
  font-family: var(--sans); font-size: 15px; color: var(--ink-soft);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.lm-tab.active { color: var(--green-900); border-bottom-color: var(--gold); font-weight: 500; }
.lm-msg { font-size: 13.5px; color: var(--green-500); margin-top: 10px; min-height: 18px; }
.lm-msg.err { color: #C0554F; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--green-900);
}
.user-chip i { color: var(--gold); font-size: 16px; }
.user-chip a { font-size: 13px; color: var(--ink-soft); text-decoration: underline; }
.user-chip a:hover { color: var(--gold); }

/* =====================================================
   管理后台
   ===================================================== */
.admin-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 24px 80px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-head h1 { font-size: 24px; color: var(--green-900); }
.admin-login { max-width: 380px; margin: 12vh auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px 34px; }
.admin-login h2 { font-size: 21px; color: var(--green-900); margin-bottom: 6px; }
.admin-login p.tip { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.stat-card strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--green-700); }
.stat-card span { font-size: 13px; color: var(--ink-soft); }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin-bottom: 26px; }
.admin-panel h3 { font-size: 18px; color: var(--green-900); margin-bottom: 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--green-700); font-weight: 500; font-size: 13px; }
.admin-table td.op { white-space: nowrap; width: 150px; }
.admin-table .btn-mini {
  background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 5px 10px; font-size: 13px; cursor: pointer; color: var(--ink-soft); margin-right: 6px;
}
.admin-table .btn-mini:hover { border-color: var(--gold); color: var(--gold); }
.admin-table .btn-mini.danger:hover { border-color: #C0554F; color: #C0554F; }
.badge { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--paper-dark); color: var(--ink-soft); }
.badge.new { background: #F5E9CE; color: #8A6B22; }
.admin-form-grid { display: grid; gap: 14px; }
.admin-form-grid input, .admin-form-grid textarea, .admin-form-grid select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; font-family: var(--sans); background: var(--paper);
}
.admin-form-grid textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
.admin-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-actions { display: flex; gap: 10px; margin-top: 6px; }
.admin-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 768px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-row2 { grid-template-columns: 1fr; }
  .admin-table { font-size: 13px; }
}
/* =====================================================
   管理后台：标签栏 + 站点内容编辑（响应式）
   ===================================================== */
.admin-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.admin-tab {
  background: none; border: none; padding: 12px 18px; cursor: pointer;
  font-family: var(--sans); font-size: 15px; color: var(--ink-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.admin-tab i { margin-right: 6px; color: var(--gold); }
.admin-tab:hover { color: var(--green-900); }
.admin-tab.active { color: var(--green-900); border-bottom-color: var(--gold); font-weight: 500; }

.cms-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.cms-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 8px; }
.cms-side-title { font-size: 12px; letter-spacing: 2px; color: #A39B88; margin-bottom: 4px; }
.cms-page-btn {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.cms-page-btn strong { display: block; font-size: 15px; color: var(--green-900); font-weight: 500; }
.cms-page-btn small { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }
.cms-page-btn:hover { border-color: var(--gold); }
.cms-page-btn.active { border-color: var(--gold); box-shadow: 0 4px 14px rgba(176, 141, 70, .18); background: #FDFBF6; }

.cms-main { min-width: 0; }
.cms-main-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 18px; flex-wrap: wrap;
}
.cms-main-head h3 { font-size: 20px; color: var(--green-900); }
.cms-main-head p { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.cms-main-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cms-items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cms-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; min-width: 0;
}
.cms-item:has(.cms-media) { grid-column: 1 / -1; }
.cms-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--green-900); margin-bottom: 8px; }
.cms-type { font-size: 11px; color: #A39B88; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; letter-spacing: .5px; }
.cms-status { margin-left: auto; font-size: 12px; color: #A39B88; }
.cms-status.ok { color: var(--green-500); }
.cms-status.ing { color: var(--gold); }
.cms-status.err { color: #C0554F; }
.cms-tip { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; line-height: 1.5; }
.cms-input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.6;
}
.cms-input:focus { outline: none; border-color: var(--gold); background: #fff; }
textarea.cms-input { resize: vertical; }

.cms-media { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; }
.cms-preview {
  border: 1px dashed var(--line); border-radius: 10px; height: 130px; overflow: hidden;
  background: var(--paper); display: flex; align-items: center; justify-content: center;
}
.cms-preview img { width: 100%; height: 100%; object-fit: cover; }
.cms-preview video { width: 100%; height: 100%; object-fit: cover; background: #0B2B24; }
.cms-empty { font-size: 12.5px; color: #A39B88; }
.cms-media-ctl { display: flex; flex-direction: column; gap: 10px; }
.cms-media-ctl .btn-mini { align-self: flex-start; }

.cms-toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: var(--green-900); color: #fff; padding: 12px 22px; border-radius: 8px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .28s; z-index: 999;
  box-shadow: 0 10px 30px rgba(11, 43, 36, .3);
}
.cms-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cms-toast.err { background: #C0554F; }

/* 响应式：平板 —— 侧栏转为横向条 */
@media (max-width: 1100px) {
  .cms-layout { grid-template-columns: 1fr; }
  .cms-side { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; gap: 10px; }
  .cms-side-title { display: none; }
  .cms-page-btn { flex: 0 0 auto; min-width: 170px; }
  .cms-page-btn small { display: none; }
}
/* 响应式：手机 —— 单列全宽 */
@media (max-width: 720px) {
  .cms-items { grid-template-columns: 1fr; }
  .cms-media { grid-template-columns: 1fr; }
  .cms-preview { height: 180px; }
  .cms-main-head { flex-direction: column; }
  .cms-main-actions { width: 100%; }
  .cms-main-actions > * { flex: 1; text-align: center; }
  .admin-head { flex-direction: column; align-items: flex-start; }
  .admin-head > div { width: 100%; display: flex; gap: 8px; flex-wrap: wrap; }
  .admin-head .btn { flex: 1; text-align: center; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
}
