/* =========================================================
   启辰优服 · 官方网站样式
   主体：苏州山笑信息技术有限公司
   配色来源：品牌标志（深蓝 / 浅灰）
   ========================================================= */

:root {
  --navy: #003366;
  --navy-2: #0a4a7f;
  --navy-soft: #e8f0f7;
  --gray: #b0b0b0;
  --gray-2: #7a828c;
  --bg: #f5f5f5;
  --white: #ffffff;
  --text: #1f2733;
  --muted: #5b6573;
  --line: #e3e7ec;
  --good: #1f7a4d;
  --warn: #b87333;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 51, 102, 0.06);
  --maxw: 1080px;
}

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

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

a {
  color: var(--navy-2);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
  text-decoration: underline;
}

img, svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--maxw), 100% - 40px);
  margin: 0 auto;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.15;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--navy);
}

.brand-name .b2 {
  color: var(--gray);
  font-weight: 700;
}

.brand-sub {
  display: block;
  font-size: 11px;
  color: var(--gray-2);
  font-weight: 400;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  background: var(--navy-soft);
  color: var(--navy);
  text-decoration: none;
}

.nav a.active {
  color: var(--navy);
  background: var(--navy-soft);
  font-weight: 700;
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 16px !important;
  border-radius: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--navy-2) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy);
  color: #dae4ee;
  margin-top: 64px;
  font-size: 14.5px;
}

.site-footer .container {
  padding: 48px 20px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

.site-footer a {
  color: #c2d3e3;
}

.site-footer a:hover {
  color: #fff;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-note {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b6c7d8;
  font-size: 12.5px;
  line-height: 1.9;
}

.footer-note .icp {
  color: #b6c7d8;
}

/* ---------- 页面头部 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #12456f 55%, #1d5c8c 100%);
  color: #fff;
  padding: 64px 0 56px;
}

.page-hero h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.page-hero p {
  color: #dce8f2;
  font-size: 17px;
  max-width: 760px;
}

.breadcrumb {
  font-size: 13px;
  color: #bcd2e6;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: #d5e5f2;
}

/* ---------- 首页 hero ---------- */
.home-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, #0d4d7f 58%, #1668a5 100%);
  color: #fff;
  padding: 84px 0 72px;
}

.home-hero .lead-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.home-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  max-width: 840px;
}

.home-hero .sub {
  font-size: 18px;
  color: #dce8f2;
  max-width: 760px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 26px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-primary {
  background: #fff;
  color: var(--navy);
}

.btn-primary:hover {
  background: #eef4f9;
  text-decoration: none;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: #d3e2ee;
  font-size: 14px;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 56px 0;
}

.section-title {
  font-size: 27px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.section-lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 760px;
  margin-bottom: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 12px;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

/* ---------- 提示框 ---------- */
.callout {
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.85;
  border: 1px solid var(--line);
  background: var(--white);
}

.callout-trust {
  background: #f0f5fa;
  border-color: #d3e2ef;
}

.callout-warn {
  background: #fdf6ef;
  border-color: #f0dfc9;
}

.callout h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-q .icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gray-2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray-2);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- 案例卡片 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.case-tag {
  display: inline-block;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 15px;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.case-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 8px;
}

.case-meta {
  color: var(--gray-2);
  font-size: 13px;
}

/* ---------- 步骤 ---------- */
.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, cjk-ideographic);
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}

.steps p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 联系页 ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.contact-card .big {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 10px 0 4px;
  word-break: break-all;
}

.contact-card .lbl {
  font-size: 13px;
  color: var(--gray-2);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 10px;
    border-radius: var(--radius-sm);
  }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
  .nav-toggle {
    display: flex;
  }
  .grid-2, .grid-3, .grid-4, .steps, .contact-cards, .footer-grid {
    grid-template-columns: 1fr;
  }
  .page-hero h1 {
    font-size: 27px;
  }
  .section {
    padding: 40px 0;
  }
  .home-hero {
    padding: 56px 0 48px;
  }
}

/* ---------- 行业动态 / 分页 ---------- */
.news-list {
  display: grid;
  gap: 16px;
}
.news-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.news-item .news-date {
  font-size: 13px;
  color: var(--gray-2);
  margin-bottom: 6px;
}
.news-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.news-item h3 a {
  color: var(--text);
  text-decoration: none;
}
.news-item h3 a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.news-item .news-cat {
  display: inline-block;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 12.5px;
  padding: 2px 10px;
  border-radius: 15px;
  margin-right: 10px;
}
.news-item p {
  color: var(--muted);
  font-size: 14.5px;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 28px 0 0;
}
.pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  cursor: pointer;
}
.pagination button:hover {
  border-color: var(--navy);
}
.pagination button.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
