
:root {
  --brand: #c1121f;
  --brand-bright: #e02b3c;
  --brand-deep: #960d18;
  --brand-ink: #61272c;
  --brand-soft: #fdf3f4;
  --ink: #333;
  --muted: #777;
  --line: #dcdfe6;
  --field-bg: #fff;
  --radius: 3px;
  --container: 1200px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input { font-family: inherit; }
button { cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 2px; }

.topbar {
  height: 38px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.top-link {
  padding: 4px 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: #333;
  transition: color .18s ease;
}
.top-link:hover { color: var(--brand); }

.divider {
  width: 1px;
  height: 12px;
  background: #ccc;
}

.topbar-slogan {
  font-size: 13px;
  letter-spacing: .5px;
  color: #8d8d8d;
  white-space: nowrap;
}

.hero {
  position: relative;
  height: 200px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(122, 12, 24, .26), rgba(96, 8, 16, .62)),
    radial-gradient(120% 180% at 18% 0%, #e2535f 0%, #cd2030 42%, #b3121f 78%, #8c0c17 100%);
}

.hero-glow {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 180%;
  background: radial-gradient(42% 55% at 50% 30%, rgba(255, 255, 255, .24), transparent 70%);
  pointer-events: none;
}

.hero-skyline {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max(1440px, 100%);
  height: 200px;
  transform: translateX(-50%);
  opacity: .55;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.emblem {
  flex: none;
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .18));
}
.emblem svg { width: 100%; height: 100%; }

.emblem-arc {
  font-size: 8.2px;
  font-family: var(--font);
  letter-spacing: 1.6px;
}
.emblem-arc--en {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 2.4px;
}

.hero-text { min-width: 0; }

.hero-en {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 3.4px;
  color: rgba(255, 255, 255, .95);
  white-space: nowrap;
}

.hero-title {
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .22);
}

.mainnav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 17px;
  background: #fff;
  border-bottom: 4px solid var(--brand);
}

.nav-item {
  position: relative;
  min-height: 115px;
  padding: 14px 8px 12px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 20px;
  color: var(--brand-ink);
  letter-spacing: .5px;
  transition: color .2s ease, background-color .2s ease;
}

.nav-icon {
  width: 42px;
  height: 42px;
  color: var(--brand);
  transition: color .2s ease, transform .2s ease;
}

.nav-item:hover {
  color: var(--brand);
}
.nav-item:hover .nav-icon { transform: translateY(-2px); }

.nav-item.is-active {
  color: #fff;
  background: var(--brand);
  font-weight: 700;
}
.nav-item.is-active .nav-icon { color: #fff; }

.main {
  flex: 1 0 auto;
  padding: 0 0 40px;
}

.view { display: block; }
.view.is-active { animation: viewIn .24s ease; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(4px); }
}

.query-card {
  border: 1px solid #ddd;
  background: #fff;
}

.tip-bar {
  background: #ececec;
  border-bottom: 1px solid #e6e6e6;
}

.tip-bar p {
  margin: 0;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand-ink);
}

.query-body { padding: 28px 20px 24px; }

.query-form {
  width: 760px;
  max-width: 100%;
  margin: 0 auto;
}

.query-form--wide { width: 900px; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 24px 160px;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}

.note-icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0;
}

.req-mark { color: var(--brand); font-style: normal; font-weight: 700; }

.inline-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s ease;
}
.inline-link:hover { color: var(--brand-deep); }

.form-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 18px;
}

.field-label {
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 19px;
  letter-spacing: 1px;
  user-select: none;
}

.field-label.required::before {
  content: "*";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.field-control { min-width: 0; }

.radio-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  min-height: 48px;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  user-select: none;
  transition: color .18s ease;
}
.radio:hover { color: var(--brand); }

.radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.radio-mark {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border: 1px solid #c6c6c6;
  border-radius: 50%;
  background: #fff;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.radio-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform .16s ease;
}

.radio input:checked + .radio-mark {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(193, 18, 31, .12);
}
.radio input:checked + .radio-mark::after { transform: scale(1); }

.radio input:focus-visible + .radio-mark {
  outline: 2px solid var(--brand-bright);
  outline-offset: 2px;
}
.radio:has(input:checked) { color: #4a1a1f; font-weight: 500; }

.check-box {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fcfcfd;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
}
.check-grid .radio { font-size: 15px; }

.text-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--field-bg);
  font-size: 14px;
  color: #222;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.text-input::placeholder { color: #a8abb2; }
.text-input:hover { border-color: #c0c4cc; }
.text-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(193, 18, 31, .12);
}
.text-input.is-invalid {
  border-color: var(--brand);
  background: #fff8f8;
  animation: shake .32s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

.field-error {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--brand);
}

.form-actions {
  display: flex;
  gap: 18px;
  margin: 22px 0 0 160px;
}

.btn {
  height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }

.btn-reset {
  width: 220px;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #333;
}
.btn-reset:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.btn-submit {
  width: 236px;
  border: 1px solid var(--brand-deep);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(193, 18, 31, .18);
}
.btn-submit:hover { background: var(--brand-deep); box-shadow: 0 8px 18px rgba(193, 18, 31, .26); }

.btn-primary {
  width: 140px;
  height: 42px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-size: 16px;
}
.btn-primary:hover { background: var(--brand-deep); }

.footer {
  position: relative;
  flex: none;
  min-height: 144px;
  padding: 26px 0 24px;
  background:
    radial-gradient(90% 160% at 50% 0%, rgba(122, 26, 34, .78) 0%, rgba(38, 8, 13, .96) 68%),
    #260a0e;
  color: #fff;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 46px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 85%);
  pointer-events: none;
}
.footer .container { position: relative; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-link {
  padding: 2px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  transition: color .18s ease;
}
.footer-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, .3);
}

.copyright {
  margin: 0;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .5px;
  color: rgba(255, 255, 255, .58);
}

.beian-link {
  margin-left: 12px;
  color: rgba(255, 255, 255, .58);
  transition: color .18s ease;
}
.beian-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  animation: fadeIn .2s ease;
}

.modal-card {
  position: relative;
  width: 512px;
  max-width: 100%;
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
  animation: popIn .22s cubic-bezier(.2, .8, .3, 1);
}

@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
}

.modal-head {
  position: relative;
  height: 53px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ebeef5;
}

.modal-head h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #303133;
  text-align: center;
  line-height: 1.35;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #909399;
  transition: background-color .18s ease, color .18s ease;
}
.modal-close:hover { background: #f2f3f5; color: #303133; }
.modal-close svg { width: 20px; height: 20px; }

.modal-body { padding: 22px 23px 26px; }

.modal-tips {
  margin: 0 0 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

.modal-row {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: start;
  margin-bottom: 18px;
}

.modal-label {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  letter-spacing: .5px;
  user-select: none;
}

.modal-control { min-width: 0; }

.modal-control input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  border-radius: 0;
  background: #fff;
  font-size: 14px;
  color: #303133;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.modal-control input::placeholder { color: #a8abb2; }
.modal-control input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.modal-control input.is-invalid { border-color: var(--brand); background: #fff8f8; }

.code-flex {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.code-flex input { flex: 1 1 auto; min-width: 0; }

.captcha {
  flex: none;
  width: 132px;
  height: 48px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #e2d2d4;
  border-radius: 0;
  background:
    repeating-linear-gradient(135deg, #fdf4f5 0, #fdf4f5 6px, #fbf0f1 6px, #fbf0f1 12px);
  color: var(--brand);
  user-select: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.captcha:hover { border-color: var(--brand-bright); box-shadow: 0 0 0 3px rgba(193, 18, 31, .08); }
.captcha:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 2px; }

.captcha-code {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 5px;
  text-indent: 5px;
  line-height: 1;
  color: #a20f1c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  white-space: nowrap;
}

.captcha-refresh {
  flex: none;
  width: 15px;
  height: 15px;
  color: #c08d92;
  opacity: .9;
}
.captcha-refresh svg { width: 100%; height: 100%; }

.modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.modal-actions .btn-submit {
  width: 236px;
  height: 48px;
  font-size: 18px;
}

.download-note {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
}
.download-note h5 {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: #303133;
}
.download-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #606266;
}

.modal--alert { z-index: 110; }

.alert-card {
  position: relative;
  width: 380px;
  max-width: 100%;
  padding: 26px 26px 24px;
  border-radius: 5px;
  background: #fff;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
  animation: popIn .22s cubic-bezier(.2, .8, .3, 1);
}
.alert-icon { width: 50px; height: 50px; margin: 0 auto 10px; }
.alert-icon svg { width: 100%; height: 100%; }
.alert-card h4 { margin: 0 0 8px; font-size: 18px; color: #303133; }
.alert-card p { margin: 0 0 20px; font-size: 14px; line-height: 1.7; color: #606266; }
.alert-card .btn-primary { width: 120px; margin: 0 auto; }

@media (max-width: 1240px) {
  .container { padding: 0 24px; }
  .topbar .container { padding: 0 24px; }
  .hero .container { padding: 0 24px; }
  .footer .container { padding: 0 24px; }
}

@media (max-width: 1000px) {
  .nav-item { min-height: 96px; font-size: 17px; gap: 7px; }
  .nav-icon { width: 34px; height: 34px; }
  .tip-bar p { font-size: 20px; height: 54px; }
  .query-form,
  .query-form--wide { width: 100%; }
  .check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .topbar-links { gap: 10px; font-size: 12.5px; }
  .top-link { font-size: 12.5px; }
  .topbar-slogan { display: none; }

  .hero { height: 150px; }
  .emblem { width: 66px; height: 66px; }
  .hero-title { font-size: 27px; letter-spacing: 1px; }
  .hero-en { display: none; }

  .mainnav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 10px;
  }
  .nav-item {
    min-height: 78px;
    padding: 9px 5px 8px;
    gap: 5px;
    font-size: 12.5px;
  }
  .nav-icon { width: 26px; height: 26px; }

  .tip-bar p { height: 48px; font-size: 16px; letter-spacing: .5px; }
  .query-body { padding: 20px 14px 18px; }
  .form-note { font-size: 12.5px; margin: 0 0 18px 0; }

  .form-row { grid-template-columns: 1fr; gap: 9px; margin-bottom: 16px; }
  .field-label { height: 44px; justify-content: flex-start; padding-left: 16px; font-size: 16px; }
  .field-label.required::before { position: static; transform: none; margin-right: 6px; }
  .radio-group { min-height: 40px; justify-content: flex-start; gap: 10px 22px; }
  .radio { font-size: 14px; }
  .text-input { height: 44px; }

  .check-box { padding: 12px; }
  .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
  .check-grid .radio { font-size: 13.5px; }

  .form-actions { flex-direction: column-reverse; gap: 10px; margin: 16px 0 0 0; }
  .form-actions .btn { width: 100%; height: 46px; font-size: 17px; }

  .footer { padding: 22px 0 20px; }
  .footer-links { gap: 10px 14px; font-size: 12.5px; }
  .footer-link { font-size: 12.5px; }
  .footer-divider { display: none; }
  .copyright { font-size: 11.5px; }

  .modal { padding: 12px; }
  .modal-card { max-height: calc(100vh - 24px); }
  .modal-head { height: 50px; padding: 0 48px; }
  .modal-head h4 { font-size: 16px; }
  .modal-body { padding: 18px 16px 22px; }
  .modal-tips { font-size: 13px; margin-bottom: 20px; }

  .modal-row { grid-template-columns: 1fr; margin-bottom: 14px; }
  .modal-label { height: 40px; justify-content: flex-start; padding-left: 14px; font-size: 14.5px; }
  .modal-control input { height: 46px; }
  .captcha { width: 116px; height: 46px; }
  .captcha-code { font-size: 22px; letter-spacing: 4px; text-indent: 4px; }
  .modal-actions { margin-top: 18px; }
  .modal-actions .btn-submit { width: 100%; height: 46px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
