/* ===== SECTION: index.css ===== */
/* ========== 首页专属样式 ========== */

/* ======================================================
   2. Banner 轮播
   ====================================================== */
.banner {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #1a0505;
}

.banner-slides {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
  display: flex;
  align-items: center;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
}

/* 三张幻灯片不同的背景氛围 */
.banner-slide.s1 {
  background:
    radial-gradient(ellipse 60% 70% at 85% 50%, rgba(215, 0, 0, 0.55), transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(253, 212, 53, 0.14), transparent 60%),
    linear-gradient(135deg, #2b0000 0%, #4d0000 45%, #1a0000 100%);
}

.banner-slide.s2 {
  background:
    radial-gradient(ellipse 55% 65% at 15% 40%, rgba(215, 0, 0, 0.5), transparent 65%),
    radial-gradient(ellipse 45% 55% at 90% 15%, rgba(253, 212, 53, 0.18), transparent 60%),
    linear-gradient(120deg, #140000 0%, #3d0000 55%, #570000 100%);
}

.banner-slide.s3 {
  background:
    radial-gradient(ellipse 65% 75% at 70% 20%, rgba(215, 0, 0, 0.45), transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 85%, rgba(253, 212, 53, 0.12), transparent 55%),
    linear-gradient(160deg, #200000 0%, #450000 50%, #260000 100%);
}

/* 背景装饰网格 */
.banner-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
}

/* 背景漂浮圆环装饰 */
.banner-deco {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.banner-deco.d-a { width: 420px; height: 420px; right: -120px; top: -140px; }
.banner-deco.d-b { width: 620px; height: 620px; right: -220px; top: -240px; border-color: rgba(253, 212, 53, 0.1); }
.banner-deco.d-c { width: 240px; height: 240px; left: -80px; bottom: -100px; }

.banner-slide .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.banner-content {
  max-width: 720px;
  color: #fff;
}

.banner-content .b-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(253, 212, 53, 0.5);
  border-radius: 30px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 26px;
  background: rgba(253, 212, 53, 0.07);
}

.banner-content h1 {
  font-size: 52px;
  font-weight: bold;
  line-height: 1.25;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.banner-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.banner-content .b-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 38px;
  max-width: 560px;
}

.banner-content .b-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 轮播右侧关联配图（透明 PNG，移动端隐藏） */
.banner-img {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 34%);
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  animation: bannerImgFloat 5s ease-in-out infinite;
}

@keyframes bannerImgFloat {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(-54%); }
}

@media (max-width: 1023px) {
  .banner-img { display: none; }
}

/* 轮播箭头 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.25s;
  backdrop-filter: blur(4px);
}

.banner-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.banner-arrow.prev { left: 32px; }
.banner-arrow.next { right: 32px; }

/* 轮播圆点 */
.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.banner-dots span {
  width: 34px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dots span.active {
  background: var(--accent);
  width: 52px;
}

/* ======================================================
   3. 建站服务区
   ====================================================== */
.build-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.build-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px 34px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.build-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.build-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(215, 0, 0, 0.12);
  border-color: transparent;
}

.build-card:hover::before { transform: scaleX(1); }

.build-card .bc-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.35s;
}

.build-card:hover .bc-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.build-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.build-card p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 20px;
  min-height: 80px;
}

.build-card .bc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 15px;
  font-weight: bold;
}

.build-card .bc-link i { transition: transform 0.25s; font-size: 14px; }
.build-card:hover .bc-link i { transform: translateX(4px); }

/* ======================================================
   4. 优化服务区（深色差异化布局）
   ====================================================== */
.seo-section {
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(215, 0, 0, 0.35), transparent 60%),
    linear-gradient(150deg, #1d0000 0%, #3a0000 60%, #210000 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.seo-section::after {
  content: '';
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 60px solid rgba(253, 212, 53, 0.06);
}

.seo-wrap {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.seo-intro .en {
  font-size: 14px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.seo-intro h2 {
  font-size: 34px;
  margin: 10px 0 22px;
  line-height: 1.4;
}

.seo-intro h2 em { font-style: normal; color: var(--accent); }

.seo-intro p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 32px;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.seo-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  gap: 18px;
  transition: all 0.3s;
}

.seo-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(253, 212, 53, 0.4);
  transform: translateY(-4px);
}

.seo-item .si-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #ff4d4d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.seo-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.seo-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ======================================================
   5. 数据展示区
   ====================================================== */
.stats-section {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, #ff2b2b 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.12) 2px, transparent 0);
  background-size: 34px 34px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  color: #fff;
}

.stat-item { padding: 12px 0; position: relative; }

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-num {
  font-size: 58px;
  font-weight: bold;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-num .unit { font-size: 26px; color: var(--accent); }

.stat-item .label {
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
}

/* ======================================================
   6. 案例展示区
   ====================================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* 首张案例做大卡，打破同质化网格 */
.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
  aspect-ratio: 1 / 1;
}

.case-card.big {
  grid-column: span 2;
  grid-row: span 2;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover img { transform: scale(1.07); }
.case-card .cc-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: background 0.4s;
}

.case-card .cc-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  border-radius: 30px;
  letter-spacing: 1px;
}

.case-card h3 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 4px;
}

.case-card.big h3 { font-size: 24px; }

.case-card .cc-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s;
}

.case-card:hover .cc-desc { opacity: 1; transform: translateY(0); }

.case-card .cc-view {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #3a2a00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s;
}

.case-card:hover .cc-view { opacity: 1; transform: translateY(0); }

.case-more {
  text-align: center;
  margin-top: 44px;
}

/* ======================================================
   7. 观点资讯区
   ====================================================== */
.news-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.news-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.news-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 17px;
  color: var(--text-sub);
  transition: all 0.25s;
  text-align: left;
}

.news-tabs button i { font-size: 14px; opacity: 0; transform: translateX(-6px); transition: all 0.25s; }

.news-tabs button:hover { color: var(--primary); border-color: var(--primary); }

.news-tabs button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: bold;
  box-shadow: var(--shadow-lg);
}

.news-tabs button.active i { opacity: 1; transform: translateX(0); }

.news-list { display: none; }
.news-list.active { display: block; }

.news-item {
  display: flex;
  gap: 22px;
  padding: 26px 8px;
  border-bottom: 1px dashed var(--border);
  transition: background 0.25s;
  cursor: pointer;
}

.news-item:first-child { padding-top: 6px; }
.news-item:last-child { border-bottom: none; }

.news-item:hover { background: #fff; }

.news-date {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  background: var(--bg-gray);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.news-date .d { font-size: 26px; font-weight: bold; color: var(--text-main); line-height: 1.1; }
.news-date .ym { font-size: 12px; color: var(--text-light); }

.news-item:hover .news-date {
  background: var(--primary);
  border-color: var(--primary);
}

.news-item:hover .news-date .d,
.news-item:hover .news-date .ym { color: #fff; }

.news-info { flex: 1; min-width: 0; }

.news-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.25s;
}

.news-item:hover .news-info h3 { color: var(--primary); }

.news-info p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.news-meta .cat {
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 12px;
  border-radius: 30px;
}

.news-meta .read { font-size: 12px; color: var(--text-light); }

/* ======================================================
   8. 合作伙伴区
   ====================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.partner-item {
  height: 96px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s;
  filter: grayscale(1);
}

.partner-item i { font-size: 24px; }

.partner-item:hover {
  filter: none;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(215, 0, 0, 0.1);
}

/* ======================================================
   9. 底部转化区
   ====================================================== */
.cta-section {
  position: relative;
  background:
    radial-gradient(ellipse 55% 75% at 12% 20%, rgba(215, 0, 0, 0.5), transparent 60%),
    linear-gradient(135deg, #260000 0%, #4a0000 55%, #2c0000 100%);
  color: #fff;
  padding: 84px 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  left: -140px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 50px solid rgba(253, 212, 53, 0.07);
}

.cta-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 72px;
  align-items: center;
}

.cta-info h2 {
  font-size: 36px;
  line-height: 1.4;
  margin-bottom: 18px;
}

.cta-info h2 em { font-style: normal; color: var(--accent); }

.cta-info > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 34px;
}

.cta-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.cta-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-points li i {
  color: var(--accent);
  font-size: 18px;
}

.cta-tel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.cta-tel .tel-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #3a2a00;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-tel .tel-num { font-size: 28px; font-weight: bold; color: var(--accent); line-height: 1.2; }
.cta-tel .tel-label { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* 留言表单卡片 */
.cta-form {
  background: #fff;
  border-radius: 14px;
  padding: 40px 38px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  color: var(--text-main);
}

.cta-form h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.cta-form .form-tip {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 26px;
}

.form-group { margin-bottom: 18px; position: relative; }

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.form-group label .req { color: var(--primary); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-gray);
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.25s;
}

.form-group textarea { resize: vertical; min-height: 88px; }

.form-group input:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(215, 0, 0, 0.08);
}

.form-group .err-msg {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 12px;
  color: var(--error);
  display: none;
}

.form-group.error input,
.form-group.error textarea { border-color: var(--error); }
.form-group.error .err-msg { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cta-form .btn-submit {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 4px;
  border-radius: 6px;
  transition: all 0.25s;
}

.cta-form .btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success i { font-size: 64px; color: var(--success); }
.form-success h3 { margin: 18px 0 8px; font-size: 22px; }
.form-success p { color: var(--text-sub); font-size: 15px; }

/* ===== SECTION: inner.css ===== */
/* ========== 内页公共样式 ========== */

/* ---------- 内页 Banner（hero） ---------- */
.page-hero {
  position: relative;
  padding: 96px 0 88px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 75% at 82% 30%, rgba(215, 0, 0, 0.55), transparent 62%),
    radial-gradient(ellipse 40% 55% at 12% 88%, rgba(253, 212, 53, 0.12), transparent 60%),
    linear-gradient(130deg, #260000 0%, #4a0000 55%, #1d0000 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 85% at 50% 40%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 40%, #000 25%, transparent 75%);
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -140px;
  top: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero .h-en {
  font-size: 14px;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 12px 0 16px;
}

.page-hero h1 em { font-style: normal; color: var(--accent); }

.page-hero .h-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  line-height: 1.9;
}

/* hero 右侧装饰大图标 */
.page-hero .h-icon {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 220px;
  color: rgba(255, 255, 255, 0.05);
  z-index: 1;
  pointer-events: none;
}

/* ---------- 面包屑 ---------- */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-sub);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-sub); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-light); font-size: 12px; }
.breadcrumb .current { color: var(--primary); font-weight: bold; }

/* ---------- 服务定位条 ---------- */
.position-bar {
  background: var(--primary);
  color: #fff;
  padding: 34px 0;
}

.position-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.position-bar p {
  font-size: 22px;
  letter-spacing: 1px;
}

.position-bar p strong { color: var(--accent); }

/* ---------- 理念三步（横向流程） ---------- */
.idea-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.idea-step {
  text-align: center;
  padding: 0 28px;
  position: relative;
}

.idea-step + .idea-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 34px;
  height: 64px;
  width: 1px;
  background: var(--border);
}

.idea-step .is-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 26px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s;
}

.idea-step:hover .is-num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.idea-step .is-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px;
  background: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.idea-step h3 { font-size: 19px; margin-bottom: 10px; }

.idea-step p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

/* ---------- 内容双栏（图 + 文） ---------- */
.split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-media .sm-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 26px;
  font-size: 15px;
  border-radius: 0 var(--radius) 0 0;
}

.split-text h2 { font-size: 30px; margin-bottom: 20px; line-height: 1.5; }
.split-text h2 em { font-style: normal; color: var(--primary); }

.split-text > p {
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 24px;
  font-size: 16px;
}

.check-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
}

.check-list li i { color: var(--primary); font-size: 18px; margin-top: 4px; }

.check-list li strong { color: var(--text-main); }
.check-list li span { color: var(--text-sub); }

/* ---------- 服务明细卡（带序号角标） ---------- */
.detail-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  position: relative;
  transition: all 0.3s;
}

.detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.detail-card .dc-no {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 44px;
  font-weight: bold;
  color: var(--bg-gray);
  line-height: 1;
  transition: color 0.3s;
}

.detail-card:hover .dc-no { color: var(--primary-light); }

.detail-card .dc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.detail-card h3 { font-size: 18px; margin-bottom: 10px; }
.detail-card p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

/* ---------- 流程步骤（竖向时间线） ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.tl-item { position: relative; padding: 0 18px; text-align: center; }

.tl-item .tl-dot {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.tl-item:hover .tl-dot { background: var(--primary); color: #fff; }

.tl-item::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px);
  opacity: 0.35;
}

.tl-item:last-child::before { display: none; }

.tl-item h3 { font-size: 17px; margin-bottom: 8px; }
.tl-item h3 span { color: var(--primary); margin-right: 4px; }
.tl-item p { font-size: 13px; color: var(--text-sub); line-height: 1.8; }

/* ---------- 价格入口横幅 ---------- */
.price-banner {
  background:
    radial-gradient(ellipse 40% 80% at 88% 50%, rgba(253, 212, 53, 0.15), transparent 55%),
    linear-gradient(120deg, #1d0000, #4a0000);
  border-radius: 14px;
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  flex-wrap: wrap;
}

.price-banner h3 { font-size: 26px; margin-bottom: 8px; }
.price-banner h3 em { font-style: normal; color: var(--accent); }
.price-banner p { color: rgba(255, 255, 255, 0.65); font-size: 15px; }

/* ---------- 价格表 ---------- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.price-card.hot {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 44px rgba(215, 0, 0, 0.14);
}

.price-card .pc-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 5px 22px;
  border-radius: 30px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.price-card .pc-name { font-size: 20px; font-weight: bold; text-align: center; }
.price-card .pc-for { font-size: 13px; color: var(--text-light); text-align: center; margin: 6px 0 22px; }

.price-card .pc-price {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 24px;
}

.price-card .pc-price .cny { font-size: 18px; color: var(--primary); font-weight: bold; }
.price-card .pc-price .num { font-size: 46px; color: var(--primary); font-weight: bold; line-height: 1; }
.price-card .pc-price .start { font-size: 13px; color: var(--text-light); }

.price-card ul { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.price-card ul li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.price-card ul li i { color: var(--success); font-size: 15px; margin-top: 3px; flex-shrink: 0; }
.price-card ul li.off { color: var(--text-light); }
.price-card ul li.off i { color: var(--border); }

.price-card .btn { text-align: center; }

/* 价格说明表 */
.price-note {
  margin-top: 40px;
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 26px 32px;
  font-size: 14px;
  color: #7a2020;
  line-height: 2;
}

.price-note strong { color: var(--primary); }

/* ---------- 内页相关案例 ---------- */
.related-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ---------- 观点列表页 ---------- */
.op-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.op-tabs button {
  padding: 11px 30px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
  color: var(--text-sub);
  transition: all 0.25s;
}

.op-tabs button:hover { color: var(--primary); border-color: var(--primary); }

.op-tabs button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: bold;
  box-shadow: var(--shadow-lg);
}

.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.op-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.op-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.op-card .oc-cover {
  height: 170px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #3a0000, #7a0000);
  display: flex;
  align-items: center;
  justify-content: center;
}

.op-card .oc-cover i { font-size: 56px; color: rgba(255, 255, 255, 0.16); }

.op-card .oc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.op-card:hover .oc-cover img { transform: scale(1.06); }

.op-card .oc-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 30px;
}

.op-card .oc-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }

.op-card h3 {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}

.op-card:hover h3 { color: var(--primary); }

.op-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 16px;
}

.op-card .oc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-light);
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 52px;
}

.pagination button, .pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}

.pagination button:hover { color: var(--primary); border-color: var(--primary); }
.pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: bold;
  cursor: default;
}
.pagination .dots { border: none; background: none; cursor: default; color: var(--text-light); }

/* ---------- 文章详情页 ---------- */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.article-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 52px;
}

.article-main .a-cat {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.article-main h1 {
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-light);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}

.article-meta i { margin-right: 5px; }

.article-body { font-size: 16.5px; line-height: 2.1; color: #333; }

.article-body h2 {
  font-size: 21px;
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.article-body p { margin-bottom: 18px; text-indent: 2em; }

.article-body blockquote {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #7a2020;
  font-size: 15.5px;
}

.article-body ul.plain { margin: 0 0 18px 2em; }
.article-body ul.plain li { list-style: disc; margin-bottom: 8px; color: var(--text-sub); }

.article-body img {
  border-radius: var(--radius);
  margin: 24px auto;
  max-width: 86%;
}

/* 上一篇/下一篇 */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: all 0.25s;
}

.article-nav a:hover { border-color: var(--primary); background: var(--primary-light); }

.article-nav .an-label { font-size: 12.5px; color: var(--text-light); margin-bottom: 6px; }
.article-nav .an-title {
  font-size: 15px;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-nav a.next { text-align: right; }

/* 侧栏 */
.side-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 24px;
}

.side-block h3 {
  font-size: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  position: relative;
}

.side-block h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.side-articles li a {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  align-items: flex-start;
}

.side-articles li:last-child a { border-bottom: none; }

.side-articles .sa-no {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--bg-gray);
  color: var(--text-light);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.side-articles li:nth-child(-n+3) .sa-no { background: var(--primary); color: #fff; }

.side-articles .sa-title {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  transition: color 0.2s;
}

.side-articles li a:hover .sa-title { color: var(--primary); }

.side-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border: none;
  text-align: center;
}

.side-cta i { font-size: 40px; color: var(--accent); }
.side-cta h3 { border: none; color: #fff; margin-bottom: 4px; padding-bottom: 0; }
.side-cta h3::after { display: none; }
.side-cta p { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.side-cta .btn { padding: 10px 28px; font-size: 14px; }

/* ---------- 案例列表页 ---------- */
.case-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.case-filter button {
  padding: 10px 28px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
  color: var(--text-sub);
  transition: all 0.25s;
}

.case-filter button:hover { color: var(--primary); border-color: var(--primary); }

.case-filter button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: bold;
}

.case-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: block;
}

.cl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.cl-card .cl-cover { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.cl-card .cl-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cl-card:hover .cl-cover img { transform: scale(1.05); }

.cl-card .cl-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(215, 0, 0, 0.92);
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 30px;
}

.cl-card .cl-body { padding: 20px 22px; }
.cl-card h3 { font-size: 18px; margin-bottom: 6px; }
.cl-card .cl-sub { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }

.cl-card .cl-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cl-card .cl-tags span {
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 12px;
  border-radius: 4px;
}

/* 案例详情弹窗式区块（四段式） */
.case-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
}

.case-detail-block .cdb-media { position: relative; min-height: 320px; }
.case-detail-block .cdb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.case-detail-block .cdb-body { padding: 36px 40px; }

.case-detail-block h3 { font-size: 22px; margin-bottom: 4px; }
.case-detail-block .cdb-sub { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }

.cdb-points { display: flex; flex-direction: column; gap: 14px; }
.cdb-points .p-title { font-size: 14px; font-weight: bold; color: var(--primary); }
.cdb-points p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

/* ---------- 关于我们 ---------- */
.about-intro .split-media { aspect-ratio: 1 / 1.1; }

.milestone-wrap { position: relative; }

.milestone-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: translateX(-50%);
}

.milestones { display: flex; flex-direction: column; gap: 36px; position: relative; }

.ms-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
}

.ms-item .ms-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ms-item .ms-year {
  font-size: 30px;
  font-weight: bold;
  color: var(--primary);
}

.ms-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.ms-card h3 { font-size: 17px; margin-bottom: 6px; }
.ms-card p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

.ms-item:nth-child(odd) .ms-text { grid-column: 1; text-align: right; }
.ms-item:nth-child(odd) .ms-card { grid-column: 1; }
.ms-item:nth-child(odd) .ms-dot { grid-column: 2; }
.ms-item:nth-child(odd) .ms-empty { grid-column: 3; }

.ms-item:nth-child(even) .ms-empty { grid-column: 1; }
.ms-item:nth-child(even) .ms-dot { grid-column: 2; }
.ms-item:nth-child(even) .ms-text { grid-column: 3; }
.ms-item:nth-child(even) .ms-card { grid-column: 3; }

.ms-item .ms-text { display: flex; flex-direction: column; gap: 10px; }

/* 文化四宫格 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.culture-card {
  border-radius: 14px;
  padding: 36px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.culture-card.c1 { background: linear-gradient(150deg, #d70000, #8e0000); }
.culture-card.c2 { background: linear-gradient(150deg, #2b2b2e, #17171a); }
.culture-card.c3 { background: linear-gradient(150deg, #f0b400, #d98e00); color: #3a2a00; }
.culture-card.c4 { background: linear-gradient(150deg, #4a0000, #210000); }

.culture-card i { font-size: 36px; opacity: 0.85; margin-bottom: 18px; display: block; }
.culture-card h3 { font-size: 20px; margin-bottom: 10px; }
.culture-card p { font-size: 14px; line-height: 1.8; opacity: 0.85; }

.culture-card::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 18px solid rgba(255,255,255,0.08);
}

/* 团队/服务分布数据条 */
.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 16px;
}

.team-stat .ts-num { font-size: 38px; font-weight: bold; color: var(--primary); }
.team-stat .ts-num span { font-size: 18px; }
.team-stat .ts-label { color: var(--text-sub); font-size: 14px; margin-top: 6px; }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.contact-cards { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
  flex: 1;
}

.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }

.contact-card .cc-ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card h3 { font-size: 16px; color: var(--text-light); font-weight: normal; margin-bottom: 6px; }
.contact-card .ct-main { font-size: 20px; font-weight: bold; color: var(--text-main); line-height: 1.5; }
.contact-card .ct-sub { font-size: 13.5px; color: var(--text-sub); margin-top: 4px; line-height: 1.7; }

.contact-form-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 42px;
}

.contact-form-box h2 { font-size: 24px; margin-bottom: 6px; }
.contact-form-box > p { color: var(--text-sub); font-size: 14px; margin-bottom: 26px; }

/* ---------- 留言表单（内页不加载 index.css，此处自带完整样式） ---------- */
.form-group { margin-bottom: 18px; position: relative; }

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.form-group label .req { color: var(--primary); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-gray);
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.25s;
}

.form-group textarea { resize: vertical; min-height: 88px; }

.form-group input:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(215, 0, 0, 0.08);
  outline: none;
}

.form-group .err-msg {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 12px;
  color: var(--error);
  display: none;
}

.form-group.error input,
.form-group.error textarea { border-color: var(--error); }
.form-group.error .err-msg { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form-box .btn-submit {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 4px;
  border-radius: 6px;
  transition: all 0.25s;
}

.contact-form-box .btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.contact-form-box .form-tip {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 26px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success i { font-size: 64px; color: var(--success); }
.form-success h3 { margin: 18px 0 8px; font-size: 22px; }
.form-success p { color: var(--text-sub); font-size: 15px; }

@media (max-width: 767px) {
  .form-row { grid-template-columns: 1fr; }
}

/* 地图占位 */
.map-box {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  height: 380px;
  background:
    linear-gradient(rgba(215,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,0,0,0.04) 1px, transparent 1px),
    #f2f4f5;
  background-size: 36px 36px, 36px 36px, auto;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -100%);
  text-align: center;
}

.map-pin i { font-size: 44px; color: var(--primary); filter: drop-shadow(0 6px 10px rgba(215,0,0,0.35)); }

.map-pin .mp-label {
  margin-top: 4px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

.map-note {
  position: absolute;
  left: 18px;
  bottom: 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-sub);
}

/* ---------- 内页通用 CTA 条 ---------- */
.inner-cta {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #ff2b2b);
  color: #fff;
  padding: 56px 0;
}

.inner-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.inner-cta h2 { font-size: 28px; margin-bottom: 6px; }
.inner-cta h2 em { font-style: normal; color: var(--accent); }
.inner-cta p { color: rgba(255,255,255,0.75); font-size: 15px; }
.inner-cta .ic-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 内页响应式 ---------- */
@media (max-width: 1023px) {
  .page-hero { padding: 64px 0; }
  .page-hero h1 { font-size: 32px; }
  .page-hero .h-icon { display: none; }

  .idea-flow { grid-template-columns: 1fr; gap: 32px; }
  .idea-step + .idea-step::before { display: none; }

  .split-wrap { grid-template-columns: 1fr; gap: 32px; }
  .detail-cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .tl-item:nth-child(3)::before { display: none; }
  .price-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .related-cases { grid-template-columns: repeat(2, 1fr); }
  .op-grid { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .case-list-grid { grid-template-columns: repeat(2, 1fr); }
  .case-detail-block { grid-template-columns: 1fr; }
  .case-detail-block .cdb-media { min-height: 240px; }
  .milestone-line { left: 20px; }
  .ms-item { grid-template-columns: 40px 1fr; }
  .ms-item .ms-dot { grid-column: 1 !important; }
  .ms-item .ms-text, .ms-item .ms-card { grid-column: 2 !important; text-align: left !important; }
  .ms-item .ms-empty { display: none; }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .team-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .position-bar p { font-size: 18px; }
}

@media (max-width: 767px) {
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 26px; }
  .page-hero .h-desc { font-size: 14px; }
  .breadcrumb { font-size: 13px; }

  .detail-cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .tl-item::before { display: none; }
  .price-banner { padding: 30px 26px; }
  .price-banner h3 { font-size: 21px; }
  .related-cases { grid-template-columns: 1fr; }
  .op-grid { grid-template-columns: 1fr; }
  .case-list-grid { grid-template-columns: 1fr; }
  .article-main { padding: 28px 22px; }
  .article-main h1 { font-size: 22px; }
  .article-nav { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .team-stats { grid-template-columns: 1fr 1fr; }
  .contact-form-box { padding: 26px 20px; }
  .inner-cta h2 { font-size: 22px; }
  .ms-item .ms-year { font-size: 24px; }
}

/* ===== SECTION: responsive.css ===== */
/* ========== 响应式样式 ========== */

/* ---------- 小桌面 / 大平板：≤ 1279px ---------- */
@media (max-width: 1279px) {
  .banner-content h1 { font-size: 44px; }
  .build-cards { gap: 16px; }
  .build-card { padding: 32px 22px 28px; }
  .seo-wrap { grid-template-columns: 340px 1fr; gap: 40px; }
  .cta-wrap { grid-template-columns: 1fr 460px; gap: 48px; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-num { font-size: 48px; }
}

/* ---------- 平板：768–1023px ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 68px; }

  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 26px; }

  /* 导航折叠为汉堡 */
  .main-nav, .slogan-bar .slogan-tel { display: none; }
  .nav-toggle { display: flex; }

  .banner { height: 460px; }
  .banner-content h1 { font-size: 38px; }
  .banner-content .b-desc { font-size: 16px; margin-bottom: 28px; }
  .banner-arrow { width: 44px; height: 44px; }
  .banner-arrow.prev { left: 16px; }
  .banner-arrow.next { right: 16px; }

  /* 建站卡片 2 列 */
  .build-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .build-card p { min-height: 0; }

  /* 优化区上下堆叠 */
  .seo-wrap { grid-template-columns: 1fr; gap: 36px; }
  .seo-intro h2 { font-size: 28px; }

  /* 数据 2 列 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-item:nth-child(3)::before { display: none; }
  .stat-num { font-size: 46px; }

  /* 案例 2 列 */
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card.big { grid-column: span 2; grid-row: span 1; }

  /* 观点：Tab 横向滚动 */
  .news-wrap { grid-template-columns: 1fr; gap: 24px; }
  .news-tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .news-tabs button { white-space: nowrap; padding: 12px 20px; }
  .news-tabs button i { display: none; }

  /* 合作 3 列 */
  .partner-grid { grid-template-columns: repeat(3, 1fr); }

  /* 转化区堆叠 */
  .cta-wrap { grid-template-columns: 1fr; gap: 44px; }
  .cta-info h2 { font-size: 30px; }
  .cta-form { max-width: 560px; }

  /* 页脚 2 列 */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }

  .side-service { display: none; }
  .back-top { bottom: 24px; right: 16px; }
}

/* ---------- 手机：≤ 767px ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }

  h1 { font-size: 26px; }
  h2 { font-size: 22px; }

  .section { padding: 48px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: 22px; }
  .sec-head p { font-size: 14px; }

  .slogan-bar { font-size: 12px; }
  .slogan-bar .slogan-text { letter-spacing: 1px; }

  .logo {
    width: 140px;
    height: 42px;
    background-size: 140px auto;
    background-position: 0 -8px;
  }


  /* Banner */
  .banner { height: 440px; }
  .banner-content .b-tag { font-size: 12px; padding: 5px 14px; margin-bottom: 18px; }
  .banner-content h1 { font-size: 28px; letter-spacing: 1px; margin-bottom: 14px; }
  .banner-content .b-desc { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
  .banner-content .btn { padding: 11px 26px; font-size: 14px; }
  .banner-arrow { display: none; }
  .banner-dots span { width: 24px; }
  .banner-dots span.active { width: 38px; }

  /* 建站卡片单列 */
  .build-cards { grid-template-columns: 1fr; gap: 16px; }
  .build-card { padding: 26px 22px; display: flex; flex-direction: column; }
  .build-card .bc-icon { width: 56px; height: 56px; font-size: 26px; margin-bottom: 16px; }
  .build-card p { margin-bottom: 14px; }

  /* 优化区 */
  .seo-section { padding: 56px 0; }
  .seo-intro h2 { font-size: 24px; }
  .seo-intro p { font-size: 14px; margin-bottom: 24px; }
  .seo-grid { grid-template-columns: 1fr; gap: 14px; }
  .seo-item { padding: 20px 18px; gap: 14px; }
  .seo-item .si-icon { width: 44px; height: 44px; font-size: 20px; border-radius: 10px; }
  .seo-item h3 { font-size: 16px; }
  .seo-item p { font-size: 13px; }

  /* 数据区 */
  .stats-section { padding: 44px 0; }
  .stats-grid { gap: 28px 0; }
  .stat-num { font-size: 38px; }
  .stat-num .unit { font-size: 20px; }
  .stat-item .label { font-size: 14px; letter-spacing: 1px; }

  /* 案例 */
  .case-grid { grid-template-columns: 1fr; gap: 14px; }
  .case-card.big { grid-column: span 1; }
  .case-card .cc-desc { opacity: 1; transform: none; }
  .case-card .cc-view { display: none; }
  .case-more { margin-top: 28px; }

  /* 观点 */
  .news-item { flex-direction: row; gap: 14px; padding: 18px 4px; }
  .news-date { width: 60px; height: 60px; }
  .news-date .d { font-size: 20px; }
  .news-info h3 { font-size: 16px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .news-info p { -webkit-line-clamp: 1; }

  /* 合作伙伴 */
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-item { height: 76px; font-size: 14px; }

  /* 转化区 */
  .cta-section { padding: 56px 0; }
  .cta-info h2 { font-size: 24px; }
  .cta-info > p { font-size: 14px; margin-bottom: 24px; }
  .cta-points { gap: 12px; margin-bottom: 28px; }
  .cta-points li { font-size: 14px; }
  .cta-tel .tel-num { font-size: 22px; }
  .cta-form { padding: 28px 22px; }
  .cta-form h3 { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* 页脚 */
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 28px; }
  .footer-brand .f-tel { font-size: 20px; }
}

/* ---------- 超小屏：≤ 380px ---------- */
@media (max-width: 380px) {
  .banner { height: 400px; }
  .banner-content h1 { font-size: 24px; }
  .stat-num { font-size: 32px; }
}
