/* ============================================================
   www.yzyrcs.com — 扬州圆融财税静态官网样式
   单文件 style.css · 移动端优先 · 蓝白主色调 · 无第三方库
   ============================================================ */

:root {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-light: #eff6ff;
  --ink: #1e293b;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --footer-bg: #0f2557;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

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

/* ---------- 头部导航 ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand { font-size: 20px; font-weight: 700; color: var(--primary-dark); }
.brand:hover { text-decoration: none; }
.brand .brand-sub {
  font-size: 12px; font-weight: 400; color: var(--ink-soft);
  margin-left: 8px; border-left: 1px solid var(--line); padding-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 12px;
  color: var(--ink);
  border-radius: 6px;
  font-size: 15px;
}
.site-nav a:hover { background: var(--primary-light); text-decoration: none; }
.site-nav .nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
}
.site-nav .nav-cta:hover { background: var(--primary-dark); }

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, #3b82f6 100%);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 34px; line-height: 1.3; margin-bottom: 16px; }
.hero-lead { font-size: 17px; opacity: .95; max-width: 720px; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 13px 26px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); text-decoration: none; }

/* ---------- 通用章节 ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 26px; margin-bottom: 10px; }
.section .lead { color: var(--ink-soft); margin-bottom: 28px; max-width: 760px; }
.center { text-align: center; margin-top: 24px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.section-alt .card { background: var(--bg); }
.card h3 { font-size: 17px; margin-bottom: 8px; color: var(--primary-dark); }
.card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 内页页头 ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 52px 0 44px;
  text-align: center;
}
.page-hero h1 { font-size: 30px; margin-bottom: 10px; }
.page-hero p { opacity: .95; max-width: 720px; margin: 0 auto; font-size: 16px; }

/* ---------- 正文内容 ---------- */
.content { max-width: 860px; margin: 0 auto; }
.content h2 { font-size: 23px; margin: 34px 0 12px; color: var(--primary-dark); }
.content h3 { font-size: 18px; margin: 22px 0 8px; }
.content p { margin-bottom: 14px; color: var(--ink-soft); }
.content strong { color: var(--ink); }

.steps { display: grid; gap: 14px; margin: 20px 0; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 16px 18px;
}
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.check-list { list-style: none; margin: 12px 0 18px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.redline {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 16px;
}
.redline h3 { margin: 0 0 6px; color: var(--primary-dark); }
.redline .num { color: #dc2626; font-weight: 700; }
.redline p { margin: 0; color: var(--ink-soft); }

.case-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0; }
@media (min-width: 760px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.case h3 { margin: 0 0 8px; color: var(--primary-dark); }
.case ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.case li { margin-bottom: 6px; }

.statement {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  margin: 16px 0;
}
.statement h3 { color: var(--primary-dark); margin-bottom: 8px; }
.statement p { color: var(--ink-soft); margin-bottom: 8px; }
.statement p:last-child { margin-bottom: 0; }

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 26px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-panel h2 { margin-bottom: 10px; }
.contact-panel p { color: var(--ink-soft); margin-bottom: 20px; }
.contact-panel .btn { font-size: 18px; padding: 15px 34px; }

.meta-line { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #cbd5e1;
  padding: 30px 0 26px;
  font-size: 14px;
  text-align: center;
}
.site-footer p { margin-bottom: 6px; }
.site-footer a { color: #93c5fd; }
.footer-disclaimer { font-size: 12px; color: #94a3b8; margin-top: 10px; }

/* ---------- 移动端导航 ---------- */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-cta { text-align: center; margin-top: 8px; }

  .hero { padding: 52px 0 48px; }
  .hero h1 { font-size: 27px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 44px 0; }
}
