/* =========================================================
   江门市泰林装饰设计工程有限公司 · 官网样式
   风格：简约大气 / 深蓝商务
   ========================================================= */

:root {
  --navy-900: #0b2138;
  --navy-800: #0e2a47;
  --navy-700: #16385c;
  --navy-600: #1f4b78;
  --navy-500: #2f6494;
  --gold: #c6a15b;
  --gold-soft: #e6d3ac;
  --ink: #131c26;
  --body: #42546a;
  --muted: #7d8da0;
  --line: #e4e9f0;
  --line-strong: #cfd8e3;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --soft-2: #eef2f7;
  --shadow-s: 0 1px 2px rgba(14, 42, 71, 0.05);
  --shadow-m: 0 10px 30px rgba(14, 42, 71, 0.07);
  --shadow-l: 0 18px 50px rgba(14, 42, 71, 0.12);
  --maxw: 1180px;
  --radius: 3px;
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- 顶部细条 ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.topbar .tb-l { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, 0.86); }
.topbar a:hover { color: #fff; }
.topbar .tb-r { display: flex; gap: 18px; align-items: center; }
.topbar .tb-user { color: var(--gold-soft); }

/* ---------- 主导航 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-head.is-stuck { box-shadow: var(--shadow-s); }
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 40px; height: 40px;
  object-fit: contain;
  flex: none;
  display: block;
}
.qr-img {
  display: block;
  margin: 14px auto 10px;
  width: 180px; height: auto;
  background: #fff;
  border: 1px solid rgba(14, 42, 71, 0.12);
  border-radius: 10px;
  padding: 8px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cert-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(14, 42, 71, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(14, 42, 71, 0.06);
}
.cert-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
.cert-card figcaption {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cert-card figcaption b { font-size: 14.5px; color: var(--ink); }
.cert-card figcaption span { font-size: 12.8px; color: var(--muted); line-height: 1.55; }

/* ---------- 站点后台 ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.ov-stat {
  background: #fff;
  border: 1px solid rgba(14, 42, 71, 0.1);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
}
.ov-stat b { display: block; font-size: 30px; color: var(--ink); }
.ov-stat b i { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 4px; }
.ov-stat span { font-size: 13.5px; color: var(--muted); }
.admin-list { display: flex; flex-direction: column; gap: 14px; }
.admin-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(14, 42, 71, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
}
.admin-thumb {
  width: 86px; height: 64px;
  flex: none;
  border-radius: 8px;
  background: #eef2f7 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--muted);
  overflow: hidden;
}
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-thumb--file { background: var(--navy-800); color: #fff; font-size: 13px; }
.admin-main { flex: 1; min-width: 0; }
.admin-main h4 { font-size: 15.5px; margin-bottom: 4px; }
.admin-main .sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.admin-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; flex: none; }
.admin-danger { color: #b23a3a; border-color: rgba(178, 58, 58, 0.35); }
.admin-danger:hover { background: rgba(178, 58, 58, 0.06); }
.row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  background: var(--navy-800);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.5px;
  border-radius: var(--radius);
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 12px; height: 12px;
  background: var(--gold);
}
.brand-text strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.brand-text span {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px;
  font-size: 15px;
  color: var(--body);
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--navy-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover { color: var(--navy-800); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--navy-800); font-weight: 600; }

.head-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
  padding: 8px 11px;
  color: var(--navy-800);
  font-size: 18px;
  line-height: 1;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
  cursor: pointer;
}
.btn:hover { background: var(--navy-600); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--soft-2); border-color: var(--navy-600); }
.btn--gold { background: var(--gold); color: #2a2008; }
.btn--gold:hover { background: #d5b271; }
.btn--onDark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--onDark:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--sm { padding: 8px 16px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- 通用版式 ---------- */
.sec { padding: 96px 0; }
.sec--soft { background: var(--soft); }
.sec--tight { padding: 64px 0; }
.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-600);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
}
.h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.22; }
.h2 { font-size: clamp(26px, 3vw, 36px); }
.h3 { font-size: 20px; }
.lead { font-size: 17px; color: var(--body); line-height: 1.9; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }

/* ---------- 首页主视觉 ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 33, 56, 0.94) 0%, rgba(14, 42, 71, 0.82) 42%, rgba(14, 42, 71, 0.42) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 78px; padding-bottom: 78px; }
.hero-inner { max-width: 640px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold-soft); }
.hero p.lead { color: rgba(255, 255, 255, 0.82); margin: 22px 0 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 54px;
  padding-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero-facts b {
  display: block;
  font-size: 30px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero-facts b i { font-style: normal; font-size: 16px; color: var(--gold-soft); margin-left: 3px; }
.hero-facts span { font-size: 13.5px; color: rgba(255, 255, 255, 0.66); }

/* ---------- 卡片栅格 ---------- */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: box-shadow 0.28s, transform 0.28s, border-color 0.28s;
}
.card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); border-color: var(--line-strong); }
.card .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  display: block;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.6px; color: var(--body); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-m); }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  font-size: 13px;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--navy-700);
  background: #fff;
}

.feat-list { list-style: none; margin: 0; padding: 0; }
.feat-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15px;
}
.feat-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 2px;
  background: var(--gold);
}

/* ---------- 数字条 ---------- */
.stat-band {
  background: var(--navy-800);
  color: #fff;
  padding: 54px 0;
}
.stat-band .g-4 { text-align: center; }
.stat-band b { display: block; font-size: 34px; font-weight: 700; color: #fff; }
.stat-band b i { font-style: normal; font-size: 16px; color: var(--gold-soft); }
.stat-band span { font-size: 13.5px; color: rgba(255, 255, 255, 0.66); }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.flow-item { padding: 30px 22px 8px; border-right: 1px solid var(--line); position: relative; }
.flow-item:last-child { border-right: none; }
.flow-item::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 44px; height: 3px;
  background: var(--gold);
}
.flow-item b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.flow-item span { font-size: 13.8px; color: var(--body); display: block; }
.flow-item .step { font-size: 12px; color: var(--muted); letter-spacing: 0.16em; margin-bottom: 12px; display: block; }

/* ---------- CTA 横条 ---------- */
.cta-band {
  background: linear-gradient(96deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 64px 0;
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); }
.cta-band p { color: rgba(255, 255, 255, 0.74); margin-top: 8px; }

/* ---------- 页头（内页） ---------- */
.page-head {
  background: var(--navy-900);
  color: #fff;
  padding: 74px 0 66px;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -120px; top: -80px;
  width: 420px; height: 420px;
  border: 1px solid rgba(198, 161, 91, 0.25);
  transform: rotate(45deg);
}
.page-head h1 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.page-head p { color: rgba(255, 255, 255, 0.72); margin-top: 14px; max-width: 640px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; position: relative; z-index: 2; }
.crumb a:hover { color: #fff; }

/* ---------- 列表 / 表格 ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 14.2px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  background: var(--soft);
  color: var(--navy-800);
  font-weight: 600;
  font-size: 13.6px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.data-table tbody tr:hover { background: #fafbfd; }
.data-table .t-right { text-align: right; white-space: nowrap; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; gap: 18px; }
.field label {
  display: block;
  font-size: 13.6px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 7px;
}
.field label i { color: #c0392b; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14.6px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(31, 75, 120, 0.1);
}
.field .hint { font-size: 12.6px; color: var(--muted); margin-top: 6px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }

/* 手机号 / 邮箱 通道切换 */
.ch-switch {
  display: inline-flex;
  border: 1px solid rgba(14, 42, 71, 0.18);
  border-radius: 9px;
  overflow: hidden;
}
.ch-switch button {
  border: none;
  background: #fff;
  padding: 8px 22px;
  font-size: 13.6px;
  color: var(--muted);
  cursor: pointer;
}
.ch-switch button + button { border-left: 1px solid rgba(14, 42, 71, 0.18); }
.ch-switch button.active {
  background: var(--navy-900, #0e2a47);
  color: #fff;
  font-weight: 600;
}

/* ---------- 提示 / 徽标 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--navy-700);
  border: 1px solid var(--line-strong);
  white-space: nowrap;
}
.badge--gold { background: #fbf6ea; border-color: #e8d9b6; color: #8a6d21; }
.badge--ok { background: #eef7f0; border-color: #cfe6d6; color: #2c6e45; }
.badge--warn { background: #fdf3e8; border-color: #f0dfc5; color: #8a5a20; }
.badge--gray { background: #f2f4f7; border-color: #dfe4ea; color: #67737f; }

.alert {
  padding: 12px 15px;
  border-radius: var(--radius);
  font-size: 14px;
  border: 1px solid;
  margin-bottom: 16px;
  display: none;
}
.alert.is-on { display: block; }
.alert--err { background: #fdf1f0; border-color: #f2cfcb; color: #a33125; }
.alert--ok { background: #f0f8f2; border-color: #cfe6d6; color: #2c6e45; }
.alert--info { background: #f1f6fb; border-color: #d2e2f0; color: #275b86; }

.toast-host {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--navy-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  box-shadow: var(--shadow-l);
  max-width: 340px;
  animation: toastIn 0.28s ease;
  border-left: 3px solid var(--gold);
}
.toast--err { border-left-color: #e0725f; }
.toast--ok { border-left-color: #4e9c6b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.empty {
  text-align: center;
  padding: 46px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14.4px;
  background: #fcfdfe;
}
.loading { text-align: center; padding: 40px; color: var(--muted); font-size: 14px; }
.sk {
  background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 37%, #eef2f7 63%);
  background-size: 400% 100%;
  animation: sk 1.3s ease infinite;
  border-radius: var(--radius);
}
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 登录页 ---------- */
.auth-wrap {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--soft);
}
.auth-side {
  position: relative;
  color: #fff;
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy-900);
  overflow: hidden;
}
.auth-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(11, 33, 56, 0.96), rgba(22, 56, 92, 0.86)),
    url("../img/about.jpg") center/cover;
  opacity: 0.92;
}
.auth-side > * { position: relative; z-index: 2; }
.auth-side h2 { color: #fff; font-size: 30px; line-height: 1.35; }
.auth-side .lead { color: rgba(255, 255, 255, 0.78); margin-top: 16px; }
.auth-side .feat-list li { color: rgba(255, 255, 255, 0.86); }
.auth-side .feat-list li::before { background: var(--gold); }
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 28px;
}
.auth-card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-m);
}
.auth-card h3 { font-size: 23px; }
.auth-card .sub { font-size: 14px; color: var(--muted); margin: 8px 0 24px; }
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tabs button {
  background: none;
  border: none;
  padding: 11px 12px;
  font-size: 14.6px;
  color: var(--muted);
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;}
.tabs button.active { color: var(--navy-800); font-weight: 600; border-bottom-color: var(--navy-700); }
.tabpane { display: none; }
.tabpane.active { display: block; }
.auth-foot { margin-top: 20px; font-size: 13.4px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--navy-600); text-decoration: underline; }
.inline-link {
  background: none; border: none; padding: 0;
  color: var(--navy-600); font-size: 13.4px; text-decoration: underline;
}

/* ---------- 会员中心 ---------- */
.member-head {
  background: var(--navy-900);
  color: #fff;
  padding: 34px 0;
}
.member-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.member-head h1 { color: #fff; font-size: 26px; }
.member-head .who { font-size: 13.8px; color: rgba(255, 255, 255, 0.7); margin-top: 6px; }
.member-head .who b { color: var(--gold-soft); font-weight: 600; }

.m-layout { display: grid; grid-template-columns: 236px 1fr; gap: 34px; align-items: start; padding: 42px 0 90px; }
.m-nav {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.m-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  font-size: 14.6px;
  color: var(--body);
  transition: background 0.2s, color 0.2s;
}
.m-nav button:last-child { border-bottom: none; }
.m-nav button:hover { background: var(--soft); }
.m-nav button.active {
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
}
.m-nav button span.count { font-size: 12px; color: var(--muted); }
.m-nav button.active span.count { color: var(--gold-soft); }

.m-panel { display: none; }
.m-panel.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.m-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.m-panel-head h2 { font-size: 22px; }
.m-panel-head p { font-size: 13.8px; color: var(--muted); margin-top: 6px; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.28s, transform 0.28s;
}
.case-card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.case-card .thumb {
  height: 186px;
  background: var(--soft-2) center/cover no-repeat;
  position: relative;
}
.case-card .thumb .cat {
  position: absolute;
  left: 12px; top: 12px;
  background: rgba(11, 33, 56, 0.86);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.case-card .body { padding: 20px 20px 22px; }
.case-card h3 { font-size: 17.4px; margin-bottom: 8px; }
.case-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 12px;
}
.case-card p { font-size: 14.2px; }
.case-card .more {
  margin-top: 14px;
  font-size: 13.6px;
  color: var(--navy-600);
  background: none;
  border: none;
  padding: 0;
  font-weight: 600;
}
.case-detail {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
  display: none;
  font-size: 14px;
}
.case-detail.is-open { display: block; }
.case-detail h4 { font-size: 14px; margin: 12px 0 6px; color: var(--navy-700); }
.case-detail ul { margin: 0; padding-left: 18px; }
.case-detail li { font-size: 13.8px; margin-bottom: 6px; }

.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mat-card .mat-img {
  height: 132px;
  background: linear-gradient(135deg, var(--soft-2), #fff);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.mat-card .mat-img img { width: 100%; height: 100%; object-fit: cover; }
.mat-card .mat-img .ph {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-500);
  letter-spacing: 0.08em;
  opacity: 0.5;
}
.mat-card .mat-body { padding: 16px 17px 18px; flex: 1; display: flex; flex-direction: column; }
.mat-card h4 { font-size: 15.6px; margin-bottom: 4px; }
.mat-card .bd { font-size: 12.8px; color: var(--muted); margin-bottom: 10px; }
.mat-card dl { margin: 0 0 12px; font-size: 13.2px; display: grid; grid-template-columns: 62px 1fr; gap: 4px 8px; }
.mat-card dt { color: var(--muted); }
.mat-card dd { margin: 0; color: var(--ink); }
.mat-card .mat-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: space-between; }

.dl-list { display: flex; flex-direction: column; gap: 12px; }
.dl-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dl-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-s); }
.dl-ico {
  flex: none;
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: var(--soft-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dl-main { flex: 1; min-width: 0; }
.dl-main h4 { font-size: 15.2px; margin-bottom: 3px; }
.dl-main .sub { font-size: 13px; color: var(--muted); }
.dl-acts { display: flex; gap: 8px; align-items: center; flex: none; }

.msg-list { display: flex; flex-direction: column; gap: 12px; }
.msg-item {
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-600);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px;
}
.msg-item .mh { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.msg-item .mh b { font-size: 14.6px; color: var(--ink); }
.msg-item .mh time { font-size: 12.8px; color: var(--muted); }
.msg-item p { font-size: 14.2px; }

.contact-side { display: grid; gap: 14px; }
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: #fff;
}
.info-card h4 { font-size: 15px; margin-bottom: 6px; }
.info-card p { font-size: 14.2px; }
.info-card .k { font-size: 12.6px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; display: block; }

.map-box {
  height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

/* ---------- 页脚 ---------- */
.site-foot { background: var(--navy-900); color: rgba(255, 255, 255, 0.66); padding: 62px 0 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 46px; }
.site-foot h4 { color: #fff; font-size: 14.6px; margin-bottom: 16px; letter-spacing: 0.06em; }
.site-foot a:hover { color: #fff; }
.foot-links { display: flex; flex-direction: column; gap: 9px; font-size: 13.8px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-brand .brand-mark { background: #fff; color: var(--navy-900); }
.foot-brand .brand-logo { width: 44px; height: 44px; }
.foot-brand strong { color: #fff; font-size: 16px; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .sec { padding: 72px 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-item { border-bottom: 1px solid var(--line); }
  .flow-item:nth-child(2n) { border-right: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { padding: 40px 32px; }
  .auth-side { display: none; }
  .m-layout { grid-template-columns: 1fr; }
  .m-nav { position: static; display: flex; overflow-x: auto; }
  .m-nav button { border-bottom: 2px solid transparent; white-space: nowrap; width: auto; }
  .m-nav button.active { background: #fff; color: var(--navy-800); border-bottom-color: var(--navy-700); }
  .case-grid { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .brand-text strong { font-size: 14px; }
  .brand-text span { display: none; }
  .brand-mark { width: 34px; height: 34px; font-size: 15px; }
  .brand-logo { width: 34px; height: 34px; }
  .site-head .wrap { min-height: 62px; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 14px 16px;
    box-shadow: var(--shadow-m);
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .head-cta .btn { display: none; }
  .topbar .tb-l { display: none; }
  .hero { min-height: 520px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
  .hero-facts b { font-size: 24px; }
  .g-2, .g-3, .g-4, .cert-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .row-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-item { flex-wrap: wrap; }
  .admin-acts { width: 100%; justify-content: flex-start; }
  .flow { grid-template-columns: 1fr; }
  .flow-item { border-right: none; }
  .stat-band b { font-size: 27px; }
  .mat-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .dl-item { flex-wrap: wrap; }
  .dl-acts { width: 100%; }
  .sec { padding: 56px 0; }
  .page-head { padding: 52px 0 46px; }
  .data-table { font-size: 13.4px; }
  .data-table th, .data-table td { padding: 11px 9px; }
  .data-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .toast-host { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
}
