/* ============================================================
   邦盾科技官网 · 全局样式
   设计规范：主色 #6E1018 / 辅色 #C8102E / 点缀 #C9A227
   正文 15px / 行高 1.8，标题字重 500，内容宽 1200px
   ============================================================ */

:root {
  --navy: #6E1018;
  --navy-deep: #3B0A0F;
  --navy-soft: #8A1A24;
  --blue: #C8102E;
  --blue-soft: #FDECEE;
  --teal: #C9A227;
  --teal-soft: #FBF3DD;
  --bg: #FFFFFF;
  --bg-alt: #FAF7F5;
  --text: #2A1D1E;
  --muted: #6B5A5A;
  --line: #EDDED9;
  --max: 1200px;
  --radius: 10px;
  --shadow: 0 10px 28px rgba(110, 16, 24, .07);
  --shadow-hover: 0 18px 42px rgba(110, 16, 24, .13);
}

::selection { background: rgba(200, 16, 46, .14); color: var(--navy); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: #A00D24; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.4; letter-spacing: .02em; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--teal);
}
.section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform-origin: left center;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1) .2s;
}
.section-head.center h2::after { left: 50%; transform: translateX(-50%); transform-origin: center center; }
.section-head.reveal:not(.visible) h2::after { transform: scaleX(0); }
.section-head.center.reveal:not(.visible) h2::after { transform: translateX(-50%) scaleX(0); }
.section-head .lead { color: var(--muted); margin: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #D51B36 0%, #A60F25 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, .22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #C8102E 0%, #8E0C1F 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(200, 16, 46, .3);
}
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(110, 16, 24, .08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo-img { display: block; height: 52px; width: auto; }
.logo-footer { padding: 8px 14px; border-radius: 8px; background: #fff; }
.logo-footer .logo-img { height: 40px; }
.logo-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 17px; font-weight: 500; letter-spacing: .04em; }
.logo-text small { font-size: 10px; color: var(--muted); letter-spacing: .18em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 25px 9px;
  color: var(--text);
  font-size: 14px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transition: transform .25s;
}
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.header-contact .phone-icon { color: var(--blue); }
.header-contact span { font-size: 12px; color: var(--muted); }
.header-contact strong { display: block; font-size: 16px; font-weight: 500; color: var(--navy); line-height: 1.2; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: transform .25s, opacity .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(760px 420px at 88% 4%, rgba(200, 16, 46, .07) 0%, transparent 66%),
    linear-gradient(180deg, #FDFAF6 0%, #FBF7F2 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(110, 16, 24, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 16, 24, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -190px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(200, 16, 46, .16);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 64px;
  align-items: center;
  min-height: 620px;
  padding-top: 84px;
  padding-bottom: 92px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #8C1A22;
  font-size: 13px;
  letter-spacing: .16em;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); }
.hero h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { max-width: 540px; margin-bottom: 34px; color: #5C4A4A; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-btn-line { background: rgba(255, 255, 255, .72); border-color: #E4CDC8; color: var(--navy); }
.hero-btn-line:hover { background: #fff; border-color: var(--blue); color: var(--blue); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 20px 26px; color: #7A6666; font-size: 13px; }
.hero-notes span { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.hero-panel {
  position: relative;
  padding: 32px 34px 26px;
  border: 1px solid #EAD9D3;
  border-radius: 4px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFCFA 100%);
  box-shadow: 0 24px 60px rgba(110, 16, 24, .09);
}
.hero-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 32px;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), rgba(201, 162, 39, .55));
}
.hero-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.hero-panel-head span { color: var(--muted); font-size: 12px; letter-spacing: .18em; }
.hero-panel-head b { color: var(--navy); font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.hero-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.hero-steps .step-no {
  color: rgba(200, 16, 46, .62);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.hero-steps strong { display: block; color: var(--navy); font-size: 17px; font-weight: 500; line-height: 1.5; }
.hero-steps p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.hero-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
}
.hero-foot-note { color: var(--teal); font-size: 12px; letter-spacing: .12em; }
.hero-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(200, 16, 46, .45);
  border-radius: 50%;
  background: rgba(200, 16, 46, .04);
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(200, 16, 46, .18);
}
.hero-seal strong { color: var(--blue); font-size: 17px; font-weight: 600; line-height: 1.2; }
.hero-seal b { color: rgba(200, 16, 46, .72); font-size: 10px; font-weight: 400; letter-spacing: .08em; }

/* ---------- 首屏动效 ---------- */
.hero-orbit {
  position: absolute;
  top: 50%;
  right: -60px;
  width: 540px;
  height: 540px;
  margin-top: -270px;
  pointer-events: none;
  opacity: .6;
}
.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(200, 16, 46, .16);
  border-radius: 50%;
  animation: orbitSpin 52s linear infinite;
}
.hero-orbit::after {
  inset: 70px;
  border-color: rgba(201, 162, 39, .2);
  animation-duration: 38s;
  animation-direction: reverse;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.hero-copy > * { animation: heroRise .75s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .06s; }
.hero-copy > *:nth-child(2) { animation-delay: .16s; }
.hero-copy > *:nth-child(3) { animation-delay: .26s; }
.hero-copy > *:nth-child(4) { animation-delay: .36s; }
.hero-copy > *:nth-child(5) { animation-delay: .46s; }
.hero-eyebrow::before { transform-origin: left center; animation: lineGrow .5s cubic-bezier(.2, .7, .2, 1) .1s both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-panel { animation: heroRise .85s cubic-bezier(.2, .7, .2, 1) .34s both; }
.hero-steps li { animation: heroRise .55s cubic-bezier(.2, .7, .2, 1) both; }
.hero-steps li:nth-child(1) { animation-delay: .52s; }
.hero-steps li:nth-child(2) { animation-delay: .6s; }
.hero-steps li:nth-child(3) { animation-delay: .68s; }
.hero-steps li:nth-child(4) { animation-delay: .76s; }
.hero-seal { animation: sealIn .7s cubic-bezier(.2, .8, .3, 1) .9s both; }
@keyframes sealIn {
  0% { opacity: 0; transform: rotate(-26deg) scale(.72); }
  70% { opacity: 1; }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}
.hero-copy .btn, .hero-panel .hero-seal { will-change: transform; }

/* 内页页头入场 */
.page-hero .container > *,
.detail-hero .container > * { animation: heroRise .6s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .container > *:nth-child(1),
.detail-hero .container > *:nth-child(1) { animation-delay: .05s; }
.page-hero .container > *:nth-child(2),
.detail-hero .container > *:nth-child(2) { animation-delay: .14s; }
.page-hero .container > *:nth-child(3),
.detail-hero .container > *:nth-child(3) { animation-delay: .24s; }
.page-hero .container > *:nth-child(4),
.detail-hero .container > *:nth-child(4) { animation-delay: .34s; }

/* ---------- 数据背书条 ---------- */
.stats-bar { background: linear-gradient(180deg, #FFFFFF 0%, #FDF7F6 100%); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  position: relative;
  padding: 36px 24px;
  text-align: center;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 36px;
  bottom: 36px;
  width: 1px;
  background: var(--line);
}
.stat strong {
  display: block;
  color: var(--navy);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat strong b { color: var(--blue); font-weight: 500; }
.stat > span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- 企业宣传片 ---------- */
.video-section { border-bottom: 1px solid var(--line); }
.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #2A1D1E;
  box-shadow: var(--shadow);
}
.site-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, rgba(59, 10, 15, .18) 0%, rgba(59, 10, 15, .56) 100%);
  transition: opacity .3s ease, background .3s ease;
}
.video-play:hover { background: linear-gradient(180deg, rgba(59, 10, 15, .3) 0%, rgba(59, 10, 15, .64) 100%); }
.video-play-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(200, 16, 46, .9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .3s ease, background .3s ease;
}
.video-play-icon svg { width: 24px; height: 24px; }
.video-play-icon::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  animation: videoPulse 2.4s ease-out infinite;
}
@keyframes videoPulse {
  0% { transform: scale(.94); opacity: .85; }
  70% { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.16); opacity: 0; }
}
.video-play:hover .video-play-icon { transform: scale(1.06); background: var(--blue); }
.video-play-text { font-size: 14px; letter-spacing: .12em; }
.video-corner {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  letter-spacing: .2em;
  pointer-events: none;
}
.video-note {
  display: none;
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 70%;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(59, 10, 15, .72);
  color: #F6E3DC;
  font-size: 12px;
}
.video-frame.is-error .video-note { display: block; }
.video-frame.is-playing .video-play { opacity: 0; pointer-events: none; }

/* ---------- 卡片栅格 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFCFB 100%);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: #E7C9C4; box-shadow: var(--shadow-hover); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.card .link-arrow { color: var(--blue); }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}
.icon-box.teal { background: var(--teal-soft); color: var(--teal); }
.icon-box svg { width: 24px; height: 24px; }

/* ---------- 行业解决方案 ---------- */
.industry-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.industry-tabs {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--line);
}
.tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-left: -2px;
  padding: 16px 20px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.tab-btn::after { content: "→"; opacity: 0; transition: opacity .25s, transform .25s; transform: translateX(-4px); }
.tab-btn:hover { color: var(--blue); background: #FDF7F6; }
.tab-btn.active { color: var(--blue); border-left-color: var(--blue); background: linear-gradient(90deg, var(--blue-soft), #FBF3DD); font-weight: 500; }
.tab-btn.active::after { opacity: 1; transform: translateX(0); }
.industry-tabs small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }

.industry-panel { display: none; animation: fadeUp .28s ease both; }
.industry-panel.active { display: block; }
.industry-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.industry-title h3 { font-size: 22px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--teal-soft);
  color: #9A7420;
  font-size: 12px;
}
.tag.blue { background: var(--blue-soft); color: var(--blue); }
.tag.gray { background: #F4ECEA; color: var(--muted); }

.info-block {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.info-block + .info-block { margin-top: 16px; }
.info-block h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 15px;
}
.info-block h4::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--blue);
  border-radius: 2px;
}
.info-block p { margin: 0; color: var(--muted); }
.info-block .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.industry-actions { margin-top: 24px; }

/* ---------- 案例卡片 ---------- */
.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-4px); border-color: #E7C9C4; box-shadow: var(--shadow-hover); }
.case-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #F0E6E2; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.case-card:hover .case-media img { transform: scale(1.04); }
.case-media .tag { position: absolute; left: 16px; top: 16px; background: rgba(110, 16, 24, .82); color: #fff; }
.case-body { padding: 24px; }
.case-body h3 { margin-bottom: 8px; font-size: 17px; }
.case-body h3 a { color: var(--navy); }
.case-body h3 a:hover { color: var(--blue); }
.case-body p { margin-bottom: 16px; color: var(--muted); font-size: 14px; }

/* ---------- 资质 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F7 100%);
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cert-card:hover { transform: translateY(-4px); border-color: #E7C9C4; box-shadow: var(--shadow-hover); }
.cert-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 150px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #EAD6D0;
  border-radius: 4px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F5 100%);
}
.cert-thumb::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(200, 16, 46, .14);
  border-radius: 3px;
  pointer-events: none;
}
.cert-thumb .cert-icon { color: var(--blue); }
.cert-thumb .cert-line { width: 70%; height: 2px; background: #F0DFDA; }
.cert-thumb .cert-line.short { width: 46%; }
.cert-seal {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 162, 39, .5);
  border-radius: 50%;
  color: var(--teal);
  font-size: 10px;
}
.cert-card h3 { margin-bottom: 4px; font-size: 15px; }
.cert-card .issuer { margin-bottom: 2px; color: var(--muted); font-size: 12px; }
.cert-card .valid { color: #8A94A3; font-size: 12px; }
.cert-card .cert-action { margin-top: 10px; font-size: 13px; }

/* ---------- 服务承诺 ---------- */
.promise-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.promise-card .icon-box { width: 42px; height: 42px; margin-bottom: 16px; }
.promise-card h3 { margin-bottom: 8px; font-size: 16px; }
.promise-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 咨询转化 ---------- */
.cta {
  color: #fff;
  background:
    radial-gradient(640px 300px at 86% 18%, rgba(201, 162, 39, .16), transparent 62%),
    linear-gradient(120deg, var(--navy) 0%, #7A121A 100%);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(233, 241, 250, .72); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; flex: 0 0 auto; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 2px solid rgba(201, 162, 39, .32);
  background: linear-gradient(180deg, #3B0A0F 0%, #2A0508 100%);
  color: #D9CBC8;
  font-size: 14px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; color: #fff; }
.footer-brand .logo-text small { color: rgba(255, 255, 255, .5); }
.footer-brand p { margin-bottom: 10px; color: rgba(233, 241, 250, .62); line-height: 1.9; }
.footer-title { margin-bottom: 16px; color: #fff; font-size: 15px; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: rgba(233, 241, 250, .66); }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 8px; margin-bottom: 10px; color: rgba(233, 241, 250, .66); }
.footer-contact svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 6px; color: #E09A9A; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 40px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  color: rgba(233, 241, 250, .72);
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
}
.footer-cert:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(233, 241, 250, .5);
  font-size: 12px;
}
.footer-bottom a { color: rgba(233, 241, 250, .5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 内页页头 ---------- */
.page-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 64px 0;
  color: #fff;
  background:
    radial-gradient(560px 300px at 78% 14%, rgba(201, 162, 39, .13), transparent 62%),
    radial-gradient(900px 500px at 82% 10%, #8A1A24 0%, transparent 62%),
    linear-gradient(120deg, #6E1018 0%, #7A121A 100%);
}
.page-hero .eyebrow { color: #E9B872; }
.page-hero .eyebrow::before { background: var(--teal); }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 640px; margin: 0; color: rgba(233, 241, 250, .72); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; color: rgba(233, 241, 250, .55); font-size: 13px; }
.breadcrumb a { color: rgba(233, 241, 250, .72); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: rgba(233, 241, 250, .35); }

/* ---------- 通用内容排版 ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--muted); }
.check-list { margin-top: 24px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 14px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal-soft);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- 关于我们 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}
.timeline-year { margin-bottom: 6px; color: var(--blue); font-size: 15px; font-weight: 500; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 14px; }

.culture-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.culture-card h3 { margin-bottom: 10px; font-size: 17px; }
.culture-card p { margin: 0; color: var(--muted); font-size: 14px; }

.team-card { padding: 28px; border-left: 3px solid var(--blue); background: #fff; }
.team-card:nth-child(2) { border-left-color: var(--teal); }
.team-card:nth-child(3) { border-left-color: #C77A82; }
.team-card:nth-child(4) { border-left-color: #C9A227; }
.team-card h3 { margin-bottom: 8px; font-size: 16px; }
.team-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { border-color: var(--blue); background: var(--blue); color: #fff; }

/* ---------- 解决方案卡片 ---------- */
.solution-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.solution-card .icon-box { margin-bottom: 16px; }
.solution-card h3 { margin-bottom: 8px; }
.solution-card p { flex: 1; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.solution-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* ---------- 产品卡片 ---------- */
.product-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .tag { margin-bottom: 10px; }
.product-card h3 { margin-bottom: 6px; font-size: 16px; }
.product-card p { margin: 0; color: var(--muted); font-size: 14px; }
.group-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.group-head h2 { margin: 0; font-size: 22px; }
.group-head span { color: var(--muted); font-size: 14px; }

/* ---------- 详情页 ---------- */
.detail-hero {
  color: #fff;
  padding: 64px 0 56px;
  background:
    radial-gradient(760px 360px at 84% 8%, rgba(201, 162, 39, .14), transparent 62%),
    linear-gradient(120deg, var(--navy) 0%, #7A121A 100%);
}
.detail-hero .breadcrumb { margin-top: 20px; }
.detail-hero h1 { max-width: 840px; margin-bottom: 12px; }
.detail-hero p { max-width: 760px; margin: 0; color: rgba(233, 241, 250, .72); }
.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.detail-meta span { display: block; color: rgba(233, 241, 250, .55); font-size: 12px; }
.detail-meta strong { font-weight: 500; color: #fff; font-size: 15px; }

.detail-section { padding: 64px 0; }
.detail-section + .detail-section { border-top: 1px solid var(--line); }
.detail-section h2 { margin-bottom: 20px; }
.detail-section p { color: var(--muted); }
.detail-list li { position: relative; padding-left: 18px; margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.arch { display: grid; gap: 12px; margin-top: 24px; }
.arch-layer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  background: #fff;
}
.arch-layer:nth-child(2) { border-left-color: #D9536A; }
.arch-layer:nth-child(3) { border-left-color: #E3A0AA; }
.arch-layer:nth-child(4) { border-left-color: var(--teal); }
.arch-layer strong { font-weight: 500; color: var(--navy); font-size: 14px; }
.arch-layer span { color: var(--muted); font-size: 14px; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 6px 18px rgba(110, 16, 24, .08); transition: transform .25s, box-shadow .25s; }
.photo-grid img:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(110, 16, 24, .14); }

.related { margin-top: 16px; }

/* ---------- 资质页 ---------- */
.honor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.honor-toolbar p { margin: 0; color: var(--muted); font-size: 14px; }
.cert-group { margin-bottom: 48px; }
.cert-group h2 { margin-bottom: 20px; font-size: 20px; }

/* ---------- 服务页 ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 28px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
.process-step h3 { margin-bottom: 6px; font-size: 15px; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
th { background: var(--bg-alt); color: var(--navy); font-weight: 500; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.faq-question::after { content: "+"; flex: 0 0 auto; color: var(--muted); font-size: 20px; line-height: 1; transition: transform .25s, color .25s; }
.faq-item.open .faq-question { color: var(--blue); }
.faq-item.open .faq-question::after { content: "−"; color: var(--blue); }
.faq-answer { display: none; padding: 0 0 20px; color: var(--muted); font-size: 14px; }
.faq-answer p { margin: 0; }
.faq-item.open .faq-answer { display: block; }

/* ---------- 联系我们 ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 7px; color: var(--blue); }
.contact-list strong { display: block; color: var(--navy); font-size: 14px; font-weight: 500; }
.contact-list span { color: var(--muted); font-size: 14px; }

.form-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 6px; color: var(--text); font-size: 14px; }
.form-field label .required { color: #D14343; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  transition: border-color .25s, box-shadow .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field .error { display: none; margin-top: 4px; color: #D14343; font-size: 12px; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #D14343; }
.form-field.invalid .error { display: block; }
.form-note { margin: 0; color: var(--muted); font-size: 12px; }
.form-success {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(46, 125, 91, .28);
  border-radius: 6px;
  background: #F1F8F4;
  color: #2E7D5B;
  font-size: 14px;
}
.form-success.show { display: block; }

.map-card { margin-top: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.map-card iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; color: var(--muted); font-size: 13px; }

/* ---------- 资质预览弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(59, 10, 15, .62);
}
.modal.open { display: flex; }
.modal-dialog {
  position: relative;
  width: 560px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .3);
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.cert-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 300px;
  margin-bottom: 20px;
  padding: 32px;
  border: 1px solid #EAD6D0;
  border-radius: 4px;
  background: linear-gradient(180deg, #FFFFFF, #FFF8F5);
  text-align: center;
}
.cert-preview .preview-title { color: var(--navy); font-size: 24px; letter-spacing: .12em; }
.cert-preview .preview-name { color: var(--text); font-size: 16px; }
.cert-preview .preview-meta { color: var(--muted); font-size: 12px; }
.cert-preview .preview-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-top: 12px;
  border: 2px solid rgba(201, 162, 39, .55);
  border-radius: 50%;
  color: var(--teal);
  font-size: 13px;
}
.modal h3 { margin-bottom: 6px; font-size: 18px; }
.modal .modal-meta { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .28s ease, transform .28s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s, 0s; }
.reveal:nth-child(3) { transition-delay: .14s, 0s; }
.reveal:nth-child(4) { transition-delay: .21s, 0s; }
.reveal:nth-child(5) { transition-delay: .28s, 0s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 响应式：≤1200px ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
  .nav a { padding: 25px 7px; font-size: 13.5px; white-space: nowrap; }
  .header-contact { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; min-height: auto; padding-top: 72px; padding-bottom: 80px; }
  .hero-sub { max-width: 640px; }
  .hero-panel { max-width: 640px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 响应式：≤768px ---------- */
@media (max-width: 768px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }

  .menu-toggle { display: block; }
  .header-inner { height: 64px; }
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    z-index: 99;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 8px 16px 24px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 32px rgba(110, 16, 24, .12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a::after { display: none; }
  .logo-text strong { font-size: 15px; }
  .logo-text small { font-size: 9px; }
  .logo-img { height: 42px; }
  .logo-footer .logo-img { height: 36px; }

  .hero-inner { gap: 36px; padding-top: 52px; padding-bottom: 60px; }
  .hero-orbit { display: none; }
  .video-play-icon { width: 60px; height: 60px; }
  .video-play-icon svg { width: 18px; height: 18px; }
  .video-play-text { font-size: 12px; letter-spacing: .08em; }
  .video-corner { display: none; }
  .video-note { left: 10px; right: 10px; bottom: 10px; max-width: none; font-size: 11px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 12px; letter-spacing: .1em; }
  .hero h1 { font-size: 32px; margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { gap: 12px; margin-bottom: 30px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-notes { gap: 10px 18px; }
  .hero-panel { padding: 24px 20px 20px; }
  .hero-steps li { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 14px 0; }
  .hero-steps strong { font-size: 16px; }
  .hero-panel-foot { padding-top: 18px; }
  .hero-seal { width: 82px; height: 82px; }
  .hero-seal strong { font-size: 15px; }
  .hero-seal b { font-size: 9px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 12px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(odd)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: var(--line);
  }
  .stat strong { font-size: 26px; }

  .grid-4, .grid-3, .grid-2, .cert-grid, .photo-grid { grid-template-columns: 1fr; }
  .case-card .case-media { aspect-ratio: 16 / 10; }

  .industry-wrap { grid-template-columns: 1fr; gap: 24px; }
  .industry-tabs { flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--line); gap: 4px; padding-bottom: 8px; }
  .tab-btn { flex: 1 1 auto; margin-left: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; justify-content: center; font-size: 14px; }
  .tab-btn::after { display: none; }
  .tab-btn small { display: none; }
  .tab-btn.active { border-color: var(--blue); }

  .cta-inner { flex-direction: column; align-items: flex-start; padding-top: 40px; padding-bottom: 40px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
  .footer-main > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .split { grid-template-columns: 1fr; gap: 32px; }
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-meta { grid-template-columns: 1fr; gap: 16px; }
  .arch-layer { grid-template-columns: 1fr; gap: 4px; }

  .process { grid-template-columns: 1fr; }
  .process-step { display: flex; align-items: flex-start; gap: 14px; padding: 18px; }
  .process-step::before { margin-bottom: 0; font-size: 18px; }

  .table-wrap { border: 0; background: transparent; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { display: none; }
  .table-wrap tr { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
  .table-wrap td { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table-wrap td:last-child { border-bottom: 0; }
  .table-wrap td::before { content: attr(data-label); flex: 0 0 96px; color: var(--navy); }

  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .map-card iframe { height: 280px; }

  .honor-toolbar { padding: 18px 20px; }
  .modal-dialog { padding: 20px; }
  .cert-preview { min-height: 240px; padding: 24px; }
  .cert-preview .preview-title { font-size: 20px; }
}

/* ---------- 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *,
  .hero-eyebrow::before,
  .hero-panel,
  .hero-steps li,
  .hero-seal,
  .hero-orbit::before,
  .hero-orbit::after,
  .page-hero .container > *,
  .detail-hero .container > * { animation: none !important; }
  .video-play-icon::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .section-head h2::after { transition: none; }
  .section-head.reveal:not(.visible) h2::after { transform: none; }
  .section-head.center.reveal:not(.visible) h2::after { transform: translateX(-50%); }
}

.tool-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@keyframes resultRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}


/* ============================================================
   资质检测页
   ============================================================ */
.qz-narrow { max-width: 1080px; }

.qz-group {
  margin-bottom: 20px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.qz-group > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 16px;
}
.qz-group > h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
}
.qz-group > p { margin: 0 0 18px; color: var(--muted); font-size: 12.5px; }
.qz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.qz-grid .form-field { margin-bottom: 16px; }

.qz-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.qz-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.qz-check span { display: inline-flex; align-items: center; gap: 7px; }
.qz-check span::before {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border: 1px solid #D8C4BF;
  border-radius: 3px;
  background: #fff;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}
.qz-check input:checked + span { color: var(--navy); font-weight: 500; }
.qz-check input:checked + span::before { content: "✓"; border-color: var(--blue); background: var(--blue); }
.qz-check:has(input:checked) { border-color: rgba(200, 16, 46, .42); background: var(--blue-soft); }
.qz-check input:focus-visible + span { outline: 2px solid rgba(200, 16, 46, .3); outline-offset: 2px; border-radius: 4px; }

.qz-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
#qz-error { display: none; margin: 0 0 14px; color: #D14343; font-size: 13px; }

.qc-card {
  margin-bottom: 18px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  animation: resultRise .45s cubic-bezier(.2, .7, .2, 1) both;
}
.qc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.qc-tag { display: block; margin-bottom: 6px; color: var(--teal); font-size: 11.5px; letter-spacing: .14em; }
.qc-head h3 { color: var(--navy); font-size: 19px; }
.qc-verdict {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  white-space: nowrap;
}
.qc-verdict.ok { background: #EAF6EE; color: #1F7A46; }
.qc-verdict.warn { background: var(--teal-soft); color: #9A7B12; }
.qc-verdict.no { background: var(--blue-soft); color: var(--blue); }

.qc-det { border-bottom: 1px dashed var(--line); }
.qc-det:last-of-type { border-bottom: 0; }
.qc-det summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
}
.qc-det summary::-webkit-details-marker { display: none; }
.qc-det summary::after { content: "+"; margin-left: 4px; color: var(--muted); font-size: 15px; }
.qc-det[open] summary::after { content: "−"; }
.qc-lname { color: var(--navy); font-size: 14.5px; }
.qc-score { margin-left: auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.qc-score.ok { color: #1F7A46; }
.qc-score.warn { color: #9A7B12; }
.qc-score.no { color: var(--blue); }

.qc-items { margin: 0 0 16px; padding: 0; list-style: none; }
.qc-items li {
  display: flex;
  gap: 9px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.qc-items li.ok { color: var(--text); }
.qc-mark {
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}
.qc-items li.ok .qc-mark { background: #EAF6EE; color: #1F7A46; }
.qc-items li.no .qc-mark { background: var(--blue-soft); color: var(--blue); }
.qc-note {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 6px;
  background: #FFF6F0;
  color: #B4562A;
  font-size: 12.5px;
  line-height: 1.8;
}

.qz-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #FFF8F6, #FDF3EC);
}
.qz-cta strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 16px; font-weight: 500; }
.qz-cta p { margin: 0; color: var(--muted); font-size: 13px; }

.cond-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cond-tab {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cond-tab:hover { color: var(--blue); border-color: rgba(200, 16, 46, .4); }
.cond-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cond-panel[hidden] { display: none; }
.cond-panel h3 { margin: 0 0 4px; color: var(--navy); font-size: 18px; }
.cond-sub { margin: 0 0 18px; color: var(--muted); font-size: 12.5px; }

.cond-scroll {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}
.cond-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 13px; }
.cond-table th, .cond-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
}
.cond-table thead th { background: var(--bg-alt); color: var(--navy); font-weight: 500; white-space: nowrap; }
.cond-table tbody th { width: 150px; background: #FDFAF8; color: var(--navy); font-weight: 500; }
.cond-table tbody tr:last-child th, .cond-table tbody tr:last-child td { border-bottom: 0; }

.cond-block { margin-bottom: 22px; }
.cond-block h4 { margin: 0 0 8px; color: var(--navy); font-size: 14px; }
.cond-list { margin: 0; padding: 0; list-style: none; }
.cond-list li {
  position: relative;
  padding: 7px 0 7px 16px;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.8;
}
.cond-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}
.cond-list li:last-child { border-bottom: 0; }
.cond-list.red li::before { background: var(--blue); }
.cond-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 3px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 400;
  vertical-align: 2px;
}
.cond-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--teal);
  border-radius: 0 6px 6px 0;
  background: var(--teal-soft);
  color: #7A6420;
  font-size: 12.5px;
  line-height: 1.9;
}

@media (max-width: 900px) {
  .qz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .qz-group { padding: 20px 18px; }
  .qz-grid { grid-template-columns: 1fr; }
  .qz-check { height: 32px; padding: 0 11px; font-size: 12.5px; }
  .qc-card { padding: 20px 18px; }
  .qc-head { flex-direction: column; gap: 10px; }
  .qc-head h3 { font-size: 17px; }
  .qz-cta { flex-direction: column; align-items: flex-start; }
  .qz-cta .tool-actions, .qz-cta .btn { width: 100%; }
  .cond-tab { padding: 7px 13px; font-size: 12.5px; }
  .cond-table { min-width: 620px; }
}

@media (max-width: 768px) {
  .tool-actions .btn { flex: 1 1 100%; }
}
