/* =========================================================
   金铎启辰（北京）科技有限公司 官网样式
   纯静态站 · 无框架 · 系统字栈
   ========================================================= */
:root {
  --navy-deep: #0F2444;
  --navy-bright: #1E4478;
  --navy-darker: #0B1A31;
  --gold: #C9A24B;
  --gold-light: #E3C580;
  --gold-bg: #FBF7EE;
  --red: #C8281E;
  --red-bg: #FDECEA;
  --bg-warm: #F9F9F9;
  --card: #FFFFFF;
  --ink: #0A1628;
  --body: #374151;
  --muted: #6B7280;
  --on-navy: #C3D0E0;
  --on-navy-muted: #8FA3BF;
  --line: #E8ECF2;
  --radius-card: 24px;
  --shadow-card: 0 18px 40px -8px rgba(15, 36, 68, 0.06);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
  background: var(--card);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 52px; width: auto; display: block; }
.brand-text { line-height: 1.35; }
.brand-text .cn, .brand-text .cn-short, .brand-text .en { display: block; }
.brand-text .cn { font-size: 16px; font-weight: 600; color: var(--navy-deep); }
.brand-text .cn-short { display: none; font-size: 16px; font-weight: 600; color: var(--navy-deep); }
.brand-text .en { font-size: 10px; font-weight: 500; color: #9AA3AF; letter-spacing: .04em; }

.site-nav { display: flex; gap: 8px; }
.site-nav a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--navy-deep); }
.site-nav a.active { color: var(--gold); font-weight: 600; }

/* ---------- 页首横幅（内页） ---------- */
.page-hero {
  background: linear-gradient(118deg, var(--navy-darker) 0%, var(--navy-deep) 45%, var(--navy-bright) 100%);
  color: #fff;
  padding: 72px 0;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { font-size: 40px; line-height: 1.35; font-weight: 600; margin: 10px 0 6px; }
.page-hero p { color: var(--on-navy); font-size: 16px; max-width: 720px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(118deg, var(--navy-darker) 0%, var(--navy-deep) 45%, var(--navy-bright) 100%);
  color: #fff;
  padding: 96px 0;
}
.hero-grid { display: flex; align-items: center; gap: 64px; }
.hero-copy { flex: 1 1 0; min-width: 0; }
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 500;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.36;
  font-weight: 700;
  margin: 26px 0 20px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.9;
  color: var(--on-navy);
  max-width: 620px;
}
.hero-divider {
  width: 64px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 26px 0 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .15s, background .15s;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { opacity: .9; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; font-weight: 500; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

.hero-visual { flex: 0 0 520px; display: flex; flex-direction: column; gap: 16px; }
.hero-shot {
  height: 330px;
  border-radius: 16px;
  border: 1px solid rgba(201,162,75,.35);
  background:
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,0) 55%),
    #16294A;
  display: flex; align-items: center; justify-content: center;
  color: #5F7392;
  font-size: 15px;
  letter-spacing: .1em;
}
.hero-stat {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 26px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}
.hero-stat .num { font-size: 30px; font-weight: 700; color: var(--gold-light); }
.hero-stat .t1 { font-size: 14px; font-weight: 500; color: #fff; }
.hero-stat .t2 { font-size: 13px; color: var(--on-navy-muted); }

/* ---------- 合作平台条 ---------- */
.trustbar {
  background: var(--navy-darker);
  color: #DCE5F0;
  padding: 20px 0;
}
.trustbar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 36px; flex-wrap: wrap;
}
.trustbar .label { font-size: 12px; font-weight: 500; color: #7E93AE; }
.trustbar .sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.trustbar .name { font-size: 15px; font-weight: 600; }

/* ---------- 板块通用 ---------- */
.section { padding: 88px 0; }
.section.warm { background: var(--bg-warm); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 36px; line-height: 1.35; font-weight: 600; color: var(--ink); margin: 12px 0 8px; }
.section-head .lead { color: var(--muted); font-size: 16px; }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.card.outline { border: 1px solid var(--line); }
.card.gold-border { border: 1.5px solid var(--gold); }
.card.soft { background: var(--bg-warm); border: 1px solid var(--line); box-shadow: none; }
.card h3 { font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 15px; line-height: 1.9; }
.card .muted { color: var(--muted); }

.icon-tile {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.icon-tile svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card .num { font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 14px; }

.pill {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: #F3F6FB;
  color: #16355C;
}
.pill.red { background: var(--red-bg); color: var(--red); font-weight: 600; }
.pill.gold { background: var(--gold-bg); color: #A9822F; font-weight: 600; }
.pill.gray { background: #EEF1F5; color: var(--muted); font-weight: 600; }
.tag-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.badge-img {
  width: 88px; height: 88px;
  object-fit: contain;
  margin-bottom: 18px;
}

/* ---------- 首页 双栏简介 ---------- */
.about-grid { display: grid; grid-template-columns: 768fr 408fr; gap: 32px; align-items: stretch; }
.about-grid > .card { height: 100%; }

/* ---------- 合作邀请（轻量版：浅底居中，无深色块） ---------- */
.cta-section {
  background: var(--bg-warm);
  padding: 96px 0;
  text-align: center;
}
.cta-section .eyebrow { display: block; margin-bottom: 14px; }
.cta-section h2 { font-size: 32px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.cta-divider {
  width: 64px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 22px auto 20px;
}
.cta-section p {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 34px;
}
.cta-section .btn { padding: 15px 38px; font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 56px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-top .cn { font-size: 18px; font-weight: 600; color: #fff; }
.footer-top .en { font-size: 11px; font-weight: 500; color: #7E93AE; margin-top: 4px; letter-spacing: .03em; }
.footer-info { margin-top: 18px; font-size: 14px; line-height: 1.9; color: var(--on-navy); }
.footer-badge { text-align: center; }
.footer-badge .disc {
  width: 96px; height: 96px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.footer-badge .disc img { width: 62px; height: 62px; object-fit: contain; }
.footer-badge figcaption { margin-top: 12px; font-size: 12px; color: #7E93AE; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  font-size: 13px;
  color: var(--on-navy-muted);
  line-height: 2;
}
.footer-bottom a { color: var(--on-navy-muted); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 768fr 408fr; gap: 24px; align-items: stretch; }
.map-figure {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
  background: #EDF1F6;
}
.map-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: absolute; inset: 0;
}
.map-figure .addr-chip {
  position: absolute; left: 20px; bottom: 20px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(15, 36, 68, .15);
}
.map-figure .map-credit {
  position: absolute; right: 12px; bottom: 12px;
  font-size: 11px; color: var(--muted);
  background: rgba(255, 255, 255, .88);
  padding: 2px 8px; border-radius: 6px;
}
.visit-card {
  background: var(--navy-deep);
  color: var(--on-navy);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.visit-card h3 { color: #fff; font-size: 21px; font-weight: 600; }
.visit-card p { font-size: 14px; line-height: 1.9; }
.visit-card hr { border: none; border-top: 1px solid rgba(255,255,255,.14); margin: 6px 0; }
.visit-card .mail { color: var(--gold-light); font-weight: 600; font-size: 15px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
  .hero-visual { flex: 1 1 0; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .hero-grid { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero-visual { flex: none; width: 100%; }
  .about-grid, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* 顶栏：上行品牌、下行导航，避免挤压换行 */
  .site-header .container {
    height: auto;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 0;
  }
  .brand { padding-bottom: 10px; }
  .brand-logo { height: 40px; }
  .brand-text .cn { display: none; }
  .brand-text .cn-short { display: block; font-size: 16px; }
  .brand-text .en { display: none; }
  .site-nav {
    width: 100%;
    display: flex;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .site-nav a {
    flex: 1 1 0;
    text-align: center;
    padding: 12px 0 10px;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .site-nav a.active { border-bottom-color: var(--gold); }

  .cta-section { padding: 64px 0; text-align: left; }
  .cta-section h2 { font-size: 24px; }
  .cta-divider { margin-left: 0; margin-right: 0; }
  .cta-section p { margin-left: 0; margin-right: 0; }
  .footer-top { flex-direction: column; }
  .page-hero h1 { font-size: 32px; }
}

@media (max-width: 360px) {
  .site-nav a { font-size: 13px; }
}
