/* ============================================================
   绍兴逸窗信息技术有限公司 官网样式
   色板：深蓝 #0A2747 / 主蓝 #14508C / 亮蓝 #2E9BD6 / 浅底 #F5F8FC
   ============================================================ */
:root {
  --navy-900: #0a2747;
  --navy-800: #0b3b66;
  --primary: #14508c;
  --primary-600: #1a5fa8;
  --accent: #2e9bd6;
  --accent-soft: #e8f4fd;
  --bg: #f5f8fc;
  --ink: #1c2b3a;
  --muted: #5e7085;
  --line: #e3eaf2;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(10, 39, 71, .06), 0 4px 14px rgba(10, 39, 71, .05);
  --shadow-md: 0 6px 24px rgba(10, 39, 71, .10);
  --radius: 12px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { 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);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 8px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: all .22s ease; white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #eaf4ff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn-block { width: 100%; }
.btn-danger-ghost { background: transparent; color: #c0392b; border-color: #e8c4c0; }
.btn-danger-ghost:hover { background: #fdf1f0; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--primary);
  font-weight: 600; font-size: 15px;
}
.text-link:hover { color: var(--accent); gap: 9px; transition: gap .2s; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; color: var(--navy-900); letter-spacing: .5px; }
.brand-text small { font-size: 11px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink);
  font-weight: 500; transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--primary); background: var(--accent-soft); }
.site-nav a.active { color: var(--primary); font-weight: 600; background: var(--accent-soft); }
.site-nav .nav-cta {
  margin-left: 10px; background: var(--primary); color: #fff !important;
  font-weight: 600; padding: 9px 20px;
}
.site-nav .nav-cta:hover { background: var(--primary-600); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a2747 0%, #0b3b66 55%, #14508c 100%);
  color: #fff; padding: 84px 0 90px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { width: 100%; height: 100%; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; letter-spacing: 1px; color: #9fd0ef;
  border: 1px solid rgba(158, 208, 239, .35); border-radius: 100px;
  padding: 6px 14px; margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-title {
  font-size: 42px; line-height: 1.28; font-weight: 700; letter-spacing: .5px;
  white-space: pre-line; margin-bottom: 18px;
}
.hero-sub { font-size: 17px; color: #cfe4f5; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 26px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 28px; color: #fff; line-height: 1.2; }
.hero-stat span { font-size: 13px; color: #9fd0ef; }
.hero-visual { display: flex; justify-content: center; }
.hero-window { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .30)); }

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-eyebrow { font-size: 13px; letter-spacing: 2px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.section-eyebrow.light { color: #9fd0ef; }
.section-head h2 { font-size: 32px; color: var(--navy-900); letter-spacing: .5px; }
.section-head .section-lead { margin-top: 14px; color: var(--muted); font-size: 16px; }

.card-grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.advantage-grid { grid-template-columns: repeat(4, 1fr); }
.cases-grid { grid-template-columns: repeat(3, 1fr); }
.downloads-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- 下载卡片 ---------- */
.download-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.download-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfe3f2; }
.download-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.download-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 12px; flex: none;
  background: var(--accent-soft); color: var(--primary);
}
.download-title h3 { font-size: 17px; color: var(--navy-900); line-height: 1.4; }
.download-version {
  display: inline-block; margin-top: 5px; font-size: 12px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft);
  border-radius: 100px; padding: 2px 10px;
}
.download-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.download-tags .tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: #34506f; background: #eef4fa;
  border: 1px solid #d9e6f2; border-radius: 100px; padding: 3px 11px;
}
.download-tags .tag-accent { color: var(--primary); background: var(--accent-soft); border-color: #cfe3f4; }
.download-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 18px; }
.download-btn { align-self: flex-start; }
.download-btn svg { transition: transform .2s; }
.download-card:hover .download-btn svg { transform: translateY(2px); }

/* ---------- 下载空状态 ---------- */
.empty-state {
  max-width: 520px; margin: 0 auto; text-align: center; padding: 60px 0 10px;
}
.empty-state-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 20px; color: var(--accent);
  background: var(--accent-soft); margin-bottom: 22px;
}
.empty-state h2 { font-size: 24px; color: var(--navy-900); margin-bottom: 12px; }
.empty-state p { color: var(--muted); margin-bottom: 26px; }

/* ---------- 服务客户墙 ---------- */
.client-wall { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.client-item {
  display: inline-flex; align-items: center;
  font-size: 14.5px; font-weight: 600; color: #2c4a6b;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 10px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.client-item:hover { transform: translateY(-3px); border-color: #cfe3f2; box-shadow: var(--shadow-md); }

/* ---------- 服务卡片 ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfe3f2; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  background: var(--accent-soft); color: var(--primary); margin-bottom: 18px;
}
.service-icon.large { width: 58px; height: 58px; }
.service-card h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.service-more {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 14px; font-weight: 600;
}
.service-more svg { transition: transform .2s; }
.service-card:hover .service-more svg { transform: translateX(4px); }

/* ---------- 优势卡片 ---------- */
.advantage-card {
  background: #fff; border-radius: var(--radius); padding: 26px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.advantage-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.advantage-card h3 { font-size: 16.5px; color: var(--navy-900); margin-bottom: 8px; }
.advantage-card p { font-size: 14px; color: var(--muted); }

/* ---------- 案例卡片 ---------- */
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-cover { position: relative; height: 180px; background: linear-gradient(135deg, #0b3b66, #14508c); }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8fd0f5;
}
.case-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10, 39, 71, .78); color: #fff; font-size: 12px;
  padding: 4px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
.case-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 8px; line-height: 1.45; }
.case-body p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 14px; }
.case-meta { font-size: 13px; color: #8aa0b5; }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: grid; grid-template-columns: 110px 90px 1fr auto;
  align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 22px; transition: box-shadow .2s, border-color .2s, transform .2s;
}
.news-item:hover { box-shadow: var(--shadow-sm); border-color: #cfe3f2; transform: translateX(4px); }
.news-item time { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-item strong { font-size: 16px; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item .news-summary { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-arrow { color: var(--accent); display: inline-flex; }
.news-tag {
  justify-self: start; font-size: 12px; color: var(--primary);
  background: var(--accent-soft); border-radius: 100px; padding: 3px 10px;
}
.page-news .news-item { grid-template-columns: 110px 90px 1.1fr auto; }
.page-news .news-item strong { grid-column: 3; }
.page-news .news-summary { grid-column: 3; font-size: 13.5px; }
.page-news .news-arrow { grid-column: 4; grid-row: 1 / span 2; }

/* ---------- CTA 横带 ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--primary)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 28px; margin-bottom: 8px; }
.cta-inner p { color: #cfe4f5; font-size: 15.5px; }

/* ---------- 页头横幅 ---------- */
.page-banner {
  background: linear-gradient(135deg, #0a2747 0%, #0b3b66 60%, #14508c 100%);
  color: #fff; padding: 64px 0 58px;
}
.page-banner.slim { padding: 48px 0 42px; }
.page-banner h1 { font-size: 34px; letter-spacing: .5px; margin-bottom: 10px; }
.page-banner p:last-child { color: #cfe4f5; font-size: 15.5px; max-width: 640px; }

/* ---------- 服务详情页 ---------- */
.services-detail { display: flex; flex-direction: column; gap: 22px; }
.service-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}
.service-block-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.service-category { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: 1px; }
.service-block-head h2 { font-size: 22px; color: var(--navy-900); }
.service-detail-text { font-size: 15.5px; color: #3d4f63; margin-bottom: 18px; max-width: 900px; white-space: pre-line; line-height: 1.9; }

/* ---------- 筛选栏 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px; font-size: 14px; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty-state {
  text-align: center; padding: 70px 20px; color: var(--muted);
  background: #fff; border: 1px dashed #cfdcea; border-radius: var(--radius);
}

/* ---------- 文章（案例详情/新闻详情） ---------- */
.article-layout { max-width: 860px; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 38px; box-shadow: var(--shadow-sm);
}
.article-cover { width: 100%; max-height: 380px; object-fit: cover; border-radius: 8px; margin-bottom: 22px; }
.article-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted); margin-bottom: 24px;
}
.article-meta .case-tag { position: static; }
.article-content { font-size: 15.5px; line-height: 2; color: #33455a; white-space: pre-line; }
.article-back { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: start; }
.about-intro-copy h2 { font-size: 26px; color: var(--navy-900); line-height: 1.6; margin-bottom: 18px; font-weight: 700; }
.about-detail { font-size: 15.5px; color: #3d4f63; white-space: pre-line; }
.about-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.about-card h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--accent-soft); }
.about-card li { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px dashed #e8eef5; }
.about-card li:last-child { border-bottom: 0; }
.about-card li span { font-size: 12.5px; color: var(--muted); }
.about-card li:not(:first-child) { font-size: 14.5px; color: var(--ink); }

/* ---------- 时间轴 ---------- */
.timeline { display: flex; flex-direction: column; max-width: 860px; margin: 0 auto; }
.timeline-row {
  display: grid; grid-template-columns: 180px 40px 1fr;
  gap: 0; padding-bottom: 34px; position: relative;
}
.timeline-row:last-child { padding-bottom: 0; }
.tl-axis { position: relative; display: flex; justify-content: center; }
.tl-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
  align-self: center; z-index: 1;
}
.timeline-row::before {
  content: ""; position: absolute; left: 196px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(var(--accent-soft), var(--line));
}
.timeline-row:last-child::before { display: none; }
.tl-time { text-align: right; padding-right: 22px; align-self: center; }
.tl-time strong { color: var(--primary); font-size: 20px; letter-spacing: .5px; }
.tl-content { padding-left: 22px; padding-top: 2px; }
.tl-content h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 6px; }
.tl-content p { font-size: 14.5px; color: var(--muted); }

/* ---------- 资质徽章 ---------- */
.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.badge-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 20px; box-shadow: var(--shadow-sm);
}
.badge-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent-soft); color: var(--primary); margin-bottom: 14px;
}
.badge-card strong { font-size: 16px; color: var(--navy-900); margin-bottom: 4px; }
.badge-card span:last-child { font-size: 13px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info h2, .contact-form-card h2 { font-size: 24px; color: var(--navy-900); margin-bottom: 22px; }
.contact-list { display: flex; flex-direction: column; gap: 4px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed #e8eef5; }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: var(--accent-soft); color: var(--primary);
}
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); }
.contact-list strong { font-size: 15.5px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.contact-note {
  margin-top: 20px; font-size: 14px; color: var(--muted);
  background: var(--accent-soft); border-radius: 10px; padding: 14px 18px;
}
.contact-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; box-shadow: var(--shadow-sm);
}
.form-lead { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-900); margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid #cddae8; border-radius: 8px; background: #fbfdff;
  transition: border-color .2s, box-shadow .2s; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 155, 214, .15);
}
.form-tip { margin-top: 14px; font-size: 14px; }
.form-tip.ok { color: #1e8e5a; }
.form-tip.err { color: #c0392b; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: #b9cbe0; font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px; padding: 56px 24px 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer-about p { line-height: 1.8; max-width: 300px; }
.footer-col h4 {
  color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #b9cbe0; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; flex-direction: column; gap: 2px; }
.footer-contact span { font-size: 12px; color: #7d97b3; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #7d97b3; }
.footer-bottom a.footer-icp { color: #7d97b3; text-decoration: none; }
.footer-bottom a.footer-icp:hover { color: #fff; text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { min-height: 52vh; display: flex; align-items: center; }
.notfound-inner { text-align: center; margin: 0 auto; }
.notfound-code { font-size: 90px; font-weight: 800; color: var(--accent-soft); letter-spacing: 4px; line-height: 1; display: block; }
.notfound-inner h1 { font-size: 26px; color: var(--navy-900); margin: 10px 0 8px; }
.notfound-inner p { color: var(--muted); margin-bottom: 24px; }

/* ---------- 滚动显现（仅在 JS 可用时隐藏，保证无 JS 内容仍可见） ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-window { max-width: 380px; }
  .hero-title { font-size: 30px; }
  .hero-stats { gap: 26px; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 110px 32px 1fr; }
  .timeline-row::before { left: 126px; }
  .page-news .news-item, .news-item { grid-template-columns: 1fr; gap: 6px; }
  .page-news .news-item strong, .page-news .news-summary { grid-column: auto; }
  .page-news .news-arrow, .news-arrow { display: none; }
  .section-head.split { flex-direction: column; align-items: flex-start; }

  /* 移动端导航 */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: .25s ease;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 13px 12px; font-size: 16px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 520px) {
  .services-grid, .cases-grid, .advantage-grid, .badge-row, .downloads-grid { grid-template-columns: 1fr; }
  .client-item { padding: 8px 18px; font-size: 13px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-card { padding: 24px 20px; }
  .service-block { padding: 24px 20px; }
}
