/* =============================================================
   午牛工具 WUNIU TOOLS — 设计系统 / Design System
   主色 #556B2F · 强调 #1A1A1A · 转化 #C45A3D · 信任 #2E5A3E
   圆角 4px · 基础动效 300ms cubic-bezier(0.4, 0, 0.2, 1)

   本文件为「桌面基础层」。所有平板与手机端规则集中在
   responsive.css，请勿在此文件内新增 max-width 媒体查询。
   ============================================================= */

/* =============================================================
   午牛工具 WUNIU TOOLS — 品牌官网设计系统
   依据《午牛工具品牌官网设计规范》实现
   主色 #556B2F / 强调 #1A1A1A / 转化 #C45A3D / 信任 #2E5A3E
   圆角 4px · 基础动效 300ms cubic-bezier(0.4, 0, 0.2, 1)
   ============================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* 色彩系统 */
  --c-bg: #ffffff;
  --c-primary: #556b2f;
  --c-primary-dark: #3d4d22;
  --c-primary-soft: #8b9d77;
  --c-ink: #1a1a1a;
  --c-trust: #2e5a3e;
  --c-convert: #c45a3d;
  --c-convert-dark: #a94729;

  --c-bg-soft: #f5f5f5;
  --c-border: #e0e0e0;
  --c-text: #333333;
  --c-text-muted: #666666;
  --c-text-invert: #ffffff;
  --c-text-invert-muted: rgba(255, 255, 255, 0.72);

  /* 尺寸 */
  --radius: 4px;
  --radius-lg: 6px;
  --container: 1200px;
  --header-h: 76px;

  /* 动效 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 300ms;
  --dur-fast: 200ms;
  --dur-slow: 400ms;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* 字体 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;

  /*
   * 首屏背景图案：用多层径向渐变模拟迷彩光斑。
   * 刻意不使用任何图片文件，避免出现大图加载与版权问题；
   * 需要换成实景照片时，改这一个变量即可全局生效。
   */
  --wuniu-hero-pattern: radial-gradient(
      circle at 18% 26%,
      rgba(85, 107, 47, 0.55) 0%,
      rgba(85, 107, 47, 0) 44%
    ),
    radial-gradient(circle at 84% 16%, rgba(46, 90, 62, 0.5) 0%, rgba(46, 90, 62, 0) 40%),
    radial-gradient(circle at 68% 80%, rgba(61, 77, 34, 0.62) 0%, rgba(61, 77, 34, 0) 48%),
    radial-gradient(circle at 26% 86%, rgba(12, 14, 9, 0.7) 0%, rgba(12, 14, 9, 0) 42%),
    linear-gradient(160deg, #232b1b 0%, #14180f 100%);
}

/* 首屏图案的底色，供渐变透明处兜底 */
:root {
  --wuniu-hero-base: #1c2317;
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h1 {
  font-size: 48px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 18px;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

/* ---------- 3. Layout ---------- */
/* 锚点跳转时避开固定顶栏 */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--c-bg-soft);
}

.section--dark {
  background: var(--c-ink);
  color: var(--c-text-invert);
}

.section--tight {
  padding: 64px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-primary);
}

.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-primary);
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head h2 .accent {
  color: var(--c-primary);
}

.section-head p {
  font-size: 16px;
  color: var(--c-text-muted);
  text-wrap: pretty;
}

.section--dark .section-head h2,
.section--dark h2,
.section--dark h3 {
  color: var(--c-text-invert);
}

.section--dark .section-head p {
  color: var(--c-text-invert-muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 标题装饰线（军绿） */
.rule {
  width: 56px;
  height: 3px;
  background: var(--c-primary);
  border: 0;
  margin: 0 0 20px;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
    transform 250ms var(--ease), box-shadow var(--dur) var(--ease);
}

.btn--primary {
  background: var(--c-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--c-primary-dark);
  transform: scale(1.02);
}

.btn--convert {
  background: var(--c-convert);
  color: #fff;
}

.btn--convert:hover {
  background: var(--c-convert-dark);
  transform: scale(1.02);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}

.btn--outline {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--c-primary);
  color: #fff;
}

.btn--sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

/* 文字型链接（卡片底部） */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-primary);
}

.link-arrow svg {
  transition: transform var(--dur-fast) var(--ease);
}

.link-arrow:hover {
  color: var(--c-primary-dark);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}

/* 默认（白色实底顶栏）显示深色 Logo；仅首页首屏透明态改用白色 Logo */
.brand__mark--light {
  display: none;
}

.brand__mark--dark {
  display: block;
}

body.has-hero-header .site-header.is-transparent .brand__mark--light {
  display: block;
}

body.has-hero-header .site-header.is-transparent .brand__mark--dark {
  display: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: 0.04em;
  transition: color var(--dur) var(--ease);
}

.brand__sub {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: color var(--dur) var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.03em;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) ease-out;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link:hover {
  color: var(--c-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-switch button {
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--c-text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--c-primary);
  color: #fff;
}

.lang-switch button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-ink);
}

/* 首屏透明态：仅首页（body.has-hero-header）且页面位于顶部时由脚本添加 is-transparent；
   其余所有情况保持白色实底，即使脚本未执行也不会出现白底白字 */
body.has-hero-header .site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.has-hero-header .site-header.is-transparent .brand__name {
  color: #fff;
}

body.has-hero-header .site-header.is-transparent .brand__sub {
  color: rgba(255, 255, 255, 0.66);
}

body.has-hero-header .site-header.is-transparent .nav__link {
  color: rgba(255, 255, 255, 0.88);
}

body.has-hero-header .site-header.is-transparent .nav__link:hover,
body.has-hero-header .site-header.is-transparent .nav__link[aria-current="page"] {
  color: #fff;
}

body.has-hero-header .site-header.is-transparent .lang-switch {
  border-color: rgba(255, 255, 255, 0.34);
}

body.has-hero-header .site-header.is-transparent .lang-switch button {
  color: rgba(255, 255, 255, 0.72);
}

body.has-hero-header .site-header.is-transparent .nav-toggle {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}


/* 移动端抽屉 */
.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 200;
  width: min(86vw, 340px);
  padding: 24px;
  background: var(--c-ink);
  color: #fff;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.nav-drawer__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
}

.nav-drawer__link {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.nav-drawer__link[aria-current="page"] {
  color: var(--c-primary-soft);
}

.nav-drawer__cta {
  margin-top: 20px;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 72px) 0 88px;
  background: var(--c-ink);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-color: var(--wuniu-hero-base);
  background-image: var(--wuniu-hero-pattern);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(10, 12, 8, 0.72) 0%,
      rgba(10, 12, 8, 0.42) 42%,
      rgba(10, 12, 8, 0.78) 100%
    ),
    rgba(0, 0, 0, 0.4);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  color: #fff;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
}

.hero__badge span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary-soft);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  color: #fff;
  font-size: 48px;
  line-height: 1.25;
}

.hero h1 em {
  font-style: normal;
  color: #a9c07f;
}

.hero__sub {
  max-width: 720px;
  margin: 0 auto 38px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__fact {
  min-width: 140px;
  text-align: center;
}

.hero__fact strong {
  display: block;
  font-size: 24px;
  color: #fff;
}

.hero__fact span {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- 7. Trust bar ---------- */
.trustbar {
  padding: 40px 0;
  border-bottom: 1px solid var(--c-border);
}

.trustbar__label {
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  text-align: center;
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.logo-wall__item {
  flex: 0 1 168px;
  height: 68px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 13px;
  color: var(--c-text-muted);
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.logo-wall__item:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--c-primary-soft);
}

/* 服务对象（定性表述带） */
.audience-band {
  text-align: center;
}

.audience-band__lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.02em;
}

.audience-band__note {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-muted);
}

/* ---------- 8. Metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.metric {
  padding: 28px 24px;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--radius);
  background: #fff;
}

.metric__value {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-ink);
}

.metric__value small {
  font-size: 18px;
  margin-left: 4px;
  color: var(--c-primary);
}

.metric__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--c-text-muted);
}

/* ---------- 9. Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary-soft);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-soft);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  flex: 1;
}

.card__body h3 {
  font-size: 20px;
}

.card__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-muted);
}

.card__body .link-arrow,
.card__body .btn {
  margin-top: auto;
}

.card__en {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: var(--radius);
  background: rgba(26, 26, 26, 0.78);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* 无实拍图时的品牌图形占位（不使用图库素材，也不冒充产品照片） */
.media-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(155deg, #26301f 0%, #161a12 100%);
}

.media-placeholder svg {
  color: rgba(163, 182, 133, 0.9);
}

.media-placeholder__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.52);
}

/* ---------- 10. Advantage icons ---------- */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.advantage {
  padding: 4px;
}

.advantage__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-primary);
  transition: transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.advantage:hover .advantage__icon {
  transform: scale(1.1);
  border-color: var(--c-primary);
  background: rgba(85, 107, 47, 0.06);
}

.advantage h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.advantage p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-muted);
}

/* ---------- 11. Contact / inquiry ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 20px;
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-item__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(85, 107, 47, 0.1);
  color: var(--c-primary);
}

.info-item__label {
  display: block;
  font-size: 13px;
  color: var(--c-text-muted);
}

.info-item__value {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  word-break: break-word;
}

.section--dark .info-item__icon {
  background: rgba(139, 157, 119, 0.18);
  color: var(--c-primary-soft);
}

.section--dark .info-item__value {
  color: #fff;
}

.section--dark .info-item__label {
  color: rgba(255, 255, 255, 0.6);
}

.form {
  padding: 32px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.field label .req {
  color: var(--c-convert);
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--c-text);
  transition: border-color var(--dur-fast) ease-in-out,
    box-shadow var(--dur-fast) ease-in-out;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.12);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--c-convert);
  box-shadow: 0 0 0 3px rgba(196, 90, 61, 0.12);
}

.field__error {
  min-height: 16px;
  font-size: 12px;
  color: var(--c-convert);
}

.field__hint {
  font-size: 12px;
  color: var(--c-text-muted);
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form__note {
  font-size: 12px;
  color: var(--c-text-muted);
  flex: 1 1 220px;
}

.form-status {
  display: none;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #bcd3c2;
  border-left: 3px solid var(--c-trust);
  border-radius: var(--radius);
  background: #eef4ef;
  color: #23502f;
  font-size: 14px;
}

.form-status.is-visible {
  display: flex;
}

/* ---------- 12. Testimonials ---------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
}

.quote__stars {
  display: flex;
  gap: 4px;
  color: var(--c-primary);
}

.quote__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
}

.quote__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}

.quote__avatar {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-trust);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.quote__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.quote__role {
  font-size: 12px;
  color: var(--c-text-muted);
}

/* ---------- 13. Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 32px;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--c-border);
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 1px var(--c-primary);
}

.timeline__year {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-primary);
}

.timeline__title {
  margin: 6px 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
}

.timeline__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-muted);
}

/* ---------- 14. Tabs & filters ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 40px;
}

.tab {
  position: relative;
  padding: 0 0 14px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text-muted);
  transition: color var(--dur-fast) var(--ease);
}

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) ease-out;
}

.tab:hover {
  color: var(--c-ink);
}

.tab[aria-selected="true"] {
  color: var(--c-primary);
}

.tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pill {
  padding: 8px 18px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--c-text-muted);
  transition: background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.pill:hover {
  border-color: var(--c-primary-soft);
  color: var(--c-ink);
}

.pill[aria-pressed="true"] {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

[hidden] {
  display: none !important;
}

/* ---------- 15. Page banner ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 72px;
  background: var(--c-ink);
  color: #fff;
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-color: var(--wuniu-hero-base);
  background-image: var(--wuniu-hero-pattern);
  opacity: 0.36;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero h1 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: #fff;
}

/* ---------- 16. CTA band ---------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 44px;
  border-radius: var(--radius);
  background: var(--c-trust);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.cta-band__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: var(--c-text-invert);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand strong {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.footer-brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-about {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-invert-muted);
  max-width: 340px;
}

.footer-title {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact li {
  font-size: 14px;
  color: var(--c-text-invert-muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  line-height: 1.6;
}

.footer-contact svg {
  flex: none;
  margin-top: 3px;
  color: var(--c-primary-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- 18. Floating actions ---------- */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: background-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.fab:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
}

.fab--top {
  min-height: 44px;
  padding: 0 14px;
  background: rgba(26, 26, 26, 0.86);
  font-size: 13px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease),
    background-color var(--dur-fast) var(--ease);
}

.fab--top.is-visible {
  opacity: 1;
  visibility: visible;
}

.fab--top:hover {
  background: var(--c-ink);
}

/* ---------- 19. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 20. Placeholder token ---------- */
/* 事实占位符：真实数据确认后直接替换文字即可 */
.ph {
  display: inline-block;
  padding: 0 6px;
  border-bottom: 1px dashed var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 0.92em;
  font-weight: 600;
  white-space: nowrap;
}

.section--dark .ph,
.hero .ph {
  color: #cfe0b4;
  border-bottom-color: rgba(207, 224, 180, 0.6);
}

.metric__value .ph {
  font-size: 20px;
}

/* ---------- 21. Utilities ---------- */
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mt-24 {
  margin-top: 24px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-56 {
  margin-top: 56px;
}
.mb-0 {
  margin-bottom: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--c-ink);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* 双栏图文 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text-muted);
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.checklist li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--c-text);
}

.checklist svg {
  flex: none;
  margin-top: 3px;
  color: var(--c-primary);
}

/* 规格表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: var(--c-bg-soft);
  color: var(--c-ink);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 21b. Toast ---------- */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 250;
  max-width: min(92vw, 520px);
  padding: 14px 20px;
  border-radius: var(--radius);
  background: rgba(26, 26, 26, 0.94);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 12px);
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur) var(--ease);
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

/* ---------- 21c. 产品中心 / 案例 / 关于 组件 ---------- */
.panel-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.panel-head h2 {
  margin-bottom: 12px;
}

.panel-head p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-muted);
}

.spec-block h3 {
  font-size: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
}

.step__no {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--c-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
}

.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-muted);
}

.doc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.doc-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.doc-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}

.doc-card__body h4 {
  font-size: 17px;
}

.doc-card__body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-muted);
}

.doc-card__body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* 联系信息卡（联系我们页） */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  padding: 32px 28px;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--radius);
  background: #fff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(85, 107, 47, 0.1);
  color: var(--c-primary);
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-card p,
.contact-card a {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-muted);
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--c-primary);
}

/* 资质证书 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.cert-card__media {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  background: repeating-linear-gradient(135deg, #f5f5f5 0 12px, #eee 12px 24px);
  color: var(--c-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.cert-card__media svg {
  color: var(--c-primary-soft);
}

.cert-card__body {
  padding: 18px;
  border-top: 1px solid var(--c-border);
}

.cert-card__body h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.cert-card__body p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-muted);
}

/* 地图容器 */
.map-embed {
  position: relative;
  height: 400px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-soft);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.map-embed__inner {
  max-width: 460px;
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.map-embed__inner strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--c-ink);
}

.map-embed code {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(85, 107, 47, 0.1);
  color: var(--c-primary);
  font-size: 12px;
}

/* 案例卡片：16:9 封面 */
.case-card .card__media {
  aspect-ratio: 16 / 9;
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--c-text-muted);
}

.empty-state {
  padding: 48px 24px;
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--c-text-muted);
  font-size: 15px;
}

/* 数据安全提示条 */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid #e4d9c8;
  border-left: 3px solid var(--c-convert);
  border-radius: var(--radius);
  background: #fdf7f2;
  font-size: 14px;
  line-height: 1.75;
  color: #7a4a33;
}

.notice svg {
  flex: none;
  margin-top: 2px;
  color: var(--c-convert);
}

/* ---------- 23. Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 24. Print ---------- */
@media print {
  .site-header,
  .floating-contact,
  .nav-drawer,
  .nav-backdrop {
    display: none !important;
  }
}

/* ---------- 25. WordPress 适配 ---------- */
/* 登录状态下避开后台工具条 */
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .nav-drawer {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  body.admin-bar .nav-drawer {
    top: 46px;
  }
}

/* 文章内容区（编辑器输出）的基础排版 */
.prose h2,
.prose h3 {
  margin: 32px 0 12px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: revert;
}

.prose li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text-muted);
}

.prose a {
  color: var(--c-primary);
  text-decoration: underline;
}

.prose img,
.prose iframe {
  max-width: 100%;
  border-radius: var(--radius);
}

.prose blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--c-primary);
  background: var(--c-bg-soft);
}

/* 分页 */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--c-text);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ---------- 26. 产品卡片与产品详情（对接后台文章） ---------- */
.product-card .card__media {
  display: block;
  aspect-ratio: 4 / 3;
}

.product-card h3 a:hover {
  color: var(--c-primary);
}

.product-card .card__body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stack-hint {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border: 1px dashed var(--c-primary-soft);
  border-radius: var(--radius);
  background: rgba(85, 107, 47, 0.05);
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-text-muted);
}

.stack-hint a {
  margin-left: 6px;
  font-weight: 600;
  color: var(--c-primary);
}

.page-hero--slim {
  padding: calc(var(--header-h) + 44px) 0 44px;
}

.page-hero--slim h1 {
  font-size: 34px;
}

.page-hero__desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail__media {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-soft);
}

.product-detail__media img {
  width: 100%;
  height: auto;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.media-placeholder--tall {
  aspect-ratio: 4 / 3;
}

.pagination-wrap {
  margin-top: 48px;
}

/* ---------- 28. 主题补充：内联标识、语言链接、抽屉结构 ---------- */
/* 站点标识改为内联 SVG 后不再需要图片文件；配色跟随顶栏状态切换。 */
.wuniu-mark__plate {
  fill: var(--c-primary);
}

.wuniu-mark__glyph {
  stroke: #fff;
}

.brand__mark--light .wuniu-mark__plate {
  fill: #fff;
}

.brand__mark--light .wuniu-mark__glyph {
  stroke: var(--c-primary);
}

/* 抽屉与页脚处于深色底上，文字需要固定为浅色，不能跟随顶栏状态。 */
.brand__name--on-dark {
  color: #fff;
}

.brand__sub--on-dark {
  color: rgba(255, 255, 255, 0.6);
}

/*
 * 语言切换由「按钮」改为「链接」：
 * 中英是两套独立页面，用链接对搜索引擎和分享都更友好。
 * 这里把原来的 button 样式等价地套到 .lang-switch__item 上。
 */
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--c-text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.lang-switch__item:hover {
  color: var(--c-ink);
}

.lang-switch__item.is-active {
  background: var(--c-primary);
  color: #fff;
}

.lang-switch__item.is-active:hover {
  color: #fff;
}

/* 透明顶栏上的语言切换需要浅色边框与文字。 */
body.has-hero-header .site-header.is-transparent .lang-switch__item {
  color: rgba(255, 255, 255, 0.72);
}

body.has-hero-header .site-header.is-transparent .lang-switch__item:hover {
  color: #fff;
}

/* 抽屉：导航区与底部操作区分开，中间的链接自动占满可用高度。 */
/*
 * 注意：.nav-drawer 本身已有 24px 内边距，这里不能再叠加左右内边距，
 * 否则抽屉内容会整体内缩 48px。滚动交给抽屉本身，不做嵌套滚动。
 */
.nav-drawer__nav {
  display: flex;
  flex-direction: column;
}

.nav-drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-drawer__foot .lang-switch {
  align-self: flex-start;
  border-color: rgba(255, 255, 255, 0.22);
}

/* 底部固定条上的主转化按钮用转化色，与绿色主色区分开。 */
.fab--primary {
  background: var(--c-convert);
}

.fab--primary:hover {
  background: var(--c-convert-dark);
}

.media-placeholder__note {
  max-width: 22em;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.34);
}

/* ---------- 29. 产品详情与规格表 ---------- */
.product-detail__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail__meta li {
  padding: 5px 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--c-text-muted);
}

.spec-list {
  margin: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-list__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
}

.spec-list__row:last-child {
  border-bottom: 0;
}

.spec-list__row:nth-child(odd) {
  background: var(--c-bg-soft);
}

.spec-list__label {
  font-weight: 600;
  color: var(--c-ink);
}

.spec-list__value {
  color: var(--c-text-muted);
}

/* ---------- 30. 文章 / 页面 / 搜索结果基础版式 ---------- */
.page-hero__breadcrumb {
  margin-bottom: 18px;
}

.entry-header {
  margin-bottom: 24px;
}

.entry-title {
  font-size: 34px;
}

.entry-meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-text-muted);
}

.entry-thumb {
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}

.empty-state {
  padding: 48px 24px;
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-soft);
  text-align: center;
}

.empty-state h2 {
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--c-text-muted);
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
}

.step-list {
  counter-reset: step;
}

/* 分类归档页的说明文字 */
.term-description {
  max-width: 62ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.section .term-description {
  color: var(--c-text-muted);
}

/* ---------- 31. 模板新增元素的样式收口 ---------- */
.mb-40 {
  margin-bottom: 40px;
}

/* 表单标题与说明：原来写在模板的行内 style 里，这里收成类 */
.form__title {
  margin-bottom: 8px;
}

.form__intro {
  margin-bottom: 20px;
}

/* 说明文字里的必填星号 */
.field__hint .req {
  color: var(--c-convert);
}

/* 询盘/联系页左侧正文的引导段 */
.contact-split__lead {
  margin-bottom: 28px;
  color: var(--c-text-muted);
  line-height: 1.85;
}

/* 关于我们页：卡片内的图标与标题之间留白 */
.advantage__icon--inline {
  margin-bottom: 14px;
}

/* 产品中心：分类说明与面板 */
.product-panel__desc {
  max-width: 78ch;
  margin: 0 0 28px;
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.product-panel__grid {
  margin-bottom: 8px;
}

/* 宽表格容器：桌面端允许自己滚动，手机端在 responsive.css 中改为堆叠卡片 */
.spec-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table-wrap .spec-table {
  min-width: 520px;
}

/* 占位块：按用途区分比例 */
.media-placeholder--doc {
  height: auto;
  aspect-ratio: 16 / 10;
}

.split__media .media-placeholder {
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

/* 产品详情页的封面：没有图片时占位块撑满整个媒体区 */
.product-detail__media .media-placeholder {
  height: auto;
  aspect-ratio: 4 / 3;
}

/* ---------- 32. 首屏横幅换成实景照片 ---------- */
/*
 * 默认是 CSS 渐变图案；一旦在「外观 → 自定义 → 午牛工具 · 图片」里
 * 上传了背景图，模板会加上 --photo 类并写入 inline background-image。
 */
.hero__media--photo,
.page-hero__media--photo {
  background-size: cover;
  background-position: center;
}

/* 照片比渐变亮得多，透明度再压低一点，保证白色标题仍然清楚 */
.page-hero__media--photo {
  opacity: 0.42;
}

/* ---------- 33. 页面正文（编辑器输出）排版 ---------- */
/*
 * 关于我们、产品中心等页面的正文都来自编辑器，
 * 这里让 Gutenberg 输出的区块在本主题里好看、好读。
 */
.prose--page {
  max-width: 880px;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose > *:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 40px 0 14px;
  font-size: 26px;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 20px;
}

.prose ol {
  list-style: decimal;
}

/* 编辑器里的表格，手机端在 responsive.css 中改为可横向滚动 */
.prose table {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
  font-size: 14px;
}

.prose table th,
.prose table td {
  padding: 11px 14px;
  border: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}

.prose table th {
  background: var(--c-bg-soft);
  color: var(--c-ink);
  font-weight: 600;
}

.prose figure {
  margin: 0 0 22px;
}

.prose .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


