/* 走进有嘉 · 一页式展示官网样式表
   配色与尺寸统一由 :root 自定义属性管理，改品牌色只需改这一处。
   目录：基础 / 导航 / 按钮 / 通用板块 / 首屏 / 概览 / 产业中心 /
         服务流程 / 项目展示 / 预约表单 / 页脚 / 弹层 / 响应式 */

:root {
  --brand: #1b3a6b;
  --brand-deep: #122a50;
  --brand-soft: #2a4f8a;
  --gold: #c8a45c;
  --gold-text: #8a6b25;
  --gold-soft: #e6d5b8;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #1f2937;
  --text-soft: #5b6678;
  --text-muted: #667085;
  --line: #e5eaf1;
  --danger: #b4453f;
  --ok: #2e7d4f;
  --shadow-sm: 0 2px 10px rgba(18, 42, 80, .06);
  --shadow-md: 0 10px 30px rgba(18, 42, 80, .12);
  --nav-h: 72px;
  --radius: 14px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui,
               -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== 基础 ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; box-shadow: 0 0 0 1px #ffffff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
#hero { scroll-margin-top: 0; }

.skip-link {
  position: fixed; top: -70px; left: 16px; z-index: 500;
  background: var(--brand); color: #fff; border-radius: 8px;
  padding: 10px 16px; font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 2px; color: var(--brand-deep); }
.brand-name-en { margin-top: 3px; font-size: 10px; letter-spacing: 3px; color: var(--text-muted); }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-list a {
  position: relative; display: inline-block; padding: 8px 2px;
  font-size: 14.5px; color: var(--text-soft); white-space: nowrap;
  transition: color .2s;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-text); transform: scaleX(0); transition: transform .2s;
}
.nav-list a:hover, .nav-list a.is-active { color: var(--brand); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 9px 20px; font-size: 14px; }

.nav-toggle { display: none; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 9px;
  padding: 12px 26px; font-size: 15px; font-weight: 600; line-height: 1.3;
  text-align: center;
  transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(27, 58, 107, .2); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-gold { background: var(--gold); color: #2a2111; }
.btn-gold:hover { background: #d8b877; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: #eef2f9; }
.btn-block { width: 100%; }

/* ===== 通用板块 ===== */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.eyebrow {
  margin-bottom: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; color: var(--gold-text);
}
.eyebrow-light { color: #f0d49b; }
.section-title {
  font-size: clamp(26px, 3vw, 36px); font-weight: 700;
  line-height: 1.35; letter-spacing: .5px; color: var(--brand-deep);
}
.section-lead { margin-top: 14px; font-size: 16px; color: var(--text-soft); }
.notice {
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 18px 20px; font-size: 14px; line-height: 1.8; color: var(--text-soft);
}

/* ===== 首屏 ===== */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 660px; overflow: hidden; background: var(--brand-deep);
  padding: calc(var(--nav-h) + 56px) 0 64px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg,
    rgba(9, 22, 46, .92) 0%, rgba(12, 28, 58, .80) 46%, rgba(12, 28, 58, .55) 100%);
}
.hero-inner { position: relative; z-index: 2; color: #fff; }
.hero-title {
  font-size: clamp(34px, 5vw, 60px); font-weight: 700;
  line-height: 1.2; letter-spacing: 2px; text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}
.hero-slogan {
  margin-top: 18px; font-size: clamp(17px, 2vw, 22px);
  font-weight: 600; letter-spacing: 4px; color: #f0d49b;
}
.hero-desc {
  margin-top: 22px; max-width: 660px;
  font-size: 15.5px; line-height: 1.9; color: rgba(255, 255, 255, .88);
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust-list { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-list li {
  border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .1);
  border-radius: 999px; padding: 6px 16px;
  font-size: 13px; letter-spacing: .5px; color: #fff;
}

/* ===== 园区概览 ===== */
.section-overview { background: var(--card); }
.overview-layout { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: start; }
.overview-copy p { margin-bottom: 18px; font-size: 15.5px; line-height: 1.95; color: var(--text-soft); }
.overview-figure {
  margin-top: 30px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
}
.overview-figure img { width: 100%; height: auto; aspect-ratio: 640 / 196; object-fit: cover; }
.overview-figure figcaption { padding: 10px 16px; font-size: 12.5px; color: var(--text-muted); }
.overview-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fact-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; transition: border-color .2s, transform .2s;
}
.fact-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.fact-index {
  display: block; margin-bottom: 10px; font-size: 12px;
  font-weight: 700; letter-spacing: 2px; color: var(--gold-text);
}
.fact-card h3 { margin-bottom: 8px; font-size: 16.5px; color: var(--brand-deep); }
.fact-card p { font-size: 13.5px; line-height: 1.75; color: var(--text-soft); }

/* ===== 十大产业中心 ===== */
.section-centers { background: var(--bg); }
.filter-bar {
  margin-bottom: 28px; padding: 20px 22px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 18px; background: #fff; color: var(--text-soft);
  font-size: 14px; line-height: 1.4;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-count { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }

.centers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.center-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.center-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft);
}
.center-card-media { position: relative; aspect-ratio: 640 / 400; overflow: hidden; background: var(--brand-deep); }
.center-card-img { width: 100%; height: 100%; object-fit: cover; }
.center-card-body { flex: 1; display: flex; flex-direction: column; padding: 20px 20px 22px; }
.center-card-industry {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 12px; padding: 4px 10px; border-radius: 6px;
  background: #eef2f9; color: var(--brand); font-size: 12px; font-weight: 600; letter-spacing: .5px;
}
.center-icon { width: 16px; height: 16px; object-fit: contain; }
.center-card-title { margin-bottom: 10px; font-size: 17px; line-height: 1.45; color: var(--brand-deep); }
.center-card-summary { margin-bottom: 16px; font-size: 13.5px; line-height: 1.8; color: var(--text-soft); }
.center-card-list { margin-top: auto; display: grid; gap: 7px; padding-top: 14px; border-top: 1px dashed var(--line); }
.center-card-list li {
  position: relative; padding-left: 16px;
  font-size: 13px; line-height: 1.65; color: var(--text-soft);
}
.center-card-list li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.empty-state { padding: 48px 20px; text-align: center; font-size: 15px; color: var(--text-muted); }

/* ===== 服务流程 ===== */
.section-advantage { background: var(--card); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step-card {
  padding: 26px 22px 24px;
  background: var(--bg); border: 1px solid var(--line);
  border-top: 3px solid var(--brand); border-radius: var(--radius);
}
.step-no {
  display: block; margin-bottom: 14px; font-size: 26px; font-weight: 700;
  line-height: 1; letter-spacing: 1px; color: var(--gold-text);
}
.step-card h3 { margin-bottom: 10px; font-size: 17px; color: var(--brand-deep); }
.step-card p { font-size: 13.5px; line-height: 1.8; color: var(--text-soft); }
.advantage-note {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  margin-top: 28px; padding: 28px 30px;
  background: linear-gradient(120deg, #eef2f9 0%, #f8fafc 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.advantage-badge {
  display: inline-block; margin-bottom: 12px; padding: 5px 14px;
  border-radius: 6px; background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
}
.advantage-note-copy p { font-size: 14px; line-height: 1.9; color: var(--text-soft); }
.advantage-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.advantage-tags li {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; text-align: center; font-size: 13px; color: var(--brand-deep);
}

/* ===== 项目展示 ===== */
.section-showcase { background: var(--bg); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.showcase-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.showcase-media { aspect-ratio: 640 / 400; overflow: hidden; background: var(--brand-deep); }
.showcase-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.showcase-card:hover .showcase-img { transform: scale(1.04); }
.showcase-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.showcase-title { margin-bottom: 10px; font-size: 17.5px; line-height: 1.45; color: var(--brand-deep); }
.showcase-desc { font-size: 13.5px; line-height: 1.8; color: var(--text-soft); }
.showcase-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.showcase-tag { padding: 3px 9px; border-radius: 5px; background: #eef2f9; color: var(--brand); font-size: 11.5px; }
.showcase-tag-accent { background: #f8f0dc; color: #7a5c1c; }
.showcase-more {
  align-self: flex-start; margin-top: auto;
  padding: 8px 18px; border: 1px solid var(--brand); border-radius: 8px;
  background: #fff; color: var(--brand); font-size: 13.5px; font-weight: 600;
  transition: background-color .2s, color .2s;
}
.showcase-more:hover { background: var(--brand); color: #fff; }

/* ===== 考察预约 ===== */
.section-appointment { background: var(--card); }
.appointment-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.appointment-copy { max-width: 560px; }
.appointment-lead { margin-top: 18px; font-size: 15.5px; line-height: 1.9; color: var(--text-soft); }
.appointment-notice {
  margin-top: 28px; padding: 18px 20px;
  background: #f8f4ea; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0;
}
.appointment-notice strong { display: block; margin-bottom: 8px; font-size: 14px; color: var(--brand-deep); }
.appointment-notice p { font-size: 13.5px; line-height: 1.85; color: var(--text-soft); }
.appointment-points { display: grid; gap: 10px; margin-top: 26px; }
.appointment-points li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text-soft); }
.appointment-points li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }

.appointment-form-wrap {
  padding: 30px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.lead-form { display: grid; gap: 18px; }
.form-title { margin-bottom: 2px; font-size: 20px; color: var(--brand-deep); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--brand-deep); }
.required { color: var(--danger); }
.optional { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; font-size: 14.5px; line-height: 1.6;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27, 58, 107, .12); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field-error { font-size: 12.5px; line-height: 1.5; color: var(--danger); }
.form-actions { display: grid; gap: 10px; margin-top: 4px; }
.form-result {
  padding: 12px 14px; border: 1px solid #f3d5d3; border-radius: 9px;
  background: #fdeeee; color: var(--danger); font-size: 13.5px; line-height: 1.7;
}
.form-result.is-ok { background: #eef7f1; border-color: #cfe7d8; color: var(--ok); }
.copy-fallback { display: grid; gap: 8px; }
.copy-fallback label { font-size: 13px; color: var(--text-soft); }
.copy-fallback textarea {
  width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; font-size: 13px; line-height: 1.6; resize: vertical;
}
.form-footnote { font-size: 12.5px; line-height: 1.7; color: var(--text-muted); }

/* ===== 页脚 ===== */
.site-footer { padding-top: 54px; background: #fff; border-top: 1px solid var(--line); }
.footer-layout { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-logo { flex-shrink: 0; width: 48px; height: 48px; object-fit: contain; }
.footer-name { font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--brand-deep); }
.footer-name span { margin-left: 6px; font-size: 11px; font-weight: 500; letter-spacing: 2px; color: var(--text-muted); }
.footer-desc { margin-top: 8px; font-size: 13px; color: var(--text-soft); }
.footer-qr { text-align: center; }
.footer-qr img {
  width: 96px; height: 96px; margin: 0 auto 8px; padding: 5px;
  object-fit: contain; border: 1px solid var(--line); border-radius: 8px;
}
.footer-qr p { font-size: 12.5px; color: var(--text-muted); }
.footer-legal-title { margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--brand-deep); }
.footer-link {
  display: inline-block; margin-right: 14px; padding: 0;
  border: none; background: none; color: var(--brand);
  font-size: 13px; text-decoration: underline; text-underline-offset: 3px;
}
.footer-link:hover { color: var(--gold-text); }
.pending-note {
  padding: 2px 7px; border-radius: 4px;
  background: var(--bg); color: var(--text-muted); font-size: 11.5px;
}
.footer-meta { margin-top: 12px; font-size: 12.5px; color: var(--text-muted); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line);
}
.footer-bottom p { font-size: 12.5px; color: var(--text-muted); }

/* ===== 弹层 ===== */
.app-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: 86vh; padding: 0;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); color: var(--text);
  box-shadow: 0 24px 70px rgba(9, 22, 46, .28); overflow: auto;
}
.app-dialog::backdrop { background: rgba(10, 22, 44, .66); backdrop-filter: blur(2px); }
.detail-dialog { width: min(600px, calc(100vw - 32px)); }
.dialog-inner { position: relative; padding-bottom: 26px; }
.dialog-close {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--brand-deep);
  font-size: 22px; line-height: 1; box-shadow: var(--shadow-sm);
}
.dialog-close:hover { background: var(--gold-text); color: #fff; }
.dialog-cover { width: 100%; height: auto; aspect-ratio: 640 / 300; object-fit: cover; background: var(--brand-deep); }
.dialog-eyebrow { padding: 22px 28px 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--gold-text); }
.dialog-title { padding: 8px 28px 0; font-size: 24px; line-height: 1.4; color: var(--brand-deep); }
.dialog-summary { padding: 14px 28px 0; font-size: 14.5px; line-height: 1.9; color: var(--text-soft); }
.dialog-subtitle { padding: 22px 28px 0; font-size: 15px; color: var(--brand-deep); }
.dialog-highlights { display: grid; gap: 9px; padding: 12px 28px 0; }
.dialog-highlights li {
  position: relative; padding-left: 18px;
  font-size: 14px; line-height: 1.75; color: var(--text-soft);
}
.dialog-highlights li::before {
  content: ''; position: absolute; left: 2px; top: 10px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--gold);
}
.dialog-note { padding: 20px 28px 0; font-size: 13px; line-height: 1.8; color: var(--text-muted); }
.legal-dialog .dialog-inner { padding-top: 30px; }
.legal-dialog .dialog-eyebrow, .legal-dialog .dialog-title,
.legal-dialog .dialog-summary, .legal-dialog .dialog-note { padding-left: 28px; padding-right: 28px; }

/* 不支持原生 showModal 时的降级显示 */
.app-dialog.is-fallback-open {
  display: block; position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%); z-index: 300; margin: 0;
}
body.dialog-open::after { content: ''; position: fixed; inset: 0; z-index: 299; background: rgba(10, 22, 44, .66); }

/* ===== 响应式：平板 768–1199 ===== */
@media (max-width: 1199px) {
  .centers-grid, .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-layout { gap: 32px; }
  .appointment-layout { gap: 36px; }
  .primary-nav { gap: 16px; }
  .nav-list { gap: 16px; }
}

/* ===== 响应式：折叠导航与双列布局 ===== */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: 9px; background: #fff;
  }
  .nav-toggle-bar { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 18px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 13px 4px; font-size: 15px; }
  .nav-list a::after { display: none; }
  .nav-cta { width: 100%; margin-top: 14px; }

  .hero { min-height: 580px; }
  .section { padding: 68px 0; }
  .overview-layout, .advantage-note, .appointment-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-layout { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

/* ===== 响应式：手机 ===== */
@media (max-width: 767px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .hero { min-height: 540px; padding-top: calc(var(--nav-h) + 36px); }
  .hero-title { font-size: 32px; letter-spacing: 1px; }
  .hero-desc { font-size: 14.5px; }
  .trust-list { margin-top: 32px; }
  .centers-grid, .showcase-grid { grid-template-columns: 1fr; }
  .overview-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .step-card { padding: 20px 16px; }
  .advantage-note { gap: 20px; padding: 22px 18px; }
  .advantage-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { padding: 16px; }
  .appointment-form-wrap { padding: 22px 18px; }
  .footer-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-qr { text-align: left; }
  .footer-qr img { margin-left: 0; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ===== 响应式：窄屏手机 <=390 ===== */
@media (max-width: 390px) {
  .container { padding: 0 14px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 17px; }
  .hero { min-height: 520px; }
  .hero-title { font-size: 27px; }
  .hero-slogan { font-size: 16px; letter-spacing: 2px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-list li { padding: 5px 12px; font-size: 12px; }
  .section-title { font-size: 24px; }
  .overview-facts, .steps, .advantage-tags { grid-template-columns: 1fr; }
  .filter-chips { gap: 8px; }
  .chip { padding: 6px 13px; font-size: 13px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .dialog-title { font-size: 20px; }
}

/* ===== 动效偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ===== 在线项目库 ===== */
.section-projects { background: var(--card); }
.projects-toolbar {
  display: grid; gap: 16px; margin-bottom: 18px; padding: 20px 22px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.projects-search {
  width: 100%; padding: 12px 16px; font-family: inherit; font-size: 14.5px;
  color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
}
.projects-search::placeholder { color: var(--text-muted); }
.projects-search:focus { border-color: var(--brand); }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card .center-card-media { aspect-ratio: 640 / 300; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.projects-source { margin-top: 18px; font-size: 13px; color: var(--text-muted); }
.form-selected {
  margin: 10px 0 0; padding: 9px 12px; cursor: pointer;
  background: #eef2f9; border: 1px solid #d7e2f2; border-radius: 8px;
  font-size: 13px; color: var(--brand-deep);
}
.dialog-appoint { display: block; width: calc(100% - 56px); margin: 20px 28px 0; }
.notice { padding: 16px; font-size: 14px; color: var(--text-soft); background: var(--bg); border-radius: 8px; }

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .projects-grid { grid-template-columns: 1fr; }
  .projects-toolbar { padding: 16px; }
  .dialog-appoint { width: calc(100% - 40px); margin: 18px 20px 0; }
}
