/* ============================================================
   万商云集 · 内江站（甜城书画·蔗黄+墨）
   类前缀：nj-   全部样式集中于此文件
   ============================================================ */
:root {
  --ink: #262321;
  --primary: #D9B44A;
  --primary-2: #E6C860;
  --accent: #2B2B2B;
  --bg: #F7F4EC;
  --bg-alt: #EFEADD;
  --line: #E0D8C6;
  --heading: #2A2620;
  --muted: #6E665A;
  --radius: 8px;
  --shadow: 0 10px 24px rgba(38, 35, 33, .10);
  --gradient: linear-gradient(135deg, #D9B44A, #2B2B2B);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(38, 35, 33, .018) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(38, 35, 33, .018) 0 1px, transparent 1px 22px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* 容器 */
.nj-hero__inner,
.nj-sec__inner,
.nj-pagehead__inner,
.nj-footer__inner,
.nj-prodhero__inner,
.nj-prodshow__inner,
.nj-contact__inner { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- 顶栏 ---------- */
.nj-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 22px;
  background: rgba(247, 244, 236, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nj-topbar__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nj-topbar__logo { width: 38px; height: 38px; border-radius: var(--radius); object-fit: contain; }
.nj-topbar__name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--heading); letter-spacing: .5px; }
.nj-topbar__loc { font-size: 13px; color: var(--muted); }
.nj-topbar__loc b { color: var(--accent); }
.nj-nav { display: flex; gap: 6px; }
.nj-nav__link {
  padding: 8px 14px; border-radius: var(--radius);
  font-size: 15px; color: var(--ink); transition: .2s;
}
.nj-nav__link:hover { background: var(--bg-alt); color: var(--accent); }
.nj-nav__link--on { background: var(--gradient); color: #fff; }
.nj-burger {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 38px; padding: 9px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer;
}
.nj-burger span { height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 移动抽屉 ---------- */
.nj-drawer {
  position: fixed; top: 0; right: -320px; width: 300px; max-width: 86vw;
  height: 100vh; z-index: 80; background: var(--bg);
  box-shadow: -10px 0 30px rgba(38, 35, 33, .18);
  transition: right .28s ease; padding: 18px; overflow-y: auto;
  border-left: 4px solid var(--primary);
}
.nj-drawer--open { right: 0; }
.nj-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif); font-weight: 700; color: var(--heading);
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
.nj-drawer__close {
  width: 34px; height: 34px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink);
}
.nj-drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.nj-drawer__link { padding: 12px 12px; border-radius: var(--radius); color: var(--ink); }
.nj-drawer__link:hover, .nj-drawer__link--on { background: var(--bg-alt); color: var(--accent); }
.nj-drawer__tel {
  display: block; margin-top: 16px; text-align: center; padding: 12px;
  background: var(--gradient); color: #fff; border-radius: var(--radius); font-weight: 700;
}
.nj-scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(38, 35, 33, .45);
  opacity: 0; visibility: hidden; transition: .25s;
}
.nj-scrim.nj-scrim--show { opacity: 1; visibility: visible; }
body.nj-noscroll { overflow: hidden; }

/* ---------- 通用区块 ---------- */
.nj-sec { padding: 64px 0; }
.nj-sec--alt { background: var(--bg-alt); }
.nj-sec--band { background: var(--accent); color: #f4efe2; }
.nj-sec--band .nj-sec__title, .nj-sec--band .nj-eyebrow { color: #fff; }
.nj-sec--band .nj-sec__lead { color: #d9d2c2; }
.nj-sec__inner { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.nj-sec__head { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.nj-sec__head--center { text-align: center; }
.nj-eyebrow {
  display: inline-block; font-family: var(--serif); font-size: 14px; letter-spacing: 3px;
  color: var(--accent); padding: 4px 12px; border: 1px solid var(--primary);
  border-radius: 999px; margin-bottom: 14px;
}
.nj-sec__title { font-family: var(--serif); font-size: 30px; color: var(--heading); margin: 0 0 12px; line-height: 1.3; }
.nj-sec__lead { color: var(--muted); font-size: 16px; margin: 0; }
.nj-sec__more { display: inline-block; margin-top: 18px; color: var(--accent); font-weight: 600; }

/* ---------- 按钮 ---------- */
.nj-btn {
  display: inline-block; padding: 11px 22px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: .2s; font-family: var(--sans);
}
.nj-btn--lg { padding: 14px 30px; font-size: 16px; }
.nj-btn--primary { background: var(--primary); color: #2A2208; }
.nj-btn--primary:hover { background: var(--primary-2); }
.nj-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.nj-btn--ghost:hover { border-color: var(--accent); }
.nj-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.nj-btn--outline:hover { background: rgba(255,255,255,.12); }
.nj-btn--light { background: #fff; color: var(--accent); }
.nj-btn--light:hover { background: var(--bg-alt); }

/* ---------- Hero（分栏·书画笔触·米纸底纹） ---------- */
.nj-hero { position: relative; padding: 70px 0 56px; overflow: hidden; }
.nj-hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.nj-hero__body { position: relative; z-index: 2; }
.nj-hero__badge {
  display: inline-block; font-family: var(--serif); font-size: 14px; letter-spacing: 2px;
  color: var(--accent); background: var(--bg-alt); border: 1px solid var(--line);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.nj-hero__title {
  font-family: var(--serif); font-size: 46px; line-height: 1.18; color: var(--heading);
  margin: 0 0 18px; position: relative;
}
.nj-hero__title::after {
  content: ""; display: block; width: 90px; height: 6px; margin-top: 16px;
  background: var(--gradient); border-radius: 4px;
}
.nj-hero__sub { font-size: 17px; color: var(--ink); margin: 0 0 14px; max-width: 520px; }
.nj-hero__meta { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.nj-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.nj-hero__art { position: relative; z-index: 1; }
.nj-hero__art::before {
  content: ""; position: absolute; top: -26px; right: -22px; width: 150px; height: 150px;
  background: var(--gradient); opacity: .18; border-radius: 50%; z-index: -1;
}
.nj-hero__art::after {
  content: ""; position: absolute; left: -18px; bottom: -16px; width: 120px; height: 14px;
  background: var(--primary); opacity: .5; border-radius: 999px; transform: rotate(-8deg); z-index: -1;
}
.nj-hero__art img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.nj-hero__seal {
  position: absolute; top: 8px; right: 8px; width: 56px; height: 56px;
  display: grid; place-items: center; font-family: var(--serif); font-size: 26px;
  color: #fff; background: #B23A2E; border-radius: 8px; transform: rotate(6deg);
  box-shadow: var(--shadow);
}

/* ---------- 数据指标 ---------- */
.nj-metrics { background: var(--bg-alt); padding: 40px 0; }
.nj-metrics__inner { max-width: 1140px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nj-metrics__item { text-align: center; }
.nj-metrics__num { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--accent); }
.nj-metrics__unit { font-size: 18px; margin-left: 2px; }
.nj-metrics__label { color: var(--muted); font-size: 14px; }

/* ---------- 关于 ---------- */
.nj-about { display: grid; grid-template-columns: 1.4fr .6fr; gap: 36px; align-items: start; }
.nj-about__brief { color: var(--ink); }
.nj-about__full { display: none; color: var(--ink); }
.nj-about__full--open { display: block; }
.nj-about__btn {
  margin: 16px 0; display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--accent); color: var(--accent);
  padding: 9px 18px; border-radius: var(--radius); cursor: pointer; font-family: var(--sans); font-size: 14px;
}
.nj-about__btn:hover { background: var(--accent); color: #fff; }
.nj-about__media img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- 产品列表行（序号+标题+描述） ---------- */
.nj-prodlist { list-style: none; margin: 0; padding: 0; counter-reset: pl; }
.nj-prodlist__item {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.nj-prodlist__no {
  font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--primary);
  background: var(--bg-alt); width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--radius);
}
.nj-prodlist__title { font-family: var(--serif); font-size: 21px; margin: 4px 0 6px; color: var(--heading); }
.nj-prodlist__title a:hover { color: var(--accent); }
.nj-prodlist__desc { color: var(--muted); margin: 0; }

/* ---------- 引言块 ---------- */
.nj-quote { background: var(--accent); color: #f4efe2; padding: 54px 0; }
.nj-quote__inner { max-width: 880px; margin: 0 auto; padding: 0 22px; text-align: center; }
.nj-quote__text { font-family: var(--serif); font-size: 26px; line-height: 1.7; margin: 0 0 14px; }
.nj-quote__by { color: var(--primary-2); font-size: 15px; margin: 0; letter-spacing: 1px; }

/* ---------- FAQ ---------- */
.nj-faq { max-width: 880px; margin: 0 auto; }
.nj-faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.nj-faq__item > summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--heading);
  list-style: none; display: flex; justify-content: space-between; gap: 12px; font-family: var(--serif);
}
.nj-faq__item > summary::-webkit-details-marker { display: none; }
.nj-faq__item > summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
.nj-faq__item[open] > summary::after { content: "\2212"; }
.nj-faq__body { padding: 0 20px 18px; color: var(--muted); }

/* ---------- CTA ---------- */
.nj-cta { text-align: center; }
.nj-cta__inner { max-width: 760px; margin: 0 auto; padding: 0 22px; }
.nj-cta__phone { display: inline-block; font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--accent); margin: 14px 0 22px; }
.nj-cta__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 企业站点 ---------- */
.nj-companies { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nj-companies__item a {
  display: inline-block; padding: 8px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink); font-size: 14px;
}
.nj-companies__item a:hover { border-color: var(--primary); color: var(--accent); }

/* ---------- 广告图 ---------- */
.nj-adfigure { margin: 0 auto; max-width: 1000px; }
.nj-adfigure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- 内页页头 ---------- */
.nj-pagehead { background: var(--bg-alt); padding: 54px 0 40px; border-bottom: 1px solid var(--line); }
.nj-pagehead__inner { max-width: 1140px; margin: 0 auto; padding: 0 22px; text-align: center; }
.nj-page__title { font-family: var(--serif); font-size: 36px; color: var(--heading); margin: 6px 0 10px; }
.nj-page__lead { color: var(--muted); margin: 0; }

/* ---------- 资讯列表 ---------- */
.nj-newslist { list-style: none; margin: 0; padding: 0; }
.nj-newslist__item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.nj-newslist__link { font-family: var(--serif); font-size: 20px; color: var(--heading); font-weight: 600; }
.nj-newslist__link:hover { color: var(--accent); }
.nj-newslist__date { display: block; color: var(--muted); font-size: 13px; margin: 4px 0; }
.nj-newslist__desc { color: var(--muted); margin: 6px 0 0; }
.nj-empty { color: var(--muted); text-align: center; padding: 30px 0; }
.nj-pager { margin-top: 30px; text-align: center; }
.nj-pager a, .nj-pager span { display: inline-block; margin: 0 4px; padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.nj-pager .current, .nj-pager a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- 详情双栏 ---------- */
.nj-main--show { display: grid; grid-template-columns: 1fr 320px; gap: 36px; max-width: 1140px; margin: 0 auto; padding: 40px 22px; align-items: start; }
.nj-post__title { font-family: var(--serif); font-size: 30px; color: var(--heading); margin: 8px 0 10px; line-height: 1.35; }
.nj-post__meta { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.nj-post__body { color: var(--ink); font-size: 16px; }
.nj-post__body img { border-radius: var(--radius); margin: 16px 0; }
.nj-side { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 84px; }
.nj-side__title { font-family: var(--serif); font-size: 19px; color: var(--heading); margin: 0 0 14px; }
.nj-side__list { list-style: none; margin: 0; padding: 0; }
.nj-side__item { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.nj-side__item a { color: var(--ink); font-size: 15px; }
.nj-side__item a:hover { color: var(--accent); }

/* ---------- 产品详情 ---------- */
.nj-prodhero { padding: 44px 0 20px; }
.nj-prodhero__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.nj-prodhero__media img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.nj-prodhero__title { font-family: var(--serif); font-size: 32px; color: var(--heading); margin: 8px 0 14px; line-height: 1.3; }
.nj-prodhero__desc { color: var(--muted); margin: 0 0 20px; font-size: 16px; }
.nj-prodshow { padding: 30px 0 60px; }
.nj-prodshow__inner { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.nj-prodshow__body { color: var(--ink); font-size: 16px; }
.nj-prodshow__body img { border-radius: var(--radius); margin: 16px 0; }

/* ---------- 信息列表 ---------- */
.nj-infolist { list-style: none; margin: 16px 0; padding: 0; }
.nj-infolist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nj-infolist span { color: var(--muted); min-width: 84px; }
.nj-infolist b { color: var(--heading); font-weight: 600; }

/* ---------- 联系 ---------- */
.nj-contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1140px; margin: 0 auto; padding: 50px 22px; }
.nj-contact__info, .nj-contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.nj-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.nj-form input, .nj-form textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius); font-family: var(--sans); font-size: 15px; background: var(--bg); color: var(--ink);
}

/* ---------- 页脚 ---------- */
.nj-footer { background: var(--accent); color: #e9e3d4; padding: 50px 0 30px; }
.nj-footer__inner { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.nj-footer__brand { margin-bottom: 22px; }
.nj-footer__brand img { width: 46px; height: 46px; border-radius: var(--radius); margin-bottom: 8px; }
.nj-footer__name { font-family: var(--serif); font-size: 19px; color: #fff; margin: 0 0 4px; }
.nj-footer__phone a { color: var(--primary-2); font-weight: 700; }
.nj-citylinks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; }
.nj-citylinks__label { color: #c9c2b2; font-size: 14px; }
.nj-citylinks__item { padding: 6px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 13px; color: #e9e3d4; }
.nj-citylinks__item:hover { border-color: var(--primary); color: #fff; }
.nj-footer__nap { display: flex; flex-wrap: wrap; gap: 24px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 16px; }
.nj-footer__nap p { margin: 0; font-size: 14px; }
.nj-footer__legal { font-size: 13px; color: #c9c2b2; }
.nj-footer__links { margin: 8px 0; }
.nj-footer__links a { color: var(--primary-2); margin-right: 16px; }
.nj-footer__copy { margin: 6px 0 0; }
.nj-floatel {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: var(--gradient); color: #fff; font-weight: 700; padding: 14px 22px;
  border-radius: 999px; box-shadow: var(--shadow); font-size: 16px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nj-hero__inner, .nj-about, .nj-prodhero__inner, .nj-prodshow__inner, .nj-contact__inner { grid-template-columns: 1fr; }
  .nj-main--show { grid-template-columns: 1fr; }
  .nj-side { position: static; }
  .nj-metrics__inner { grid-template-columns: repeat(2, 1fr); }
  .nj-nav { display: none; }
  .nj-burger { display: flex; }
  .nj-hero__title { font-size: 36px; }
}
@media (max-width: 540px) {
  .nj-metrics__inner { grid-template-columns: 1fr; }
  .nj-sec__title { font-size: 24px; }
  .nj-hero__title { font-size: 30px; }
  .nj-floatel { right: 12px; bottom: 12px; padding: 12px 18px; font-size: 15px; }
}
