/**
 * 前台公共样式（common 模板）
 * index / guide / paused 三个页面共用：设计变量、重置、页面骨架、顶部导航、页头、页脚。
 * 页面内联样式在 <link> 之后加载，可覆盖这里的同名属性（如维护页的 flex 布局）。
 */

/* ---------- 设计变量 ---------- */
:root {
  --navy: #17365d;
  --navy-deep: #0d2140;
  --navy-soft: #2b4e7c;
  --gold: #c09a4e;
  --gold-soft: #e4c98a;
  --bg: #f7f9fc;
  --card: #ffffff;
  --text: #1b2531;
  --text-sub: #5f7086;
  --line: #e4eaf2;
  --radius: 10px;
  --max: 1180px;
}

/* ---------- 重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

/* ---------- 页面基础 ---------- */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", "WenQuanYi Micro Hei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 98px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
}
.brand img {
  height: 86px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.nav-tel:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}
.nav-tel svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 页头 ---------- */
.page-head {
  position: relative;
  background: linear-gradient(135deg, #0a1a32 0%, #153357 52%, #20456f 100%);
  color: #fff;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 154, 78, 0.16), transparent 68%);
  top: -200px;
  right: -140px;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%);
}
.page-head-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 66px 24px 70px;
}
.crumb {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}
.page-head h1 {
  margin-top: 20px;
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.4;
}
.page-head .en {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 3px;
  color: rgba(228, 201, 138, 0.75);
  font-weight: 600;
}
.page-head p {
  margin-top: 20px;
  max-width: 780px;
  font-size: 14.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 页脚 ---------- */
footer {
  background: #0a1728;
  color: rgba(255, 255, 255, 0.55);
  padding: 56px 0 30px;
  font-size: 13px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 44px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.foot-brand img {
  height: 104px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
}
.foot-brand p {
  margin-top: 18px;
  line-height: 1.9;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}
.foot-brand strong {
  display: block;
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
}
.foot-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.foot-col .ci {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
  padding: 5px 0;
}
.foot-col .ci svg {
  flex: 0 0 22px;
  width: 22px;
  height: 30px;
  stroke: var(--gold-soft);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}
.foot-col .tel {
  font-family: "Courier New", monospace;
  font-size: 15px;
  color: var(--gold-soft);
  letter-spacing: 1px;
  margin-top: 2px;
}
.foot-col a,
.foot-col li {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  padding: 5px 0;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--gold-soft);
}
.foot-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}
.foot-bottom a {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.2s;
}
.foot-bottom a:hover {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .page-head-inner {
    padding: 56px 20px 60px;
  }
  .foot-top {
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .nav-inner {
    height: 84px;
    padding: 0 18px;
  }
  .brand img {
    height: 68px;
  }
  .page-head-inner {
    padding: 46px 18px 50px;
  }
  .page-head p {
    font-size: 14px;
    line-height: 1.9;
  }
  .foot-top {
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .foot-brand img {
    height: 88px;
  }
  footer {
    padding: 46px 0 26px;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .nav-inner {
    height: 64px;
    padding: 0 14px;
    gap: 6px;
  }
  .brand {
    font-size: 17px;
    letter-spacing: 0.5px;
  }
  .brand img {
    height: 46px;
  }
  .page-head-inner {
    padding: 34px 16px 38px;
  }
  .crumb {
    font-size: 11.5px;
  }
  .page-head h1 {
    margin-top: 14px;
    letter-spacing: 1px;
  }
  .page-head .en {
    margin-top: 8px;
    letter-spacing: 2px;
  }
  .page-head p {
    margin-top: 14px;
    font-size: 13.5px;
    line-height: 1.85;
  }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }
  .foot-brand img {
    height: 72px;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .foot-brand p {
    margin-top: 12px;
    font-size: 12px;
  }
  .foot-col .ci svg {
    flex: 0 0 18px;
    width: 18px;
    height: 22px;
  }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 18px;
    font-size: 11.5px;
  }
  footer {
    padding: 34px 0 20px;
  }
}
