:root {
  --navy: #0c2340;
  --navy-2: #16365c;
  --blue: #1a56a0;
  --blue-d: #12457f;
  --bg: #f3f6fb;
  --card: #ffffff;
  --text: #1b2836;
  --muted: #5c6c7d;
  --line: #e3eaf2;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #08182c;
  color: #d5e2f0;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.topbar a { color: #ffffff; }

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand i {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
}
.brand strong { display: block; font-size: 16px; letter-spacing: 0.02em; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.menu { display: flex; align-items: center; gap: 6px; }
.menu a {
  color: var(--navy);
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 6px;
}
.menu a.active,
.menu a:hover {
  background: #e8f1fb;
  color: var(--blue-d);
  text-decoration: none;
}
.menu-check { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(120deg, #0c2340 0%, #1a4f86 62%, #1f6cb3 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.hero h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.25; letter-spacing: 0.01em; }
.hero .lead { margin: 0; max-width: 680px; font-size: 18px; color: #e4eef8; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-line { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }

.section { padding: 56px 0; }
.section h2 { margin: 0 0 8px; font-size: 28px; color: var(--navy); }
.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.intro { margin: 0 0 28px; max-width: 760px; color: var(--muted); }

.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 10px;
  padding: 22px 22px 18px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: #3d4d5e; }
.card .more { display: inline-block; margin-top: 14px; font-size: 14px; }

.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts div { padding: 26px 10px; text-align: center; }
.facts strong { display: block; color: var(--navy); font-size: 20px; }
.facts span { color: var(--muted); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 14px;
}
.step em {
  display: block;
  font-style: normal;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}
.step strong { display: block; color: var(--navy); margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.page-head {
  background: var(--navy);
  color: #fff;
  padding: 36px 0 32px;
}
.page-head h1 { margin: 6px 0 8px; font-size: 32px; }
.page-head p { margin: 0; color: #d5e3f2; max-width: 720px; }
.crumb, .crumb a { color: #b9cce2; font-size: 13px; }

.prose { max-width: 860px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 1.2em; }
.prose li { margin: 4px 0; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 22px 18px;
}

table.info {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
table.info th, table.info td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.info th { width: 180px; background: #f7fafc; color: var(--navy); font-weight: 600; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.contact-card h2 { margin: 0 0 12px; font-size: 20px; color: var(--navy); }
.contact-card p { margin: 0 0 8px; }
.phone-lg { font-size: 28px; color: var(--navy); font-weight: 700; letter-spacing: 0.02em; }
.phone-lg a { color: inherit; }

.site-footer { background: var(--navy); color: #d5e2f0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 28px; padding: 36px 0 28px; }
.site-footer h2 { margin: 0 0 10px; font-size: 16px; color: #fff; }
.site-footer p, .site-footer li { margin: 0 0 6px; font-size: 14px; color: #d5e2f0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #ffffff; }
.copyright {
  background: #ffffff;
  color: #39485a;
  text-align: center;
  padding: 16px 16px 20px;
  font-size: 14px;
  line-height: 1.9;
}
.copyright p { margin: 0; }
.copyright a {
  color: #1456c0;
  font-weight: 700;
  text-decoration: underline;
}

.menu a { font-size: 14px; padding: 8px 8px; }
.hero { padding: 42px 0 36px; }
.hero h1 { font-size: 34px; }
.define { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; padding: 14px 16px; color: #243444; }
.define strong { color: var(--navy); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; color: inherit; }
.cat-card:hover { text-decoration: none; border-color: var(--blue); }
.cat-card b { display: block; color: var(--navy); font-size: 16px; }
.cat-card span { color: var(--muted); font-size: 13px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.section-title h2 { margin: 0; }
.layout { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 0; }
.side-nav a { display: block; padding: 8px 16px; color: var(--navy); }
.side-nav a.active, .side-nav a:hover { background: #e8f1fb; text-decoration: none; }
.side-nav p { margin: 8px 16px; color: var(--muted); font-size: 13px; }
.filter { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; margin-bottom: 10px; background: #fff; }
.rows { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.row { display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.tag { display: inline-block; background: #e8f1fb; color: var(--blue-d); font-size: 12px; padding: 2px 8px; border-radius: 99px; }
.row h3 { margin: 0 0 4px; font-size: 16px; }
.row h3 a { color: var(--navy); }
.row p { margin: 0; color: #3d4d5e; font-size: 14px; }
.row .side { text-align: right; font-size: 13px; color: var(--muted); line-height: 1.6; }
.detail { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 8px; }
.detail h1 { margin: 6px 0 10px; font-size: 26px; color: var(--navy); line-height: 1.4; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.note { background: #f4f8fd; border: 1px dashed #b9cbe2; padding: 10px 12px; font-size: 14px; color: #24405f; margin: 0 0 14px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 10px; padding: 18px; }
.plan h3 { margin: 0; color: var(--navy); }
.plan .fee { margin: 8px 0; font-size: 28px; color: var(--navy); font-weight: 700; }
.plan .fee small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan ul { margin: 0; padding-left: 1.1em; }
.plan li { margin: 4px 0; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-bar { flex-wrap: wrap; padding: 12px 0; min-height: 0; }
  .menu { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .menu-check:checked ~ .menu { display: flex; }
  .hero { padding: 36px 0 28px; }
  .hero h1 { font-size: 28px; }
  .grid-3, .grid-2, .facts, .steps, .contact-grid, .footer-grid, .cat-grid, .plans, .layout { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .row .side { text-align: left; }
  .topbar .wrap { flex-direction: column; gap: 2px; }
  .form-card { max-width: none; }
}
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; max-width: 720px; }
.form-card h1 { margin: 0 0 8px; font-size: 26px; color: var(--navy, var(--ink)); }
label { display: block; margin: 12px 0 6px; font-size: 14px; }
input[type="text"], input[type="password"], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.btn-solid { background: var(--blue, var(--green)); color: #fff; border: 0; cursor: pointer; }
.alert { padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.alert-error { background: #fdecec; color: #8a2432; }
.alert-ok { background: #e7f6ee; color: #146c43; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; }
.badge-pending { background: #fff4d6; color: #8a5a00; }
.badge-approved { background: #e5f6ea; color: #146c43; }
.badge-rejected { background: #fdecec; color: #8a2432; }
table.data { width: 100%; border-collapse: collapse; background: #fff; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
table.data th { background: #f7fafc; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { display: flex; gap: 6px; align-items: center; }
.actions input[type="text"] { width: 160px; }
.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-row input { width: 140px; }
.agree input { width: auto; margin-right: 4px; }
.id-mask { position: fixed; inset: 0; background: rgba(8, 24, 44, .55); z-index: 30; display: flex; align-items: flex-start; justify-content: center; padding: 32px 16px; overflow: auto; }
.id-mask[hidden] { display: none !important; }
.id-pop { width: min(560px, 100%); background: #fff; border-radius: 12px; padding: 18px 18px 8px; position: relative; }
.id-close { position: absolute; right: 12px; top: 10px; border: 0; background: transparent; cursor: pointer; font: inherit; }
.id-card { background: linear-gradient(160deg, #e7f0fb, #f8fbff 42%, #f3e4d4); border: 1px solid #b9cbe2; border-radius: 12px; padding: 16px; }
.id-card-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; color: #0c2340; }
.id-card-top strong { font-size: 22px; letter-spacing: .12em; }
.id-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.id-photos img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; background: #fff; margin-top: 6px; }
.id-tip { color: #51627a; font-size: 13px; }
@media (max-width: 700px) { .id-photos, .captcha-row { grid-template-columns: 1fr; display: grid; } }
