/* ============================================================
   宁波有道网络 · 二级页面通用组件样式
   依赖 style.css 的变量与通用类（container / section / nav /
   section-head / service-card / solution-card / news-card /
   footer / btn / reveal 等），本文件只扩展二级页专属组件。
   ============================================================ */

/* ============ 子页首屏 Hero ============ */
.sub-hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  z-index: 1;
}
.sub-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}
.sub-hero-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sub-hero-visual picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sub-hero-visual img {
  width: 92%;
  max-width: 540px;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.55))
          drop-shadow(0 0 50px rgba(0,212,255,0.18))
          drop-shadow(0 0 90px rgba(139,92,246,0.12));
  animation: achFloat 6s ease-in-out infinite;
}

/* 居中式 Hero（新闻 / 联系 等） */
.sub-hero--center { min-height: 56vh; padding: 158px 0 64px; }
.sub-hero--center .sub-hero-inner { grid-template-columns: 1fr; text-align: center; }
.sub-hero--center .breadcrumb { justify-content: center; }
.sub-hero--center .hero-sub { margin-left: auto; margin-right: auto; }

@keyframes achFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1.2deg); }
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ============ 面包屑 ============ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-low);
  margin-bottom: 22px;
  letter-spacing: .5px;
}
.breadcrumb a { color: var(--text-mid); transition: color .3s ease; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: .45; }
.breadcrumb .current { color: var(--cyan); }

/* ============ 内容板块微调 ============ */
.section-tight { padding: 92px 0; }
.section-flush { padding: 0 0 110px; }

/* ============ 服务流程步骤 ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process-step {
  position: relative;
  padding: 32px 22px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: .6;
  transition: opacity .4s ease;
}
.process-step:hover { transform: translateY(-6px); border-color: rgba(0,212,255,.35); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.process-step:hover::before { opacity: 1; }
.process-no {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 16px;
}
.process-step h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-mid); }

/* ============ 特性列表（关于/优势） ============ */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: all .4s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(0,212,255,.08), transparent 45%);
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,.35); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-mid); }

/* ============ 文章/新闻大卡（新闻页） ============ */
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.article-card {
  position: relative;
  display: block;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  transition: all .4s ease;
  overflow: hidden;
}
.article-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  opacity: 0; transition: opacity .4s ease;
}
.article-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.06); border-color: rgba(0,212,255,.3); }
.article-card:hover::before { opacity: 1; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-low); margin-bottom: 14px; letter-spacing: .5px; }
.article-meta .tag-soft {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  color: var(--cyan); border: 1px solid rgba(0,212,255,.25);
  font-size: 12px; font-weight: 600;
}
.article-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.article-excerpt { font-size: 14px; color: var(--text-mid); margin-bottom: 16px; }
.article-more { font-size: 14px; font-weight: 600; color: var(--cyan); }

/* ============ FAQ 常见问题 ============ */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  position: relative;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  margin-bottom: 16px;
  transition: all .4s ease;
}
.faq-item:hover { border-color: rgba(0,212,255,.3); }
.faq-q { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; }
.faq-q .q-mark {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,122,26,.12);
  border: 1px solid rgba(255,122,26,.25);
  color: var(--orange);
  font-weight: 800; font-size: 15px;
}
.faq-a { font-size: 15px; color: var(--text-mid); margin: 14px 0 0 44px; line-height: 1.7; }

/* ============ 底部 CTA 横幅 ============ */
.cta-band {
  position: relative;
  text-align: center;
  padding: 70px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(139,92,246,.08));
  border: 1px solid rgba(0,212,255,.22);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at 50% 0%, rgba(0,212,255,.12), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-band p { font-size: 16px; color: var(--text-mid); margin-bottom: 30px; position: relative; }
.cta-band .btn { position: relative; }

/* ============ 联系信息网格 ============ */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  transition: all .4s ease;
}
.info-card:hover { transform: translateY(-5px); border-color: rgba(0,212,255,.3); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.info-card .ic {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  color: var(--cyan);
  margin-bottom: 16px;
}
.info-card .ic svg { width: 24px; height: 24px; }
.info-card .ic-label { font-size: 13px; color: var(--text-low); margin-bottom: 6px; }
.info-card .ic-value { font-size: 17px; font-weight: 700; }
.info-card .ic-value a { color: var(--text-hi); }
.info-card .ic-value a:hover { color: var(--cyan); }

/* ============ 板块内标题短描 ============ */
.lead-text { font-size: 16px; color: var(--text-mid); max-width: 760px; margin: 0 auto 50px; text-align: center; line-height: 1.8; }
.lead-text strong { color: var(--text-hi); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .sub-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .sub-hero-visual { height: 420px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sub-hero { padding: 120px 0 60px; min-height: 60vh; }
  .sub-hero-visual { height: 340px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .faq-a { margin-left: 0; }
}

/* ============ 发展历程时间轴 ============ */
.milestone-band { background: linear-gradient(180deg, transparent, rgba(11,17,32,.45), transparent); }
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 10px 0; }
.timeline::before {
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0,212,255,.5), rgba(139,92,246,.5), transparent);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 18px 40px; box-sizing: border-box; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-dot {
  position: absolute; top: 26px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-deep); border: 3px solid var(--cyan);
  box-shadow: 0 0 14px var(--cyan); z-index: 2;
}
.tl-item:nth-child(odd) .tl-dot { right: -8px; }
.tl-item:nth-child(even) .tl-dot { left: -8px; }
.tl-year { font-size: 24px; font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; }
.tl-text { font-size: 15px; color: var(--text-mid); margin-top: 4px; }

/* ============ 资质荣誉 ============ */
.honor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.honor-card {
  padding: 28px 18px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-soft);
  text-align: center; transition: all .4s ease;
}
.honor-card:hover { transform: translateY(-5px); border-color: rgba(255,122,26,.4); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.honor-icon {
  width: 46px; height: 46px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; color: var(--orange);
  background: rgba(255,122,26,.10); border: 1px solid rgba(255,122,26,.25);
  font-size: 22px; font-weight: 800;
}
.honor-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.honor-sub { font-size: 12px; color: var(--text-low); }

@media (max-width: 768px) {
  .timeline::before { left: 18px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding-left: 46px; padding-right: 0; }
  .tl-item:nth-child(odd) { text-align: left; }
  .tl-item:nth-child(odd) .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 10px; right: auto; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ 产品详情页能力卡 ============ */
.detail-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card {
  position: relative; padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-soft);
  transition: all .4s ease; overflow: hidden;
}
.cap-card:hover { transform: translateY(-5px); border-color: rgba(0,212,255,.3); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.cap-no { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 1px; margin-bottom: 8px; }
.cap-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.cap-card p { font-size: 14px; color: var(--text-mid); line-height: 1.65; }
@media (max-width: 1024px) { .detail-cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .detail-cap-grid { grid-template-columns: 1fr; } }
