/* 摩鱼官网公共样式：重置、页头、页脚、搜索层 */
:root {
  --blue: #1d6fbf;
  --blue-deep: #14579a;
  --ink: #2c3138;
  --muted: #8b919a;
  --line: #e6e8eb;
  --bg: #f5f6f8;
  --footer: #3c424b;
  --gold: #e3a21a;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.header-inner,
.footer-inner,
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 36px; width: auto; }
.nav {
  display: flex;
  gap: 36px;
  font-size: 15px;
}
.nav a.active { color: var(--blue); }
.icon-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 36px;
  height: 36px;
  color: var(--ink);
}
.menu-btn { display: none; }

.search-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 30, 0.45);
  z-index: 30;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-mask.open { display: flex; }
.search-box {
  width: min(640px, calc(100% - 32px));
  background: #fff;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
}
.search-box input {
  flex: 1;
  border: 0;
  padding: 16px 18px;
  font-size: 16px;
  outline: none;
}
.search-box button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 22px;
  cursor: pointer;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 48px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 24px;
}
.footer-brand img { height: 32px; filter: brightness(10); }
.footer-phone {
  margin: 18px 0 6px;
  font-size: 22px;
  letter-spacing: 0.5px;
}
.footer-hours { color: rgba(255, 255, 255, 0.65); font-size: 13px; }
.site-footer h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: #fff; }
.beian {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.banner { display: block; width: 100%; height: auto; }
.section { padding: 64px 0; }
.section-title { margin: 0; font-size: 28px; color: var(--blue); }
.section-en {
  margin: 6px 0 22px;
  color: #b0b6be;
  letter-spacing: 1px;
  font-size: 13px;
}
.mark {
  width: 28px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
}

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
