/* ============================================================
   兴海防雹网 · 主题样式  (assets/theme.css)
   设计方向：田野档案 / Field Journal
   - 深林绿 + 收割琥珀 + 暖纸色
   - 衬线标题，纤细分割线，直角与边框替代圆角与阴影
   - 深色导航、深色数据区块、左对齐模块标题
   ============================================================ */

:root {
  --ink: #1b2520;
  --forest: #164437;
  --forest-deep: #0e2f26;
  --forest-soft: #e9efe6;
  --sage: #b9c8b6;
  --paper: #f6f2e9;
  --paper-2: #efe9dc;
  --amber: #b9762c;
  --amber-light: #e8c48a;
  --line: #ddd6c6;
  --line-strong: #c9c0ad;
  --muted: #6c7a71;
  --white: #ffffff;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---------------------------------------------------------- 基础 */
body.xh {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  margin-top: 76px !important;
  padding-bottom: 0 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.xh::before {
  display: none !important;
}

body.xh h1,
body.xh h2,
body.xh h3,
body.xh h4,
body.xh h5,
body.xh h6 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .01em;
}

body.xh a {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

body.xh .text-primary { color: var(--forest) !important; }
body.xh .text-success { color: var(--forest) !important; }
body.xh .text-secondary { color: var(--muted) !important; }
body.xh .text-warning { color: var(--amber) !important; }

/* 通用装饰线 */
body.xh .content-tag,
body.xh .protect-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .78rem !important;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: .4rem .9rem;
  margin-bottom: 1.2rem;
}

body.xh .content-tag i,
body.xh .protect-tag i { color: var(--amber); }

/* ---------------------------------------------------------- 导航 */
body.xh .navbar {
  background: var(--forest-deep) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: .55rem 0;
  min-height: 76px;
}

body.xh .navbar.scrolled {
  background: rgba(14, 47, 38, .97) !important;
  box-shadow: 0 10px 30px rgba(8, 28, 22, .28) !important;
  padding: .35rem 0;
}

body.xh .navbar .container { align-items: center; }

body.xh .navbar-brand {
  color: var(--paper) !important;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: .05em;
  gap: .75rem;
  display: flex;
  align-items: center;
}

body.xh .logo-img,
body.xh .navbar-brand img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  background: #fff;
  padding: 1px;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

body.xh .brand-contact {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: #b7c8b8;
  padding-left: .8rem;
  margin-left: .2rem;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

body.xh .nav-link {
  color: #cfdccd !important;
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .12em;
  margin: 0 .05rem;
  padding: .5rem .85rem !important;
  border-radius: 0;
  position: relative;
}

body.xh .nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .25rem;
  height: 1px;
  background: var(--amber-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

body.xh .nav-link:hover,
body.xh .nav-link.active { color: #fff !important; }

body.xh .nav-link:hover::after,
body.xh .nav-link.active::after { transform: scaleX(1); }

body.xh .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 0;
  padding: .35rem .55rem;
}

body.xh .navbar-toggler-icon {
  filter: invert(1) brightness(1.6);
}

@media (max-width: 991.98px) {
  body.xh .navbar-collapse {
    background: var(--forest-deep);
    margin-top: .6rem;
    padding: .6rem .9rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  body.xh .nav-link { padding: .7rem .2rem !important; }
  body.xh .nav-link::after { left: .2rem; right: auto; width: 40px; }
  body.xh .brand-contact { display: none; }
}

/* ---------------------------------------------------------- 按钮 */
body.xh .banner-btn,
body.xh .protect-btn,
body.xh .join-btn,
body.xh .flow-node-icon {
  background: var(--amber) !important;
  color: #fff !important;
  border: none;
  border-radius: 0;
  padding: .85rem 1.9rem;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .14em;
  box-shadow: none;
  display: inline-block;
  text-decoration: none;
}

body.xh .banner-btn:hover,
body.xh .protect-btn:hover,
body.xh .join-btn:hover {
  background: #a2651f !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 45, 33, .25);
}

/* ---------------------------------------------------------- 首屏 Hero */
body.xh .about-banner,
body.xh .case-banner,
body.xh .static-banner {
  border-radius: 0 !important;
  overflow: hidden;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100%;
}

body.xh .about-banner { height: 80vh; min-height: 500px; }

body.xh .about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(8, 26, 20, .86) 0%, rgba(8, 26, 20, .55) 42%, rgba(8, 26, 20, .08) 78%);
}

body.xh .about-banner img {
  filter: saturate(.82) contrast(1.02);
  transition: transform 12s ease;
}

body.xh .about-caption {
  position: absolute !important;
  left: 8vw !important;
  right: auto !important;
  top: 52% !important;
  bottom: auto !important;
  width: min(720px, 78vw) !important;
  transform: none !important;
  text-align: left !important;
  color: #fff;
}

body.xh .about-tag {
  display: inline-flex;
  font-size: .8rem !important;
  letter-spacing: .24em;
  color: var(--amber-light) !important;
  border: 1px solid rgba(232, 196, 138, .55);
  background: transparent;
  border-radius: 0;
  padding: .38rem .85rem;
  margin-bottom: 1.4rem;
  backdrop-filter: none;
  text-transform: none;
}

body.xh .about-caption h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: .03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
  margin: 0;
}

body.xh .about-caption h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  background: var(--amber-light);
  margin-top: 1.6rem;
}

body.xh .pc-text { display: inline; }
body.xh .mobile-text { display: none; }

/* 内页 / 产品页 banner */
body.xh .case-banner {
  height: 62vh;
  min-height: 400px;
  position: relative;
}

body.xh .case-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(8, 26, 20, .82) 0%, rgba(8, 26, 20, .45) 48%, rgba(8, 26, 20, .1) 100%);
}

body.xh .case-banner img { filter: saturate(.85); }

body.xh .case-caption {
  position: absolute !important;
  left: 8vw !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: min(760px, 80vw) !important;
  text-align: left !important;
  z-index: 2;
}

body.xh .case-caption h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0;
}

body.xh .case-caption h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--amber-light);
  margin-top: 1.3rem;
}

body.xh .case-caption p {
  font-size: 1rem !important;
  color: #e3e9df !important;
  letter-spacing: .04em;
  margin-top: 1.1rem;
  max-width: 620px;
}

body.xh .case-caption .display-4 {
  font-size: clamp(2rem, 3.6vw, 3.2rem) !important;
  font-weight: 600 !important;
}

body.xh .case-caption .lead,
body.xh .case-caption .fs-3 {
  font-size: 1rem !important;
  font-weight: 400;
  color: #dde6da !important;
  letter-spacing: .06em;
  margin-top: 1rem;
}

/* 首页静态大图 Banner */
body.xh .static-banner {
  height: 72vh;
  min-height: 460px;
  position: relative;
}

body.xh .static-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 20, .1) 0%, rgba(8, 26, 20, .72) 100%);
  z-index: 1;
}

body.xh .static-banner img { filter: saturate(.85) contrast(1.02); }

body.xh .banner-caption {
  left: 8vw !important;
  right: auto !important;
  bottom: 14% !important;
  width: min(680px, 78vw);
  text-align: left !important;
  transform: none !important;
}

body.xh .banner-caption h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: .9rem;
}

body.xh .banner-caption p {
  color: #e1e8de;
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: 1.8rem;
  max-width: 560px;
}

/* ---------------------------------------------------------- 通用章节 */
body.xh .content-section {
  background: var(--paper) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  padding: 8rem 0;
}

body.xh .content-container {
  max-width: 1180px;
  gap: 5rem;
}

body.xh .content-text h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.6rem);
  line-height: 1.38;
  letter-spacing: .02em;
  margin-bottom: 1.6rem;
}

body.xh .content-text p {
  color: #4b5a51;
  line-height: 2;
  font-size: 1rem;
  letter-spacing: .02em;
}

body.xh .content-image img {
  border-radius: 0 !important;
  box-shadow: 0 24px 48px rgba(20, 40, 30, .12) !important;
}

/* ---------------------------------------------------------- 数据区块 */
body.xh .data-stats-section {
  background: var(--forest-deep) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 7rem 8vw !important;
  display: block !important;
}

body.xh .data-cards-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

body.xh .data-card {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .28) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  padding: 2.2rem 0 0 !important;
}

body.xh .data-card::before,
body.xh .data-card::after { display: none !important; }

body.xh .data-card .big-number {
  font-family: var(--serif);
  color: var(--amber-light) !important;
  font-size: clamp(2.8rem, 5vw, 4.4rem) !important;
  line-height: 1;
  letter-spacing: .02em;
}

body.xh .data-card .number-text {
  color: #fff !important;
  font-size: 1rem;
  letter-spacing: .16em;
  margin-top: .8rem;
}

body.xh .data-card .sub-title {
  color: #a9bcae !important;
  font-size: .88rem;
  letter-spacing: .04em;
  margin-top: .6rem;
}

/* ---------------------------------------------------------- 优势（首页 2 列横排） */
body.xh .advantage-section {
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  padding: 7rem 8vw;
}

body.xh .advantage-title { text-align: left; margin-bottom: 3rem; }

body.xh .advantage-title h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: .02em;
}

body.xh .advantage-cards-container {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

body.xh .advantage-cards-container .advantage-card {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 2.4rem 2.4rem 2.4rem 0 !important;
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-areas: "icon title" "icon text";
  column-gap: 1.4rem;
  row-gap: .35rem;
  align-items: start;
  opacity: 1 !important;
  transform: none !important;
}

body.xh .advantage-cards-container .advantage-icon { grid-area: icon; }
body.xh .advantage-cards-container .advantage-card h3 { grid-area: title; }
body.xh .advantage-cards-container .advantage-card p { grid-area: text; }

body.xh .advantage-cards-container .advantage-card::before,
body.xh .advantage-cards-container .advantage-card::after { display: none !important; }

body.xh .advantage-cards-container .advantage-icon {
  width: 46px !important;
  height: 46px !important;
  line-height: 46px !important;
  font-size: 1.05rem !important;
  color: var(--forest) !important;
  background: var(--forest-soft) !important;
  border-radius: 50% !important;
  margin: 0 !important;
  text-align: center;
}

body.xh .advantage-cards-container .advantage-card h3 {
  font-size: 1.12rem;
  margin: 0 0 .55rem;
  letter-spacing: .03em;
}

body.xh .advantage-cards-container .advantage-card p {
  color: #5a6960;
  font-size: .93rem;
  line-height: 1.9;
  margin: 0;
}

/* ---------------------------------------------------------- 智能化防护 */
body.xh .smart-protect-section {
  background: var(--paper-2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  padding: 7rem 8vw;
}

body.xh .smart-protect-container {
  max-width: 1180px;
  margin: 0 auto;
  gap: 4rem;
}

body.xh .protect-title {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  letter-spacing: .02em;
}

body.xh .protect-desc {
  color: #55645a;
  line-height: 2;
}

body.xh .protect-cards-wrapper { gap: 1.6rem; }

body.xh .protect-card {
  border-radius: 0 !important;
  aspect-ratio: auto !important;
  height: 400px;
  min-height: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  border: 1px solid var(--line);
}

body.xh .protect-card::before { display: none !important; }

body.xh .protect-card-img { filter: saturate(.85); }

body.xh .protect-card-content {
  background: linear-gradient(180deg, rgba(8, 26, 20, 0) 0%, rgba(8, 26, 20, .85) 100%) !important;
  border-radius: 0 !important;
  padding: 1.5rem !important;
}

body.xh .protect-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .04em;
}

body.xh .protect-card-desc {
  color: #d7e0d3 !important;
  font-size: .85rem !important;
  line-height: 1.75;
}

/* ---------------------------------------------------------- 内页：产品卡片 */
body.xh .product-cards {
  padding: 6rem 0;
  background: #fff;
}

body.xh .module-title {
  text-align: left !important;
  font-size: clamp(1.5rem, 2.1vw, 2rem) !important;
  letter-spacing: .02em;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  margin-bottom: 2.6rem !important;
}

body.xh .module-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 68px;
  height: 2px;
  background: var(--amber);
}

body.xh .module-subtitle {
  text-align: left !important;
  color: var(--muted) !important;
  font-size: .95rem;
  letter-spacing: .03em;
  margin-bottom: 2.4rem !important;
}

body.xh .section-title {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem) !important;
  text-align: left;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

body.xh .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background: var(--amber);
}

body.xh .product-cards .row { row-gap: 2rem; }

body.xh .product-card {
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden;
  height: 100%;
}

body.xh .product-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform .6s ease, filter .6s ease;
  display: block;
}

body.xh .product-card:hover .product-card-img {
  transform: scale(1.04);
  filter: saturate(1);
}

body.xh .product-card-body {
  padding: 1.5rem 1.6rem 1.8rem !important;
}

body.xh .product-card-title {
  font-family: var(--serif) !important;
  font-size: 1.15rem !important;
  letter-spacing: .03em;
  margin-bottom: .7rem;
}

body.xh .product-card-text {
  color: #5a6960 !important;
  font-size: .9rem;
  line-height: 1.85;
}

body.xh .product-card:hover {
  border-color: var(--forest) !important;
}

/* 内页 banner 与模块之间的节奏 */
body.xh .container > section,
body.xh .container > .row { position: relative; }

body.xh .install-process,
body.xh .production-process,
body.xh .cooperation-process {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

body.xh .diagram-banner { margin: 0 0 0 !important; }

body.xh .process-step {
  border-left: 2px solid var(--line);
  padding-left: 1.2rem;
  height: 100%;
}

body.xh .step-title {
  font-family: var(--serif);
  font-size: 1.02rem !important;
  letter-spacing: .05em;
  color: var(--forest) !important;
  margin-bottom: .45rem;
}

body.xh .step-desc {
  color: var(--muted) !important;
  font-size: .85rem !important;
  line-height: 1.8;
}

body.xh .step-img,
body.xh .production-item img {
  border-radius: 0 !important;
  filter: saturate(.9);
}

body.xh .production-grid { gap: 1rem; }

body.xh .process-flow { gap: .5rem; }

body.xh .flow-node-icon {
  width: 58px !important;
  height: 58px !important;
  line-height: 58px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--forest) !important;
  color: var(--amber-light) !important;
  font-size: 1.2rem !important;
}

body.xh .flow-node-text {
  color: var(--ink) !important;
  font-size: .85rem !important;
  letter-spacing: .05em;
  margin-top: .7rem;
}

body.xh .flow-arrow { color: var(--amber) !important; opacity: .7; }

/* 规格参数表 */
body.xh .table {
  --bs-table-bg: transparent;
  border-color: var(--line) !important;
  color: var(--ink);
}

body.xh .table thead th,
body.xh .table .table-light {
  background: var(--forest-soft) !important;
  color: var(--forest) !important;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .05em;
  border-color: var(--line) !important;
}

body.xh .table td { border-color: var(--line) !important; font-size: .92rem; }

body.xh .table-striped > tbody > tr:nth-of-type(odd) > * {
  background: rgba(22, 68, 55, .035) !important;
}

/* 内页小卡片（优势、说明） */
body.xh .p-4.border.rounded,
body.xh .hover-shadow {
  border-radius: 0 !important;
  border-color: var(--line) !important;
  background: #fff;
  box-shadow: none !important;
  transition: border-color .25s ease, transform .25s ease;
}

body.xh .p-4.border.rounded:hover {
  border-color: var(--forest) !important;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------- 企业文化页 */
body.xh .module-container {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--line);
}

body.xh .module-container .row { row-gap: 2rem; }

body.xh .advantage-card-body {
  border-left: 2px solid var(--line);
  padding-left: 1.3rem;
}

body.xh .advantage-card-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: .04em;
  color: var(--forest);
}

body.xh .advantage-card-text {
  color: #5a6960;
  font-size: .9rem;
  line-height: 1.9;
}

body.xh .module-container .display-4 {
  font-family: var(--serif);
  color: var(--forest) !important;
  font-size: clamp(2.4rem, 4vw, 3.6rem) !important;
  letter-spacing: .02em;
}

body.xh .module-container .list-unstyled li { line-height: 1.9; }


/* --- 覆盖层文字保持白色 --- */
body.xh .about-caption h1,
body.xh .case-caption h1,
body.xh .banner-caption h1,
body.xh .case-caption .display-4,
body.xh .about-caption .display-4 {
  color: #fff !important;
}

body.xh .about-caption,
body.xh .case-caption,
body.xh .banner-caption {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

/* --- 内页 banner 通栏 --- */
body.xh .case-banner {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.xh .container:has(> .case-banner) {
  padding-top: 0 !important;
}

body.xh .case-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

body.xh .about-banner::after,
body.xh .case-banner::after,
body.xh .static-banner::after {
  height: auto !important;
  bottom: 0 !important;
  top: 0 !important;
}


/* 静态大图交替节奏：偶数屏文案靠右、高度略低 */
body.xh .static-banner:nth-of-type(even) { height: 60vh; }
body.xh .static-banner:nth-of-type(even) .banner-caption {
  left: auto !important;
  right: 8vw !important;
  text-align: right !important;
}
body.xh .static-banner:nth-of-type(even) .banner-caption h1::after {
  margin-left: auto;
}

/* ---------------------------------------------------------- 页脚 */
body.xh footer {
  background: var(--forest-deep) !important;
  color: #a9bcae !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  padding: 4.5rem 0 0 !important;
}

body.xh footer::before {
  height: 3px !important;
  background: var(--amber) !important;
}

body.xh footer .row { row-gap: 2rem; }

body.xh .footer-brand {
  font-family: var(--serif) !important;
  font-size: 1.35rem !important;
  letter-spacing: .05em;
  color: #fff !important;
  margin-bottom: 1.2rem !important;
}

body.xh .footer-brand::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--amber-light);
  margin-top: .8rem;
}

body.xh .footer-text {
  color: #9fb2a5 !important;
  font-size: .88rem !important;
  line-height: 2 !important;
  margin-bottom: .3rem;
  letter-spacing: .02em;
}

body.xh .footer-links h4 {
  font-family: var(--sans) !important;
  font-size: .78rem !important;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--amber-light) !important;
  margin-bottom: 1.3rem !important;
  text-transform: none;
}

body.xh .footer-links ul { list-style: none; padding: 0; margin: 0; }
body.xh .footer-links li { margin-bottom: .55rem; }

body.xh footer a {
  color: #b9c9bd !important;
  font-size: .9rem;
  letter-spacing: .03em;
  text-decoration: none;
}

body.xh footer a:hover { color: #fff !important; }

body.xh .copyright {
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
  color: #86998c !important;
  font-size: .82rem !important;
  letter-spacing: .05em;
  padding: 1.8rem 0 2.2rem !important;
  margin-top: 3rem !important;
}

/* ---------------------------------------------------------- 移动端底部导航 */
body.xh .mobile-bottom-nav {
  background: rgba(14, 47, 38, .97) !important;
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
  box-shadow: 0 -10px 30px rgba(8, 28, 22, .25) !important;
  height: 62px;
  backdrop-filter: blur(8px);
}

body.xh .mobile-nav-link {
  color: #a9bcae !important;
  font-size: .72rem;
  letter-spacing: .06em;
}

body.xh .mobile-nav-link.active,
body.xh .mobile-nav-link:hover { color: var(--amber-light) !important; }

body.xh .mobile-nav-icon { font-size: 1.1rem; }

/* ---------------------------------------------------------- 响应式 */
@media (max-width: 991.98px) {
  body.xh .content-container { gap: 3rem; padding: 0 1.6rem; }
  body.xh .smart-protect-container { flex-direction: column; }
  body.xh .protect-cards-wrapper { flex-wrap: wrap; }
  body.xh .protect-card { max-width: none !important; flex: 1 1 45%; }
  body.xh .data-cards-container { grid-template-columns: 1fr; gap: 2rem; }
  body.xh .advantage-cards-container { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  body.xh { margin-top: 68px !important; padding-bottom: 62px !important; }
  body.xh .navbar { min-height: 68px; padding: .35rem 0; }
  body.xh .navbar-brand { font-size: 1rem; }
  body.xh .logo-img,
  body.xh .navbar-brand img { width: 34px !important; height: 34px !important; }

  body.xh .about-banner { height: 74vh; min-height: 420px; }
  body.xh .about-caption { left: 6vw !important; width: 88vw !important; top: 50% !important; }
  body.xh .about-caption h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  body.xh .pc-text { display: none; }
  body.xh .mobile-text { display: inline; }

  body.xh .case-banner { height: 52vh; min-height: 320px; }
  body.xh .case-caption,
  body.xh .banner-caption { left: 6vw !important; width: 88vw !important; }
  body.xh .static-banner { height: 62vh; min-height: 380px; }

  body.xh .content-section { padding: 4.5rem 0; }
  body.xh .content-container { flex-direction: column; }
  body.xh .advantage-section,
  body.xh .smart-protect-section,
  body.xh .data-stats-section { padding: 4.5rem 6vw !important; }
  body.xh .advantage-cards-container .advantage-card { padding: 1.8rem 0 !important; }
  body.xh .protect-card { flex: 1 1 100%; height: 320px; }

  body.xh .module-container,
  body.xh .install-process,
  body.xh .production-process,
  body.xh .cooperation-process { padding: 3.5rem 0; }

  body.xh .product-cards { padding: 3.5rem 0; }
  body.xh .footer-brand { font-size: 1.15rem !important; }
}

@media (max-width: 575.98px) {
  body.xh .content-text h2 { font-size: 1.5rem; }
  body.xh .data-card .big-number { font-size: 2.6rem !important; }
  body.xh .module-title { font-size: 1.3rem !important; }
}

/* ============================================================
   内页修正：去白卡、去圆角、去阴影，确立米白底色与线性分隔
   ============================================================ */

/* hero / 图解通栏 */
body.xh .container:has(> .case-banner),
body.xh .container:has(> .diagram-banner) {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.xh .case-banner,
body.xh .diagram-banner,
body.xh .static-banner {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.xh .diagram-banner {
  height: 54vh !important;
  min-height: 340px !important;
  margin-bottom: 0 !important;
}

body.xh .diagram-banner::after { display: none !important; }

/* 内页各模块容器：透明化 */
body.xh .module-container,
body.xh .product-cards .container,
body.xh .install-process .container,
body.xh .production-process .container,
body.xh .cooperation-process .container {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: 1180px !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

body.xh .module-container {
  margin: 0 auto !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
  border-bottom: 1px solid var(--line);
}

body.xh .product-cards .container,
body.xh .install-process .container,
body.xh .production-process .container,
body.xh .cooperation-process .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 模块标题：左对齐 + 短线 */
body.xh .module-title {
  margin: 0 0 2.2rem !important;
  text-align: left !important;
}

body.xh .module-title::after {
  left: 0 !important;
  transform: none !important;
  width: 68px !important;
  height: 2px !important;
  border-radius: 0 !important;
  background: var(--amber) !important;
}

body.xh .module-subtitle {
  text-align: left !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 2.6rem !important;
  color: var(--muted) !important;
}

/* 模块节奏：浅底与白底交替 */
body.xh .product-cards,
body.xh .production-process { background: #fff; }

body.xh .install-process,
body.xh .cooperation-process { background: transparent; }

body.xh .install-process,
body.xh .production-process,
body.xh .cooperation-process {
  padding: 4.5rem 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--line);
}

/* 工序步骤 */
body.xh .process-step {
  text-align: left !important;
  padding: 1.6rem 1.4rem !important;
  border-left: 2px solid var(--line);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.xh .process-step:hover { box-shadow: none !important; border-left-color: var(--amber); }
body.xh .process-step .step-img { box-shadow: none !important; border-radius: 0 !important; }

/* 生产流程网格 */
body.xh .production-grid {
  border: 0 !important;
  border-radius: 0 !important;
  gap: 4px !important;
  overflow: visible !important;
}

/* 合作流程 */
body.xh .flow-node {
  border-radius: 0 !important;
  padding: .6rem !important;
  background: transparent !important;
}

body.xh .flow-node:hover { box-shadow: none !important; }
body.xh .flow-node:hover .flow-node-icon { transform: none !important; }

/* 表格与说明卡 */
body.xh .table-responsive { border-radius: 0 !important; }

/* 产品卡片：桌面端两列大卡，节奏更舒缓 */
@media (min-width: 992px) {
  body.xh .product-cards .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
  body.xh .product-card-img { aspect-ratio: 16 / 10; }
  body.xh .product-cards .row { row-gap: 2.5rem !important; }
}

/* 卡片按内容高度收缩，避免底部大片空白 */
body.xh .product-card.h-100,
body.xh .product-cards .card { height: auto !important; }
body.xh .product-cards .row > [class*="col-"] { display: flex; }
body.xh .product-cards .row > [class*="col-"] > .card { width: 100%; }

/* 卡片外包 a 标签的页面（business/cases 等）：撑满整列 */
body.xh .product-cards .row > [class*="col-"] > a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
body.xh .product-cards .row > [class*="col-"] .card {
  width: 100%;
}

body.xh .copyright a {
  color: #b9c9bd !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 196, 138, .35);
  padding-bottom: 1px;
}

body.xh .copyright a:hover {
  color: var(--amber-light) !important;
  border-bottom-color: var(--amber-light);
}
