* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #ffffff; color: #2b2927; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.jx-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* 中轴对称导航 + 中间藏青竖标牌 */
.jx-nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.95); border-bottom: 1px solid #eceae6; }
.jx-nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.jx-center-plaque { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 70px; background: #1c264a; color: #ffffff; font-size: 18px; font-weight: 800; letter-spacing: 0.08em; text-decoration: none; flex-shrink: 0; }
.jx-links { display: flex; align-items: center; gap: 28px; }
.jx-links .nav-item { position: relative; display: inline-flex; align-items: center; }
.jx-links a, .jx-links .nav-item > a { position: relative; display: inline-flex; align-items: center; padding: 8px 2px; font-size: 13.5px; color: #4a4846; text-decoration: none; white-space: nowrap; }
.jx-links a:hover, .jx-links a.active, .jx-links .nav-item.active > a { color: #1c264a; font-weight: 700; }
.jx-links a.active::after, .jx-links .nav-item.active > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: #d4943a; }
.jx-links .nav-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 140px; padding: 8px 0; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,0.12); z-index: 80; }
.jx-links .nav-item:hover > .nav-dropdown { display: block; }
.jx-links .nav-dropdown a { display: block; padding: 8px 14px; font-size: 13px; }
.jx-links .nav-dropdown a.active::after { display: none; }
.mob-nav-chk { display: none; }
.mob-nav-burger { display: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; padding: 6px; margin-left: auto; }
.mob-nav-burger span { display: block; width: 20px; height: 2px; background: #1c264a; border-radius: 2px; }
@media (max-width: 768px) {
  .mob-nav-burger { display: inline-flex; }
  .jx-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; background: #ffffff; box-shadow: 0 16px 32px rgba(0,0,0,0.14); z-index: 90; }
  .mob-nav-chk:checked ~ .jx-links { display: flex; }
  .jx-links a, .jx-links .nav-item > a { display: block; width: 100%; padding: 12px 4px; border-bottom: 1px solid #f1f5f9; }
  .jx-links a.active::after, .jx-links .nav-item.active > a::after { display: none; }
}

/* 古风人参暗调全幅 Hero */
.jx-hero { position: relative; min-height: 480px; background: #1b1612; display: flex; align-items: center; overflow: hidden; }
.jx-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.jx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,0.72) 0%, rgba(20,15,10,0.22) 60%, rgba(20,15,10,0.45) 100%); }
.jx-hero-in { position: relative; z-index: 2; color: #f8f2e8; max-width: 560px; padding: 72px 0; }
.jx-hero-in small { display: block; font-size: 12px; letter-spacing: 0.24em; color: #e2b56e; margin-bottom: 14px; }
.jx-hero-in h1 { margin: 0 0 14px; font-size: 40px; font-weight: 700; line-height: 1.3; }
.jx-hero-in p { margin: 0; font-size: 14.5px; line-height: 1.85; color: rgba(248,242,232,0.85); }

/* 居中标题横线规范 */
.jx-sec-head { text-align: center; margin-bottom: 36px; }
.jx-brand-line { display: inline-flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 700; color: #1c264a; margin-bottom: 10px; }
.jx-brand-line::before, .jx-brand-line::after { content: ""; width: 72px; height: 1px; background: #cbd5e1; }
.jx-sec-head h2 { margin: 0 0 6px; font-size: 26px; font-weight: 600; color: #2b2927; }
.jx-sec-head p { margin: 0; font-size: 13px; color: #8c8884; }

/* 居中产品展示 */
.jx-prod-center { padding: 72px 0 64px; background: #ffffff; text-align: center; }
.jx-prod-stage { max-width: 720px; margin: 0 auto 24px; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.jx-prod-stage img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.jx-prod-cap h3 { margin: 0 0 6px; font-size: 18px; color: #333; }
.jx-prod-cap p { margin: 0; font-size: 13px; color: #8c8884; }

/* 50/50 暖杏金双拼大海报 */
.jx-duo { display: grid; grid-template-columns: 1fr 1fr; }
.jx-duo-item { padding: 56px 40px; text-align: center; background: linear-gradient(180deg, #f8dfba 0%, #f3d09e 100%); border-right: 1px solid rgba(255,255,255,0.4); }
.jx-duo-item:last-child { background: linear-gradient(180deg, #f6d7a7 0%, #efc585 100%); border-right: 0; }
.jx-duo-pill { display: inline-block; padding: 4px 16px; border-radius: 999px; background: rgba(140,98,57,0.16); color: #6e4822; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.jx-duo-item h3 { margin: 0 0 22px; font-size: 24px; font-weight: 700; color: #6e4822; }
.jx-duo-item img { max-width: 340px; margin: 0 auto; border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 14px 30px rgba(110,72,34,0.18); }

/* 今幸之路 4 列图标 */
.jx-road { padding: 78px 0; background: #ffffff; }
.jx-road-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; margin-top: 38px; }
.jx-road-ico { width: 58px; height: 58px; border-radius: 50%; background: #eef1f7; color: #1c264a; font-size: 20px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.jx-road-item h3 { margin: 0 0 8px; font-size: 16px; color: #1c264a; }
.jx-road-item p { margin: 0; font-size: 12.5px; color: #8c8884; line-height: 1.65; }

/* 品牌故事暗调全幅 */
.jx-story { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; text-align: center; color: #ffffff; overflow: hidden; background: #261c15; }
.jx-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.jx-story-in { position: relative; z-index: 2; max-width: 620px; padding: 64px 24px; }
.jx-story-in h2 { margin: 10px 0 8px; font-size: 28px; }
.jx-story-in p { margin: 0 0 20px; font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,0.85); }
.jx-story-in a { color: #e8c384; font-size: 13px; text-decoration: none; border-bottom: 1px solid #e8c384; padding-bottom: 3px; }

/* 深藏青 #1c264a 页脚 */
.jx-footer { background: #1c264a; color: rgba(255,255,255,0.75); padding: 52px 0 26px; }
.jx-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.jx-foot-grid h4 { margin: 0 0 12px; font-size: 14px; color: #ffffff; }
.jx-foot-grid p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.jx-foot-grid a { display: block; font-size: 12.5px; color: rgba(255,255,255,0.72); text-decoration: none; margin-bottom: 8px; }
.jx-foot-links { padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: rgba(255,255,255,0.55); }
.jx-foot-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.jx-foot-bot { padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: rgba(255,255,255,0.48); }

/* 子页面 */
.jx-sub-banner { background: #1c264a; color: #ffffff; padding: 48px 0; }
.jx-sub-banner h1 { margin: 0 0 8px; font-size: 30px; }
.jx-crumb { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.jx-crumb a { color: #ffffff; text-decoration: none; }
.jx-sec { padding: 56px 0; background: #f8f7f5; }
.jx-panel { background: #ffffff; border: 1px solid #e8e5df; border-radius: 10px; padding: 28px 32px; }
.jx-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.jx-pcard { background: #ffffff; border: 1px solid #e8e5df; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.jx-pimg img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.jx-pb { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.jx-pb h3 { margin: 0 0 6px; font-size: 15.5px; color: #1c264a; }
.jx-pb p { margin: 0 0 12px; font-size: 12.5px; color: #6e6863; flex: 1; }
.jx-pb a { font-size: 12.5px; font-weight: 700; color: #8c6d46; text-decoration: none; }
.jx-art-list { display: grid; gap: 14px; }
.jx-art-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: #ffffff; border: 1px solid #e8e5df; border-radius: 8px; text-decoration: none; }
.jx-art-row h3 { margin: 0 0 6px; font-size: 16px; color: #1c264a; }
.jx-art-row p { margin: 0; font-size: 13px; color: #6e6863; }
.jx-detail-body { font-size: 15px; line-height: 1.85; color: #333; }

@media (max-width: 900px) {
  .jx-duo, .jx-road-grid, .jx-foot-grid { grid-template-columns: 1fr; }
  .jx-pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .jx-pgrid { grid-template-columns: 1fr; } }

/* cms-lang-slot */
.cms-lang-slot {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
}
.cms-lang-slot:empty { display: none; }
.cms-lang-slot .lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(6px);
}
.cms-lang-slot .lang-btn {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
  transition: all 0.16s ease;
  white-space: nowrap;
}
.cms-lang-slot .lang-btn:hover { opacity: 1; }
.cms-lang-slot .lang-btn.active {
  background: #1c264a;
  color: #ffffff !important;
  opacity: 1;
}
@media (max-width: 768px) {
  .cms-lang-slot { margin-left: 6px; }
  .cms-lang-slot .lang-btn { padding: 2px 7px; font-size: 11px; }
}
