/* ============================================================
   ZHIQI SPACE — 门户样式（对齐真实行业招商官网）
   克制白底 + 品牌红点缀，以信息与数据为主，不做玻璃/发光装饰
   ============================================================ */

:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 皮肤：深林绿 × 暖金 */
  --brand: #147a55;        /* 主色 */
  --brand-strong: #0d5c3e;
  --brand-soft: rgba(20, 122, 85, 0.1);
  --ink: #1f2a24;          /* 标题 */
  --text: #33443a;         /* 正文 */
  --muted: #67796d;        /* 次要文字 */
  --faint: #97a79c;        /* 弱文字 */

  --bg: #ffffff;           /* 页面底 */
  --bg-soft: #f3f7f4;      /* 浅灰区块底 */
  --line: #dfe8e2;         /* 细边框 */
  --line-strong: rgba(20, 122, 85, 0.32);

  --gold: #b8842f;         /* 暖金点缀 */
  --star: var(--gold);

  --deep: #14241c;         /* 深底：hero / 数据带 */
  --deep-2: #0e1913;       /* 更深：topbar / footer / CTA 横幅 */
  --hero-grad-a: rgba(9, 22, 16, 0.88);
  --hero-grad-b: rgba(9, 22, 16, 0.55);
  --hero-grad-c: rgba(9, 22, 16, 0.4);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(16, 44, 33, 0.1);
  --shadow: 0 8px 22px -10px rgba(16, 44, 33, 0.22);

  --nav-h: 62px;
  --maxw: 1160px;
}

html[data-theme="dark"] {
  --brand: #3fae7d;
  --brand-strong: #69c9a0;
  --brand-soft: rgba(63, 174, 125, 0.16);
  --ink: #e9f2ec;
  --text: #c2d5ca;
  --muted: #8ba396;
  --faint: #5f7468;
  --bg: #0e1712;
  --bg-soft: #17231c;
  --line: rgba(99, 175, 140, 0.2);
  --line-strong: rgba(63, 174, 125, 0.45);
  --gold: #e0ae58;
  --deep: #0c1712;
  --deep-2: #09110d;
  --hero-grad-a: rgba(4, 12, 8, 0.9);
  --hero-grad-b: rgba(4, 12, 8, 0.58);
  --hero-grad-c: rgba(4, 12, 8, 0.45);
  --shadow-sm: 0 2px 8px -4px rgba(0, 0, 0, 0.5);
  --shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button {
  font-family: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 1px 6px;
  border-radius: 4px;
}

::selection {
  background: rgba(20, 122, 85, 0.16);
}

/* ============================================================
   Header
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.nav.is-scrolled {
  box-shadow: 0 2px 12px -6px rgba(16, 44, 33, 0.16);
}

.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.12rem;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: #fff;
  background: var(--brand);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text span {
  color: var(--brand);
}

.nav-links {
  display: flex;
  gap: 2px;
  margin-right: auto;
  margin-left: 18px;
}

.nav-link {
  position: relative;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-link.is-active {
  color: var(--brand);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid var(--line-strong);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-hotline:hover {
  background: var(--brand-soft);
}

.nav-hotline b {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.hamburger {
  display: none;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg-soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(243, 247, 244, 0.88) 46%, rgba(20, 122, 85, 0.14) 100%),
    url("/images/storefront.webp") center 55% / cover no-repeat;
  filter: brightness(1.12) saturate(1.04);
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 24px 76px;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand);
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
}

.hero-title {
  margin: 0;
  font-size: clamp(1.3rem, 4.8vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.9;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

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

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-ghost {
  color: var(--text);
  background: var(--bg);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero .btn-ghost {
  color: var(--text);
  background: var(--bg);
  border-color: var(--line);
}

.hero .btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   Brand stats band
   ============================================================ */
.brand-stats {
  background: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.brand-stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.brand-stats .stat {
  position: relative;
  padding: 8px 22px;
  text-align: left;
}

.brand-stats .stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.brand-stats .stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.brand-stats .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   Sections
   ============================================================ */
.values,
.services,
.steps,
.branches,
.milestones,
.about,
.contact {
  padding: 54px 24px;
}

.services,
.milestones,
.contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-inner,
.services-inner,
.steps-inner,
.branches-inner,
.milestones-inner,
.about-inner,
.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

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

.section-head.center {
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand);
}

.section-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
}

.section-sub {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* 数字徽记 */
.section-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.section-tag::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 3px;
  margin-left: 4px;
  vertical-align: middle;
  background: var(--brand);
}

/* ============================================================
   Cards / content list (复用资讯、后台不受影响 class 名)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

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

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.card-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
}

.card-fav {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: var(--faint);
  cursor: pointer;
  transition: color 0.15s ease;
}

.card-fav:hover,
.card-fav.is-active {
  color: var(--brand);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
  color: var(--faint);
}

.card-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.empty {
  padding: 40px 0;
  text-align: center;
  color: var(--faint);
  font-size: 0.92rem;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.tab {
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ============================================================
   Values
   ============================================================ */
.values {
  border-bottom: 1px solid var(--line);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 8px;
}

.value-card h3 {
  margin: 14px 0 6px;
  font-size: 1.04rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============================================================
   Feature split
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 40px;
  align-items: center;
}

.feature-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.feature-media-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  color: #fff;
}

.feature-media-note .note-line {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.feature-body h3 {
  margin: 0;
  font-size: 1.42rem;
}

.feature-body h3 em {
  font-style: normal;
  color: var(--brand);
}

.feature-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.feature-points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-points li {
  position: relative;
  padding: 10px 0 10px 16px;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
  font-size: 0.94rem;
}

.feature-points li:last-child {
  border-bottom: none;
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.feature-points b {
  margin-right: 6px;
  font-weight: 700;
  color: var(--ink);
}

/* ============================================================
   Services grid
   ============================================================ */
.services-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card h3 {
  margin: 10px 0 5px;
  font-size: 0.98rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.84rem;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 7px;
}

/* ============================================================
   Steps
   ============================================================ */
.steps {
  border-bottom: 1px solid var(--line);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps-list h3 {
  margin: 12px 0 5px;
  font-size: 1.02rem;
}

.steps-list p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.step-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 8px;
}

/* ============================================================
   Branches
   ============================================================ */
.branches {
  background: var(--bg);
}

.branches-grid {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.branch-chip {
  padding: 8px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* ============================================================
   Milestones
   ============================================================ */
.milestones {
  background: var(--bg-soft);
}

.milestone-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}

.milestone-list::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line);
}

.milestone-list li {
  position: relative;
  padding: 34px 6px 0;
  text-align: center;
}

.milestone-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--brand);
}

.milestone-year {
  display: inline-block;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.milestone-list h3 {
  margin: 10px 0 4px;
  font-size: 1rem;
}

.milestone-list p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.milestone-list em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
}

/* ============================================================
   Content (资讯)
   ============================================================ */
.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 54px 24px;
}

.content-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}

.search-box svg {
  position: absolute;
  left: 12px;
  color: var(--faint);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 9px 12px 9px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.search-box input:focus {
  border-color: var(--brand);
}

/* ============================================================
   About
   ============================================================ */
.about {
  background: var(--bg);
}

.about-text {
  max-width: 780px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 2.1;
}

.about-text strong {
  color: var(--ink);
}

.tech-list {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.tech-chip {
  padding: 6px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-info {
  padding: 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-panel {
  padding: 26px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qr-box {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.qr-img {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border: 6px solid #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.qr-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.qr-tip {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.qr-tip b {
  color: var(--text);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 26px 24px 40px;
  text-align: center;
  background: var(--brand-strong);
  color: rgba(255, 255, 255, 0.82);
  border-top: 3px solid var(--brand);
  font-size: 0.85rem;
}

.footer p {
  margin: 4px 0;
}

.contact-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 8px;
}

.contact-list b {
  display: block;
  font-size: 0.92rem;
}

.contact-list p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}


/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 26px 24px 40px;
  text-align: center;
  background: var(--brand-strong);
  color: rgba(255, 255, 255, 0.82);
  border-top: 3px solid var(--brand);
  font-size: 0.85rem;
}

.footer p {
  margin: 4px 0;
}


/* ============================================================
   Modal / Toast
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 12, 0.6);
  animation: fade-in 0.18s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 82vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.35);
  animation: modal-in 0.2s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.modal-body {
  padding: 26px;
}

.modal-tag {
  display: inline-block;
  padding: 2px 11px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
}

.modal-body h2 {
  margin: 12px 0 10px;
  font-size: 1.3rem;
}

.modal-content {
  color: var(--text);
  font-size: 0.95rem;
  white-space: pre-wrap;
  line-height: 2;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.8rem;
  color: var(--faint);
}

.modal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.modal-link {
  margin-left: auto;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.modal-link:hover {
  text-decoration: underline;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  transform: translateX(-50%);
  padding: 10px 18px;
  background: var(--deep-2);
  color: #fff;
  font-size: 0.88rem;
  border-radius: 8px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
  animation: toast-in 0.2s ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-split-flip .feature-media {
    order: -1;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .milestone-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 16px;
  }

  .milestone-list::before {
    display: none;
  }

  .hamburger {
    display: grid;
  }

  .nav-hotline span {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.25);
    transform: translateY(-6px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin: 0;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 10px 12px;
  }
}

@media (max-width: 600px) {
  .brand-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 4px;
  }

  .brand-stats .stat {
    text-align: center;
    padding: 6px 8px;
  }

  .brand-stats .stat + .stat::before {
    display: none;
  }

  .nav-hotline {
    display: none;
  }

  .values-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-head {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 0;
  }

  .values,
  .services,
  .steps,
  .branches,
  .milestones,
  .about,
  .contact,
  .content {
    padding: 46px 20px;
  }

  .milestone-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Topbar（顶部服务条）
   ============================================================ */
.topbar {
  background: var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
}

.topbar-tagline {
  color: rgba(255, 255, 255, 0.5);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-tel {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 500;
}

.topbar-tel b {
  margin-left: 3px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.topbar-tel:hover b {
  color: var(--gold);
}

.topbar-cta {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  transition: background 0.15s ease;
}

.topbar-cta:hover {
  background: var(--brand-strong);
}

/* ============================================================
   Stats note（数据口径脚注）
   ============================================================ */
.stats-note {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 16px;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 66px 24px;
  border-top: 1px solid var(--line);
}

.faq-inner {
  max-width: 880px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.15s ease;
}

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

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brand);
  background: var(--brand-soft);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.95;
}

.faq-body p {
  margin: 0;
}

/* ============================================================
   卡片 hover 微交互（value / service / step / contact 条目）
   ============================================================ */
.value-card,
.service-card,
.steps-list li,
.contact-list li {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.value-card:hover,
.service-card:hover,
.steps-list li:hover,
.contact-list li:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* ============================================================
   Float bar（悬浮客服 + 回顶）
   ============================================================ */
.float-bar {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.float-btn:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

#back-top {
  color: var(--muted);
}

.float-pop {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  width: 188px;
  padding: 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  animation: fade-in 0.15s ease;
}

.float-pop img {
  display: block;
  margin: 0 auto;
  border: 4px solid #fff;
  border-radius: 8px;
}

.float-pop p {
  margin: 10px 0 2px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================================
   Responsive additions
   ============================================================ */
@media (max-width: 860px) {
  .topbar-tagline {
    display: none;
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    padding: 0 16px;
    justify-content: flex-end;
  }

  .topbar-cta {
    display: none;
  }

  .faq {
    padding: 46px 20px;
  }

  .float-bar {
    right: 14px;
    bottom: 16px;
    gap: 8px;
  }

  .float-btn {
    width: 42px;
    height: 42px;
  }

  .float-pop {
    right: calc(100% + 10px);
    width: 172px;
    padding: 10px;
  }

  .float-pop img {
    width: 140px;
    height: 140px;
  }
}

/* ============================================================
   Mini-app entry（小程序入口，点击弹出详情）
   ============================================================ */
.mini-app-box {
  margin-top: 14px;
}

.mini-app-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

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

.mini-app-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
}

.mini-app-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mini-app-txt b {
  font-size: 0.96rem;
  color: var(--ink);
}

.mini-app-txt small {
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.mini-app-go {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--faint);
  transition: transform 0.15s ease, color 0.15s ease;
}

.mini-app-btn:hover .mini-app-go {
  color: var(--brand);
  transform: translateX(2px);
}

.mini-app-qr {
  display: block;
  margin: 14px auto 0;
  width: 236px;
  height: 236px;
  max-width: 100%;
  border: 6px solid #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.mini-app-tip {
  max-width: 460px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.9;
}

.mini-app-tip b {
  color: var(--ink);
}

/* ============================================================
   Density pass — values card (head + tick list)
   ============================================================ */
.faq {
  padding: 54px 24px;
}

.value-card {
  display: flex;
  flex-direction: column;
}

.value-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-head h3 {
  margin: 0;
  font-size: 1.08rem;
}

.value-card .value-lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.tick-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 13px 0 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tick-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.55;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.82rem;
}

/* ============================================================
   Density pass — branch panel
   ============================================================ */
.branch-panel {
  margin-top: 26px;
  padding: 22px 24px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.branch-panel-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.branch-panel .branches-grid {
  margin-top: 16px;
}

.branch-panel-note {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

.branch-chip:last-child {
  color: var(--brand);
  border-style: dashed;
  border-color: var(--line-strong);
  background: var(--brand-soft);
  font-weight: 600;
}

/* ============================================================
   Density pass — milestone CTA band
   ============================================================ */
.milestone-cta {
  margin-top: 26px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--brand);
  border-radius: var(--radius-lg);
}

.milestone-cta-text b {
  display: block;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 700;
}

.milestone-cta-text p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.milestone-cta .btn-ghost-milestone {
  color: var(--brand);
  background: #fff;
}

.milestone-cta .btn-ghost-milestone:hover {
  background: rgba(255, 255, 255, 0.86);
}

/* ============================================================
   Density pass — about capability points
   ============================================================ */
.about-points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.about-point {
  padding: 18px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.about-point:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.about-point-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 8px;
}

.about-point h3 {
  margin: 12px 0 5px;
  font-size: 0.96rem;
}

.about-point p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ============================================================
   Responsive additions (density pass)
   ============================================================ */
@media (max-width: 860px) {
  .about-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .milestone-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .branch-panel {
    padding: 18px 14px 16px;
  }

  .about-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-point:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .milestone-cta {
    padding: 18px 20px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .faq {
    padding: 46px 20px;
  }
}

/* ============================================================
   Skin polish — scrollbar & deep bands
   ============================================================ */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) var(--bg-soft);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg-soft);
  border-radius: 999px;
  background: var(--line-strong);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

.milestone-cta {
  border-top: 3px solid var(--gold);
}

/* stat-num 保持纯白：亮绿底上更清晰鲜明 */

/* ============================================================
   Bright skin — dark theme restores deep bands
   ============================================================ */
html[data-theme="dark"] .topbar {
  background: var(--deep-2);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .hero {
  color: #fff;
  background: var(--deep);
}

html[data-theme="dark"] .hero-bg {
  background:
    linear-gradient(90deg, rgba(9, 17, 13, 0.92) 0%, rgba(9, 17, 13, 0.72) 55%, rgba(9, 17, 13, 0.35) 100%),
    url("/images/storefront.webp") center 55% / cover no-repeat;
  filter: none;
}

html[data-theme="dark"] .hero-eyebrow {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .hero-title {
  color: #fff;
}

html[data-theme="dark"] .hero-sub {
  color: rgba(255, 255, 255, 0.86);
}

html[data-theme="dark"] .hero .btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

html[data-theme="dark"] .hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .brand-stats {
  background: var(--deep);
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .brand-stats .stat-label {
  color: rgba(255, 255, 255, 0.62);
}

html[data-theme="dark"] .stats-note {
  color: rgba(255, 255, 255, 0.42);
}

html[data-theme="dark"] .footer {
  background: var(--deep-2);
  color: rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] .milestone-cta {
  background: var(--deep-2);
}

html[data-theme="dark"] .milestone-cta-text p {
  color: rgba(255, 255, 255, 0.62);
}

html[data-theme="dark"] .milestone-cta .btn-ghost-milestone {
  color: #fff;
  background: var(--brand);
}

/* Footer 备案号链接 */
.footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: color 0.16s ease, border-color 0.16s ease;
}

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