/* ==========================================================
   中新世纪建设集团 · 公共样式（头部 / 底部 / 基础）
   主色调取自 LOGO 蓝色
   ========================================================== */
:root {
  --blue: #2e7cc0;        /* LOGO 主蓝 */
  --blue-dark: #1e5f9e;
  --blue-deep: #16406b;
  --blue-tint: #eaf3fa;
  --ink: #1c2733;
  --muted: #6b7683;
  --paper: #f4f7fa;
  --line: #e3e9ef;
  --dark: #23272d;        /* 底部深色 */
  --dark-2: #2b3037;
  --white: #fff;
  --wrap: 1680px;         /* 版心宽度与武汉人福项目一致 */
  --header-h: 88px;
  --fs-title: clamp(24px, 2.2vw, 36px);
  --fs-nav: clamp(16px, 1.1vw, 19px);
  --fs-body: clamp(14px, 1vw, 17px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
#app-header { min-height: var(--header-h); }
body:not(.page-home) { padding-top: var(--header-h); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
ul { list-style: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- 标题 ---------- */
.title { font-size: var(--fs-title); font-weight: 700; }
.title-sub {
  margin-top: 6px;
  font-size: clamp(12px, 0.95vw, 15px);
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.sec-head { margin-bottom: 40px; }
.sec-head--center { text-align: center; }

/* ==========================================================
   头部
   ========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(10, 30, 50, 0.55), rgba(10, 30, 50, 0));
  transition: background 0.35s, box-shadow 0.35s;
}
.header.is-solid {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(22, 64, 107, 0.12);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 56px; height: 56px; object-fit: contain; }
.logo__word { line-height: 1.2; color: var(--white); transition: color 0.35s; }
.logo__word b { display: block; font-size: 23px; letter-spacing: 2px; white-space: nowrap; }
.logo__word i {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.85;
  white-space: nowrap;
}
.header.is-solid .logo__word { color: var(--ink); }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}
.nav a {
  position: relative;
  font-size: var(--fs-nav);
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 2px;
  white-space: nowrap;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 0.3s;
}
.nav a:hover, .nav a.is-on { color: var(--blue); }
.header.is-solid .nav a { color: var(--ink); }
.header.is-solid .nav a:hover, .header.is-solid .nav a.is-on { color: var(--blue); }
.nav a:hover::after, .nav a.is-on::after { width: 100%; }

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--white);
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  flex-shrink: 0;
}
.header.is-solid .search-btn { color: var(--ink); border-color: var(--line); background: transparent; }
.search-btn:hover { color: var(--blue); border-color: var(--blue); background: transparent; }

.search-bar {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(22, 64, 107, 0.12);
}
.search-bar.is-open { display: block; }
.search-bar .wrap {
  display: flex;
  gap: 16px;
  padding: 14px 0;
}
.search-bar input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 4px;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar input::placeholder { color: #9aa7b4; }
.search-bar input:focus {
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 0 var(--blue);
}
.search-bar button {
  padding: 8px 28px;
  background: var(--blue);
  color: var(--white);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer;
}
.menu-btn span { height: 2px; background: currentColor; border-radius: 2px; }

/* ==========================================================
   悬浮工具条
   ========================================================== */
.dock {
  position: fixed;
  right: 18px; bottom: 18%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.dock__row { position: relative; }
.dock__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 64px; height: 64px;
  justify-content: center;
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(22, 64, 107, 0.1);
  transition: background 0.3s, color 0.3s;
}
.dock__btn span { font-size: 12px; color: var(--ink); }
.dock__btn:hover, .dock__btn.is-on { background: var(--blue); }
.dock__btn:hover span, .dock__btn.is-on span { color: var(--white); }
.dock__panel {
  position: absolute;
  right: 74px; top: 0;
  min-width: 170px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(22, 64, 107, 0.16);
  display: none;
}
.dock__panel.is-open { display: block; }
.dock__panel em { font-style: normal; font-size: 12px; color: var(--muted); display: block; margin-bottom: 4px; }
.dock__panel--phone a { font-size: 18px; font-weight: 700; color: var(--blue); }
.dock__panel--qr img { width: 110px; height: 110px; margin: 0 auto 6px; }

/* ==========================================================
   底部（参考图4 深色样式）
   ========================================================== */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.75); }

.footer__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--dark-2);
}
.footer__top-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.footer__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--blue); }

.footer__select { margin-left: auto; }
.footer__select select {
  height: 38px;
  padding: 0 14px;
  min-width: 160px;
  background: var(--white);
  color: var(--ink);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.footer__body {
  position: relative;
  padding: 30px 0 36px;
  overflow: hidden;
}
.footer__body::before {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: min(900px, 62%);
  height: 100%;
  background: url(../img/footer-sketch.jpg) right bottom / cover no-repeat;
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
}
.footer__body-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.footer__info { flex: 1; font-size: 14px; line-height: 2; }
.footer__info span { color: rgba(255, 255, 255, 0.92); }
.footer__meta { color: rgba(255, 255, 255, 0.55); font-size: 13px; }
.footer__meta a { color: rgba(255, 255, 255, 0.55); }
.footer__meta a:hover { color: var(--blue); }
.footer__meta--police { display: flex; align-items: center; gap: 6px; }
.footer__qr {
  width: 96px; height: 96px;
  background: var(--white);
  padding: 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__word b { font-size: 17px; letter-spacing: 1px; }
  .logo__word i { font-size: 9px; letter-spacing: 0.5px; }
  .menu-btn { display: flex; color: var(--white); }
  .header.is-solid .menu-btn { color: var(--ink); }
  .search-btn { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { color: var(--ink) !important; padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .dock { display: none; }
  .footer__top-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__select { margin-left: 0; }
  .footer__body-inner { flex-direction: column-reverse; gap: 20px; }
}