/* ===== 中企界官网 · 单页样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #e60606;
  --brand-dark: #b80000;
  --text: #222;
  --text-sub: #666;
  --bg-light: #f7f7f7;
  --border: #e6e6e6;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
}
.brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 2px;
}
.site-nav { display: flex; gap: 36px; }
.site-nav a {
  font-size: 16px;
  color: var(--text-sub);
  transition: color .2s;
}
.site-nav a:hover { color: var(--brand); }

/* ===== 首屏 ===== */
.hero {
  background: linear-gradient(135deg, #c70000 0%, #e60606 55%, #ff3b30 100%);
  color: #fff;
  padding: 110px 0 120px;
  text-align: center;
}
.hero-company {
  font-size: 20px;
  opacity: .92;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero-brand {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 12px;
  margin-bottom: 40px;
  text-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.hero-brand span { color: #ffe1e1; }
.hero-slogan p {
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0;
  letter-spacing: 1px;
}
.btn {
  display: inline-block;
  margin-top: 42px;
  padding: 14px 46px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-title.left { text-align: left; }
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--brand);
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-title.left::after { margin: 16px 0 0; }
.section-sub {
  text-align: center;
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 40px;
}

/* ===== 板块手风琴 ===== */
.accordion {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .2s;
}
.acc-head:hover { background: var(--bg-light); }
.acc-no {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  font-style: italic;
}
.acc-title {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
}
.acc-arrow {
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--text-sub);
  border-bottom: 2.5px solid var(--text-sub);
  transform: rotate(45deg);
  transition: transform .25s;
}
.acc-item.open .acc-arrow { transform: rotate(-135deg); }
.acc-item.open .acc-head { background: #fff5f5; }
.acc-item.open .acc-title { color: var(--brand); }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--bg-light);
}
.acc-body-inner {
  padding: 0 26px 24px 64px;
  color: var(--text-sub);
  font-size: 16px;
}
.acc-item.open .acc-body-inner { padding-top: 4px; }

/* ===== 标语带 ===== */
.slogan-band {
  background: var(--text);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.slogan-line {
  font-size: 26px;
  font-weight: 700;
  margin: 14px 0;
  letter-spacing: 1px;
}
.slogan-line:first-child { color: #ff8a80; }
.slogan-line:last-child { color: #fff; }

/* ===== 扫码加入 ===== */
.join-section { background: var(--bg-light); }
.join-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.join-text { flex: 1; min-width: 280px; }
.join-desc {
  color: var(--text-sub);
  font-size: 16px;
  margin: 18px 0 20px;
}
.join-points { list-style: none; }
.join-points li {
  position: relative;
  padding-left: 26px;
  margin: 12px 0;
  font-size: 16px;
  color: var(--text);
}
.join-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px; height: 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
.join-qr { text-align: center; }
.qr-box {
  width: 200px; height: 200px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.qr-tip {
  color: #bbb;
  font-size: 15px;
  text-align: center;
  line-height: 1.8;
  padding: 10px;
}
.qr-tip span { font-size: 12px; color: #ccc; }
.qr-caption {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
}

/* ===== 页脚 ===== */
.site-footer {
  background: #1a1a1a;
  color: #999;
  text-align: center;
  padding: 40px 0;
}
.footer-company { font-size: 16px; color: #ddd; margin-bottom: 10px; }
.footer-icp { font-size: 14px; margin-bottom: 8px; }
.footer-icp a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: #777; }

/* ===== 响应式（移动端） ===== */
@media (max-width: 768px) {
  .header-inner { height: 58px; }
  .brand-name { font-size: 22px; }
  .brand-logo { width: 34px; height: 34px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 14px; }

  .hero { padding: 70px 0 80px; }
  .hero-company { font-size: 16px; }
  .hero-brand { font-size: 60px; letter-spacing: 6px; margin-bottom: 28px; }
  .hero-slogan p { font-size: 17px; }
  .btn { padding: 12px 36px; font-size: 16px; margin-top: 30px; }

  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }

  .acc-head { padding: 18px 18px; gap: 12px; }
  .acc-title { font-size: 17px; }
  .acc-body-inner { padding-left: 44px; font-size: 15px; }

  .slogan-band { padding: 50px 0; }
  .slogan-line { font-size: 18px; }

  .join-inner { flex-direction: column; text-align: center; }
  .section-title.left { text-align: center; }
  .section-title.left::after { margin: 16px auto 0; }
  .join-points { text-align: left; display: inline-block; }
}
