/* 归处信息 · PC 端样式 */
:root {
  --navy: #0b1f3a;
  --navy-2: #123056;
  --blue: #1565c0;
  --cyan: #0ea5b5;
  --orange: #e85d04;
  --gold: #c9a227;
  --text: #1f2a37;
  --muted: #5b6775;
  --line: #e4e9f0;
  --bg: #f3f6fa;
  --white: #ffffff;
  --danger: #c0392b;
  --ok: #1e8e5a;
  --shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
  --radius: 8px;
  --w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-width: 1180px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
.wrap { width: var(--w); margin: 0 auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* Header */
.topbar {
  background: var(--navy);
  color: #c9d6e5;
  font-size: 12px;
  height: 36px;
  line-height: 36px;
}
.topbar .wrap { display: flex; justify-content: space-between; }
.topbar a { color: #dce7f3; }
.topbar a:hover { color: #fff; }
.topbar-right span { margin-left: 16px; }

.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-main {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1a6fd4, #0ea5b5);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}
.logo h1 { font-size: 22px; color: var(--navy); line-height: 1.2; }
.logo p { font-size: 12px; color: var(--muted); }

.search {
  flex: 1;
  display: flex;
  height: 42px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
}
.search button {
  width: 92px;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}
.search button:hover { background: #0f4ea3; }

.header-user { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  background: var(--blue);
  color: #fff;
}
.btn:hover { filter: brightness(1.05); }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn-orange { background: var(--orange); }
.btn-navy { background: var(--navy); }
.btn-block { width: 100%; height: 44px; }
.btn-lg { height: 44px; padding: 0 28px; font-size: 15px; }

.nav {
  background: var(--navy-2);
}
.nav .wrap { display: flex; }
.nav a {
  color: #e8eef6;
  padding: 0 22px;
  height: 46px;
  line-height: 46px;
  font-size: 15px;
}
.nav a:hover, .nav a.active { background: var(--cyan); color: #fff; }

/* Hero */
.hero { position: relative; height: 420px; overflow: hidden; background: #000; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,31,58,.82) 0%, rgba(11,31,58,.35) 62%, rgba(11,31,58,.15) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 110px;
  max-width: 620px;
}
.hero-copy h2 { font-size: 36px; margin-bottom: 14px; letter-spacing: .5px; }
.hero-copy p { font-size: 16px; color: #d7e2ee; margin-bottom: 26px; }
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.hero-dots span.on { background: #fff; }

/* Sections */
.section { padding: 40px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-head h2 { font-size: 22px; color: var(--navy); }
.section-head h2 span { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.more { color: var(--blue); font-size: 13px; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card img { height: 148px; width: 100%; object-fit: cover; }
.cat-card .body { padding: 14px 16px 16px; }
.cat-card h3 { font-size: 16px; color: var(--navy); }
.cat-card p { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Listing cards */
.list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.list-card:hover { box-shadow: var(--shadow); }
.list-card .cover { position: relative; }
.list-card img { height: 160px; width: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
  color: #fff;
  background: var(--orange);
}
.badge.gold { background: var(--gold); left: auto; right: 8px; }
.list-card .body { padding: 12px 14px 16px; }
.list-card h3 {
  font-size: 15px;
  height: 44px;
  overflow: hidden;
  color: var(--navy);
}
.list-card .meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.list-card .price { color: var(--orange); font-weight: 700; font-size: 15px; margin-top: 8px; }

.list-row {
  display: grid;
  grid-template-columns: 220px 1fr 140px;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}
.list-row img { width: 220px; height: 140px; object-fit: cover; border-radius: 4px; }
.list-row h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.list-row .tags { margin: 8px 0; font-size: 12px; color: var(--muted); }
.tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid #f3d19e;
  color: #b36b00;
  background: #fff8ea;
  border-radius: 2px;
  margin-right: 6px;
}
.tag.cyan { border-color: #9ad7de; color: #0b7c88; background: #eefafb; }
.list-row .side { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.list-row .side .price { color: var(--orange); font-size: 20px; font-weight: 700; }

/* Home extras */
.notice-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}
.notice-bar b { color: var(--orange); white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { padding: 24px; }
.service-card h3 { font-size: 18px; color: var(--navy); }
.service-card .fee { color: var(--orange); font-size: 22px; font-weight: 700; margin: 8px 0 10px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.stats div { padding: 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 28px; color: #7fe0ea; }
.home-split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; }
.about-mini { overflow: hidden; display: grid; grid-template-columns: 280px 1fr; min-height: 220px; }
.about-mini img { height: 100%; object-fit: cover; }
.about-mini .txt { padding: 22px; }
.about-mini h3 { margin-bottom: 10px; color: var(--navy); }

/* Page banner */
.page-banner {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}
.page-banner:after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(11,31,58,.7);
}
.page-banner .wrap { position: relative; z-index: 1; padding-top: 52px; }
.page-banner h2 { font-size: 28px; }
.crumb { font-size: 13px; color: #c5d2e0; margin-bottom: 8px; }
.crumb a { color: #c5d2e0; }

/* Filters */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 18px; padding: 28px 0 48px; }
.side-box { padding: 16px; margin-bottom: 16px; }
.side-box h3 {
  font-size: 15px;
  border-left: 3px solid var(--cyan);
  padding-left: 8px;
  margin-bottom: 12px;
}
.side-box a, .side-box button.linkish {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 8px 6px;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}
.side-box a:hover, .side-box a.active,
.side-box button.linkish:hover, .side-box button.linkish.active {
  background: #eaf4ff;
  color: var(--blue);
}

/* Detail */
.detail { padding: 28px 0 48px; display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.gallery img.main { width: 100%; height: 380px; object-fit: cover; border-radius: 6px; background: #ddd; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs img {
  width: 84px; height: 60px; object-fit: cover; border-radius: 4px;
  border: 2px solid transparent; cursor: pointer;
}
.thumbs img.on { border-color: var(--blue); }
.detail-info { padding: 20px; }
.detail-info h1 { font-size: 24px; color: var(--navy); line-height: 1.4; }
.detail-meta { font-size: 13px; color: var(--muted); margin: 12px 0 16px; }
.detail-meta span { margin-right: 16px; }
.detail-price { font-size: 26px; color: var(--orange); font-weight: 700; margin-bottom: 12px; }
.article { padding: 22px; margin-top: 16px; }
.article h3 { margin-bottom: 12px; color: var(--navy); }
.article p { margin-bottom: 10px; color: #334155; }

.contact-box { padding: 20px; }
.contact-box h3 { margin-bottom: 12px; }
.contact-lock {
  position: relative;
  min-height: 120px;
  background: repeating-linear-gradient(-45deg, #f4f6f9, #f4f6f9 8px, #e9eef5 8px, #e9eef5 16px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.contact-row { display: flex; margin-bottom: 10px; font-size: 14px; }
.contact-row b { width: 72px; color: var(--muted); font-weight: 500; }

/* Forms */
.form-page { padding: 32px 0 56px; }
.form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.form { padding: 24px 28px; }
.form h2 { margin-bottom: 8px; color: var(--navy); }
.form .lead { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; }
.field label em { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }
.check { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.check a { color: var(--blue); }
.auth-card {
  width: 460px;
  margin: 48px auto 72px;
  padding: 32px 36px 36px;
}
.auth-card h2 { text-align: center; margin-bottom: 6px; }
.auth-card .lead { text-align: center; }
.tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs a { flex: 1; text-align: center; padding: 10px; color: var(--muted); }
.tabs a.on { color: var(--blue); border-bottom: 2px solid var(--blue); font-weight: 700; }
.msg { font-size: 13px; margin: 8px 0 0; min-height: 18px; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--ok); }

.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 8px; }
.price-cards .panel { padding: 16px; text-align: center; }
.price-cards .fee { color: var(--orange); font-size: 22px; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 18px; }
.step .n { color: var(--cyan); font-size: 20px; font-weight: 700; }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.point { padding: 16px; }
.protocol { padding: 28px 36px 40px; }
.protocol h3 { margin: 18px 0 8px; color: var(--navy); }
.protocol p { white-space: pre-line; color: #334155; font-size: 14px; }

.faq .item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq .item b { display: block; margin-bottom: 6px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.contact-cards .panel { padding: 20px; }
.contact-cards h3 { font-size: 14px; color: var(--muted); font-weight: 500; }
.contact-cards p { font-size: 16px; color: var(--navy); margin-top: 6px; }

.modal-mask {
  position: fixed; inset: 0;
  background: rgba(11,31,58,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
}
.modal {
  width: 420px; background: #fff; border-radius: 8px; padding: 24px;
}
.modal h3 { margin-bottom: 10px; }
.modal .pay { font-size: 28px; color: var(--orange); font-weight: 700; margin: 8px 0 16px; }

.empty { padding: 48px; text-align: center; color: var(--muted); background: #fff; border-radius: var(--radius); }

/* Footer */
.footer { background: #081627; color: #9fb0c3; margin-top: 20px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding: 36px 0 28px;
}
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer a { color: #9fb0c3; display: inline-block; margin: 4px 12px 4px 0; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #15263c;
  text-align: center;
  padding: 14px 0 20px;
  font-size: 12px;
  color: #7d8fa3;
}
.footer-bottom a { color: #9fb0c3; }
