/* ============================================
   Officezy租易 - 上海办公室租赁
   自定义样式表（无框架依赖）
   设计体系：单一强调蓝 + 藏蓝深色区 + 冷灰中性色
   圆角规范：卡片 16px / 按钮与输入 10px / 药丸 999px
   ============================================ */

/* ---- 设计令牌 ---- */
:root {
  /* 强调色（全站唯一）：信号蓝 */
  --accent: #1d4ed8;
  --accent-strong: #1e40af;
  --accent-soft: #eef2fb;
  --accent-ring: rgba(29, 78, 216, 0.16);

  /* 深色区：藏蓝 */
  --navy: #0a1a33;
  --navy-2: #0d2142;

  /* 中性色：冷灰系 */
  --ink: #101d30;
  --ink-2: #46536b;
  --ink-3: #8b95a7;
  --bg: #ffffff;
  --bg-sub: #f5f7fa;
  --line: #e4e8f0;
  --line-strong: #cdd4e0;

  --ok: #0f9960;
  --ok-bg: #e9f7f0;
  --err: #d64545;
  --err-bg: #fdeeee;
  --wechat: #07c160;

  /* 阴影（带底色，非纯黑） */
  --shadow-1: 0 1px 3px rgba(16, 29, 48, 0.06), 0 4px 14px rgba(16, 29, 48, 0.05);
  --shadow-2: 0 6px 24px rgba(16, 29, 48, 0.1);
  --shadow-navy: 0 10px 30px rgba(7, 15, 30, 0.35);

  --radius-card: 16px;
  --radius-btn: 10px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC",
          "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

/* ---- 基础 ---- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-sub); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

.container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.container-narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus { top: 12px; color: #fff; }

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-ring);
}

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  padding: 0.6rem 1.3rem;
  font-size: 0.92rem;
}

.btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-block { width: 100%; }

/* ---- 顶部导航 ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.95rem;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.active { color: var(--accent); }

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.btn-nav { padding: 0.55rem 1.15rem; font-size: 0.92rem; margin-left: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh; /* 不支持 svh 的浏览器回退 */
  min-height: clamp(600px, 100svh, 880px);
  padding: 120px 0 88px;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg,
    rgba(7, 17, 34, 0.92) 0%,
    rgba(8, 20, 40, 0.78) 42%,
    rgba(10, 26, 51, 0.42) 74%,
    rgba(10, 26, 51, 0.2) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-sub {
  max-width: 34em;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---- 信任带 ---- */
.trust-band {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
}

.trust-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.trust-lead strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-right: 0.2em;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-chips li {
  padding: 0.28rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* ---- 通用区块 ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-sub); }

.section-head { margin-bottom: 56px; }

.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.section-desc {
  max-width: 620px;
  color: var(--ink-2);
  font-size: 1rem;
}

.section-label {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ---- 服务优势 bento ---- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.svc {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem 1.6rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}

.svc-feature {
  grid-column: span 2;
  grid-row: span 2;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.25rem 2.1rem;
  background: var(--accent-soft);
  border-color: rgba(29, 78, 216, 0.16);
}

.svc-wide {
  grid-column: span 2;
  align-items: center;
}

.svc-dark {
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  padding: 1.9rem 2.1rem;
}

.svc-dark:hover { border-color: var(--navy-2); }

.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.25rem;
}

.svc-feature .svc-icon { width: 60px; height: 60px; font-size: 1.4rem; }

.svc-dark .svc-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.svc-body { min-width: 0; }

.svc-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.svc-dark .svc-title { color: #fff; }

.svc-desc {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

.svc-dark .svc-desc { color: rgba(255, 255, 255, 0.72); }

.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.svc-chips li {
  padding: 0.3rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.83rem;
  font-weight: 600;
}

.svc-dark .svc-cta { margin: 0; }

/* ---- 办公空间 ---- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.filter-btn:hover { border-color: var(--ink-3); color: var(--ink); }

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.space-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease), opacity 0.3s;
}

.space-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}

.space-card.hide { display: none; }

.space-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-sub);
}

.space-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.space-card:hover .space-media img { transform: scale(1.05); }

.space-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.28rem 0.8rem;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.space-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1.3rem 1.25rem;
}

.space-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.space-spec {
  color: var(--ink-2);
  font-size: 0.86rem;
}

.space-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.space-link i { transition: transform 0.25s var(--ease); }

.space-card:hover .space-link i { transform: translateX(4px); }

/* ---- 关于我们 ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 1.4rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-2);
}

.about-badge-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.about-badge-text {
  color: var(--ink-2);
  font-size: 0.8rem;
}

.about-text {
  color: var(--ink-2);
  margin-bottom: 1.1rem;
}

.about-body .btn { margin-top: 0.75rem; }

/* ---- 数据统计带 ---- */
.stats-band {
  background: var(--navy);
  padding: 3.5rem 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat { text-align: center; }

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.stat-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  margin-top: 0.3rem;
}

/* ---- 常见问题 ---- */
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  overflow: hidden;
}

.faq-item + .faq-item { border-top: 1px solid var(--line); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.6rem;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  transition: background 0.2s;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q:hover { background: var(--bg-sub); }

.faq-q i {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] .faq-q { background: var(--accent-soft); }

.faq-item[open] .faq-q i { transform: rotate(45deg); }

.faq-a {
  padding: 0.35rem 1.6rem 1.4rem;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---- 联系我们 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.form-card,
.info-card {
  border-radius: var(--radius-card);
  padding: 2.25rem 2.1rem;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.form-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.form-field { margin-bottom: 1.15rem; min-width: 0; }

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-field label em {
  font-style: normal;
  color: var(--err);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  background: var(--bg-sub);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-3); }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--err);
  background: var(--err-bg);
}

.form-field textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  margin-top: 0.4rem;
  font-size: 1.02rem;
}

.btn-submit.loading { pointer-events: none; opacity: 0.85; }

.spinner {
  display: none;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-feedback.show { display: block; }

.form-feedback.success {
  background: var(--ok-bg);
  color: var(--ok);
  border: 1px solid rgba(15, 153, 96, 0.3);
}

.form-feedback.error {
  background: var(--err-bg);
  color: var(--err);
  border: 1px solid rgba(214, 69, 69, 0.3);
}

/* 右侧信息卡（深色） */
.info-card {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-navy);
}

.info-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.info-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.info-phone i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

.info-phone:hover { color: #fff; opacity: 0.88; }

.info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
}

.info-list i {
  width: 20px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 0.95rem;
}

.info-list .info-label {
  color: rgba(255, 255, 255, 0.5);
  margin-right: 0.35rem;
}

.info-list a { color: rgba(255, 255, 255, 0.85); }
.info-list a:hover { color: #fff; text-decoration: underline; }

.info-qr {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.info-qr img {
  width: 130px;
  height: 130px;
  border: 5px solid #fff;
  border-radius: 12px;
}

.info-qr p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.info-qr i { color: var(--wechat); margin-right: 0.3rem; }

/* ---- 滚动显现 ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 悬浮微信群 ---- */
.floating-qr {
  position: fixed;
  right: 1.4rem;
  bottom: 5.2rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.qr-toggle {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--wechat);
  color: #fff;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(7, 193, 96, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.qr-toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(7, 193, 96, 0.5);
}

.qr-popup {
  position: relative;
  display: none;
  width: 196px;
  padding: 1.1rem 1.1rem 0.9rem;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2);
  text-align: center;
}

.qr-popup.show { display: block; animation: popIn 0.28s var(--ease); }

@keyframes popIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.qr-popup img {
  width: 150px;
  height: 150px;
  margin: 0 auto 0.5rem;
  border-radius: 10px;
}

.qr-text {
  color: var(--ink-2);
  font-size: 0.82rem;
}

.qr-text i { color: var(--wechat); margin-right: 0.25rem; }

.qr-close {
  position: absolute;
  top: 2px;
  right: 6px;
  border: none;
  background: none;
  color: var(--ink-3);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
}

.qr-close:hover { color: var(--ink); }

/* ---- 返回顶部 ---- */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 990;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-2);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ---- 页脚 ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-logo i { color: rgba(255, 255, 255, 0.55); }

.footer-desc {
  max-width: 300px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-title {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-contact i {
  width: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact a:hover { color: #fff; }

.footer-bottom {
  padding-top: 1.6rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: #fff; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .bento-grid { gap: 1rem; }
  .about-grid { gap: 2.5rem; }
}

@media (max-width: 991px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    padding: 0.75rem 24px 1.25rem;
  }

  .site-header.nav-open .site-nav { display: block; animation: navIn 0.25s var(--ease); }

  @keyframes navIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .nav-link { padding: 0.8rem 0.5rem; font-size: 1rem; }
  .nav-link::after { display: none; }

  .nav-phone-item { margin-top: 0.6rem; }
  .btn-nav { width: 100%; margin-left: 0; }

  .hero { padding: 108px 0 72px; }
  .hero-inner { max-width: 600px; }

  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .hero { min-height: auto; }
  .hero-actions .btn { flex: 1 1 100%; }

  .trust-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .bento-grid { grid-template-columns: 1fr; }
  .svc-feature,
  .svc-wide,
  .svc-dark { grid-column: 1 / -1; grid-row: auto; }
  .svc-wide { flex-direction: column; align-items: flex-start; }

  .space-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }

  .section-head.split { flex-direction: column; align-items: flex-start; }

  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
  .stats-band { padding: 2.5rem 0; }

  .form-card, .info-card { padding: 1.6rem 1.35rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .floating-qr { right: 1rem; bottom: 4.7rem; }
  .back-to-top { right: 1rem; bottom: 1rem; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 40px, 1200px); }

  .space-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .info-phone { font-size: 1.3rem; }
}

/* ---- 动效偏好：减少动态 ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

/* ---- 打印 ---- */
@media print {
  .site-header,
  .floating-qr,
  .back-to-top,
  .filter-row { display: none !important; }

  body { background: #fff; color: #000; }
  .section { padding: 2rem 0; }
  .hero { min-height: auto; padding: 2rem 0; background: #fff; }
  .hero-bg, .hero-scrim { display: none; }
  .hero-title, .hero-sub, .hero-badge { color: #000; }
}
