/* ============== 全局样式 ============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti TC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol,
li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

:root {
  --primary: #DE2719;
  --primary-dark: #A30000;
  --primary-light: #E60000;
  --text-1: #2B1309;
  --text-2: #2B1309;
  --text-3: #555;
  --text-4: #999;
  --bg-gray: #f5f5f5;
  --bg-light: #fafafa;
  --border: #E6E5E5;
  --max-w: 1200px;
  --shadow: 0px 0px 74px -19px rgba(0, 0, 0, 0.12);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--text-1);
  font-weight: 700;
  /* margin-bottom: 16px; */
  position: relative;
  display: inline-block;
}

.section-title h2::before,
.section-title h2::after {
  content: "";
  position: absolute;
  top: 80%;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
}

.section-title h2::before {
  left: -70px;
}

.section-title h2::after {
  right: -70px;
  transform: rotate(180deg);
}

.advantages .section-title h2 {
  position: relative;
  padding-bottom: 20px;
  /* margin-bottom: 20px; */
  font-size: 48px;
}

.advantages .section-title h2::before {
  display: none;
}

.advantages .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(0);
  width: 36px;
  height: 3px;
  background: var(--primary);
}

/* 關於我們 / 資質背書 / 合作客戶：標題底部橫線（與技術平台一致） */
.about .section-title h2,
.qualifications .section-title h2,
.partners .section-title h2 {
  position: relative;
  padding-bottom: 18px;
  /* margin-bottom: 18px; */
  font-size: 48px;
  letter-spacing: 1px;
  color: var(--text-1);
}

.about .section-title h2::before,
.qualifications .section-title h2::before,
.partners .section-title h2::before {
  display: none;
}

.about .section-title h2::after,
.qualifications .section-title h2::after,
.partners .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(0);
  width: 36px;
  height: 3px;
  background: var(--primary);
}

.section-title p {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 8px;
}

.section-title .subtitle {
  font-size: 28px;
}

.section-title .desc {
  font-size: 20px !important;
}

/* ============== 顶部导航 ============== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 1px;
}

.logo-tagline {
  font-size: 12px;
  color: var(--text-1);
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 16px;
  color: var(--text-2);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  font-weight: 500;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* 胶囊式语言切换（常驻显示：繁 / 简 / EN） */
.lang-switch {
  /* margin-left: 18px; */
  padding-left: 14px;
  border-left: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
  background: transparent;
  line-height: 1;
}

.lang-pill:hover {
  color: var(--primary);
}

.lang-pill.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(192, 0, 0, 0.25);
}

/* 兼容旧版下拉（如有遗留） */
.lang-btn {
  display: none;
}

.lang-dropdown {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-1);
  border-radius: 1px;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) {
  top: 4px;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 16px;
}

.menu-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* ============== Hero区域 ============== */
.hero {
  position: relative;
  height: 600px;
  margin-top: 70px;
  background: url('../pc/1.png') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  /* content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(192,0,0,0.35) 0%, rgba(160,0,0,0.55) 100%); */
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 auto 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  max-width: 488px;
  position: relative;
  padding-bottom: 22px;
}

/* hero h1 底部装饰短线（参考 about/qualifications/partners section-title h2::after） */
.hero-content h1::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: #fff;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.8;
  /* opacity: 0.95; */
  /* text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); */
  max-width: 720px;
  margin: 0 auto;
}

/* ============== 数据统计 ============== */
.stats {
  position: relative;
  background: var(--primary);
  background-image: url('../pc/2.png');
  background-size: cover;
  background-position: center;
  z-index: 10;
  padding: 20px 20px;
}

.stats::before {
  /* content: "";
  position: absolute;
  inset: 0;
  background: url('../pc/2.png') center/cover no-repeat; */
}

.stats-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 20px 10px;
  position: relative;
  color: #fff;
}

.stat-item:not(:last-child)::after {
  /* content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.35); */
}

.stat-num {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-num small {
  font-size: 28px;
  margin-left: 2px;
  color: #fff;
  font-weight: 600;
}

.stat-label {
  margin-top: 12px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 1px;
  font-weight: normal;
}

/* ============== 关于我们 ============== */
.section {
  padding: 60px 0;
}

.about {
  background: #fff;
}

.about .section-title p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 28px;
  color: #2D1F1C;
  margin-top: 8px;
  font-weight: 500;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.about-card {
  position: relative;
  /* border-radius: 4px; */
  overflow: hidden;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s;
  background: #f5f5f4;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.about-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-card-body {
  padding: 28px 24px 32px;
  text-align: center;
  background: #f5f5f4;
}

.about-card-body h3 {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.about-card-body h3::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.about-card-body p {
  font-size: 16px;
  color: #2D1F1C;
  line-height: 1.5;
}

.about-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.about-text-item {
  background: transparent;
  padding: 0;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.about-text-item:hover h4 {
  /* background: #c8c8c8; */
}

.about-text-item h4 {
  font-size: 26px;
  color: #2D1F1C;
  margin-bottom: 18px;
  font-weight: 700;
  position: relative;
  padding: 14px 16px 14px 20px;
  letter-spacing: 0.5px;
  background: #f3f3f3;
  border-radius: 4px;
  transition: background 0.3s ease;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.about-text-item h4::before {
  /* content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px; */
}

.about-text-item p {
  color: #2D1F1C;
  line-height: 1.5;
  font-size: 16px;
  padding: 0 20px 30px;
  font-weight: 500;
}

/* ============== 核心业务 ============== */
.business {
  position: relative;
  padding: 0 0 60px;
  /* 上 padding 移到 .section-title 自身；下 padding 保留给 cards */
  background: var(--bg-light);
  /* 取消整段红底，改到 .section-title 上 */
  overflow: hidden;
}

.business .container {
  position: relative;
  z-index: 1;
}

/* 红底背景图片迁到 .section-title 模块：标题/副标题/描述都在红底上，卡片在白底上 */
/* 用 ::before 伪元素 + 100vw 实现全屏宽度背景，突破 .container 1200px 上限 */
.business .section-title {
  margin-bottom: 30px;
  padding: 90px 0 60px;
  position: relative;
  height: 725px;
  /* PC 端固定背景图模块高度 725px */
  /* background-image 移到 ::before 上 */
}

.business .section-title::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  /* 全屏宽度 */
  height: 100%;
  /* 撑满 725px 高度 */
  background-image: url('../pc/核心业务Bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: -1;
  /* 在文字之下 */
  pointer-events: none;
}

.business .section-title h2 {
  color: #fff;
  position: relative;
  padding-bottom: 18px;
  /* margin-bottom: 20px; */
  font-size: 48px;
  letter-spacing: 1px;
}

/* 标题下方短白色横线（无两侧装饰线） */
.business .section-title h2::before {
  display: none;
}

.business .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.business .section-title .business-sub {
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 1.5px;
}

.business .section-title .business-desc {
  color: #fff;
  font-size: 20px;
  margin-top: 14px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  letter-spacing: 0.5px;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -400px;
  /* 向上漂浮 400px：覆盖 .section-title (725px) 底部大部分 */
  position: relative;
  /* 浮在红底背景之上 */
  z-index: 2;
}

.business-card {
  background: #fff;
  /* border-radius: 4px; */
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.business-card-img {
  position: relative;
  overflow: hidden;
}

.business-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.business-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.business-card-body {
  padding: 26px 22px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.business-card-body h3 {
  font-size: 26px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 22px;
  font-weight: 700;
  position: relative;
  /* padding-bottom: 14px; */
  letter-spacing: 0.5px;
}

.business-card-body h3::after {
  /* content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px; */
}

.business-card-body ul {
  margin-bottom: 0;
  padding: 4px 0 22px;
}

.business-card-body ul li {
  position: relative;
  padding-left: 40px;
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 14px;
  font-weight: 500;
}

.business-card-body ul li:last-child {
  margin-bottom: 0;
}

.business-card-body ul li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: url('../h5/yes.png') center/contain no-repeat;
  margin-right: 10px;
}

.business-card-foot {
  margin: auto -22px 0;
  padding: 16px 22px 18px;
  background: var(--border);
  text-align: center;
}

.business-foot-label {
  display: inline-block;
  color: var(--text-3);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.business-card-foot span {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
}

/* ============== 技术平台 ============== */
.platform {
  background: var(--bg-light);
  position: relative;
  z-index: 2;
  /* margin-top: -40px; */
  padding: 40px 0 40px;
  background-image: url('../pc/技术平台BG.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.platform .section-title {
  margin-bottom: 30px;
}

.platform .section-title h2 {
  position: relative;
  padding-bottom: 18px;
  /* margin-bottom: 18px; */
  font-size: 48px;
  letter-spacing: 1px;
}

.platform .section-title h2::before {
  display: none;
}

.platform .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--primary);
}

.platform .section-title>p {
  color: var(--text-1);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.platform .section-title>p+p {
  color: var(--text-2);
  font-size: 20px;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.platform-platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.platform-item {
  background: #fff;
  /* border-radius: 4px; */
  padding: 22px 20px 20px 22px;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #eef0f3;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

/* 左侧顶部红色装饰竖条（仅顶部一半高度） */
.platform-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 3px;
  height: 14%;
  background: var(--primary);
  z-index: 2;
}

/* 背景大数字水印 */
.platform-num {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 64px;
  font-weight: 800;
  color: rgba(192, 0, 0, 0.1);
  letter-spacing: -2px;
  /* font-style: italic; */
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.platform-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  /* border-color: rgba(192,0,0,0.3); */
}

/* .platform-item:hover .platform-num { color: rgba(192, 0, 0, 0.18); } */
.platform-icon {
  width: 38px;
  height: 38px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.platform-icon-4 {
  width: 34px;
  height: 34px;
}

/* .platform-item:hover .platform-icon { transform: scale(1.05); } */
/* 将图标统一为红色（CSS filter 实现） */
.platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* filter: brightness(0) saturate(100%) invert(13%) sepia(95%) saturate(7471%) hue-rotate(354deg) brightness(91%) contrast(135%); */
}

.platform-item h3 {
  font-size: 24px;
  color: var(--text-1);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.platform-item ul {
  position: relative;
  z-index: 1;
}

.platform-item ul li {
  font-size: 16px;
  color: var(--text-2);
  padding: 5px 0 5px 14px;
  position: relative;
  line-height: 1.5;
  font-weight: 500;
}

.platform-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-2);
}

/* 资质认证行（紧凑小徽章样式） */
.platform-cert {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.cert-item {
  background: #fff;
  border: 1px solid #dcdcdc;
  padding: 9px 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.5px;
  transition: all 0.3s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
  justify-content: center;
}

.cert-item::before {
  /* content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0; */
}

.cert-item:hover {
  /* border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(192,0,0,0.12); */
}

/* ============== 核心优势 ============== */
.advantages {
  background: #fff;
}

.advantages-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.advantages-list,
.advantages-vs {
  background: #fff;
  /* border: 1px solid var(--border); */
  box-shadow: var(--shadow);
  /* border-radius: 4px; */
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.advantages-list h3,
.advantages-vs h3 {
  font-size: 28px;
  color: var(--text-1);
  margin-bottom: 22px;
  font-weight: 600;
  padding-bottom: 12px;
  /* border-bottom: 3px solid var(--primary); */
  display: inline-block;
  align-self: flex-start;
}

.advantages-vs h3.vs-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.advantages-vs h3 .vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.5px;
  line-height: 1;
}

.advantages-list ul {
  flex: 1;
  position: relative;
}

.advantages-list ul::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: 0;
  border-left: 1px dashed #d8d8d8;
  z-index: 0;
}

/* 在最后一个 li 内部遮挡数字方块下方的虚线延伸：
   位置从 .advantages-num 底部开始到底部，覆盖左侧虚线区域（width:14px）。
   这样无论 li 内容多高都能完整遮住，不影响文字（文字在右侧 >14px 区域）。 */
.advantages-list ul li:last-child::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 14px;
  bottom: 0;
  background: #fff;
  z-index: 2;
}

.advantages-list ul li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

.advantages-list ul li:last-child {
  border-bottom: none;
}

.advantages-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  margin-top: 2px;
}

.advantages-list ul li h5 {
  font-size: 20px;
  color: var(--text-1);
  font-weight: 600;
  margin-bottom: 5px;
}

.advantages-list ul li p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
}

.advantages-vs {
  padding: 30px 14px 0;
}

.advantages-vs .vs-table {
  /* flex: 1; */
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  /* border-radius: 4px; */
  overflow: hidden;
}

.advantages-vs .vs-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.advantages-vs .vs-head div {
  text-align: center;
  padding: 14px 12px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

.advantages-vs .vs-head .us {
  background: var(--primary);
}

.advantages-vs .vs-head .other {
  background: #979697;
  color: #fff;
}

.advantages-vs .vs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}

.advantages-vs .vs-cell {
  padding: 20px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  border-right: 1px solid var(--border);
}

.advantages-vs .vs-cell:last-child {
  border-right: none;
  color: var(--text-3);
}

/* vs-table 左右分列背景：左白 / 右浅灰 */
.advantages-vs .vs-row .vs-cell:first-child {
  background: #fff;
}

.advantages-vs .vs-row .vs-cell:last-child {
  background: #f4f5f7;
}

.advantages-vs .vs-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

/* ============== 文化 ============== */
.culture {
  background: var(--primary);
  background-image: url('../pc/以文化創意與數字.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.culture::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../pc/9.png') center/cover no-repeat;
}

.culture .container {
  position: relative;
  z-index: 1;
}

.culture h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.5px;
}

.culture p {
  font-size: 15px;
  line-height: 1.85;
  max-width: 820px;
  margin: 0 auto 36px;
  opacity: 0.95;
}

.culture-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.culture-tag {
  background: #fff;
  color: var(--primary);
  padding: 10px 26px;
  /* border-radius: 30px; */
  font-size: 18px;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  cursor: default;
}

.culture-tag:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* ============== 资质背书 ============== */
.qualifications {
  background: #f7f7f7;
}

.qual-subtitle {
  font-size: 20px;
  color: var(--text-1);
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.qual-desc {
  color: var(--text-3);
  font-size: 14px;
  margin-top: 10px;
  letter-spacing: 0.5px;
  line-height: 1.7;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 50px auto 0;
}

.qual-item {
  /* background: #fff; */
  /* border: 1px solid #e8e8e8; */
  border-radius: 6px;
  padding: 16px 14px 18px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.qual-item:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 8px 20px rgba(192,0,0,0.12); */
  /* border-color: var(--primary); */
}

.qual-item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  /* background: #fff; */
  border-radius: 4px;
  margin-bottom: 12px;
  transition: transform 0.3s;
}

.qual-item:hover img {
  transform: scale(1.02);
}

.qual-item p {
  font-size: 16px;
  color: var(--text-1);
  padding: 4px 2px;
  line-height: 1.5;
  font-weight: 500;
}

/* ============== 合作客户 ============== */
.partners {
  background: #fff;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  background: #fff;
  padding: 22px;
  border-radius: 6px;
  /* box-shadow: 0 2px 12px rgba(0,0,0,0.05); */
}

.partner-item {
  background: #fff;
  /* border: 1px solid #ececec; */
  /* border-radius: 4px; */
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 8px; */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192, 0, 0, 0.04), rgba(192, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.3s;
}

.partner-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.partner-item:hover::before {
  opacity: 1;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}

.partner-item:hover img {
  transform: scale(1.08);
}

/* ============== Footer ============== */
.footer {
  background: #1a1a1a;
  color: #999;
  padding: 48px 0 0;
}

/* 顶部 Logo 区 */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 32px;
  border-bottom: 1px solid #333;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 13px;
  color: #999;
  line-height: 1.4;
}

/* 主体三栏 */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 40px 0;
  align-items: flex-start;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  /* content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px; */
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  font-size: 14px;
  line-height: 1.9;
  color: #999;
  word-break: break-word;
}

.footer-label {
  color: #999;
  /* font-weight: 500; */
  margin-right: 4px;
  flex-shrink: 0;
}

.footer-value {
  color: #999;
}

.footer-list a {
  color: #999;
  transition: color 0.3s;
}

.footer-list a:hover {
  color: #fff;
}

/* 二维码 */
.footer-col-qr {
  display: flex;
  flex-direction: column;
}

.footer-qr-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-qr-box img {
  width: 108px;
  height: 108px;
  background: #fff;
  padding: 6px;
  border-radius: 6px;
  transition: transform 0.3s;
}

.footer-qr-box img:hover {
  transform: translateY(-3px);
}

.footer-qr-desc {
  font-size: 12px;
  color: #bbb;
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #2a2a2a;
  margin-top: 0;
}

/* ============== 响应式 - 平板 ============== */
@media (max-width: 1024px) {
  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero {
    height: 500px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .stat-num {
    font-size: 40px;
  }

  .stat-num small {
    font-size: 22px;
  }

  .stat-label {
    font-size: 16px;
  }

  .about-cards,
  .business-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-platforms {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-features {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px;
  }

  .platform-features::before,
  .platform-features::after {
    display: none;
  }

  .advantages-content {
    grid-template-columns: 1fr;
  }

  .qual-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .qual-item img {
    height: 220px;
  }

  .partners-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .footer-main {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 36px;
    padding: 32px 0;
  }

  .section-title h2 {
    font-size: 28px !important;
  }

  .section-title h2::before,
  .section-title h2::after {
    width: 36px;
  }

  .section-title h2::before {
    left: -45px;
  }

  .section-title h2::after {
    right: -45px;
  }
}

/* ============================================================
   RESPONSIVE — Tablet (≤980px)
   ============================================================ */
@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0.6rem;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .nav a.active::after {
    display: none;
  }

  .nav.open {
    max-height: 5rem;
  }

  .nav a {
    padding: 0.14rem 0.2rem;
    border-bottom: 1px solid var(--border);
  }

  .lang-switch {
    margin: 0.1rem 0.2rem;
    padding-left: 0;
    border-left: none;
  }
}

/* ============== 响应式 - 手机H5 ============== */
@media (max-width: 768px) {
  body {
    font-size: 0.13rem;
  }

  .container {
    padding: 0 0.16rem !important;
  }

  .business-container {
    padding: 0 !important;
  }

  .section {
    padding: 0.3rem 0;
  }

  .header-inner {
    height: 0.6rem;
    padding: 0 0.16rem;
  }

  .logo img {
    height: 0.36rem;
  }

  .logo-text .logo-tagline {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0.6rem;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .nav a.active::after {
    display: none;
  }

  .nav.open {
    max-height: 5rem;
  }

  .nav a {
    padding: 0.14rem 0.2rem;
    border-bottom: 1px solid var(--border);
  }

  .lang-switch {
    margin: 0.1rem 0.2rem;
    padding-left: 0;
    border-left: none;
  }

  .hero {
    height: 3.8rem;
    margin-top: 0.6rem;
    background-image: url('../h5/1.png');
  }

  .hero-content h1 {
    font-size: 0.26rem;
    line-height: 1.4;
    max-width: 2.6rem;
  }

  .hero-content p {
    font-size: 0.14rem;
    font-weight: 500;
    margin-top: -0.2rem;
  }

  .stats {
    padding: 0.1rem 0.24rem;
    background-image: url('../h5/2.png');
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 0.04rem;
  }

  .stat-item:not(:last-child)::after {
    display: block;
    right: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(50%);
    width: 60%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
  }

  .stat-item {
    padding: 0.16rem 0.1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.12rem;
  }

  .stat-num {
    font-size: 0.36rem;
    order: 2;
    flex-shrink: 0;
  }

  .stat-num small {
    font-size: 0.18rem;
  }

  .stat-label {
    font-size: 0.18rem;
    letter-spacing: 0.5px;
    margin-top: 0;
    text-align: left;
    order: 1;
  }

  .section-title h2 {
    font-size: 0.24rem !important;
  }

  .section-title h2::before,
  .section-title h2::after {
    display: none;
  }

  /* 副标题层级（与 PC 端 28px 相对应，H5 等比缩放） */
  .section-title .subtitle {
    font-size: 0.2rem !important;
  }

  /* 描述层级（与 PC 端 20px 相对应，H5 等比缩放） */
  .section-title .desc {
    font-size: 0.16rem !important;
  }

  /* 默认 <p> 副标题（如 about.subtitle），最低层级 */
  .section-title p {
    font-size: 0.14rem !important;
  }

  .section-title {
    margin-bottom: 0.3rem;
  }

  .about {
    /* padding-bottom: 0; */
  }

  .about-cards,
  .business-cards {
    grid-template-columns: 1fr;
    gap: 0.16rem;
  }

  .about-text {
    grid-template-columns: 1fr;
    gap: 0.16rem;
  }

  .about-text-item h4 {
    font-size: 0.2rem;
    padding: 0.12rem 0.14rem 0.12rem 0.18rem;
  }

  .about-text-item p {
    font-size: 0.15rem;
  }

  .about-card::before {
    content: "";
    position: absolute;
    left: 0;
    /* 父元素 .acard 最左边 */
    top: 0.24rem;
    /* 与图片顶部对齐（图片 margin-top: 0.2rem） */
    width: 3px;
    /* 4px 红条 */
    height: 26px;
    /* 高度跟随图片宽度自适应 */
    background: var(--primary);
    z-index: 3;
  }

  .about-card img {
    width: 65%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 0.2rem;
    height: auto;
  }

  .about-card-body {
    padding: 0.22rem 0.18rem 0.26rem;
    /* 28 / 24 / 32 */
  }

  .about-card-body h3 {
    font-size: 0.2rem !important;
    margin-bottom: 0.14rem !important;
    /* 14 */
    /* padding-top: 0.16rem !important; */
    /* 16 */
  }

  .about-card-body h3::before {
    width: 0.24rem;
    /* 24 */
    height: 0.03rem;
    /* 3 */
    bottom: -14%;
    display: none;
  }

  .about-card-body p {
    font-size: 0.15rem !important;
    /* 18 → 0.18; 略缩 */
    line-height: 1.5;
    text-align: left;
  }

  .about-cards {
    margin-bottom: 0rem;
    /* 40 */
  }

  .business {
    padding: 0;
    /* 上 padding 移到 .section-title 自身；下 padding 留给 cards */
    /* 取消整段红底 */
  }

  /* 红底图片迁到 .section-title：标题/副标题/描述在红底上
     H5 关键策略：
       1. 设固定高度 + overflow:hidden，把 h5/6.png 的下部装饰区裁掉
       2. background-position: center top，只露出纯红色顶部（让背景图"消音"）
       3. 配合 .business-cards 大幅上浮覆盖下方，整体只露出红底顶 + 文字 */
  .business .section-title {
    margin-bottom: 0 !important;
    padding: 0.3rem 0 0;
    position: relative;
    height: 3.0rem;
    /* 固定 240px：仅容纳标题+副标题+描述+小段装饰 */
    overflow: hidden;
    /* 裁掉 bg 下方的装饰图形 */
  }

  .business .section-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    /* 全屏宽度 */
    height: 100%;
    /* 跟随上面 height: 2.4rem */
    background-image: url('../h5/6.png');
    background-size: cover;
    background-position: center top;
    /* 关键：取图片顶部纯红部分，隐藏下半装饰区 */
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
  }

  .platform {
    /* margin-top: -0.3rem; */
    padding: 0.3rem 0;
    background-image: url('../h5/bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .business-card-img img {
    height: auto;
  }

  .business-card-body {
    padding: 0.18rem 0.18rem 0;
  }

  .business-card-body h3 {
    font-size: 0.2rem;
    margin-bottom: 0.14rem;
  }

  .business-card-body ul {
    padding-bottom: 0.12rem;
  }

  .business-card-body ul li {
    font-size: 0.15rem;
    margin-bottom: 0.1rem;
    padding-left: 0.2rem;
  }

  .business-card-body ul li::before {
    width: 0.14rem;
    height: 0.14rem;
    top: 0.03rem;
    left: 0;
  }

  .business-card-foot {
    /* margin: 0.14rem -0.18rem 0; */
    padding: 0.12rem 0.14rem;
    text-align: left;
  }

  .business-card-foot p {
    font-size: 0.11rem;
  }

  .business-cards {
    margin-top: -0.8rem;
    /* 180px 上浮：在 240px 高的 section-title 里覆盖约 75% */
    position: relative;
    /* 浮在背景图之上 */
    z-index: 2;
    padding: 0 0.15rem;
  }

  .business .section-title h2 {
    font-size: 0.24rem !important;
    margin-bottom: 0.12rem !important;
    padding-bottom: 0.12rem !important;
  }

  .business .section-title .business-sub {
    font-size: 0.2rem !important;
    margin-top: 0.04rem !important;
  }

  .business .section-title .business-desc {
    font-size: 0.16rem !important;
    padding: 0 0.1rem;
    margin-top: 0.08rem !important;
    line-height: 1.5;
  }

  .business-badge {
    font-size: 0.11rem !important;
    padding: 0.04rem 0.1rem;
  }


  /* H5 一行一个：单列布局，卡片占满整行 */
  .platform-platforms {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.14rem;
  }

  /* 卡片内部：图标与 h3 居中显示，列表保持左对齐便于阅读 */
  .platform-item {
    padding: 0.2rem 0.16rem 0.16rem 0.2rem;
    text-align: center;
  }

  /* 图标块（38x38→rem）：margin: 0 auto 水平居中 */
  .platform-icon {
    width: 0.32rem;
    height: 0.32rem;
    margin: 0 auto 0.12rem;
  }

  .platform-item h3 {
    font-size: 0.2rem;
    margin-bottom: 0.12rem;
  }

  /* 列表项恢复左对齐（不被父级 text-align: center 影响），用 grid 实现一行两个 */
  /* ul 整体居中：max-width 限制宽度，margin: 0 auto 在卡片内水平居中 */
  .platform-item ul {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.04rem 0.6rem;
    /* 上下间距 4 / 左右间距 16 */
    max-width: 3rem;
    /* ul 块最大 280px（与 PC 单卡宽度接近） */
    margin: 0 auto;
    /* 居中 */
  }

  .platform-item ul li {
    font-size: 0.15rem;
    padding: 0.06rem 0 0.06rem 0.16rem;
  }

  .platform-num {
    font-size: 0.62rem;
    top: 0;
    right: 0;
  }

  .platform-item ul li::before {
    width: 0.05rem;
    height: 0.05rem;
  }

  /* 资质认证行：尽量一行展示 4 个徽章
     - PC 端 .cert-item { min-width: 150px } 会强制换行，必须覆写
     - 缩 padding/font-size/gap 让 4 个能在 H5 一行内放下 */
  .platform-cert {
    gap: 0.06rem;
    /* 6px (从 0.1rem 16px 缩) */
    margin-top: 0.28rem;
  }

  .cert-item {
    padding: 0.05rem 0.12rem;
    /* 5/12 (从 0.07/0.16 缩) */
    font-size: 0.11rem;
    /* 11px (从 0.12rem 略缩) */
    min-width: 0 !important;
    /* 关键：覆盖 PC 的 min-width: 150px */
  }

  .platform .section-title h2 {
    font-size: 0.24rem !important;
  }

  .platform .section-title>p {
    /* font-size: 0.16rem !important; */
  }

  .platform .section-title>p+p {
    /* font-size: 0.13rem !important; */
  }

  .culture {
    padding: 0.56rem 0;
    background-image: url('../h5/以文化創意與數字.png');
  }

  .culture h2 {
    font-size: 0.2rem;
    line-height: 1.55;
    margin-bottom: 0.16rem;
  }

  .culture p {
    font-size: 0.13rem;
    margin-bottom: 0.26rem;
  }

  .culture-tags {
    gap: 0.1rem;
  }

  .culture-tag {
    padding: 0.08rem 0.18rem;
    font-size: 0.13rem;
  }

  .qual-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.14rem;
    margin-top: 0.3rem;
  }

  .qual-item {
    padding: 0.12rem 0.1rem 0.14rem;
  }

  .qual-item img {
    height: 2.4rem;
    margin-bottom: 0.08rem;
  }

  .qual-item p {
    font-size: 0.13rem;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.08rem;
    padding: 0.14rem;
  }

  .partner-item {
    height: 0.56rem;
  }

  .footer {
    padding: 0.32rem 0 0;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding-bottom: 0.24rem;
  }

  .footer-logo-img {
    height: 0.4rem;
  }

  .footer-brand-name {
    font-size: 0.18rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0.28rem;
    padding: 0.28rem 0;
  }

  .footer-title {
    margin-bottom: 0.16rem;
  }

  .footer-qr-box {
    flex-direction: column;
    /* align-items: center; */
    gap: 0.12rem;
  }

  .footer-qr-box img {
    width: 0.88rem;
    height: 0.88rem;
  }

  .footer-bottom {
    padding: 0.18rem 0;
    font-size: 0.12rem;
  }

  .advantages-list {
    padding: 0.2rem;
  }

  /* advantages-list h3 主标题：PC 28px → H5 等比缩 */
  .advantages-list h3 {
    font-size: 0.22rem !important;
    margin-bottom: 0.18rem !important;
    padding-bottom: 0.1rem !important;
    padding-left: 0.14rem !important;
    position: relative;
  }

  /* H5 端：h3 左侧定位小竖线 */
  .advantages-list h3::before {
    content: "";
    position: absolute;
    left: -0.2rem;
    top: 40%;
    transform: translateY(-50%);
    width: 3px;
    height: 26px;
    background: var(--primary);
  }

  /* 左侧列表每条 li 的小标题 h5：PC 20px → H5 */
  .advantages-list ul li h5 {
    font-size: 0.17rem !important;
    margin-bottom: 0.05rem !important;
  }

  /* 左侧列表每条 li 的描述 p：PC 18px → H5 */
  .advantages-list ul li p {
    font-size: 0.14rem !important;
    line-height: 1.65;
    font-weight: 500;
  }

  .advantages-list ul li {
    padding: 0.1rem 0;
  }

  .advantages-list ul::before {
    left: 0.11rem;
    top: 0.22rem;
    bottom: 0.22rem;
  }

  .advantages-num {
    width: 0.22rem;
    height: 0.22rem;
    font-size: 0.12rem;
    margin-top: 0.04rem;
  }

  /* H5 端：遮挡块尺寸按 rem 折算，覆盖 .advantages-num 底部 (0.36rem) 到 li 底部 */
  .advantages-list ul li:last-child::after {
    top: 0.36rem;
    width: 0.14rem;
  }

  .advantages-vs {
    padding: 0.2rem 0.2rem 0;
  }

  /* 与 .advantages-list h3 同级 */
  .advantages-vs h3 {
    font-size: 0.22rem !important;
    margin-bottom: 0.18rem !important;
    padding-bottom: 0.1rem !important;
  }

  .advantages-vs h3.vs-title {
    font-size: 0.22rem !important;
    flex-wrap: wrap;
    margin-bottom: 0.14rem !important;
    position: relative;
    padding-left: 0.14rem !important;
  }

  /* H5 端：vs-title 左侧定位小竖线 */
  .advantages-vs h3.vs-title::before {
    content: "";
    position: absolute;
    left: -0.2rem;
    top: 40%;
    transform: translateY(-50%);
    width: 3px;
    height: 26px;
    background: var(--primary);
  }

  /* vs-table 表头文字：PC 20px → H5 */
  .advantages-vs .vs-head div {
    font-size: 0.16rem !important;
    padding: 0.12rem 0.1rem;
  }

  .advantages-vs .vs-cell {
    padding: 0.14rem 0.1rem;
    font-size: 0.14rem;
    gap: 0.08rem;
    font-weight: 500;
  }

  .advantages-vs .vs-icon {
    width: 0.18rem;
    height: 0.18rem;
  }

  .advantages-vs h3 .vs-badge {
    width: 0.24rem;
    height: 0.24rem;
    border-radius: 50%;
    font-size: 0.1rem;
  }
}

/* ============== 滚动动画 ============== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============== 右侧悬浮操作组：留言 + 返回顶部 ============== */
.fab-actions {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fab-action {
  width: 56px;
  height: 56px;
  background: #fff;
  /* border: 1px solid rgba(222, 39, 25, 0.18); */
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-size: 12px;
  line-height: 1;
  padding: 0;
}

.fab-action:hover,
.fab-action:focus-visible {
  transform: translateY(-3px);
  /* box-shadow: 0 10px 24px rgba(222, 39, 25, 0.18); */
  /* background: #fff5f4; */
  outline: none;
}

.fab-action:active {
  transform: translateY(-1px);
}

.fab-action__icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.fab-action__label {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.5px;
}

.fab-action:hover .fab-action__label,
.fab-action:focus-visible .fab-action__label {
  /* color: var(--primary); */
}

/* 兼容主脚本里基于 .back-top + .show 的滚动显示控制 */
.back-top.fab-action {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.back-top.fab-action.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============== 留言弹窗 ============== */
.site-body--message-open {
  overflow: hidden;
}

.message-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.message-modal.is-open {
  display: flex;
}

.message-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  animation: modalFadeIn 0.2s ease-out;
}

.message-modal.is-open .message-modal__backdrop {
  opacity: 1;
}

.message-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalSlideUp 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.message-modal__header {
  position: relative;
  padding: 24px 24px 12px;
  /* border-bottom: 1px solid #f0f0f0; */
  text-align: center;
}

.message-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.message-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 50%;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.message-modal__close:hover,
.message-modal__close:focus-visible {
  background: #f5f5f5;
  color: #333;
  outline: none;
}

.message-modal__close svg {
  width: 22px;
  height: 22px;
}

.message-form {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-form__label {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.4;
  font-weight: 500;
}

.message-form__input,
.message-form__textarea {
  width: 100%;
  padding: 10px 12px;
  border: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-1);
  background: #f7f7f7;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  box-sizing: border-box;
}

.message-form__input:focus,
.message-form__textarea:focus {
  outline: none;
  /* border-color: var(--primary); */
  /* box-shadow: 0 0 0 3px rgba(222, 39, 25, 0.12); */
}

.message-form__input::placeholder,
.message-form__textarea::placeholder {
  color: #b5b5b5;
}

.message-form__textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}

.message-form__field-group {
  position: relative;
  display: flex;
  align-items: center;
  border: none;
  background: #f7f7f7;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.message-form__field-group:focus-within {
  /* border-color: var(--primary); */
  /* box-shadow: 0 0 0 3px rgba(222, 39, 25, 0.12); */
}

.message-form__field-group .message-form__input {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 10px 0 10px 12px;
  background: #f7f7f7;
  box-shadow: none;
}

.message-form__field-group .message-form__input:focus {
  box-shadow: none;
}

.message-form__gender {
  padding: 0 12px;
  font-size: 13px;
  color: var(--text-1);
  align-self: stretch;
  display: flex;
  align-items: center;
  background: #f7f7f7;
  user-select: none;
  font-weight: 500;
}

.message-form__submit {
  margin-top: 4px;
  padding: 12px 20px;
  border: none;
  /* border-radius: 8px; */
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}

.message-form__submit:hover {
  /* background: var(--primary-dark); */
}

.message-form__submit:active {
  transform: scale(0.98);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .fab-actions {
    right: 0.16rem;
    bottom: 0.16rem;
    gap: 0.12rem;
  }

  .fab-action {
    width: 0.54rem;
    height: 0.54rem;
    border-radius: 0.12rem;
    gap: 0.04rem;
  }

  .fab-action__icon {
    width: 0.2rem;
    height: 0.2rem;
  }

  .fab-action__label {
    font-size: 0.11rem;
  }

  .message-modal__dialog {
    max-width: 92vw;
    border-radius: 0.12rem;
  }

  .message-modal__header {
    padding: 0.24rem 0.24rem 0.12rem;
  }

  .message-modal__title {
    font-size: 0.22rem;
  }

  .message-form {
    padding: 0.2rem 0.24rem 0.24rem;
    gap: 0.16rem;
  }

  .message-form__label {
    font-size: 0.14rem;
  }

  .message-form__input,
  .message-form__textarea {
    padding: 0.12rem 0.14rem;
    font-size: 0.14rem;
  }

  .message-form__textarea {
    min-height: 1rem;
  }

  .message-form__submit {
    padding: 0.12rem 0.2rem;
    font-size: 0.16rem;
  }

  .message-form__gender {
    padding: 0 0.14rem;
    font-size: 0.14rem;
  }
}