/* 水木春城科技传媒官网 · 全局样式
   品牌色：深蓝 #0B1E4F / 科技青 #00D4FF（文字用 #007AA3）/ 辅助紫 #7C3AFF
   约束：不引第三方字体与图标库，全部系统字体；正文移动端 >=16px */

:root {
  --navy: #0B1E4F;
  --navy-2: #142B66;
  --cyan: #00D4FF;
  --cyan-text: #007AA3;
  --purple: #7C3AFF;
  --bg: #F5F7FC;
  --card: #FFFFFF;
  --text: #1A2233;
  --muted: #5A6478;
  --line: #C9D6EC;
  --limit: #8A6A12;
  --radius: 12px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

a { color: var(--cyan-text); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--cyan-text); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 99;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; display: block; border-radius: 7px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 1px; color: var(--navy); }
.brand-sub { font-size: 11px; letter-spacing: 3px; color: var(--muted); margin-top: 3px; }

.nav-details { flex: 0 0 auto; }
.nav-details > summary { display: none; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 2px; }
.main-nav a {
  display: inline-block;
  padding: 10px 11px;
  font-size: 15px;
  color: var(--text);
  border-radius: 8px;
  min-height: 44px;
  line-height: 24px;
}
.main-nav a:hover { background: #EEF3FB; text-decoration: none; color: var(--navy); }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--cyan-text); }

/* ---------- 首屏 ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #102a63 62%, #1B2E6B 100%);
  color: #fff;
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,255,.34), rgba(124,58,255,0) 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 36px; line-height: 1.32; margin: 0 0 16px; letter-spacing: .5px; color: #FFFFFF; }
.hero .lede { font-size: 17px; color: #D7E2F7; margin: 0 0 26px; max-width: 34em; }
.hero .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: var(--cyan); border: 1px solid rgba(0,212,255,.45);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-size: 16px; font-weight: 600; min-height: 48px; line-height: 22px;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--cyan); color: #06203F; border-color: var(--cyan); }
.btn-primary:hover { background: #38DEFF; text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; text-decoration: none; }
.btn-sm { padding: 9px 16px; font-size: 15px; min-height: 44px; }

/* 首屏五步链（纯 HTML/CSS，不用图片） */
.chain { background: rgba(255,255,255,.05); border: 1px solid rgba(0,212,255,.28); border-radius: 14px; padding: 18px; }
.chain-title { font-size: 13px; letter-spacing: 2px; color: var(--cyan); margin: 0 0 12px; }
.chain ol { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.chain li {
  position: relative; padding: 9px 0 9px 40px; color: #E6EDFA; font-size: 15px;
  border-bottom: 1px dashed rgba(201,214,236,.24);
}
.chain li:last-child { border-bottom: 0; }
.chain li::before {
  counter-increment: c; content: counter(c);
  position: absolute; left: 0; top: 11px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--cyan); color: var(--cyan);
  font-size: 12px; line-height: 22px; text-align: center;
}
.chain li b { color: #fff; font-weight: 600; }

/* ---------- 通用区块 ---------- */
.section { padding: 52px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: 26px; line-height: 1.4; color: var(--navy); margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; max-width: 46em; }
.eyebrow { font-size: 13px; letter-spacing: 2px; color: var(--cyan-text); font-weight: 600; margin: 0 0 8px; }

/* 证据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat-num { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-num small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.stat p { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* 卡片网格 */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative;
}
.card h3 { font-size: 18px; margin: 0 0 10px; color: var(--navy); line-height: 1.5; }
.card p { margin: 0 0 10px; font-size: 15px; color: var(--text); }
.card .meta { font-size: 13px; color: var(--muted); margin: 0; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; }
.card-quote { border-left: 3px solid var(--cyan-text); padding-left: 16px; }
.card-price { font-size: 26px; font-weight: 700; color: var(--navy); margin: 4px 0 2px; }
.card-price small { font-size: 14px; font-weight: 500; color: var(--muted); }

/* 页内标题与正文 */
h1 { color: var(--navy); }
h2 { color: var(--navy); font-size: 24px; line-height: 1.45; margin: 40px 0 14px; }
h3 { color: var(--navy); font-size: 18px; line-height: 1.55; margin: 26px 0 10px; }
h4 { color: var(--navy); font-size: 16px; margin: 20px 0 8px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 1.4em; }
li { margin-bottom: 8px; }
strong { color: var(--navy); }

/* 页头（内页） */
.page-head {
  background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 30px;
}
.page-head h1 { font-size: 30px; line-height: 1.4; margin: 0 0 12px; }
.page-head .lede { font-size: 17px; color: var(--muted); margin: 0; max-width: 44em; }
.page-meta { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.page-meta span + span::before { content: "·"; margin: 0 8px; color: var(--line); }

/* 面包屑 */
.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* 布局：正文 + 侧栏 */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding: 40px 0 56px; }
.layout > * { min-width: 0; }
.prose { max-width: none; }
.prose > p,
.prose > ul,
.prose > ol,
.prose > h2,
.prose > h3,
.prose > h4,
.prose > blockquote,
.prose > .verdict,
.prose > .note,
.prose > .fit,
.prose > .faq-item,
.prose > form,
.prose > .price-row { max-width: 46em; }
.prose > .table-wrap { max-width: 100%; }
.prose h2:first-child { margin-top: 0; }
@media (min-width: 1040px) {
  .prose > .table-wrap { width: 100%; }
}
.aside { position: sticky; top: 20px; }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.aside-box h2, .aside-box h3 { font-size: 15px; margin: 0 0 10px; letter-spacing: .5px; }
.aside-box ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.aside-box li { margin-bottom: 8px; }

/* 表格 */
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
caption { text-align: left; font-size: 14px; color: var(--muted); padding: 12px 16px 0; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #E3EAF7; }
/* 首列多为序号 + 短标签，给个下限避免「挖优/势」这种拆字 */
td:first-child { min-width: 5.2em; }
thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; border-bottom: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { background: #F2F6FD; color: var(--navy); font-weight: 600; }
td.num { white-space: nowrap; }

/* 结论块 / 提示块 */
.verdict {
  background: #F0F8FC; border: 1px solid #BEE4F1; border-left: 4px solid var(--cyan-text);
  border-radius: 8px; padding: 16px 18px; margin: 0 0 20px;
}
.verdict p:last-child { margin-bottom: 0; }
.note {
  background: #FFFBF0; border: 1px solid #EBDCB4; border-left: 4px solid var(--limit);
  border-radius: 8px; padding: 14px 18px; margin: 0 0 20px; font-size: 15px;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--limit); }
.limit-inline { color: var(--limit); }

/* 价格行 */
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.price-row .p { font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.price-row .u { font-size: 15px; color: var(--muted); }

/* 适合 / 不适合 两栏，同等字号 */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 22px; }
.fit > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.fit h3 { font-size: 16px; margin: 0 0 8px; }
.fit ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.fit .no h3 { color: #8C3A2E; }

/* 时间轴 */
.timeline { list-style: none; margin: 0 0 20px; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; margin-bottom: 18px; }
.timeline li::before {
  content: ""; position: absolute; left: -29px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  border: 2px solid var(--cyan-text);
}
.timeline b { display: block; color: var(--navy); }

/* FAQ */
.faq-group { margin-bottom: 34px; }
.faq-group > h2 { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; }
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p:last-child { margin-bottom: 0; }
details.faq-item summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 17px; list-style: none; min-height: 28px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "＋"; float: right; color: var(--cyan-text); }
details.faq-item[open] summary::after { content: "－"; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* 列表页条目 */
.entry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 14px; }
.entry h2, .entry h3 { margin: 0 0 8px; font-size: 19px; }
.entry .meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.entry p { margin: 0 0 8px; font-size: 15px; }
.tag {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px;
  background: #EAF6FB; color: var(--cyan-text); border: 1px solid #C7E7F3; margin-right: 6px;
}

/* 表单 */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: var(--font);
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text);
  min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.form-status { font-size: 14px; margin-top: 10px; }

/* CTA 段 */
.cta-band { background: var(--navy); color: #fff; padding: 44px 0; }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { color: #D7E2F7; margin: 0 0 20px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* 页脚 */
.site-footer { background: #081737; color: #C3CFE6; padding: 44px 0 24px; font-size: 14px; border-top: 1px solid rgba(201,214,236,.22); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 28px; margin-bottom: 28px; }
.site-footer h2 { color: #fff; font-size: 14px; letter-spacing: 1px; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #C3CFE6; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 8px; line-height: 1.7; }
.footer-legal { border-top: 1px solid rgba(201,214,236,.2); padding-top: 18px; font-size: 13px; color: #94A3C0; }
.footer-legal p { margin: 0 0 6px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer .brand-mark { border-radius: 8px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8FA1C4; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-details { position: relative; }
  .nav-details > summary {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    list-style: none; min-height: 44px; min-width: 44px; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 8px; font-size: 15px; color: var(--navy);
  }
  .nav-details > summary::-webkit-details-marker { display: none; }
  .nav-details > summary::before {
    content: ""; width: 16px; height: 2px; background: var(--navy);
    box-shadow: 0 5px 0 var(--navy), 0 -5px 0 var(--navy);
  }
  .main-nav {
    display: none; position: absolute; right: 0; top: calc(100% + 8px);
    flex-direction: column; flex-wrap: nowrap; width: 200px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 12px 28px rgba(11, 30, 79, .14); z-index: 30;
  }
  .nav-details[open] > .main-nav { display: flex; }
  .main-nav a { display: block; padding: 11px 12px; font-size: 15px; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan-text); background: #F2F6FD; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 26px; }
  .hero .lede { font-size: 16px; }
  .section { padding: 38px 0; }
  .section-head h2 { font-size: 21px; }
  .stats { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 23px; }
  h2 { font-size: 20px; }
  h3 { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  table { font-size: 13.5px; min-width: 0; }
  table:has(thead th:nth-child(4)) { min-width: 470px; }
  th, td { padding: 10px 9px; }
  .table-wrap { border-radius: 10px; }
  .price-row .p { font-size: 28px; }
}

@media print {
  .site-header, .site-footer, .cta-band, .hero-actions { display: none; }
  body { background: #fff; }
}

/* 联系卡片（2026-11-07 加入，用于联系页展示真实电话与地址） */
.contact-card { border: 1px solid var(--line); border-radius: 14px; background: #F7F9FD; padding: 26px 28px; margin: 20px 0 8px; }
.contact-card dl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px 18px; margin: 0; }
.contact-card dt { color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-card dd { margin: 0; color: var(--navy); font-size: 17px; font-weight: 600; line-height: 1.7; word-break: break-word; }
.contact-card dd a { color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--cyan); }
.contact-card dd a:hover { text-decoration: none; color: var(--cyan-text); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 480px) {
  .contact-card { padding: 20px 18px; }
  .contact-card dl { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .contact-card dd { font-size: 16px; }
}
