/* ============================================================
   拓竹3D打印农场建设 · 主题层（覆盖 Bulma + 品牌组件）
   主色：工业红 #C8102E
   设计取向：克制、硬朗、信息密度优先，去掉"模板感"
   ============================================================ */

/* ---------- 1. Bulma 主色 → 红 ---------- */
:root {
  --bulma-primary-h: 351deg;
  --bulma-primary-s: 78%;
  --bulma-primary-l: 42%;
  --bulma-primary-rgb: 200, 16, 46;

  --bulma-link-h: 351deg;
  --bulma-link-s: 78%;
  --bulma-link-l: 42%;
  --bulma-link-rgb: 200, 16, 46;
}

/* ---------- 2. 品牌 tokens ---------- */
:root {
  --brand: #C8102E;
  --brand-dark: #9B0C24;
  --brand-darker: #7A091C;
  --brand-soft: #FBECEE;
  --brand-line: #F1C9CF;

  --accent: #B8751A;      /* 暖琥珀，仅用于价格/强调 */
  --accent-soft: #FBF1E3;

  --ink: #17171B;         /* 标题 */
  --text: #38383F;        /* 正文 */
  --muted: #6E6E76;       /* 次要 */
  --border: #E6E1DC;      /* 暖灰边框 */
  --bg: #FBFBF9;          /* 暖白背景 */
  --card: #FFFFFF;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2b. 强制亮色：本站为亮色设计，禁用 Bulma 自动深色 ---------- */
/* Bulma 1.0.2 会随系统 prefers-color-scheme: dark 自动切深色，
   导致表单 label/input 文字变浅灰、输入框变深，与本站白色背景冲突。 */
@media (prefers-color-scheme: dark) {
  :root {
    --bulma-scheme-brightness: light;
    --bulma-scheme-main-l: 100%;
    --bulma-scheme-main-bis-l: 98%;
    --bulma-scheme-main-ter-l: 96%;
    --bulma-soft-l: 90%;
    --bulma-bold-l: 20%;
    --bulma-soft-invert-l: 20%;
    --bulma-bold-invert-l: 90%;
    --bulma-background-l: 96%;
    --bulma-border-weak-l: 93%;
    --bulma-border-l: 86%;
    --bulma-text-weak-l: 48%;
    --bulma-text-l: 29%;
    --bulma-text-strong-l: 21%;
    --bulma-text-title-l: 14%;
    --bulma-hover-background-l-delta: -5%;
    --bulma-active-background-l-delta: -10%;
    --bulma-hover-border-l-delta: -10%;
    --bulma-active-border-l-delta: -20%;
    --bulma-hover-color-l-delta: -5%;
    --bulma-active-color-l-delta: -10%;
    --bulma-shadow-h: 221deg;
    --bulma-shadow-s: 14%;
    --bulma-shadow-l: 4%;
    /* on-scheme（.button.is-* / notification 等在主题背景上的文字） */
    --bulma-white-on-scheme-l: 35%;
    --bulma-black-on-scheme-l: 4%;
    --bulma-light-on-scheme-l: 36%;
    --bulma-dark-on-scheme-l: 21%;
    --bulma-text-on-scheme-l: 29%;
    --bulma-primary-on-scheme-l: 21%;
    --bulma-link-on-scheme-l: 58%;
    --bulma-info-on-scheme-l: 25%;
    --bulma-success-on-scheme-l: 23%;
    --bulma-warning-on-scheme-l: 23%;
    --bulma-danger-on-scheme-l: 40%;
  }
}

/* ---------- 3. 基础 ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); transition: color .18s ease; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
img { max-width: 100%; height: auto; }

/* 内容排版（正文/详情页） */
.content-body { font-size: 16.5px; line-height: 1.95; color: #34343A; }
.content-body h2 { font-size: 22px; margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); }
.content-body h3 { font-size: 18px; margin: 24px 0 12px; }
.content-body p { margin: 0 0 16px; }
.content-body img { border-radius: 6px; margin: 12px 0; }
.content-body ul, .content-body ol { margin: 0 0 16px 22px; }
.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-body th, .content-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; font-size: 15px; }
.content-body th { background: #F4F1EE; color: var(--ink); }

/* ---------- 4. 导航 ---------- */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.site-nav .navbar { min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; flex: 0 0 auto;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { color: var(--ink); font-size: 17px; font-weight: 800; }
.logo-text small { color: var(--muted); font-size: 11px; letter-spacing: .5px; }
.logo img { display: block; height: 46px; width: auto; }
.site-footer .logo { background: #fff; padding: 8px 12px; border-radius: 8px; }
.site-footer .logo img { height: 40px; width: auto; }
.site-nav .navbar-item { color: var(--text); font-weight: 500; font-size: 15px; }
.site-nav .navbar-item.is-active,
.site-nav .navbar-item:hover { color: var(--brand); background: transparent; }
.site-nav .navbar-link { color: var(--text); }

/* 顶部通栏广告（内页单图） */
.top-banner { line-height: 0; background: var(--brand); }
.top-banner a { display: block; }
.top-banner img { display: block; width: 100%; height: auto; }

/* 顶部通栏轮播（首页） */
[x-cloak] { display: none !important; }
.top-carousel { position: relative; line-height: 0; background: var(--brand); }
.top-carousel-track { display: grid; }
.top-carousel-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .6s ease; }
.top-carousel-slide.is-active { opacity: 1; }
.top-carousel-slide img { display: block; width: 100%; height: auto; }
.top-carousel-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.top-carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); border: none; cursor: pointer; padding: 0; transition: background .2s ease; }
.top-carousel-dot.is-active { background: #fff; }

/* ---------- 4b. 全新头部（工具条 + logo/搜索 + 主导航） ---------- */
.topbar { background: var(--ink); color: #A9A9B0; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 16px; }
.topbar-welcome { color: #A9A9B0; }
.topbar-links { display: flex; align-items: center; gap: 12px; }
.topbar-item { color: #C6C6CC; }
.topbar-item a { color: inherit; }
.topbar-item a:hover { color: #fff; }
.topbar-tel { color: #fff; font-weight: 700; letter-spacing: .3px; }
.topbar-sep { width: 1px; height: 12px; background: rgba(255,255,255,.18); }
.has-pop { position: relative; }
.topbar-pop { position: absolute; top: 100%; right: 0; margin-top: 8px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.14); z-index: 200; text-align: center; }
.wx-qr { width: 120px; height: 120px; background: #F3F0EC; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0 auto; }
.topbar-pop p { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

.header-main { background: #fff; border-bottom: 1px solid var(--border); }
.header-main-inner { display: flex; align-items: center; gap: 28px; padding: 20px 0; }
.header-search { flex: 1; max-width: 640px; }
.search-form { display: flex; height: 42px; border: 2px solid var(--brand); border-radius: 6px; overflow: hidden; }
.search-type { flex: 0 0 auto; }
.search-select { height: 100%; border: none; background: #F6F4F1; padding: 0 10px; font-size: 14px; color: var(--text); cursor: pointer; outline: none; }
.search-input { flex: 1; border: none; padding: 0 14px; font-size: 14px; outline: none; min-width: 0; }
.search-btn { flex: 0 0 auto; border: none; background: var(--brand); color: #fff; padding: 0 24px; font-size: 15px; font-weight: 600; cursor: pointer; }
.search-btn:hover { background: var(--brand-dark); }
.search-hot { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.search-hot a { color: var(--muted); margin-left: 10px; }
.search-hot a:hover { color: var(--brand); }
.header-cta { display: flex; gap: 10px; margin-left: auto; }
.btn-publish, .btn-quote { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 6px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.btn-publish { background: var(--brand); color: #fff; }
.btn-publish:hover { background: var(--brand-dark); color: #fff; }
.btn-quote { background: var(--accent); color: #fff; }
.btn-quote:hover { background: #9A5F14; color: #fff; }

.main-nav { background: #fff; border-bottom: 2px solid var(--brand); position: sticky; top: 0; z-index: 100; }
.main-nav-inner { display: flex; align-items: stretch; position: relative; }
.nav-all { position: relative; flex: 0 0 auto; }
.nav-all-btn { height: 46px; background: var(--brand); color: #fff; border: none; padding: 0 22px; font-size: 15px; font-weight: 700; cursor: pointer; }
.nav-all-btn:hover { background: var(--brand-dark); }
.nav-mega { position: absolute; left: 0; top: 100%; width: 640px; background: #fff; border: 1px solid var(--border); border-top: none; box-shadow: 0 18px 40px rgba(0,0,0,.14); display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 18px 22px; z-index: 150; }
.mega-col { display: flex; flex-direction: column; gap: 10px; padding: 0 14px; border-right: 1px solid var(--border); }
.mega-col:last-child { border-right: none; }
.mega-title { font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.mega-col a { color: var(--text); font-size: 13.5px; }
.mega-col a:hover { color: var(--brand); }
.nav-burger { display: none; }
.nav-list { display: flex; align-items: stretch; flex: 1; }
.nav-item { position: relative; display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-item > a { display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 10px; color: var(--text); font-size: 15px; font-weight: 500; letter-spacing: .5px; white-space: nowrap; transition: color .18s ease; }
.nav-item > a:hover { color: var(--brand); }
.nav-item.is-active > a { color: var(--brand); font-weight: 700; }
.nav-item.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 30px; height: 3px; background: var(--brand); border-radius: 3px 3px 0 0; }
.nav-item.nav-core > a { color: var(--brand); font-weight: 800; font-size: 16px; }
.core-badge { display: inline-flex; align-items: center; height: 15px; padding: 0 5px; margin-left: 2px; font-size: 10px; font-weight: 700; line-height: 1; color: #fff; background: var(--brand); border-radius: 3px; }
.caret { font-size: 10px; margin-left: 4px; color: var(--muted); }
.nav-drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 140px; background: #fff; border: 1px solid var(--border); border-top: none; box-shadow: 0 14px 30px rgba(0,0,0,.12); padding: 8px 0; z-index: 150; }
.nav-drop a { display: block; padding: 9px 18px; color: var(--text); font-size: 14px; white-space: nowrap; }
.nav-drop a:hover { color: var(--brand); background: #FBF6F6; }

/* ---------- 5. 按钮 ---------- */
.button { font-weight: 600; border-radius: 6px; }
.button.is-primary { background: var(--brand); color: #fff; }
.button.is-primary:hover { background: var(--brand-dark); color: #fff; }
.button.is-primary.is-outlined { background: transparent; color: var(--brand); border-color: var(--brand); }
.button.is-primary.is-outlined:hover { background: var(--brand); color: #fff; }
.button.is-large { font-size: 17px; }

/* ---------- 6. Hero（首页，浅色编辑感，两栏） ---------- */
.hero-farm {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px 0 52px;
  overflow: hidden;
}
.hero-farm .kicker {
  display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.hero-farm h1 { font-size: 42px; line-height: 1.18; margin-bottom: 16px; color: var(--ink); }
.hero-farm h1 .hl { color: var(--brand); }
.hero-farm .sub { font-size: 17.5px; color: var(--muted); max-width: 560px; margin-bottom: 24px; }
.hero-farm .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-farm .hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-carousel { position: relative; width: 100%; max-width: 480px; }
.hero-carousel-track { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .6s ease; display: block; border-radius: 12px; overflow: hidden; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-carousel-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.55); border: none; cursor: pointer; padding: 0; transition: background .2s ease; }
.hero-carousel-dot.is-active { background: #fff; }

/* 信任点：用 CSS 小方标替代 emoji */
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.trust-item::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--brand); flex: 0 0 auto;
}

/* ---------- 7. Section 头 ---------- */
.section { padding: 60px 0; }
.page-main { padding-bottom: 60px; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker {
  color: var(--brand); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: 30px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }
.section-head.is-left { text-align: left; margin-left: 0; }

/* ---------- 8. 卡片（通用） ---------- */
.bcard {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.bcard:hover { box-shadow: 0 12px 30px rgba(23, 23, 27, .08); border-color: #D8D1CA; transform: translateY(-2px); }

/* 服务卡片 */
.svc-card { display: block; padding: 28px 26px; height: 100%; }
.svc-card .svc-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 16px; margin-bottom: 16px;
}
.svc-card h3 { font-size: 19px; margin-bottom: 10px; }
.svc-card h3 a { color: var(--ink); }
.svc-card h3 a:hover { color: var(--brand); }
.svc-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* 设备卡片 */
.device-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.device-card .dev-thumb { aspect-ratio: 4/3; background: #F3F0EC; display: flex; align-items: center; justify-content: center; }
.device-card .dev-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.device-card .dev-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.device-card h3 { font-size: 19px; }
.device-card .dev-spec { color: var(--muted); font-size: 13.5px; }
.device-card .dev-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.device-card .dev-price { color: var(--accent); font-weight: 800; font-size: 16px; }
.device-card .dev-more { color: var(--brand); font-weight: 600; font-size: 14px; }

/* 资讯/案例卡片 */
.news-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.news-card .news-thumb { aspect-ratio: 16/10; background: #F3F0EC; overflow: hidden; }
.news-card .news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card h3 { font-size: 17px; line-height: 1.45; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--brand); }
.news-card .news-desc { color: var(--muted); font-size: 14px; margin: 0; }
.news-card .news-meta { color: var(--muted); font-size: 12.5px; margin-top: auto; }

/* ---------- 9. 农场卡片（入驻农场/目录） ---------- */
.farm-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.farm-card .farm-thumb { aspect-ratio: 16/10; background: #F3F0EC; overflow: hidden; }
.farm-card .farm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.farm-card .farm-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.farm-card h3 { font-size: 18px; }
.farm-card h3 a { color: var(--ink); }
.farm-card h3 a:hover { color: var(--brand); }
.farm-card .farm-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13px; }
.farm-card .farm-desc { color: var(--muted); font-size: 14px; margin: 0; margin-top: auto; }
.farm-card .farm-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* 标签 */
.tag-red { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.tag-amber { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.tag-gray { background: #F0EEEB; color: var(--muted); font-weight: 600; }

/* ---------- 10. CTA 面板（纯色，不用渐变） ---------- */
.cta-panel {
  background: var(--brand); color: #fff; border-radius: 12px;
  padding: 40px 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-panel h3 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.cta-panel p { color: #F5C9CF; font-size: 15px; }
.cta-panel .button.is-white { color: var(--brand-dark); font-weight: 700; }
.cta-panel.is-dark { background: var(--ink); }
.cta-panel.is-dark p { color: #A9A9B0; }

/* ---------- 11. 面包屑 / 分页 ---------- */
.crumb { font-size: 14px; color: var(--muted); padding: 20px 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb .sep { margin: 0 8px; color: #C9C3BD; }

.pagination { margin-top: 36px; align-items: center; }
.pagination-previous, .pagination-next, .pagination-link {
  border-color: var(--border); color: var(--ink); min-width: 40px; justify-content: center;
}
.pagination-previous:hover, .pagination-next:hover, .pagination-link:hover {
  border-color: var(--brand); color: var(--brand); background: #fff;
}
.pagination-previous[disabled], .pagination-next[disabled] { opacity: .45; pointer-events: none; }
.pagination-link.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination-link.is-current:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.pagination-list { gap: 6px; }

/* ---------- 12. 表单 ---------- */
.form-panel {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 36px 40px; max-width: 760px; margin: 0 auto;
}
.field .label { font-weight: 600; }
.field .label .req { color: var(--brand); }
.input, .textarea, .select select { border-color: var(--border); box-shadow: none; }
.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.form-hint { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* 多选胶囊（发布询价单的工艺/材质复选） */
.check-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 13.5px; color: var(--text); cursor: pointer; transition: all .18s ease;
  user-select: none;
}
.check-pill input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.check-pill:hover { border-color: var(--brand); color: var(--brand); }
.check-pill.is-checked { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 13. 页脚 ---------- */
.site-footer { background: var(--ink); color: #A0A0A8; margin-top: 64px; }
.site-footer a { color: #A0A0A8; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-top { padding: 56px 0 44px; }
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer .about p { font-size: 14px; margin: 14px 0 0; color: #8C8C94; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo-text small { color: #8C8C94; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { font-size: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.qrcode {
  width: 112px; height: 112px; background: #fff; border-radius: 8px; margin-top: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0; text-align: center; font-size: 13px;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1024px) {
  .topbar-welcome { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .header-main-inner { gap: 18px; }
  .header-search { max-width: none; }
  .header-cta { display: none; }
  .nav-item > a { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 768px) {
  .hero-farm { padding: 44px 0 40px; }
  .hero-farm h1 { font-size: 30px; }
  .hero-farm .sub { font-size: 16px; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 24px; }
  .cta-panel { padding: 28px 24px; }
  .form-panel { padding: 26px 20px; }

  .topbar { display: none; }
  .header-main-inner { flex-wrap: wrap; gap: 12px; padding: 14px 0; }
  .header-main-inner .logo { flex: 1; }
  .header-search { order: 3; flex: 1 1 100%; }
  .search-hot { display: none; }
  .main-nav-inner { flex-wrap: wrap; }
  .nav-all { flex: 1; }
  .nav-all-btn { width: 100%; }
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 46px; height: 46px; border: none; background: none; cursor: pointer; padding: 0 12px; }
  .nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }
  .nav-list { display: none; flex: 1 1 100%; flex-direction: column; }
  .nav-list.is-open { display: flex; }
  .nav-item { width: 100%; border-top: 1px solid var(--border); }
  .nav-item > a { width: 100%; height: 44px; padding: 0 16px; }
  .nav-item.is-active::after { display: none; }
  .nav-drop { position: static; box-shadow: none; border: none; padding: 0 0 8px; }
  .nav-mega { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; border: 1px solid var(--border); border-top: none; }
}

/* ---------- 15. 农场建设介绍页（/NCJS/） ---------- */
.ncjs-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); padding: 40px 0 56px; }
.ncjs-hero-inner { display: flex; align-items: center; gap: 48px; }
.ncjs-hero-copy { flex: 1 1 56%; }
.ncjs-hero-copy .kicker { display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.ncjs-hero-copy h1 { font-size: 44px; line-height: 1.22; margin-bottom: 20px; color: var(--ink); }
.ncjs-hero-copy h1 .hl { color: var(--brand); }
.ncjs-hero-copy .sub { font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.ncjs-hero-visual { flex: 1 1 44%; position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.ncjs-device { animation: floaty 6s ease-in-out infinite; }
.ncjs-device img { width: 100%; max-width: 420px; }
.ncjs-video { width: 100%; max-width: 540px; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 12px; background: #000; box-shadow: 0 24px 60px rgba(23,23,27,.14); }
.float-chip { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--text); box-shadow: 0 8px 20px rgba(23,23,27,.08); }
.float-chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); margin-right: 7px; vertical-align: 1px; }
.chip-1 { top: 14%; left: 4%; animation: floaty 5s ease-in-out infinite; }
.chip-2 { top: 22%; right: 6%; animation: floaty 6.5s ease-in-out infinite reverse; }
.chip-3 { bottom: 12%; right: 18%; animation: floaty 5.5s ease-in-out infinite; }
.ncjs-hero-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 34px; }
.ncjs-stat { display: flex; flex-direction: column; gap: 2px; }
.ncjs-stat .num { font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1; }
.ncjs-stat .lbl { color: var(--muted); font-size: 13px; }

.ncjs-support { background: #F3F0EC; }
.ncjs-support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.support-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 20px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.support-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.support-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(23,23,27,.10); border-color: var(--brand-line); }
.support-card:hover::after { transform: scaleX(1); }
.support-card .s-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.support-card .s-num { font-size: 30px; font-weight: 800; color: var(--brand-line); line-height: 1; transition: color .25s ease; }
.support-card:hover .s-num { color: var(--brand); }
.support-card .s-tag { font-size: 11px; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; }
.support-card h3 { font-size: 17px; margin-bottom: 8px; }
.support-card p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }
.ncjs-more { text-align: center; margin-top: 28px; font-size: 15px; color: var(--muted); }
.ncjs-more a { color: var(--brand); font-weight: 700; text-decoration: underline; }
.ncjs-more a:hover { color: var(--brand-dark); }

/* 动效 */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.anim-fade-up { animation: fadeUp .7s ease both; }
.anim-d1 { animation-delay: .08s; }
.anim-d2 { animation-delay: .16s; }
.anim-d3 { animation-delay: .24s; }
.anim-d4 { animation-delay: .32s; }

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .ncjs-support-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ncjs-hero { padding: 44px 0 40px; }
  .ncjs-hero-inner { flex-direction: column; gap: 24px; }
  .ncjs-hero-copy h1 { font-size: 30px; }
  .ncjs-hero-visual { min-height: 240px; }
  .ncjs-support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .ncjs-support-grid { grid-template-columns: 1fr; }
}

/* ---------- 16. 设备详情页（/SBXX/xxx.html） ---------- */
.device-gallery { padding: 26px; background: #F3F0EC; display: flex; align-items: center; justify-content: center; }
.device-gallery img { width: 100%; height: auto; }
.dev-title { font-size: 30px; line-height: 1.3; margin-bottom: 14px; }
.dev-intro { font-size: 16.5px; color: var(--muted); line-height: 1.85; }
@media (max-width: 768px) {
  .dev-title { font-size: 24px; }
}

/* ---------- 17. 多值字段标签（fmodels/fcraft/fmaterial 渲染的 .mt） ---------- */
.mt { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.6; margin: 2px 5px 2px 0; white-space: nowrap; }
.mt-craft { background: var(--brand-soft); color: var(--brand-dark); }
.mt-material { background: var(--accent-soft); color: var(--accent); }
.mt-model { background: #F0EEEB; color: var(--muted); }

/* ---------- 18. 列表页：筛选条 + 侧栏 ---------- */
.filter-bar { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 26px; }
.filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; }
.filter-row + .filter-row { border-top: 1px dashed var(--border); }
.filter-label { flex: 0 0 72px; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 30px; }
.filter-tags { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.fpill { border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 999px; padding: 4px 14px; font-size: 13.5px; cursor: pointer; transition: all .18s ease; }
.fpill:hover { border-color: var(--brand); color: var(--brand); }
.fpill.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-empty { text-align: center; padding: 40px 0; color: var(--muted); font-size: 15px; }

.side-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 20px; margin-bottom: 20px; }
.side-card h4 { font-size: 15px; font-weight: 800; color: var(--ink); padding-left: 12px; border-left: 3px solid var(--brand); margin-bottom: 14px; }
.side-card p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.side-card .side-list a { display: block; padding: 9px 0; border-bottom: 1px dashed var(--border); color: var(--text); font-size: 14px; }
.side-card .side-list a:last-child { border-bottom: none; }
.side-card .side-list a:hover { color: var(--brand); }
.side-card .side-list a b { display: block; font-size: 14.5px; }
.side-card .side-list a span { color: var(--muted); font-size: 12.5px; }
.side-card.is-brand { background: var(--brand); border-color: var(--brand); }
.side-card.is-brand h4, .side-card.is-brand p { color: #fff; border-left-color: #fff; }
.side-card.is-brand p { color: #F5C9CF; }

/* ---------- 19. 农场/订单 列表卡片（横向） ---------- */
.farm-list-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 16px; transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.farm-list-card:hover { box-shadow: 0 12px 30px rgba(23,23,27,.08); border-color: #D8D1CA; transform: translateY(-2px); }
.flc-thumb { flex: 0 0 132px; width: 132px; height: 96px; border-radius: 8px; overflow: hidden; background: #F3F0EC; }
.flc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.flc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.flc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.flc-title { font-size: 17px; font-weight: 800; color: var(--ink); }
.flc-title a { color: var(--ink); }
.flc-title a:hover { color: var(--brand); }
.flc-badge { background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.flc-desc { color: var(--muted); font-size: 13.5px; margin: 0 0 8px; }
.flc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 13px; margin-top: auto; }
.flc-meta span b { color: var(--ink); font-weight: 700; }
.flc-tags { margin-bottom: 6px; }

.order-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 16px; transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.order-card:hover { box-shadow: 0 12px 30px rgba(23,23,27,.08); border-color: #D8D1CA; transform: translateY(-2px); }
.oc-main { flex: 1; min-width: 0; display: flex; gap: 16px; }
.oc-thumb { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: #F3F0EC; }
.oc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.oc-info { flex: 1; min-width: 0; }
.oc-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.oc-title h3 { font-size: 17px; font-weight: 800; color: var(--ink); }
.oc-title h3 a { color: var(--ink); }
.oc-title h3 a:hover { color: var(--brand); }
.oc-code { font-size: 12px; color: var(--muted); background: #F0EEEB; padding: 2px 8px; border-radius: 4px; }
.oc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 13px; }
.oc-meta span b { color: var(--ink); font-weight: 700; }
.oc-side { flex: 0 0 150px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; border-left: 1px solid var(--border); padding-left: 18px; }
.oc-region { font-size: 13px; color: var(--text); font-weight: 600; }
.oc-quote { font-size: 13px; color: var(--muted); }
.oc-quote b { color: var(--brand); font-size: 16px; }
.oc-side .button { width: 100%; }

/* ---------- 20. 详情页通用 section ---------- */
.detail-sec { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 30px; margin-bottom: 24px; }
.detail-sec-title { font-size: 17px; font-weight: 800; color: var(--ink); padding-left: 12px; border-left: 3px solid var(--brand); margin-bottom: 18px; }
.info-table { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.info-row { display: flex; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .k { flex: 0 0 92px; color: var(--muted); font-size: 14px; }
.info-row .v { color: var(--text); font-size: 14px; font-weight: 500; }
.info-row .v a { color: var(--brand); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid .g-item { aspect-ratio: 4/3; background: #F3F0EC; border-radius: 8px; overflow: hidden; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; }
.detail-tips { font-size: 13px; color: var(--muted); background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 8px; padding: 12px 16px; margin-top: 16px; }

/* ---------- 21. 联系我们 / 代打服务 ---------- */
.page-hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 56px 0 48px; }
.page-hero .kicker { display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.page-hero h1 { font-size: 38px; margin-bottom: 14px; }
.page-hero .sub { font-size: 17px; color: var(--muted); max-width: 640px; }
.contact-side-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; height: 100%; }
.contact-side-card h3 { font-size: 18px; margin-bottom: 16px; }
.contact-qr { width: 150px; height: 150px; background: #F3F0EC; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.6; margin: 0 auto 14px; }
.step-card { display: block; padding: 26px 24px; height: 100%; }
.step-card .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 768px) {
  .filter-row { flex-direction: column; gap: 6px; }
  .filter-label { line-height: 1; }
  .info-table { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .flc-thumb { flex: 0 0 96px; width: 96px; height: 76px; }
  .order-card { flex-direction: column; }
  .oc-side { flex: 1; flex-direction: row; align-items: center; border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 14px; }
  .oc-side .button { width: auto; }
  .page-hero h1 { font-size: 28px; }
}

/* ---------- 22. 底部固定悬浮联系栏 ---------- */
body { padding-bottom: 90px; }
.footer-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(23,27,31,.10);
}
.footer-bar-inner { display: flex; align-items: center; gap: 36px; padding: 12px 0; }
.fb-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; }
.fb-brand img { display: block; height: 40px; width: auto; }
.fb-main { flex: 1 1 auto; min-width: 0; }
.fb-slogan { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.fb-tel { display: inline-block; font-size: 24px; font-weight: 800; color: var(--brand); letter-spacing: .02em; line-height: 1; }
.fb-tel:hover { color: var(--brand-dark); }
.fb-brand .fb-tuozhu { height: 60px; width: auto; opacity: 0.6; }
.fb-tip { flex: 0 0 auto; font-size: 14px; color: var(--muted); }
.fb-actions { flex: 0 0 auto; display: flex; gap: 10px; }
.fb-btn { display: inline-flex; align-items: center; height: 42px; padding: 0 22px; border-radius: 6px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: .2s; }
.fb-btn-solid { background: var(--brand); color: #fff; }
.fb-btn-solid:hover { background: var(--brand-dark); color: #fff; }
.fb-btn-ghost { border: 2px solid var(--brand); color: var(--brand); background: #fff; }
.fb-btn-ghost:hover { background: var(--brand); color: #fff; }
@media (max-width: 768px) {
  body { padding-bottom: 60px; }
  .footer-bar-inner { gap: 12px; padding: 8px 16px; }
  .fb-brand, .fb-slogan, .fb-tip, .fb-btn-ghost { display: none; }
  .fb-tel { font-size: 18px; }
  .fb-tuozhu { display: none; }
  .fb-actions { gap: 8px; }
  .fb-btn { height: 38px; padding: 0 14px; font-size: 14px; }
}
@media print {
  .footer-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 详情页侧边栏 · 标签（SEO 相关/标签整合） ---------- */
.side-card:hover { transform: none; box-shadow: none; border-color: var(--border); }
.side-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  border-left: 3px solid var(--brand); padding-left: 12px; margin-bottom: 14px;
}
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); }
.side-list li:last-child { border-bottom: none; padding-bottom: 0; }
.side-list a { color: var(--text); font-size: 14.5px; line-height: 1.55; display: block; }
.side-list a:hover { color: var(--brand); }
.side-list .side-date { color: var(--muted); font-size: 12px; display: block; margin-top: 2px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-block; padding: 5px 12px; font-size: 13px; line-height: 1.4;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid var(--brand-line); border-radius: 999px; transition: .18s;
}
.tag-cloud a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.article-tags {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.article-tags .at-label { color: var(--muted); font-size: 14px; }
.article-tags a {
  display: inline-block; padding: 4px 12px; font-size: 13px;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid var(--brand-line); border-radius: 999px; transition: .18s;
}
.article-tags a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.tag-desc { color: var(--muted); font-size: 15px; margin: 0 0 4px; }
.tag-page-count { color: var(--muted); font-size: 13px; }
