/* ==========================================================================
   贵州省悦深科技服务有限责任公司 企业官网
   设计系统 / 全局样式
   ========================================================================== */

:root {
  /* 品牌色 */
  --primary: #1e56d6;
  --primary-dark: #14409c;
  --primary-deep: #0b2560;
  --accent: #06b6d4;
  --accent-2: #38bdf8;
  --grad: linear-gradient(135deg, #1e56d6 0%, #0ea5e9 55%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(30, 86, 214, 0.08), rgba(6, 182, 212, 0.10));

  /* 中性色 */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e6ecf5;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-deep: #071c47;

  /* 字体 */
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;

  /* 尺寸 */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow: 0 12px 34px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
  --container: 1200px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 15px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }

/* ==========================================================================
   通用排版组件
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 14px 0 16px;
  letter-spacing: -0.01em;
}
.section-desc { color: var(--muted); font-size: 16.5px; }

/* ==========================================================================
   按钮
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(30, 86, 214, 0.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(30, 86, 214, 0.38); }
.btn-ghost { background: rgba(255, 255, 255, 0.10); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.20); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ==========================================================================
   顶部导航
   ========================================================================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.0);
  transition: background .3s ease;
}
.header.is-sticky { height: 64px; }
.header.is-sticky::before {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(15, 23, 42, 0.05);
}
.header-inner {
  position: relative;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(30, 86, 214, 0.32);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 17px; color: var(--ink); font-weight: 700; letter-spacing: 0.01em; }
.logo-text small { font-size: 10px; color: var(--muted); letter-spacing: 0.06em; font-weight: 500; }

/* 深色背景下的 logo 文字（hero 顶部用浅色，滚动后转深色） */
.header:not(.is-sticky) .logo-text strong { color: #fff; }
.header:not(.is-sticky) .logo-text small { color: rgba(255, 255, 255, 0.72); }

.nav { display: flex; align-items: center; gap: 25px; }
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color .2s ease;
  padding: 6px 0;
}
.header.is-sticky .nav-link { color: var(--ink-2); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.header.is-sticky .nav-link:hover, .header.is-sticky .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 22px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  left: 11px;
  transition: transform .25s ease, opacity .2s ease, background .25s ease;
}
.header.is-sticky .nav-toggle span, .header.is-sticky .nav-toggle span::before, .header.is-sticky .nav-toggle span::after { background: var(--ink); }
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  padding: 84px 0 104px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(6, 182, 212, 0.32), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(56, 189, 248, 0.28), transparent 55%),
    linear-gradient(160deg, #061536 0%, #0b2560 55%, #0a3c74 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9), transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.hero-orb.a { width: 420px; height: 420px; background: #2563eb; top: -120px; right: -80px; }
.hero-orb.b { width: 360px; height: 360px; background: #06b6d4; bottom: -140px; left: -60px; }

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25); }
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 22px 0 20px;
}
.hero h1 .grad-text {
  background: linear-gradient(90deg, #7dd3fc, #22d3ee, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 46px;
}
.hero-meta .num { font-size: 26px; font-weight: 700; color: #fff; }
.hero-meta .num em { font-style: normal; font-size: 16px; color: #22d3ee; margin-left: 2px; }
.hero-meta .lbl { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-top: 2px; }

/* Hero 右侧：产品卡片 */
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute; inset: -30px;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.25), transparent 70%);
  filter: blur(20px);
}
.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.hero-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hero-card-top i { width: 11px; height: 11px; border-radius: 50%; }
.hero-card-top i:nth-child(1) { background: #f87171; }
.hero-card-top i:nth-child(2) { background: #fbbf24; }
.hero-card-top i:nth-child(3) { background: #34d399; }
.hero-card-top span { margin-left: auto; font-size: 12px; color: rgba(255,255,255,0.5); }
.chart { display: flex; flex-direction: column; gap: 12px; }
.chart-row { display: flex; align-items: center; gap: 12px; }
.chart-row label { width: 64px; font-size: 12.5px; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.chart-bar { flex: 1; height: 10px; border-radius: 6px; background: rgba(255,255,255,0.12); overflow: hidden; }
.chart-bar span { display: block; height: 100%; border-radius: 6px; background: var(--grad); width: 0; animation: grow 1.2s ease forwards; }
@keyframes grow { from { width: 0; } }
.chart-row b { width: 42px; text-align: right; font-size: 12.5px; color: #a5f3fc; }
.hero-chip {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.hero-chip .chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
}
.hero-chip .chip b { display: block; font-size: 14px; color: #fff; }
.hero-chip .chip span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ==========================================================================
   内页 Hero（子页面顶部横幅）
   ========================================================================== */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 78px;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(6, 182, 212, 0.30), transparent 60%),
    linear-gradient(160deg, #061536 0%, #0b2560 60%, #0a3c74 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-grid { mask-image: none; -webkit-mask-image: none; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.01em; }
.page-hero .crumb { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.66); }
.page-hero .crumb a:hover { color: #fff; }
.page-hero .crumb span { margin: 0 8px; opacity: 0.5; }

/* ==========================================================================
   通用卡片
   ========================================================================== */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* 图标 */
.icon-box {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--primary);
  margin-bottom: 20px;
  transition: transform .25s ease;
}
.card:hover .icon-box { transform: scale(1.08) rotate(-3deg); }
.icon-box svg { width: 28px; height: 28px; }

/* ==========================================================================
   首页：服务概览
   ========================================================================== */

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card .icon-box { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(30, 86, 214, 0.28); }
.service-card h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.service-card .more { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.service-card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .more svg { transform: translateX(4px); }

/* ==========================================================================
   首页：为何选择我们 / 优势
   ========================================================================== */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--grad);
  min-height: 420px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.split .visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.split .visual .badge-stack { position: relative; display: grid; gap: 16px; }
.split .visual .vb {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 14px;
  color: #fff;
  font-weight: 600;
}
.split .visual .vb span { font-size: 13px; color: rgba(255,255,255,0.75); font-weight: 400; }

.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .ico {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--primary);
  display: grid; place-items: center;
}
.feature-item .ico svg { width: 24px; height: 24px; }
.feature-item h4 { font-size: 16.5px; color: var(--ink); margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   数据统计条
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats .stat { background: #fff; padding: 36px 20px; text-align: center; }
.stats .stat b { font-size: 38px; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }
.stats .stat b em { font-style: normal; font-size: 20px; color: var(--accent); }
.stats .stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   案例网格
   ========================================================================== */

.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { padding: 0; overflow: hidden; }
.case-thumb {
  height: 200px;
  background: var(--grad);
  position: relative;
  display: grid; place-items: center;
  color: #fff;
}
.case-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 34px 34px;
}
.case-thumb .tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12.5px;
  backdrop-filter: blur(6px);
}
.case-thumb .big-ico { position: relative; font-size: 60px; opacity: 0.95; }
.case-body { padding: 24px 26px 26px; }
.case-body h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.case-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.case-meta span {
  font-size: 12px; color: var(--primary);
  background: var(--grad-soft);
  padding: 4px 12px; border-radius: 999px;
}

/* ==========================================================================
   新闻卡片
   ========================================================================== */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { padding: 0; overflow: hidden; }
.news-thumb {
  height: 180px;
  background: linear-gradient(135deg, #1e56d6, #0ea5e9);
  position: relative;
}
.news-thumb.v2 { background: linear-gradient(135deg, #0e7490, #22d3ee); }
.news-thumb.v3 { background: linear-gradient(135deg, #4338ca, #818cf8); }
.news-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}
.news-body { padding: 22px 26px 26px; }
.news-tag { font-size: 12px; font-weight: 600; color: var(--primary); }
.news-body h3 { font-size: 17px; color: var(--ink); margin: 8px 0 10px; line-height: 1.5; }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { font-size: 14px; color: var(--muted); }
.news-date { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; display: block; }

/* ==========================================================================
   CTA 横幅
   ========================================================================== */

.cta {
  position: relative;
  border-radius: 22px;
  padding: 56px 48px;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.16), transparent 40%);
}
.cta h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; position: relative; }
.cta p { color: rgba(255,255,255,0.85); margin-top: 8px; position: relative; }
.cta .btn { position: relative; }

/* ==========================================================================
   页脚
   ========================================================================== */

.footer { background: var(--bg-deep); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer .logo-text strong { color: #fff; }
.footer .logo-text small { color: rgba(255,255,255,0.5); }
.footer-about { margin-top: 18px; font-size: 14px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; font-weight: 600; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.66); transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 14px; color: rgba(255,255,255,0.66); }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-2); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom .icp a:hover { color: #fff; }

/* ==========================================================================
   关于我们页面
   ========================================================================== */

.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { text-align: center; }
.value-card .icon-box { margin: 0 auto 18px; }

.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--primary), var(--accent));
}
.timeline-item { position: relative; padding: 0 0 40px 64px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .dot {
  position: absolute; left: 8px; top: 4px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(30, 86, 214, 0.12);
}
.timeline-item .year { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 0.06em; }
.timeline-item h3 { font-size: 18px; color: var(--ink); margin: 4px 0 6px; }
.timeline-item p { font-size: 14.5px; color: var(--muted); }

/* ==========================================================================
   服务项目页面
   ========================================================================== */

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; }
.service-detail:nth-child(even) .srv-text { order: 2; }
.service-detail .srv-visual {
  border-radius: 20px;
  min-height: 320px;
  background: var(--grad);
  position: relative;
  display: grid; place-items: center;
  color: #fff;
  overflow: hidden;
}
.service-detail .srv-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 45%);
}
.service-detail .srv-visual .big-ico { position: relative; font-size: 84px; opacity: 0.95; }
.service-detail .srv-text h2 { font-size: 26px; color: var(--ink); margin-bottom: 16px; }
.service-detail .srv-text p { color: var(--muted); margin-bottom: 18px; }
.service-detail .srv-text ul { display: grid; gap: 10px; }
.service-detail .srv-text ul li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.service-detail .srv-text ul li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ==========================================================================
   联系我们页面
   ========================================================================== */

.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; }
.contact-card .icon-box { margin-bottom: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 4px; }
.contact-card p { font-size: 14.5px; color: var(--muted); word-break: break-all; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-group label em { color: #ef4444; font-style: normal; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 86, 214, 0.10);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  color: #059669;
  font-weight: 600;
  margin-bottom: 16px;
}
.form-success.show { display: block; }

/* ==========================================================================
   新闻详情页
   ========================================================================== */

.article { max-width: 800px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 34px; }
.article-head .tag {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; color: var(--primary);
  background: var(--grad-soft);
  padding: 5px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.article-head h1 { font-size: clamp(24px, 3.4vw, 34px); color: var(--ink); line-height: 1.4; margin-bottom: 14px; }
.article-head .meta { font-size: 13.5px; color: var(--muted-2); }
.article-body { color: var(--ink-2); font-size: 16px; }
.article-body h2 { font-size: 22px; color: var(--ink); margin: 32px 0 14px; }
.article-body p { margin-bottom: 18px; color: #334155; }
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.article-body ul { margin: 0 0 18px; padding-left: 4px; display: grid; gap: 10px; }
.article-body ul li { display: flex; gap: 10px; }
.article-body ul li::before { content: "›"; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.article-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; color: var(--primary); font-weight: 600; }
.article-back:hover { gap: 12px; }

/* ==========================================================================
   动画
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .services-grid, .cases-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .visual { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .nav { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 28, 71, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    z-index: -1;
  }
  .nav.open .nav-link { font-size: 22px; color: #fff; }
  .nav.open .nav-link.active { color: var(--accent-2); }
  .hero { min-height: auto; padding-bottom: 90px; }
  .hero h1 { font-size: 34px; }
  .hero-meta { gap: 24px; }
  .services-grid, .cases-grid, .news-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 28px; padding: 46px 0; }
  .service-detail:nth-child(even) .srv-text { order: 0; }
  .service-detail .srv-visual { min-height: 240px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 40px 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat b { font-size: 30px; }
}

@media (max-width: 480px) {
  .about-values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   首页：联系我们 / 关注我们
   ========================================================================== */

.contact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.contact-strip .card { text-align: center; padding: 36px 26px; }
.contact-strip .icon-box { margin: 0 auto 18px; }
.contact-strip .icon-wechat { background: rgba(7, 193, 96, 0.12); color: #07c160; }
.contact-strip .icon-wecom { background: rgba(30, 86, 214, 0.12); color: var(--primary); }
.contact-strip .cs-btn { margin-top: 16px; padding: 10px 22px; font-size: 14px; }
.contact-strip h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.contact-strip .acct { display: block; font-size: 20px; font-weight: 700; color: var(--ink); }
.contact-strip .desc {
  font-size: 13.5px;
  color: var(--muted);
  margin: 4px auto 0;
  max-width: 240px;
  line-height: 1.5;
}
.contact-strip .qr-img {
  width: 168px;
  height: 168px;
  display: block;
  margin: 16px auto 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-strip .hint {
  display: inline-block;
  font-size: 12.5px;
  color: #07c160;
  background: rgba(7, 193, 96, 0.10);
  padding: 4px 14px;
  border-radius: 999px;
  margin-top: 14px;
}
.phone-list { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.phone-num { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: 0.02em; transition: color .2s ease; }
.phone-num:hover { color: var(--accent); }

@media (max-width: 768px) {
  .contact-strip { grid-template-columns: 1fr; }
}

/* ==========================================================================
   全站悬浮「在线客服」按钮（企业微信客服）
   ========================================================================== */

.cs-float {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(30, 86, 214, 0.38);
  transition: transform .22s ease, box-shadow .22s ease;
  animation: cs-pop .5s ease both;
}
.cs-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(30, 86, 214, 0.46); }
.cs-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.cs-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(30, 86, 214, 0.5);
  animation: cs-ring 2.4s ease-out infinite;
}
@keyframes cs-ring {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
@keyframes cs-pop {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .cs-float {
    right: 14px;
    bottom: 16px;
    padding: 14px;
    border-radius: 50%;
    gap: 0;
  }
  .cs-float span { display: none; }
}


/* ==========================================================================
   首页：AI 视频生成专区
   ========================================================================== */

.aiv-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.aiv-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 30px; }
.aiv-feat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; transition: transform .2s ease, box-shadow .2s ease; }
.aiv-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.aiv-feat b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.aiv-feat span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.aiv-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.aiv-price-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.aiv-price-note b { color: var(--primary); }

.aiv-visual { position: relative; }
.aiv-mock {
  position: relative;
  background: linear-gradient(160deg, #061536 0%, #0b2560 58%, #0a3c74 100%);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.aiv-mock::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.aiv-mock-inner { position: relative; }
.aiv-player {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.aiv-play {
  width: 58px; height: 58px; border-radius: 50%;
  background: #fff; color: var(--primary);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.aiv-visual:hover .aiv-play { transform: scale(1.08); }
.aiv-play svg { width: 24px; height: 24px; margin-left: 3px; }
.aiv-prompt {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}
.aiv-prompt b { color: #7dd3fc; font-weight: 600; }
.aiv-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.aiv-tags span {
  font-size: 11.5px; color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 4px 12px;
}

@media (max-width: 980px) {
  .aiv-wrap { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 560px) {
  .aiv-feats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   首页：全宽轮播广告
   ========================================================================== */

.promo { position: relative; overflow: hidden; background: var(--bg-deep); }
.promo-track { display: flex; transition: transform .65s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.promo-slide { flex: 0 0 100%; position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; }
.promo-slide::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
}
.promo-slide { background-size: cover; background-position: center right; background-repeat: no-repeat; }
.promo-1 { background-image: linear-gradient(90deg, rgba(7,28,71,.94) 0%, rgba(7,28,71,.78) 42%, rgba(7,28,71,.30) 100%), url('../img/banner-ai.jpg'); }
.promo-2 { background-image: linear-gradient(90deg, rgba(24,20,66,.94) 0%, rgba(33,30,96,.78) 42%, rgba(49,46,129,.30) 100%), url('../img/banner-dev.jpg'); }
.promo-3 { background-image: linear-gradient(90deg, rgba(5,32,18,.94) 0%, rgba(6,68,52,.78) 42%, rgba(13,102,92,.30) 100%), url('../img/banner-cloud.jpg'); }

.promo-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: calc(var(--header-h) + 54px) 24px 62px; width: 100%; }
.promo-text { max-width: 680px; color: #fff; }
.promo-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(6px); color: #fff;
}
.promo-text h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; line-height: 1.25; margin: 18px 0 14px; letter-spacing: -.01em; }
.promo-text p { font-size: 16px; color: rgba(255,255,255,.84); margin-bottom: 26px; }
.promo-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.promo-price { font-size: 14.5px; color: rgba(255,255,255,.82); }
.promo-price b { color: #fde68a; font-size: 20px; font-weight: 800; }
.promo-art { font-size: 120px; line-height: 1; opacity: .92; filter: drop-shadow(0 14px 34px rgba(0,0,0,.4)); }

.promo-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 22px; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .2s ease; z-index: 3;
}
.promo-arrow:hover { background: rgba(255,255,255,.32); }
.promo-arrow.prev { left: 18px; }
.promo-arrow.next { right: 18px; }

.promo-dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.promo-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.42); border: none; padding: 0;
  cursor: pointer; transition: all .25s ease;
}
.promo-dots button.on { width: 30px; border-radius: 5px; background: #fff; }

@media (max-width: 900px) {
  .promo-art { display: none; }
  .promo-slide { min-height: 340px; }
  .promo-inner { padding: 44px 24px 60px; }
  .promo-arrow { display: none; }
  .promo-text h2 { font-size: 26px; }
}

/* ==========================================================================
   首页：企业资质代办与咨询
   ========================================================================== */

.qual-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.qual-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease;
}
.qual-col:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.qual-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.qual-head .em {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px;
  background: var(--grad); color: #fff; font-size: 26px;
  display: grid; place-items: center; box-shadow: 0 10px 22px rgba(30,86,214,.26);
}
.qual-head h3 { font-size: 19px; color: var(--ink); margin-bottom: 5px; }
.qual-head p { font-size: 13px; color: var(--muted); }
.qual-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.qual-list li {
  background: var(--bg-soft); border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 12px 14px; transition: all .2s ease;
}
.qual-list li:hover { background: #fff; border-color: var(--primary); transform: translateX(3px); }
.qual-list li b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; font-weight: 600; }
.qual-list li span { font-size: 12px; color: var(--muted); }
.qual-note { text-align: center; margin-top: 34px; }
.qual-note .btn { margin: 0 6px 10px; }

@media (max-width: 900px) {
  .qual-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .qual-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   建筑资质代办落地页（zizhi.html）
   ========================================================================== */

.page-hero--center { text-align: center; }
.page-hero .lead {
  max-width: 820px; margin: 20px auto 0;
  font-size: 16.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.82);
}
/* 避免「新办 · 升级 · 增项 · 延期 · 转让」这类并列词被拆行 */
.page-hero .lead b { white-space: nowrap; }
.page-hero .hero-actions {
  margin-top: 30px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.page-hero .hero-tags {
  margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.page-hero .hero-tags span {
  padding: 7px 15px; border-radius: 999px; font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* 资质类别标签墙 */
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip-grid .chip {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2);
  transition: all .2s ease;
}
.chip-grid .chip:hover { border-color: var(--primary); color: var(--primary); background: #fff; }

/* 材料清单两栏 */
.mat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mat-grid .qual-list { grid-template-columns: 1fr; }

/* 常见问题折叠 */
.faq { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 22px;
  font-size: 15.5px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--primary); line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--primary); }
.faq-item .faq-a { padding: 0 22px 19px; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.faq-item .faq-a b { color: var(--ink-2); }

@media (max-width: 900px) {
  .mat-grid { grid-template-columns: 1fr; }
}

/* 业绩统计口径说明 */
.stats-note {
  margin-top: 18px; text-align: center;
  font-size: 12.5px; color: var(--muted-2); line-height: 1.7;
}

/* ==========================================================================
   文章正文增强（要点框 / 表格 / 图注）—— 让文章更好读
   ========================================================================== */

/* 要点提示框 */
.article-body .note {
  background: var(--bg-soft);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
}
.article-body .note b { color: var(--ink); }
.article-body .note.warn { border-left-color: #f59e0b; background: #fffbeb; }

/* 正文表格 */
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 4px 0 22px; font-size: 14.5px;
}
.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 10px 13px; text-align: left; vertical-align: top;
  line-height: 1.7;
}
.article-body th { background: var(--bg-soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
.article-body td { color: #334155; }

/* 图片说明与署名 */
.article-body .img-cap {
  display: block; text-align: center;
  font-size: 12.5px; color: var(--muted-2);
  margin: -10px 0 24px; line-height: 1.7;
}

/* 二级小标题下的列表更紧凑 */
.article-body h2 + p { margin-top: 0; }

/* 有序列表（步骤类内容） */
.article-body ol { margin: 0 0 20px; padding-left: 26px; }
.article-body ol li { margin-bottom: 10px; line-height: 1.85; color: #334155; list-style: decimal; }
.article-body ol li::marker { color: var(--primary); font-weight: 700; }

/* 列表卡片使用真实配图作封面时，去掉网格纹理叠层 */
.news-thumb--photo::after { display: none; }

@media (max-width: 640px) {
  .article-body table { font-size: 13.5px; }
  .article-body th,
  .article-body td { padding: 8px 10px; }
}

/* ==========================================================================
   顶部导航：分类下拉菜单
   ========================================================================== */

.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-item .caret {
  width: 11px; height: 11px; flex-shrink: 0;
  transition: transform .22s ease;
}
.nav-item:hover .caret { transform: rotate(180deg); }

.nav-drop {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 214px; padding: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 60;
}
/* 悬停缓冲带：鼠标从导航移到面板的途中不会断开 */
.nav-drop::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.nav-item:hover .nav-drop {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop a {
  display: block; padding: 9px 14px; border-radius: 9px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nav-drop a:hover { background: var(--bg-soft); color: var(--primary); }
.nav-drop a.is-key { font-weight: 600; color: var(--primary); }
.nav-drop .drop-sep { height: 1px; background: var(--line); margin: 6px 8px; }

@media (max-width: 768px) {
  .nav-item { display: block; width: 100%; }
  .nav-item > .nav-link { justify-content: center; }
  .nav-item .caret { display: none; }
  .nav-drop {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: 0; box-shadow: none;
    padding: 0; min-width: 0; margin-top: 2px;
  }
  .nav-drop::before { display: none; }
  .nav-drop a {
    font-size: 15px; color: rgba(255, 255, 255, 0.68);
    text-align: center; padding: 5px 14px;
  }
  .nav-drop a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
  .nav-drop a.is-key { color: var(--accent-2); }
  .nav-drop .drop-sep { background: rgba(255, 255, 255, 0.14); margin: 6px auto; width: 60%; }
}

/* ==========================================================================
   首页：AI 视频生成入口卡片（原来的大板块已收成一个跳转入口）
   ========================================================================== */

.ai-entry {
  display: flex; align-items: center; gap: 26px;
  padding: 30px 34px;
  border-radius: var(--radius);
  background:
    radial-gradient(700px 300px at 88% -30%, rgba(6, 182, 212, 0.34), transparent 62%),
    linear-gradient(135deg, #071c47 0%, #0b2560 58%, #0a3c74 100%);
  color: #fff; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ai-entry:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(7, 28, 71, 0.28); }
.ai-entry-ico {
  width: 66px; height: 66px; flex-shrink: 0; border-radius: 18px;
  display: grid; place-items: center; font-size: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
}
.ai-entry-body { flex: 1; min-width: 0; }
.ai-entry-tag {
  display: inline-block; padding: 4px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ai-entry-body h2 { font-size: 22px; color: #fff; margin: 10px 0 8px; }
.ai-entry-body p { font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.76); }
.ai-entry-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 13px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78);
}
.ai-entry-meta b { color: #fff; }
.ai-entry-go {
  flex-shrink: 0; padding: 12px 24px; border-radius: 999px;
  background: #fff; color: var(--primary);
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
}

@media (max-width: 860px) {
  .ai-entry { flex-direction: column; align-items: stretch; text-align: center; gap: 18px; padding: 26px 22px; }
  .ai-entry-ico { margin: 0 auto; }
  .ai-entry-meta { justify-content: center; }
  .ai-entry-go { text-align: center; }
}

/* ==========================================================================
   服务与报价 / 合规页面用的表格与版式
   ========================================================================== */

.price-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.price-table th,
.price-table td {
  border: 1px solid var(--line);
  padding: 12px 15px; text-align: left; vertical-align: top; line-height: 1.7;
}
.price-table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
.price-table td { color: #334155; }
.price-table .num { font-weight: 700; color: var(--primary); white-space: nowrap; }
.price-table .cat { font-weight: 600; color: var(--ink); white-space: nowrap; }

.price-block { margin-bottom: 40px; }
.price-block > h3 {
  font-size: 18px; color: var(--ink); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.price-block > h3 .pm {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px;
  background: var(--grad); color: #fff; font-size: 15px;
  display: grid; place-items: center;
}

/* 合规类长文（服务协议 / 隐私政策等） */
.legal { max-width: 860px; margin: 0 auto; color: var(--ink-2); font-size: 15.5px; }
.legal h2 { font-size: 19px; color: var(--ink); margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; line-height: 1.9; color: #334155; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 24px; display: grid; gap: 9px; }
.legal ul li { list-style: disc; line-height: 1.85; color: #334155; }
.legal ol li { list-style: decimal; line-height: 1.85; color: #334155; }
.legal li::marker { color: var(--primary); }
.legal .legal-meta {
  font-size: 13.5px; color: var(--muted-2);
  padding-bottom: 18px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.legal .note {
  background: var(--bg-soft); border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm); padding: 15px 18px;
  margin: 0 0 18px; font-size: 14.5px; line-height: 1.85;
}

/* 反诈/防骗提醒条 */
.risk-bar {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: var(--radius-sm); padding: 15px 18px;
  font-size: 14px; line-height: 1.8; color: #78350f;
  margin-bottom: 26px;
}
.risk-bar b { color: #92400e; }

/* 页脚底部：合规页面入口 */
.footer-legal-links {
  display: inline-flex; flex-wrap: wrap;
  gap: 8px 18px; align-items: center;
}
.footer-legal-links a {
  font-size: 13px; color: rgba(255, 255, 255, 0.62);
  transition: color .18s ease;
}
.footer-legal-links a:hover { color: #fff; }

/* 备案信息：ICP 备案 + 公安联网备案 */
.footer-bottom .icp {
  display: inline-flex; align-items: center;
  gap: 6px 16px; flex-wrap: wrap;
}
.footer-bottom .icp a {
  display: inline-flex; align-items: center;
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
  transition: color .18s ease;
}

@media (max-width: 768px) {
  .footer-legal-links { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom .icp { justify-content: center; }
}

/* ==========================================================================
   中窄屏导航：769–960px 区间 8 个导航项放不下（链接文字会被压成两行），
   因此提前到 900px 就收起为汉堡菜单。
   ========================================================================== */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 28, 71, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    z-index: -1;
  }
  .nav.open .nav-link { font-size: 22px; color: #fff; }
  .nav.open .nav-link.active { color: var(--accent-2); }
}
