/* ============================================================
   azure 主题 · 深海军蓝 × 暖金 · 衬线标题
   设计语言：深色质感 hero + 非对称布局 + 大留白
   ============================================================ */
:root {
  --navy: #16243f;
  --navy-2: #1f3358;
  --navy-3: #0d1830;
  --gold: #c9a86a;
  --gold-deep: #b08d4f;
  --gold-soft: #f0e6d2;
  --paper: #f6f7f9;
  --card: #ffffff;
  --ink: #1c2433;
  --muted: #66707f;
  --line: #e7eaf0;
  --danger: #d64541;
  --success: #2e9e5b;
  --warn: #d98a2b;
  --radius: 6px;
  --shadow: 0 10px 34px rgba(22,36,63,.10);
  --shadow-lg: 0 22px 60px rgba(22,36,63,.16);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--sans); color:var(--ink); background:var(--paper); line-height:1.75; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
ul { list-style:none; }
.wrap { max-width:1180px; margin:0 auto; padding:0 24px; }

/* ---------- 顶栏 ---------- */
.topbar { background:var(--navy-3); color:#8fa0bd; font-size:13px; }
.topbar-in { display:flex; justify-content:space-between; align-items:center; height:40px; }
.tb-links { display:flex; gap:20px; align-items:center; }
.tb-links a { color:#8fa0bd; }
.tb-links a:hover { color:var(--gold); }
.tb-phone { letter-spacing:.5px; }

/* ---------- 导航 ---------- */
.nav { background:rgba(22,36,63,.97); backdrop-filter:blur(8px); position:sticky; top:0; z-index:100; border-bottom:1px solid rgba(201,168,106,.15); }
.nav-in { display:flex; align-items:center; justify-content:space-between; height:70px; }
.brand { display:flex; align-items:center; gap:12px; }
.brand-mark { width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,var(--gold),var(--gold-deep)); color:var(--navy-3); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-weight:900; font-size:20px; }
.brand-name { color:#fff; font-size:17px; font-weight:600; letter-spacing:1px; }
.nav-menu { display:flex; gap:30px; }
.nav-menu a { color:#c3cfe0; font-size:15px; position:relative; padding:6px 0; transition:color .15s; }
.nav-menu a:hover { color:#fff; }
.nav-menu a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--gold); transition:width .2s; }
.nav-menu a:hover::after { width:100%; }
.nav-reg { background:var(--gold); color:var(--navy-3) !important; padding:9px 22px !important; border-radius:24px; font-weight:600; }
.nav-reg::after { display:none; }
.nav-reg:hover { background:#d9bc82 !important; }
.nav-burger { display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px; padding:6px; }
.nav-burger span { width:24px; height:2px; background:#fff; border-radius:2px; }

/* ---------- 提示 ---------- */
.flash { margin:16px 0; padding:13px 18px; border-radius:10px; font-size:14px; }
.flash-success { background:#eaf6ef; color:var(--success); border:1px solid #c4e6d2; }
.flash-warning { background:#fdf4e7; color:var(--warn); border:1px solid #f3ddba; }
.flash-error { background:#fdf0ef; color:var(--danger); border:1px solid #f2c8c5; }

/* ---------- 按钮 ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 28px; border-radius:26px; font-size:15px; font-weight:600; cursor:pointer; border:none; transition:transform .15s,box-shadow .15s,background .2s,color .2s; font-family:var(--sans); }
.btn:hover { transform:translateY(-2px); }
.btn-gold { background:var(--gold); color:var(--navy-3); }
.btn-gold:hover { background:#d9bc82; box-shadow:0 12px 26px rgba(201,168,106,.35); }
.btn-ghost-dark { background:transparent; color:#e8eef8; border:1px solid rgba(255,255,255,.35); }
.btn-ghost-dark:hover { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.6); }
.btn-main { background:var(--navy); color:#fff; }
.btn-main:hover { background:var(--navy-2); box-shadow:0 12px 26px rgba(22,36,63,.28); }
.btn-ghost { background:#fff; color:var(--navy); border:1px solid var(--line); }
.btn-ghost:hover { border-color:var(--gold); color:var(--gold-deep); }
.btn-accent { background:var(--gold); color:var(--navy-3); }
.btn-sm { padding:7px 16px; font-size:13px; border-radius:18px; }
.btn-block { width:100%; }
.btn-danger { background:var(--danger); color:#fff; }
.btn-success { background:var(--success); color:#fff; }
.btn[disabled] { opacity:.5; cursor:not-allowed; transform:none; }

/* ---------- Hero（非对称） ---------- */
.hero { background:linear-gradient(140deg,var(--navy-3) 0%,var(--navy) 55%,var(--navy-2) 100%); color:#fff; padding:88px 0 96px; position:relative; overflow:hidden; }
.hero::before { content:""; position:absolute; right:-180px; top:-180px; width:520px; height:520px; border-radius:50%; border:1px solid rgba(201,168,106,.18); }
.hero::after { content:""; position:absolute; right:-80px; top:-80px; width:340px; height:340px; border-radius:50%; border:1px solid rgba(201,168,106,.12); }
.hero-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:center; position:relative; z-index:1; }
.hero-kicker { color:var(--gold); font-size:14px; letter-spacing:3px; margin-bottom:18px; }
.hero-copy h1 { font-family:var(--serif); font-size:44px; font-weight:900; line-height:1.3; letter-spacing:1px; margin-bottom:20px; }
.hero-sub { color:#aebbd0; font-size:16px; max-width:520px; margin-bottom:34px; line-height:1.9; }
.hero-acts { display:flex; gap:14px; flex-wrap:wrap; }
.hero-visual { display:grid; grid-template-columns:1fr 1fr; gap:18px; position:relative; }
.hv-card { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:18px; padding:28px 24px; backdrop-filter:blur(4px); transition:transform .2s; }
.hv-card:hover { transform:translateY(-4px); }
.hv-card-a { grid-column:1/2; }
.hv-card-b { grid-column:2/3; margin-top:36px; }
.hv-card-c { grid-column:1/3; display:flex; align-items:center; gap:14px; }
.hv-num { font-family:var(--serif); font-size:42px; font-weight:900; color:var(--gold); display:block; line-height:1; }
.hv-label { color:#aebbd0; font-size:14px; }
.hv-emoji { font-size:30px; }

/* ---------- 信任条 ---------- */
.band { background:var(--card); border-bottom:1px solid var(--line); }
.band-in { display:grid; grid-template-columns:repeat(3,1fr); gap:0; }
.band-item { padding:26px 20px; text-align:center; border-right:1px solid var(--line); }
.band-item:last-child { border-right:none; }
.band-item b { display:block; font-family:var(--serif); font-size:17px; color:var(--navy); margin-bottom:4px; }
.band-item span { font-size:13px; color:var(--muted); }

/* ---------- 区块 ---------- */
.section { padding:72px 0; }
.section-alt { background:var(--card); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.sec-row { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:36px; }
.sec-title h2 { font-family:var(--serif); font-size:28px; font-weight:900; color:var(--navy); line-height:1.2; }
.sec-title p { font-size:12px; color:var(--muted); letter-spacing:2px; text-transform:uppercase; margin-top:4px; }
.sec-more { color:var(--muted); font-size:14px; }
.sec-more:hover { color:var(--gold-deep); }

/* ---------- 信息列表 ---------- */
.post-list { display:grid; gap:18px; }
.post-item { display:flex; gap:20px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; transition:transform .2s,box-shadow .2s; }
.post-item:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.post-thumb { width:150px; height:110px; border-radius:10px; object-fit:cover; flex:none; }
.post-ph { display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:var(--gold); font-family:var(--serif); font-size:34px; font-weight:900; }
.post-body { flex:1; min-width:0; }
.post-body h3 { font-family:var(--serif); font-size:19px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.post-desc { color:var(--muted); font-size:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.post-meta { display:flex; gap:16px; font-size:13px; color:var(--muted); margin-top:10px; }

/* ---------- 商品卡片 ---------- */
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.p-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:transform .2s,box-shadow .2s; }
.p-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.p-img-wrap { height:190px; background:linear-gradient(135deg,var(--navy),var(--navy-2)); position:relative; }
.p-img-wrap img { width:100%; height:100%; object-fit:cover; }
.p-img-ph { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--gold); font-family:var(--serif); font-size:44px; font-weight:900; }
.p-info { padding:16px 18px 20px; }
.p-name { font-size:15px; color:var(--ink); height:44px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.5; }
.p-price { font-family:var(--serif); font-size:21px; font-weight:900; color:var(--gold-deep); margin-top:8px; }

/* ---------- CTA ---------- */
.cta { background:linear-gradient(120deg,var(--navy),var(--navy-2)); padding:64px 0; }
.cta-in { display:flex; justify-content:space-between; align-items:center; gap:28px; flex-wrap:wrap; }
.cta h2 { font-family:var(--serif); font-size:28px; font-weight:900; color:#fff; margin-bottom:8px; }
.cta p { color:#aebbd0; }

/* ---------- 详情卡 ---------- */
.detail-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:34px; box-shadow:var(--shadow); }
.detail-card h1 { font-family:var(--serif); font-size:26px; font-weight:900; color:var(--navy); margin-bottom:16px; }
.detail-meta { display:flex; gap:20px; flex-wrap:wrap; font-size:14px; color:var(--muted); border-bottom:1px solid var(--line); padding-bottom:16px; margin-bottom:22px; }
.detail-content { font-size:15px; line-height:2; }
.detail-content img { border-radius:10px; margin:14px 0; }
.detail-contact { margin-top:24px; background:var(--gold-soft); border-radius:12px; padding:18px 22px; font-size:14px; color:#6b5327; }
.detail-contact b { color:var(--gold-deep); }

/* ---------- 表单 ---------- */
.form-card { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:36px; max-width:560px; margin:0 auto; box-shadow:var(--shadow); }
.form-card.wide { max-width:800px; }
.form-card h2 { font-family:var(--serif); font-size:24px; font-weight:900; color:var(--navy); margin-bottom:6px; }
.form-card .sub { color:var(--muted); margin-bottom:26px; }
.form-row { margin-bottom:18px; }
.form-row label { display:block; font-size:14px; font-weight:600; margin-bottom:7px; color:var(--ink); }
.form-row label .req { color:var(--danger); }
.form-row input, .form-row textarea, .form-row select { width:100%; padding:12px 15px; border:1px solid var(--line); border-radius:10px; font-size:15px; font-family:var(--sans); outline:none; background:#fff; transition:border .15s; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color:var(--gold); }
.form-row .hint { font-size:12px; color:var(--muted); margin-top:6px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ---------- 表格 ---------- */
.table { width:100%; border-collapse:collapse; background:var(--card); border-radius:12px; overflow:hidden; border:1px solid var(--line); }
.table th, .table td { padding:14px 16px; text-align:left; border-bottom:1px solid var(--line); font-size:14px; }
.table th { background:#f2f4f8; font-weight:600; color:var(--navy); }
.table tr:last-child td { border-bottom:none; }
.qty { width:60px; padding:7px; border:1px solid var(--line); border-radius:8px; text-align:center; }

/* ---------- 分类标签 ---------- */
.cat-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.cat-tabs a { padding:8px 20px; border-radius:100px; font-size:14px; background:var(--card); color:#4b5563; border:1px solid var(--line); transition:.15s; }
.cat-tabs a:hover { border-color:var(--gold); color:var(--gold-deep); }
.cat-tabs a.active { background:var(--navy); color:var(--gold); border-color:var(--navy); }

/* ---------- 分页 ---------- */
.pagination { display:flex; gap:6px; justify-content:center; margin-top:34px; }
.pagination a, .pagination span { padding:8px 16px; border-radius:8px; font-size:14px; background:var(--card); border:1px solid var(--line); color:#4b5563; }
.pagination a:hover { border-color:var(--gold); color:var(--gold-deep); }
.pagination .cur { background:var(--navy); color:var(--gold); border-color:var(--navy); }

/* ---------- 收费面板 ---------- */
.fee-panel { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; margin-bottom:20px; }
.fee-panel h3 { font-family:var(--serif); font-size:17px; font-weight:700; color:var(--navy); margin-bottom:12px; }
.fee-desc { white-space:pre-line; color:#4b5563; font-size:14px; line-height:1.9; margin-bottom:14px; }
.qrcode { width:180px; border:1px solid var(--line); border-radius:10px; }

/* ---------- 后台 ---------- */
.admin-wrap { display:grid; grid-template-columns:220px 1fr; gap:26px; }
.sidebar { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:16px; height:fit-content; }
.sidebar h4 { font-size:12px; color:var(--muted); letter-spacing:2px; padding:8px 12px; }
.sidebar a { display:block; padding:11px 14px; border-radius:9px; font-size:14px; color:#374151; margin-bottom:2px; }
.sidebar a:hover, .sidebar a.active { background:var(--navy); color:var(--gold); font-weight:600; }
.panel { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; margin-bottom:22px; }
.panel h3 { font-family:var(--serif); font-size:18px; font-weight:700; color:var(--navy); margin-bottom:16px; }
.stat-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:24px; }
.stat-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.stat-card b { font-family:var(--serif); font-size:30px; font-weight:900; color:var(--navy); display:block; }
.stat-card span { font-size:13px; color:var(--muted); }
.badge { display:inline-block; padding:3px 11px; border-radius:100px; font-size:12px; font-weight:600; }
.badge-pending { background:#fdf4e7; color:var(--warn); }
.badge-approved { background:#eaf6ef; color:var(--success); }
.badge-rejected { background:#fdf0ef; color:var(--danger); }
.badge-paid { background:#eaf6ef; color:var(--success); }
.badge-unpaid { background:#fdf0ef; color:var(--danger); }

/* ---------- 页脚 ---------- */
.footer { background:var(--navy-3); color:#8fa0bd; padding:60px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:44px; margin-bottom:40px; }
.footer h4 { color:#fff; font-size:15px; margin-bottom:16px; letter-spacing:1px; }
.f-brand { font-family:var(--serif); font-size:19px; font-weight:700; color:#fff; display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.f-brand .brand-mark { width:36px; height:36px; border-radius:9px; background:linear-gradient(135deg,var(--gold),var(--gold-deep)); color:var(--navy-3); display:flex; align-items:center; justify-content:center; font-weight:900; }
.footer p, .footer li { font-size:14px; margin-bottom:8px; }
.footer a { color:#8fa0bd; }
.footer a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; }

/* ---------- 搜索框 ---------- */
.hero-search { display:flex; max-width:560px; margin:26px 0 30px; }
.hero-search input { flex:1; padding:14px 20px; border:none; border-radius:8px 0 0 8px; font-size:15px; font-family:var(--sans); outline:none; background:#fff; color:var(--ink); }
.hero-search button { padding:14px 28px; border:none; border-radius:0 8px 8px 0; background:var(--gold); color:var(--navy-3); font-size:15px; font-weight:600; cursor:pointer; }
.hero-search button:hover { background:#d9bc82; }

/* ---------- 统计 ---------- */
.hero-stats { display:flex; gap:44px; flex-wrap:wrap; margin-bottom:30px; }
.hero-stats > div { display:flex; flex-direction:column; }
.hero-stats b { font-family:var(--serif); font-size:30px; font-weight:900; color:#fff; line-height:1.1; }
.hero-stats span { font-size:13px; color:#aebbd0; }

/* ---------- 分类表格 ---------- */
.cat-table { width:100%; border-collapse:collapse; background:var(--card); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.cat-table th, .cat-table td { padding:16px 22px; text-align:left; border-bottom:1px solid var(--line); }
.cat-table tr:last-child th, .cat-table tr:last-child td { border-bottom:none; }
.cat-table th a { font-size:16px; font-weight:600; color:var(--navy); }
.cat-table th a:hover { color:var(--gold-deep); }
.cat-table td { font-size:14px; color:var(--muted); }
.cat-table .ct-more { text-align:right; }
.cat-table .ct-more a { color:var(--gold-deep); font-size:14px; }
.cat-table .ct-more a:hover { color:var(--navy); }

/* ---------- 信息卡片 ---------- */
.post-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.post-card { background:var(--card); border:1px solid var(--line); border-radius:10px; overflow:hidden; transition:transform .18s,box-shadow .18s; display:flex; flex-direction:column; }
.post-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.pc-img { display:block; height:180px; background:linear-gradient(135deg,var(--navy),var(--navy-2)); overflow:hidden; }
.pc-img img { width:100%; height:100%; object-fit:cover; }
.pc-ph { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--gold); font-family:var(--serif); font-size:42px; font-weight:900; }
.post-card b { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; padding:14px 16px 4px; font-size:15px; color:var(--ink); font-weight:600; line-height:1.5; min-height:66px; }
.post-card em { display:block; padding:0 16px 16px; font-size:12px; color:var(--muted); font-style:normal; }

/* ---------- 响应式 ---------- */
@media (max-width:960px) {
  .hero-grid { grid-template-columns:1fr; gap:40px; }
  .product-grid, .stat-cards { grid-template-columns:repeat(2,1fr); }
  .admin-wrap { grid-template-columns:1fr; }
  .band-in { grid-template-columns:1fr; }
  .band-item { border-right:none; border-bottom:1px solid var(--line); }
}
@media (max-width:640px) {
  .nav-menu { display:none; position:absolute; top:70px; left:0; right:0; background:var(--navy); flex-direction:column; padding:16px 24px 24px; gap:4px; }
  .nav-menu.open { display:flex; }
  .nav-menu a { padding:12px 0; border-bottom:1px solid rgba(255,255,255,.1); }
  .nav-burger { display:flex; }
  .hero { padding:56px 0 64px; }
  .hero-copy h1 { font-size:32px; }
  .product-grid, .stat-cards, .form-grid, .footer-grid, .post-grid { grid-template-columns:1fr; }
  .post-item { flex-direction:column; }
  .post-thumb { width:100%; height:170px; }
  .detail-card { padding:22px; }
  .cta-in { flex-direction:column; align-items:flex-start; }
}

/* ---------- 制度文章排版 ---------- */
.detail-content h3 { font-family:var(--serif); font-size:17px; font-weight:700; color:var(--navy); margin:26px 0 12px; }
.detail-content p { margin:0 0 14px; color:#374151; }
.detail-content .table { margin:14px 0 18px; }


/* ===== 页脚四列 + 备案号可点击（2026-11-19）===== */
.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1.1fr}
.footer-bottom a{color:inherit;text-decoration:none}
.footer-bottom a:hover{text-decoration:underline}
@media (max-width:1024px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.footer-grid{grid-template-columns:1fr}}
