:root {
  --bg: #f4f4f4;
  --paper: #ffffff;
  --ink: #2B1309;
  --muted: #555555;
  --red: #de2719;
  --deep-red: #971728;
  --light-red: #fff1f3;
  --line: rgba(20, 30, 46, 0.08);
  --shadow: 0 22px 48px rgba(17, 22, 29, 0.12);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  /* 防止移动端任何子元素撑爆视口；同时用 clip 而不是 hidden，避免把 html 变成滚动容器（否则 .site-header sticky 会失效） */
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(201, 31, 52, 0.08), transparent 32rem),
    var(--bg);
  /* 兜底：与上面保持一致，使用 clip 而非 hidden */
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-root {
  min-height: 100vh;
}

.site-body--drawer-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 22, 29, 0.06);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  text-decoration: none;
  /* 限制品牌区高度，与导航文字基线对齐 */
  max-height: 2.4rem;
  overflow: hidden;
}

.site-header__logo-image {
  /* 以高度为唯一约束，宽度按图片原始比例自动算出，避免 object-fit 产生左右空白 */
  height: 2.2rem;
  width: auto;
  max-width: 7.5rem;
  display: block;
  margin-right: 0.5rem;
}

.site-header__brand-badge {
  /* 角标已换成 logo 图片（assets/0703-img/logo_1.png），按图片渲染 */
  display: block;
  height: 2.4rem;
  width: auto;
  max-width: 7.5rem;
  margin-right: 0.7rem;
  object-fit: contain;
}

.site-header__brand-copy {
  display: grid;
  gap: 0.1rem;
}

.site-header__brand-copy strong {
  font-size: 1rem;
}

.site-header__brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-header__nav {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 1rem;
}

.site-header__nav a,
.drawer__nav a {
  text-decoration: none;
  font-weight: 600;
}

.site-header__nav a:hover,
.drawer__nav a:hover,
.lang-switch__item:hover {
  color: var(--red);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-switch__item.is-active {
  background: var(--red);
  color: #fff;
}

.site-header__menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.6rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.site-header__menu span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(11, 16, 24, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(22rem, 84vw);
  height: 100vh;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  /* box-shadow: -16px 0 36px rgba(17, 22, 29, 0.18); */
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.site-body--drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.site-body--drawer-open .drawer {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.drawer__eyebrow,
.section__eyebrow,
.hero__eyebrow,
.site-footer__eyebrow,
.card-tag {
  margin: 0;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--paper) !important;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Footer eyebrow icon: 已换成 logo 图片（assets/0703-img/logo_2.png），按图片渲染 */
.site-footer__eyebrow-icon {
  display: block;
  height: 2.4rem;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
}

.drawer__title {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.drawer__close {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--light-red);
  color: var(--red);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer__nav {
  display: grid;
  gap: 0.6rem;
}

.drawer__nav a {
  padding: 0.88rem 1rem;
  border-radius: 16px;
  background: #f7f7f7;
}

.drawer__lang {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.drawer__lang p {
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.page,
.site-footer {
  width: min(100%, 980px);
  margin: 0 auto;
}

.page {
  background: #fcfcfa;
  /* 整页阴影已去除（原 box-shadow: var(--shadow);），如需恢复可加回 */
}

.page--ximeng {
  overflow: hidden;
}

.page--xunxiao {
  overflow: hidden;
}

.hero {
  position: relative;
}

.hero--xunxiao {
  color: #fff;
}

.hero--xunxiao .hero__copy h1 {
  padding-bottom: 0.8rem;
}

/* 顶部建筑背景区（0702-img/1.png 作为 CSS 背景图）
   作为 .hero__overlay 的 wrapper 容器，按正常文档流承载标题浮层。
   .hero-stats 在它后面紧随，避免和背景图产生断层。 */
.hero__background {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  background-image: url("./0702-img/1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__background>img {
  display: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 5.6rem 1.2rem 3.5rem; */
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 44rem);
}

.hero__copy--center {
  text-align: center;
}

.hero__copy h1 {
  margin: 0.6rem 0 0.8rem;
  /* font-size: clamp(1.9rem, 7vw, 4.2rem); */
  line-height: 1.15;
}

.hero__description,
.section__heading p,
.media-card__body p,
.business-card__body p,
.platform-card p,
.advantage-card p,
.comparison-card__side p,
.text-panel p,
.insight-card p,
.site-footer p,
.contact-list li span,
.group-list li {
  line-height: 1.75;
}

.hero__description {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-stats {
  position: relative;
}

.hero-stats>img,
.accent-banner>img,
.value-band>img {
  width: 100%;
  height: auto;
}

.hero-stats__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: center;
  padding: 0.2rem 0.8rem;
}

.hero-stats__item {
  text-align: center;
  color: #fff;
}

.hero-stats__item p {
  margin: 0;
  font-size: 1.74rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats__item strong {
  display: block;
  margin-top: 0.32rem;
  font-size: 2.74rem;
}

.hero--ximeng {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff;
}

/* 顶部建筑背景区（沿用 xunxiao 的 .hero__background / .hero__overlay 布局：
   .hero__background 作为承载 0703-img/1.png 背景图的 wrapper，
   .hero__overlay 作为绝对定位浮层包裹标题区。
   .hero--ximeng__bottom 在它后面紧随，避免和背景图产生断层。
   图片自带红色对角条，背景图位置按图片底端对齐，露出底部装饰条。 */
.hero--ximeng .hero__background {
  background-image: url("./0703-img/1.png");
  background-position: center bottom;
}

/* ximeng 标题在浅色背景上需要深色文字，弱化 .hero__overlay 的默认蒙层
   并改为带轻微白色渐变，让图片自然透出。 */
.hero--ximeng .hero__overlay {
  /* padding: 8rem 1.2rem 2rem; */
}


.hero--ximeng .hero__copy h1 {
  position: relative;
  color: var(--ink);
  font-weight: 800;
  padding-bottom: 0.85rem;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.55);
}

.hero--ximeng .hero__description {
  color: var(--ink);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.55);
}

/* 底部标签条（仅用 0702-img/2.png 作为背景） */
.hero--ximeng__bottom {
  position: relative;
  z-index: 1;
  padding: 2.6rem 1.2rem 3rem;
  overflow: hidden;
  background: transparent;
}

/* 底部城市建筑背景图（0702-img/2.png） */
.hero--ximeng__bottom-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero--ximeng__bottom-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero--ximeng__bottom .hero-pills {
  position: relative;
  z-index: 2;
}

.hero-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.4rem;
  max-width: 32rem;
  margin: 0 auto;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.15rem 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}

.hero-pills span::before {
  content: "";
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23c92029' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.5l3 3 6-6.4'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% 60%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.section {
  padding: 2.25rem 1rem 0;
}

.section--text-panels {
  padding-bottom: 1rem !important;
}

#about,
#business,
#solutions,
#platform,
#advantages,
#credentials,
#contact,
#mission,
#scope,
#clients {
  scroll-margin-top: 5rem;
}

#clients {
  padding-bottom: 1rem;
}

.section--centered {
  padding-bottom: 1rem !important;
}


.section__heading {
  max-width: 48rem;
  margin: 0 auto 1rem;
}

.section__heading--center {
  text-align: center;
}

.section__heading h2,
.site-footer h2 {
  margin: 0.45rem 0 0.55rem;
  font-size: clamp(1.55rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.section__heading--accent h2 {
  margin: 6.35rem 0 0.6rem;
}

.section__subtitle {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.section__eyebrow--light,
.section__subtitle--light,
.section--accent .section__heading h2,
.section--accent .section__heading p {
  color: #fff;
}

.rich-card-grid,
.insight-grid,
.platform-grid,
.certificate-grid,
.partner-grid,
.text-panel-grid {
  display: grid;
  gap: 0.95rem;
}

.media-card,
.business-card,
.insight-card,
.platform-card,
.advantage-card,
.comparison-card,
.certificate-card,
.partner-grid__item,
.text-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(17, 22, 29, 0.08);
}

.insight-card {
  border: 1px solid #e8e8e7;
}


.media-card,
.business-card,
.insight-card,
.certificate-card,
.partner-grid__item,
.text-panel {
  overflow: hidden;
}

.business-card img,
.media-card img {
  margin: 0 auto;
}

.media-card__body,
.business-card__body,
.insight-card,
.certificate-card,
.text-panel {
  padding: 1rem;
}

.media-card__body h3,
.business-card__body h3,
.platform-card h3,
.advantage-card h3,
.certificate-card h3,
.text-panel h3,
.insight-card h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.4;
}

.business-card__body h3,
.media-card__body h3 {
  text-align: center;
  color: var(--red) !important;
}

.media-card__body p,
.business-card__body p,
.insight-card p,
.platform-card p,
.advantage-card p,
.comparison-card__side p,
.text-panel p,
.contact-list li span,
.group-list li {
  margin: 0;
  color: var(--ink);
}

.media-card__body ul,
.business-card__body ul,
.platform-card__columns ul,
.contact-list,
.group-list {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
}

.media-card__body li,
.business-card__body li,
.platform-card__columns li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
}

/* business-card__body 列表项：红色圆点 + 白色对勾 */
.business-card__body ul {
  list-style: none;
  padding-left: 0;
}

.business-card__body li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
}

.business-card__body li::before {
  content: "";
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--red);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5 9-9' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}

.insight-grid {
  margin-top: 0.95rem;
}

/* 居中标题下的卡片向上叠压：让卡片组压在它上面的模块（heading / accent-banner）上。
   使用 position:relative + z-index 让卡片浮在标题层之上，避免文字穿透。 */
.rich-card-grid--center {
  position: relative;
  z-index: 1;
  margin-top: -5rem;
}

.insight-card {
  padding: 1rem;
}

.insight-card h3 {
  background: #f5f5f5;
  padding: 0.7rem 0.85rem;
  border-radius: 0;
  /* 负 margin 把 h3 顶/左/右拉到与 .insight-card 边沿齐平（抵消 .insight-card 的 1rem padding） */
  margin: -1rem -1rem 0.8rem;
  color: var(--ink);
  font-weight: 700;
  /* text-align: center; */
}

.section--accent {
  /* margin-top: 2rem; */
  padding-bottom: 1rem;
  /* background: linear-gradient(180deg, #fff 0%, #fff8f8 100%); */
}

/* 技术平台 section 背景图（bg.png 750x1650，纵向图，使用 cover 模式填充整段） */
.section--platform {
  position: relative;
  background-image: url("0702-img/bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding-bottom: 2rem !important;
}

.section--accent-alt {
  position: relative;
  padding-top: 2rem;
  background: transparent;
  overflow: hidden;
  padding-left: 1.8rem !important;
  padding-right: 1.8rem !important;
}

/* section 背景图容器（0703-img/6.png，红色调建筑图） */
.section__bg {
  position: absolute;
  /* inset: 0; */
  z-index: 0;
  overflow: hidden;
  left: 0.8rem;
  right: 0.8rem;
}

.section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 让 section 内容（标题、卡片）浮于背景之上 */
.section--accent-alt>.section__heading,
.section--accent-alt>.rich-card-grid {
  position: relative;
  z-index: 1;
}

.accent-banner {
  position: relative;
  margin: 0 -1rem 1rem;
}

.accent-banner__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding: 1.2rem 1rem;
  text-align: center;
  color: #fff;
}

.business-card {
  border-radius: 0;
  background: #fff;
}

.business-card__body {
  min-height: 15.5rem;
}

.business-card__body h3,
.business-card__body p,
.business-card__body li,
.business-card .card-tag {
  color: var(--ink);
}

.business-card .card-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
}

.business-card__body .business-card__desc {
  margin-top: 0.8rem;
  padding: 0.7rem 0.85rem;
  background: #f3f3f3;
  /* border-radius: 8px; */
  color: var(--muted);
  font-size: 0.85rem;
}

/* ========================================
   Solutions section cards (核心系統 / 資源鏈接 / 技術底座)
   ======================================== */
.business-card--solution {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 14px 32px rgba(17, 22, 29, 0.08);
  overflow: hidden;
}

.business-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.business-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.business-card__badge {
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  /* border-radius: 999px; */
  box-shadow: 0 4px 10px rgba(222, 39, 25, 0.12);
  letter-spacing: 0.05em;
}

.business-card--solution .business-card__body {
  padding: 1rem 0.95rem 1.1rem;
  min-height: 0;
}

.business-card--solution .business-card__body h3 {
  text-align: center;
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0.1rem 0 0.85rem;
  letter-spacing: 0.04em;
}

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.solution-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.solution-list li::before {
  content: none;
}

.solution-tag {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  background: var(--light-red);
  border-radius: 999px;
  line-height: 1.4;
  white-space: nowrap;
}

.solution-list li p {
  margin: 0;
  padding-left: 0.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
}

.business-card__summary {
  margin-top: 0.4rem;
  padding: 0.55rem 0.7rem;
  background: #f1f1f3;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  letter-spacing: 0.04em;
  /* border-radius: 4px; */
}

.platform-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-card {
  position: relative;
  padding: 1rem;
  /* border-radius: 18px; */
}

.platform-card h3 {
  text-align: center;
}

.platform-card__index {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(201, 31, 52, 0.08);
}

.platform-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.8rem;
  border-radius: 999px;
  background: rgba(201, 31, 52, 0.08);
}

.platform-card__icon img {
  width: 1.7rem;
  height: 1.7rem;
}

.platform-card__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 0.9rem;
  width: fit-content;
  margin: 0 auto;
}

/* feature-stack：圖示中的「安全保障 / 高效運維 / 持續迭代」三個模塊 */
.feature-stack {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(17, 22, 29, 0.08);
  /* border-radius: 18px; */
  overflow: hidden;
  grid-column: 1 / -1;
}

.feature-stack__title {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(20, 30, 46, 0.04);
  border-bottom: 1px solid var(--line);
}

.feature-stack__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 0;
  padding: 0.95rem 1rem 1rem;
  list-style: none;
}

.feature-stack__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 calc(50% - 0.6rem);
  line-height: 1.6;
  color: var(--ink);
  font-size: 0.92rem;
}

.feature-stack__list li::before {
  content: "";
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--red);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5 9-9' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}

.badge-row,
.value-band__tags,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.badge-row {
  margin-top: 1rem;
}

.badge-row span,
.value-band__tags span,
.footer-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 0.85rem;
  font-weight: 700;
}

.badge-row span {
  background: #fff;
  border: 1px solid var(--line);
}

.advantage-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0 0 1rem;
  padding: 0.4rem 1rem;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--paper);
  /* border-radius: 18px; */
  box-shadow: 0 14px 32px rgba(17, 22, 29, 0.08);
}

.advantage-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* 每个 card 在自己 index 中心向下画一段虚线，连到下一 index 中心 */
.advantage-card::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  /* 修正：card 无 padding-left，index 中心 = 2.3/2 = 1.15rem */
  top: calc(1.1rem + 1.15rem);
  /* 起点 = card padding-top + index 高度/2 = 2.25rem */
  bottom: calc(-1 * (1.1rem + 1.15rem));
  width: 0;
  border-left: 1.5px dashed rgba(20, 30, 46, 0.22);
  z-index: 0;
}

.advantage-card:last-child::after {
  display: none;
  /* 数字 6 后面不画虚线 */
}

.advantage-card__index {
  position: relative;
  z-index: 1;
  /* 数字方块叠在虚线之上 */
}

.advantage-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.5rem;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}

.comparison-card {
  /* border-radius: 18px; */
}

.comparison-card__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1rem 0.8rem;
  font-size: 1rem;
  font-weight: 800;
}

.comparison-card__title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
}

.comparison-card__header,
.comparison-card__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-card__header strong {
  padding: 0.9rem 1rem;
  color: #fff;
  text-align: center;
}

.comparison-card__header strong:first-child {
  background: var(--red);
}

.comparison-card__header strong:last-child {
  background: #9a9a9a;
}

.comparison-card__row+.comparison-card__row {
  border-top: 1px solid var(--line);
}

.comparison-card__side {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 1rem;
  align-items: start;
}

.comparison-card__side img {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.15rem;
}

.comparison-card__side small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 700;
}

.comparison-card__side--muted {
  background: #f5f5f5;
  border-left: 1px solid var(--line);
}

.value-band {
  position: relative;
  margin-top: 1.7rem;
  color: #fff;
}

.value-band__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.value-band__copy h2 {
  margin: 0;
  font-size: clamp(1rem, 3.8vw, 1.7rem);
  line-height: 1.35;
  text-align: center;
}

.value-band__tags {
  margin-top: 0.8rem;
}

.value-band__tags span {
  background: #fff;
  color: var(--red);
}

.certificate-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.certificate-card {
  /* border-radius: 18px; */
}

.certificate-card h3 {
  text-align: center;
}

.certificate-card img {
  margin: 0 auto;
}

.partner-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  overflow: hidden;
  border: none;
  border-radius: none;
}

.partner-grid__item img {
  border-radius: 12px;
  border: 1px solid var(--line);
}

.site-footer {
  margin: 0 auto 0;
  padding: 1.7rem 1rem 2.2rem;
  background: #1a1c20;
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: 1.25rem;
}

.site-footer__block h2 {
  margin-top: 0.55rem;
  font-size: 1.2rem;
  white-space: nowrap;
}

/* 页脚品牌区：logo 与 h2 公司名横排一行 */
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.site-footer__brand .site-header__logo-image {
  height: 2rem;
  max-width: 6rem;
}

.site-footer__brand h2 {
  margin: 0;
  font-size: 1.2rem;
}

/* 页脚二维码：限定在 104px 左右，加白底圆角便于扫描 */
.site-footer__qrcode {
  display: block;
  max-width: 6.5rem;
  height: auto;
  margin: 0.6rem 0;
  padding: 0.4rem;
  background: #fff;
}

.site-footer__block p {
  color: #9CA3AF;
}

/* footer 内嵌链接：与段落文字同色，hover 时加下划线提示可点击 */
.footer-link {
  color: inherit;
  text-decoration: none;
  /* border-bottom: 1px dashed rgba(156, 163, 175, 0.45); */
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  /* color: #fff; */
  /* border-bottom-color: #fff; */
  /* border-bottom-style: solid; */
  outline: none;
}

.contact-list,
.group-list {
  margin-top: 0.85rem;
}

.contact-list li,
.group-list li {
  margin-bottom: 0.7rem;
}

.contact-list li {
  list-style: none;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.22rem;
}

.footer-tags span {
  background: rgba(255, 255, 255, 0.08);
}

.text-panel-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.text-panel {
  /* border-radius: 18px; */
}

.text-panel ul {
  padding-left: 1.2rem;
}

.text-panel ul li {
  margin-bottom: 0.7rem;
}

/* #mission 模块 h3（红色顶部条 + 白字 + 波浪装饰） */
#mission h3,
#scope h3 {
  position: relative;
  margin: -1rem -1rem 1rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, var(--red) 0%, #ef4e63 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
}

/* h3 右侧的白色波浪装饰 */
#mission h3::after,
#scope h3::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: 0;
  width: 8rem;
  height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'><path fill='%23ffffff' fill-opacity='0.18' d='M0,30 Q40,10 80,30 T160,30 T240,30 L240,60 L0,60 Z'/></svg>");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 100%;
  pointer-events: none;
}

@media (min-width: 820px) {
  .site-header {
    padding: 1rem 1.4rem;
  }

  .site-header__menu {
    display: none;
  }

  .site-header__nav {
    display: flex;
  }

  .drawer,
  .drawer-backdrop {
    display: none;
  }

  .page,
  .site-footer {
    width: min(100%, 980px);
  }

  .hero__overlay {
    /* padding-top: 5rem; */
  }

  /* PC: 浮层只覆盖背景图高度，让 align-items:center 把文字放在 BG 视觉中线，
     避免文字在 BG+stats 合计高度下被挤到偏下位置 */
  .hero__overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 480px;
  }

  /* PC: 限制 hero 背景区与统计区图片的最大高度，避免 1.png (750x780) 在 980px 宽下被拉得过高 */
  .hero__background {
    min-height: 480px;
  }

  .hero-stats>img {
    max-height: 220px;
    object-fit: cover;
    object-position: center;
  }

  /* PC: 统计项改为竖排且数字在上、文字在下（利用 column-reverse 保留原 DOM 顺序） */
  .hero-stats__item {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.2rem;
  }

  .hero-stats__item strong {
    margin-top: 0;
  }

  /* PC: 限制 accent-banner 图片最大高度 (6.png 750x537 在 980px 宽下默认 702px 过高) */
  .accent-banner>img {
    max-height: 280px;
    object-fit: cover;
    object-position: center;
  }

  .section {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .rich-card-grid--three,
  .insight-grid,
  .text-panel-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero--ximeng .hero__overlay {
    /* padding: 3rem 1.4rem 14.5rem; */
  }

  .hero--ximeng__bottom {
    padding: 3rem 1.4rem 3.4rem;
  }
}

@media (min-width: 1080px) {

  .page,
  .site-footer {
    width: min(100%, 980px);
  }

  .rich-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .text-panel-grid,
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ========================================
   H5 / Mobile adaptation (max-width: 767px)
   ======================================== */
@media (max-width: 767px) {

  /* --- 1. Global --- */
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-size: 15px;
  }

  /* --- 2. Header --- */
  .site-header {
    padding: 0.6rem 0.8rem;
    gap: 0.5rem;
  }

  .site-header__logo-image {
    height: 2rem;
    max-width: 6rem;
  }

  .site-header__brand {
    max-height: 2rem;
  }

  .site-header__brand-badge {
    /* 移动端：按 logo 图片渲染 */
    height: 2rem;
    width: auto;
    max-width: 6.5rem;
    margin-right: 0.5rem;
  }

  .site-header__brand-copy strong {
    font-size: 0.88rem;
  }

  .site-header__brand-copy small {
    font-size: 0.65rem;
  }

  .site-header__actions {
    gap: 0.4rem;
  }

  .lang-switch {
    padding: 0.16rem;
    gap: 0.2rem;
    width: max-content;
  }

  .lang-switch__item {
    min-width: 1.8rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.7rem;
  }

  .site-header__menu {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0.5rem;
  }

  /* --- 3. Hero (both projects) --- */
  /* xunxiao hero */
  .hero--xunxiao .hero__overlay,
  .hero--ximeng .hero__overlay {
    padding: 3rem 1rem 2rem;
    align-items: flex-start;
  }

  .hero__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero__copy h1 {
    /* font-size: clamp(1.5rem, 6vw, 2.2rem); */
    margin: 0.4rem auto 0.5rem;
  }

  .hero__description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero--ximeng .hero__description {
    /* padding: 0 1.6rem; */
  }

  /* hero stats */
  .hero-stats__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.6rem;
    padding: 0.2rem 0.4rem;
  }

  .hero-stats__item p {
    font-size: 0.95rem;
  }

  .hero-stats__item strong {
    font-size: 1.6rem;
    margin-top: 0;
  }

  .hero-stats__grid {
    grid-template-columns: 1fr;
    padding: 0.5rem 2rem;
    gap: 0.4rem;
  }


  .hero--ximeng__bottom {
    padding: 2rem 0.9rem 2.3rem;
  }

  .hero-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.8rem;
    max-width: 22rem;
  }

  .hero-pills span {
    padding: 0.2rem 0;
    font-size: 0.85rem;
    font-weight: 600;
  }

  .hero-pills span::before {
    width: 1.3rem;
    height: 1.3rem;
    margin-right: 0.4rem;
    background-size: 58% 58%;
  }

  /* --- 4. Section headings --- */
  .section {
    padding: 1.6rem 0.8rem 0;
  }

  .section__heading {
    margin-bottom: 0.8rem;
  }

  .section__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .section__heading h2 {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    margin: 0.35rem 0 0.4rem;
  }

  .section__heading--accent h2 {
    margin: 2.35rem 0 0.6rem;
  }

  .section__subtitle {
    font-size: 1rem !important;
    margin-bottom: 0.5rem;
  }

  .section__heading p {
    font-size: 0.85rem;
  }

  #about,
  #business,
  #solutions,
  #platform,
  #advantages,
  #credentials,
  #contact,
  #mission,
  #scope,
  #clients {
    scroll-margin-top: 3.8rem;
  }

  /* --- 5. Card content --- */
  .media-card__body,
  .business-card__body,
  .insight-card,
  .certificate-card,
  .text-panel {
    padding: 0.8rem;
  }

  .media-card__body h3,
  .business-card__body h3,
  .platform-card h3,
  .advantage-card h3,
  .certificate-card h3,
  .text-panel h3,
  .insight-card h3 {
    font-size: 1rem;
    margin: 0.25rem 0 0.4rem;
  }

  /* 移动端：与 PC 一致，h3 灰色背景贴齐 .insight-card 边缘（0.8rem padding） */
  .insight-card h3 {
    margin: -0.8rem -0.8rem 0.4rem;
  }

  .media-card__body h3,
  .business-card__body h3 {
    color: var(--red);
    text-align: center;
  }

  .media-card__body p,
  .business-card__body p,
  .insight-card p,
  .platform-card p,
  .advantage-card p,
  .comparison-card__side p,
  .text-panel p,
  .contact-list li span,
  .group-list li {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .card-tag {
    font-size: 0.68rem;
  }

  .media-card__body ul,
  .business-card__body ul,
  .platform-card__columns ul {
    margin-top: 0.6rem;
    padding-left: 1rem;
  }

  .business-card__body ul {
    padding-left: 0;
  }

  .media-card__body li,
  .business-card__body li,
  .platform-card__columns li {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
    line-height: 1.55;
  }

  .business-card__body {
    min-height: auto;
  }

  /* --- Solution cards mobile tuning --- */
  .business-card--solution .business-card__body {
    padding: 0.85rem 0.85rem 1rem;
  }

  .business-card--solution .business-card__body h3 {
    font-size: 1.05rem;
    margin: 0.1rem 0 0.7rem;
  }

  .business-card__badge {
    font-size: 0.7rem;
    padding: 0.18rem 0.5rem;
  }

  .solution-list {
    gap: 0.45rem;
  }

  .solution-tag {
    font-size: 0.78rem;
    padding: 0.15rem 0.6rem;
  }

  .solution-list li p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .business-card__summary {
    font-size: 0.72rem;
    padding: 0.45rem 0.5rem;
  }

  /* --- 6. Grid layouts --- */
  .platform-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .platform-card {
    padding: 0.8rem;
    /* border-radius: 14px; */
  }

  .feature-stack {
    /* border-radius: 14px; */
  }

  .feature-stack__title {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
  }

  .feature-stack__list {
    padding: 0.75rem 0.8rem 0.85rem;
    gap: 0.4rem 0.8rem;
  }

  .feature-stack__list li {
    flex: 0 0 calc(50% - 0.4rem);
    font-size: 0.82rem;
  }

  .platform-card__index {
    font-size: 2.2rem;
    top: 0.6rem;
    right: 0.6rem;
  }

  .platform-card__icon {
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.5rem;
  }

  .platform-card__icon img {
    width: 1.4rem;
    height: 1.4rem;
  }

  .platform-card__columns {
    gap: 0.1rem 3rem;
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .partner-grid__item {
    border-radius: 12px;
  }

  .certificate-grid {
    gap: 0.7rem;
  }

  .certificate-card h3 {
    font-size: 0.85rem;
  }

  .rich-card-grid,
  .insight-grid {
    gap: 0.7rem;
  }

  /* 移动端：叠压幅度更小，避免把上方 banner/标题盖住 */
  .rich-card-grid--center {
    margin-top: -5rem;
  }

  /* --- 7. Comparison card --- */
  .comparison-card__title {
    padding: 0.7rem;
    font-size: 1rem;
    gap: 0.4rem;
  }

  .comparison-card__title span {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.78rem;
  }

  .comparison-card__header strong {
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
  }

  .comparison-card__side {
    padding: 0.7rem;
    gap: 0.5rem;
  }

  .comparison-card__side small {
    font-size: 0.66rem;
  }

  .comparison-card__side p {
    font-size: 0.78rem;
  }

  .comparison-card__side img {
    width: 1.15rem;
    height: 1.15rem;
  }

  /* --- 8. Advantage cards --- */
  .advantage-list {
    gap: 0;
    padding: 0.3rem 0.7rem;
  }

  /* H5 端：card 无 padding-left，index 中心 = 2rem/2 = 1rem */
  .advantage-card::after {
    left: 1rem;
    top: calc(0.9rem + 1rem);
    bottom: calc(-1 * (0.9rem + 1rem));
  }

  .advantage-card {
    padding: 0.9rem 0.1rem;
    gap: 0.8rem;
    border-radius: 0;
  }

  .advantage-card__index {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
    border-radius: 0.45rem;
  }

  /* --- 9. Value band (xunxiao) --- */
  .value-band__copy {
    padding: 0.7rem;
  }

  .value-band__copy h2 {
    font-size: clamp(0.88rem, 3.4vw, 1.2rem);
    line-height: 1.3;
  }

  .value-band__tags {
    margin-top: 0.5rem;
    gap: 0.4rem;
  }

  .value-band__tags span {
    padding: 0.4rem 0.35rem;
    font-size: 0.72rem;
  }

  /* --- 10. Accent banner --- */
  .accent-banner__copy {
    padding: 0.8rem;
  }

  .accent-banner__copy h2 {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }

  .section--accent {
    /* margin-top: 1.2rem; */
    padding-bottom: 0.6rem;
  }

  .section--accent-alt {
    padding-top: 1.2rem;
  }

  /* --- 11. Badge row --- */
  .badge-row {
    margin-top: 0.7rem;
    gap: 0.4rem;
  }

  .badge-row span {
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
  }

  /* --- 12. Footer --- */
  .site-footer {
    padding: 1.2rem 0.8rem 1.6rem;
  }

  .site-footer__grid {
    gap: 1rem;
  }

  .site-footer h2 {
    font-size: 1rem;
    margin: 0.3rem 0 0.4rem;
  }

  .site-footer__eyebrow {
    font-size: 0.88rem;
    gap: 0.45rem;
  }

  .site-footer__eyebrow-icon {
    /* 移动端：按 logo 图片渲染 */
    height: 2rem;
    width: auto;
    max-width: 5.5rem;
  }

  .site-footer p,
  .contact-list li,
  .group-list li {
    font-size: 0.82rem;
  }

  .contact-list strong {
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
  }

  .contact-list,
  .group-list {
    margin-top: 0.6rem;
  }

  .contact-list li,
  .group-list li {
    margin-bottom: 0.5rem;
  }

  .footer-tags {
    gap: 0.4rem;
  }

  .footer-tags span {
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
  }

  /* --- 13. Drawer --- */
  .drawer {
    width: min(18rem, 80vw);
    padding: 0.8rem;
  }

  .drawer__eyebrow {
    font-size: 0.68rem;
  }

  .drawer__title {
    font-size: 1rem;
  }

  .drawer__close {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.3rem;
  }

  .drawer__nav {
    gap: 0.45rem;
  }

  .drawer__nav a {
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .drawer__lang {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
  }

  .drawer__lang p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  /* #mission / #scope h3 移动端紧凑 */
  #mission h3,
  #scope h3 {
    margin: -0.8rem -0.8rem 0.8rem;
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
  }

  #mission h3::after,
  #scope h3::after {
    width: 6rem;
  }
}

/* ===========================
 * 返回顶部悬浮按钮
 * 用途：xunxiao / ximeng 站点右下角悬浮，滚动超过一屏后淡入；点击平滑滚回顶部。
 * =========================== */
.back-to-top {
  position: fixed;
  right: clamp(0.8rem, 2vw, 1.4rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(222, 39, 25, 0.32), 0 2px 6px rgba(17, 22, 29, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s, background-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s, background-color 0.18s ease;
}
.back-to-top:hover {
  background: var(--red);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.back-to-top__icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 480px) {
  .back-to-top {
    width: 2.5rem;
    height: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.15s linear, visibility 0s;
    transform: none;
  }
}