:root {
  --brand: #1f4e79;
  --brand-dark: #163a5a;
  --accent: #e0a458;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #1f2933;
  --text-soft: #5b6b7b;
  --border: #e3e9f0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.brand-name { font-size: 18px; font-weight: 700; color: var(--text); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text-soft); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--brand); }

/* ===== 首屏 ===== */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 96px 0 88px;
  text-align: center;
}
.hero-kicker {
  letter-spacing: 4px;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-title { font-size: 40px; font-weight: 800; line-height: 1.25; }
.hero-uyghur { font-size: 18px; margin-top: 12px; opacity: .85; direction: rtl; }
.hero-sub { font-size: 17px; margin-top: 16px; opacity: .9; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #2a1c06; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(224,164,88,.35); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 28px; font-weight: 800; text-align: center; color: var(--text); }
.section-desc { text-align: center; color: var(--text-soft); margin-top: 10px; font-size: 16px; }

/* ===== 业务卡片 ===== */
.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,78,121,.12); }
.card-icon { font-size: 34px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--brand); }
.card p { font-size: 14px; color: var(--text-soft); }

/* ===== 关于我们 ===== */
.about-text {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 16px;
}

/* ===== 小程序入口 ===== */
.app {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.app-text { flex: 1 1 360px; }
.app-list { list-style: none; margin-top: 18px; }
.app-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-soft);
}
.app-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
.app-qr { flex: 0 0 auto; }
.qr-placeholder {
  width: 180px; height: 180px;
  border: 2px dashed var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-soft);
  font-size: 15px;
  background: #fff;
}
.qr-note { display: block; margin-top: 6px; font-size: 12px; color: var(--accent); }
.app-qr img { width: 180px; height: 180px; border-radius: 16px; }

/* ===== 联系我们 ===== */
.contact-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.contact-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label { font-size: 13px; color: var(--text-soft); }
.contact-value { font-size: 17px; font-weight: 600; color: var(--brand); word-break: break-all; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--brand-dark);
  color: #cdd9e6;
  padding: 34px 0;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-brand { font-size: 15px; color: #fff; }
.footer-beian a { color: var(--accent); text-decoration: none; font-size: 14px; }
.footer-beian a:hover { text-decoration: underline; }
.footer-copy { font-size: 13px; color: #9fb1c4; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 30px; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
