/* ==========================================================================
   道邦企服 (dbbk.cn) - 首页专属样式
   科技蓝亮蓝 + 浅冰蓝渐变 · 独一无二骨架
   ========================================================================== */

/* ==========================================================================
   Hero 全屏 Banner — 科技蓝渐变层叠
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 250, 255, 0.94) 0%, rgba(224, 240, 255, 0.88) 45%, rgba(30, 111, 217, 0.25) 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}
.hero-blob.b1 { width: 460px; height: 460px; background: var(--blue-light); top: -120px; right: -100px; opacity: 0.55; }
.hero-blob.b2 { width: 380px; height: 380px; background: #B8DAFF; bottom: -140px; left: -80px; opacity: 0.5; }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: var(--white);
  border-radius: 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
  border: 1px solid var(--blue-mist);
}
.hero-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-deep);
  box-shadow: 0 0 0 4px rgba(30, 111, 217, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(30, 111, 217, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(30, 111, 217, 0.08); }
}
.hero-inner h1 {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.hero-inner h1 .grad {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--body);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stats .h-stat strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
}
.hero-stats .h-stat span { font-size: 13px; color: var(--muted); }

/* Hero 右侧 — 资质文件卡片 */
.hero-visual { position: relative; }
.qual-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 1px solid var(--blue-mist);
}
.qual-card .qual-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--blue-mist);
  margin-bottom: 20px;
}
.qual-card .qual-head .q-logo {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.qual-card .qual-head h4 { font-size: 16px; }
.qual-card .qual-head span { font-size: 12px; color: var(--muted); }
.qual-list { display: flex; flex-direction: column; gap: 14px; }
.qual-list .q-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--ice-blue);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--blue);
}
.qual-list .q-item .q-ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue-mist);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-deep);
  flex-shrink: 0;
}
.qual-list .q-item h5 { font-size: 14px; margin-bottom: 2px; }
.qual-list .q-item span { font-size: 12px; color: var(--muted); }

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  border: 1px solid var(--blue-mist);
}
.float-card.fc1 {
  top: -28px; right: -24px;
  animation: floatY 4s ease-in-out infinite;
}
.float-card.fc2 {
  bottom: -32px; left: -36px;
  animation: floatY 4s ease-in-out infinite 2s;
}
.float-card .fc-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.float-card.fc1 .fc-ico { background: var(--blue-mist); color: var(--blue-deep); }
.float-card.fc2 .fc-ico { background: #E8FFF0; color: #16A34A; }
.float-card .fc-txt strong { display: block; font-size: 15px; color: var(--ink); }
.float-card .fc-txt span { font-size: 12px; color: var(--muted); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}
.hero-scroll .mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--muted);
  border-radius: 12px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 7px;
  background: var(--muted);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 10px); }
  100% { opacity: 0; }
}

/* ==========================================================================
   核心优势 — 科技蓝卡片
   ========================================================================== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--ice-blue-card);
  border-radius: var(--r-lg);
  padding: 36px 26px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-glow));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-mist);
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-ico {
  width: 68px; height: 68px;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--blue-mist), #D4E7FF);
  transition: transform 0.35s var(--ease);
}
.adv-card:hover .adv-ico { transform: scale(1.1) rotate(-5deg); }
.adv-no {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--faint);
  margin-bottom: 8px;
}
.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { font-size: 13.5px; color: var(--body); }

/* ==========================================================================
   资质办理流程 — 时间轴
   ========================================================================== */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.steps-wrap::before {
  content: "";
  position: absolute;
  top: 34px; left: 10%; right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0, var(--blue) 10px, transparent 10px, transparent 20px);
}
.step-box { text-align: center; position: relative; }
.step-circle {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-deep);
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.step-box:hover .step-circle {
  background: var(--blue-deep);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-blue);
}
.step-box h4 { font-size: 16px; margin-bottom: 8px; }
.step-box p { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   资质服务矩阵 — 网格卡片
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-card {
  background: var(--ice-blue-card);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--blue-mist);
}
.cat-card .cat-ico {
  width: 54px; height: 54px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cat-card:nth-child(3n+1) .cat-ico { background: var(--blue-mist); color: var(--blue-deep); }
.cat-card:nth-child(3n+2) .cat-ico { background: #E8F0FF; color: #3B7DD8; }
.cat-card:nth-child(3n) .cat-ico { background: #E0F4FF; color: #0F76A8; }
.cat-card h4 { font-size: 17px; margin-bottom: 8px; }
.cat-card p { font-size: 13.5px; color: var(--body); margin-bottom: 14px; }
.cat-card .cat-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease);
}
.cat-card:hover .cat-link { gap: 8px; }

/* ==========================================================================
   新闻列表 — 卡片流
   ========================================================================== */
.news-list-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-item {
  display: flex;
  flex-direction: column;
  background: var(--ice-blue-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
}
.news-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--blue-mist);
}
.news-item .n-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.news-item .n-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.news-item:hover .n-thumb img { transform: scale(1.08); }
.news-item .n-body { flex: 1; padding: 24px; display: flex; flex-direction: column; }
.news-item .n-body h4 {
  font-size: 17px;
  margin-bottom: 10px;
  transition: color 0.25s var(--ease);
  line-height: 1.4;
}
.news-item:hover .n-body h4 { color: var(--blue-deep); }
.news-item .n-excerpt {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-item .n-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.news-item .n-foot .date { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.news-item .n-foot .read { color: var(--blue-deep); font-weight: 600; }

/* ==========================================================================
   CTA 行动号召横幅
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--blue-deep) 60%, var(--blue-glow) 100%);
  border-radius: var(--r-xl);
  padding: 52px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -120px; right: -60px;
  filter: blur(40px);
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  background: rgba(91, 168, 255, 0.15);
  border-radius: 50%;
  bottom: -100px; left: 10%;
  filter: blur(30px);
}
.cta-text { position: relative; z-index: 1; }
.cta-text h3 { font-size: 28px; color: var(--white); margin-bottom: 8px; }
.cta-text p { font-size: 15.5px; color: rgba(255, 255, 255, 0.85); }
.cta-actions { display: flex; gap: 14px; position: relative; z-index: 1; flex-shrink: 0; }
.cta-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.cta-actions .btn-primary { background: var(--white); color: var(--blue-deep); }
.cta-actions .btn-primary:hover { background: var(--ice-blue); }

/* ==========================================================================
   数据统计区
   ========================================================================== */
.data-showcase {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--blue-deep) 100%);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.data-showcase::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  background: var(--blue-glow);
  border-radius: 50%;
  top: -150px; left: -100px;
  filter: blur(80px);
  opacity: 0.2;
}
.data-showcase .d-item { text-align: center; position: relative; z-index: 1; }
.data-showcase .d-item strong {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.data-showcase .d-item span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 500px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-wrap { grid-template-columns: repeat(3, 1fr); }
  .steps-wrap::before { display: none; }
  .news-list-wrap { grid-template-columns: repeat(2, 1fr); }
  .data-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner h1 { font-size: 38px; }
  .hero-sub { font-size: 15.5px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stats .h-stat strong { font-size: 28px; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .steps-wrap { grid-template-columns: repeat(2, 1fr); }
  .news-list-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-inner h1 { font-size: 32px; }
  .adv-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .steps-wrap { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .data-showcase { grid-template-columns: 1fr; gap: 20px; }
}