:root {
  --primary: #15508a;
  --primary-dark: #0f3158;
  --accent: #e8a317;
  --bg: #0f1724;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #edf3fb;
  --muted: #a8b3c5;
  --line: rgba(255, 255, 255, 0.11);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 79, 139, 0.38), transparent),
    linear-gradient(180deg, #0f1724 0%, #162032 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 23, 36, 0.92);
  backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #2d6cb5);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  width: min(1060px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 6rem;
}

.hero {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.16;
}

.lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.06rem;
}

.cta-row,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.button,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button {
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  color: #111827;
  background: var(--accent);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--panel);
}

.badge {
  padding: 0.35rem 0.8rem;
  color: #f8ce74;
  border: 1px solid rgba(232, 163, 23, 0.35);
  background: rgba(232, 163, 23, 0.14);
  font-size: 0.86rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.card,
.service-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.card {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
}

.service-card {
  display: block;
  min-height: 100%;
  padding: 1.25rem;
  text-decoration: none;
}

.service-card:hover {
  border-color: rgba(232, 163, 23, 0.55);
  background: var(--panel-strong);
}

h2,
h3 {
  line-height: 1.35;
}

h2 {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 1.2rem;
}

h3 {
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 1rem;
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

.route-line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.route-box {
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(126, 184, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(21, 80, 138, 0.58), rgba(21, 80, 138, 0.18));
}

.route-box strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
  font-size: 1.35rem;
}

.process {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}

.process li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 3.1rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.process li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  color: #111827;
  border-radius: 50%;
  background: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.contact-item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-item strong,
.contact-item a {
  color: var(--text);
  font-size: 1.03rem;
  font-weight: 700;
  text-decoration: none;
}

.qr-placeholder {
  display: grid;
  width: 180px;
  height: 180px;
  margin: 1rem auto 0;
  place-items: center;
  color: #111827;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-weight: 700;
}

.wechat-qrcode {
  display: block;
  width: 180px;
  height: 180px;
  margin: 1rem auto 0;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
}

.float-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  gap: 0.55rem;
}

.float-contact a,
.float-contact button {
  min-width: 118px;
  padding: 0.75rem 0.95rem;
  color: #111827;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.wechat-popover {
  display: none;
  width: 200px;
  padding: 1rem;
  color: #111827;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.wechat-popover.is-open {
  display: block;
}

.site-footer {
  padding: 2rem 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  main {
    padding-top: 2rem;
  }

  .float-contact {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
