/* ==================================================
   三步知 · 全局样式 v2 —— 「大气 · 墨蓝×香槟金」
   设计语言:全屏深色主视觉 / 超大字号 / 大留白 /
   巨型幽灵序号 / 香槟金点缀 / 编辑式排版
   ================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌色 */
  --ink:            #0A1626;   /* 墨蓝 · 深色底 */
  --ink-2:          #0E1F38;   /* 墨蓝 · 亮一档 */
  --ink-3:          #14294A;   /* 墨蓝 · 卡片 */
  --deep:           #0F2C5C;   /* 品牌深蓝 */
  --gold:           #C8A15A;   /* 香槟金 */
  --gold-bright:    #E3C078;   /* 亮金 */
  --gold-deep:      #A5813C;   /* 暗金 */
  --c-method:       #4E7FE8;   /* 知方法 · 蓝 */
  --c-tool:         #D9A648;   /* 知工具 · 金 */
  --c-talent:       #3AA981;   /* 知人才 · 绿 */

  /* 文本与背景 */
  --paper:          #FFFFFF;
  --mist:           #F6F7FA;
  --c-text:         #141C2B;
  --c-text-2:       #59616E;
  --c-text-3:       #98A0AC;
  --c-border:       #E4E7EC;
  --c-dark-text:    #EDEFF3;
  --c-dark-text-2:  #A6B0C0;
  --c-dark-border:  rgba(255,255,255,.10);

  /* 阴影 */
  --sh-md:  0 10px 30px rgba(10,22,38,.07), 0 2px 8px rgba(10,22,38,.04);
  --sh-lg:  0 30px 80px rgba(10,22,38,.14), 0 8px 24px rgba(10,22,38,.06);
  --sh-gold: 0 14px 40px rgba(200,161,90,.32);

  /* 圆角 */
  --r-md:  10px;
  --r-lg:  18px;
  --r-xl:  26px;

  /* 字体 */
  --f-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
            "MiSans", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Georgia", "Times New Roman", "Songti SC", "Noto Serif SC", serif;

  /* 间距 */
  --s-4: 16px; --s-5: 24px; --s-6: 36px; --s-7: 56px; --s-8: 84px;

  --container: 1280px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--s-4) 0;
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-text);
  letter-spacing: -0.015em;
}
p { margin: 0 0 var(--s-4) 0; color: var(--c-text-2); }
strong { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- 容器与区块 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section { padding: clamp(88px, 11vw, 150px) 0; }
.section--mist { background: var(--mist); }
.section--ink  {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(200,161,90,.10), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--c-dark-text-2);
}
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--c-dark-text); }
.section--ink p { color: var(--c-dark-text-2); }
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }

/* ---------- 章节标题(编辑式居中) ---------- */
.sec-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(56px, 7vw, 92px);
}
.sec-head--left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 44px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow--plain::before, .eyebrow--plain::after { display: none; }

.sec-title {
  font-size: clamp(34px, 4.4vw, 54px);
  margin: 20px 0 18px;
  letter-spacing: -0.02em;
}
.sec-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--c-text-2);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.9;
}
.sec-head--left .sec-sub { margin-left: 0; }
.section--ink .sec-sub { color: var(--c-dark-text-2); }

/* 英文衬线小注(编辑感) */
.serif-note {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--c-text-3);
  text-transform: uppercase;
}
.section--ink .serif-note { color: rgba(200,161,90,.65); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all .3s cubic-bezier(.25,.7,.3,1);
  white-space: nowrap;
  min-height: 48px;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #191204;
  box-shadow: var(--sh-gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 52px rgba(200,161,90,.42); }
.btn--ghost {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.30);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-ink:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 18px 44px; font-size: 16px; }
.btn--sm { padding: 10px 24px; font-size: 13px; min-height: 40px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: .06em;
}
.btn-link::after { content: "→"; transition: transform .3s ease; }
.btn-link:hover::after { transform: translateX(6px); }

/* ---------- 顶部导航(沉浸式) ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 78px;
  color: #fff;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 66px;
  background: rgba(8,15,28,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(200,161,90,.22);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .12em;
}
.nav-logo img { width: 38px; height: 38px; border-radius: 9px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  border-radius: 8px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--gold-bright); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 190px;
  list-style: none;
  margin: 0; padding: 10px;
  background: rgba(14,26,48,.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(200,161,90,.25);
  border-radius: 14px;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transition: all .28s ease;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.dropdown a:hover { color: var(--gold-bright); background: rgba(255,255,255,.06); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn--sm { font-size: 13px; }
.nav-text-link {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 600;
}
.nav-text-link:hover { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}

/* ---------- 首页主视觉(全屏) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.04); } }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 620px at 50% 42%, rgba(10,22,38,.30), rgba(8,15,28,.82) 78%),
    linear-gradient(180deg, rgba(8,15,28,.72) 0%, rgba(8,15,28,.25) 40%, rgba(8,15,28,.92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 140px 24px 120px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 26px;
  border: 1px solid rgba(200,161,90,.45);
  border-radius: 999px;
  background: rgba(200,161,90,.10);
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .22em;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-bright);
}
.hero-title {
  font-size: clamp(46px, 7.2vw, 92px);
  font-weight: 900;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 34px 0 0;
  text-shadow: 0 8px 48px rgba(0,0,0,.45);
}
.hero-divider {
  width: 96px; height: 3px;
  margin: 34px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 22px);
  color: rgba(255,255,255,.88);
  line-height: 2;
  letter-spacing: .06em;
}
.hero-sub em {
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 700;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .4em;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .2; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- 子页面 Banner ---------- */
.page-hero {
  position: relative;
  padding: clamp(160px, 18vh, 220px) 0 clamp(72px, 9vw, 110px);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 78% -20%, rgba(200,161,90,.14), transparent 60%),
    linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 60%, #132C55 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -80px; bottom: -140px;
  width: 420px; height: 420px;
  border: 1px solid rgba(200,161,90,.22);
  border-radius: 50%;
  opacity: .6;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 40px; bottom: -60px;
  width: 220px; height: 220px;
  border: 1px solid rgba(200,161,90,.14);
  border-radius: 50%;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
  margin-bottom: 22px;
}
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs .sep { color: var(--gold); }
.page-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}
.page-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,.80);
  max-width: 720px;
  line-height: 2;
  margin: 0;
}
.page-hero .serif-note {
  display: block;
  margin-bottom: 14px;
  color: rgba(200,161,90,.75);
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 卡片(浅色) ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--sh-md);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.card h3 { font-size: clamp(20px, 1.8vw, 24px); }

/* 深色卡片 */
.panel {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 44px);
  backdrop-filter: blur(6px);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.panel:hover {
  border-color: rgba(200,161,90,.40);
  background: rgba(255,255,255,.07);
  transform: translateY(-6px);
}
.panel h3, .panel h4 { color: #fff; }

/* 顶部金线卡片 */
.card--goldtop::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold), transparent);
}

/* ---------- 标签 pill ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.tag--method { background: rgba(78,127,232,.12); color: var(--c-method); border: 1px solid rgba(78,127,232,.30); }
.tag--tool   { background: rgba(217,166,72,.12); color: #A0771F; border: 1px solid rgba(217,166,72,.35); }
.tag--talent { background: rgba(58,169,129,.12); color: #278663; border: 1px solid rgba(58,169,129,.32); }
.tag--gold   { background: rgba(200,161,90,.14); color: var(--gold-deep); border: 1px solid rgba(200,161,90,.38); }
.tag--dark   { background: rgba(255,255,255,.08); color: var(--c-dark-text); border: 1px solid var(--c-dark-border); }
.section--ink .tag--method, .section--ink .tag--tool, .section--ink .tag--talent { color: #fff; }

/* ---------- 巨型步骤卡(核心视觉) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 40px) clamp(30px, 3vw, 40px);
  box-shadow: var(--sh-md);
  transition: transform .4s ease, box-shadow .4s ease;
  overflow: hidden;
}
.step:hover { transform: translateY(-10px); box-shadow: var(--sh-lg); }
.step .ghost {
  position: absolute;
  top: -22px; right: 8px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(120px, 12vw, 170px);
  font-weight: 700;
  line-height: 1;
  color: rgba(10,22,38,.055);
  user-select: none;
  pointer-events: none;
}
.step .kicker {
  font-size: 12px;
  letter-spacing: .32em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.step h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
  margin: 16px 0 8px;
}
.step .sub { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.step p { font-size: 15.5px; line-height: 1.9; }
.step .line {
  width: 52px; height: 3px;
  border-radius: 2px;
  margin: 22px 0;
}
.step--method .sub, .step--method a { color: var(--c-method); }
.step--tool .sub, .step--tool a { color: #A0771F; }
.step--talent .sub, .step--talent a { color: #278663; }
.step--method .line { background: var(--c-method); }
.step--tool .line { background: var(--c-tool); }
.step--talent .line { background: var(--c-talent); }

/* ---------- 三裂缝卡(问题) ---------- */
.fissure {
  position: relative;
  background: var(--mist);
  border-radius: var(--r-lg);
  padding: clamp(30px, 3.2vw, 46px);
  border: 1px solid var(--c-border);
  transition: all .35s ease;
}
.fissure:hover { background: var(--paper); box-shadow: var(--sh-lg); transform: translateY(-5px); }
.fissure h3 { font-size: 21px; margin: 18px 0 10px; }
.fissure .consequence {
  font-size: 14px;
  color: #B4433A;
  font-weight: 700;
  letter-spacing: .04em;
}
.fissure .fix {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--c-border);
  font-size: 14.5px;
}
.fissure .fix strong { letter-spacing: .04em; }

/* ---------- 蓝图流程(首页一图看懂) ---------- */
.blueprint-flow { max-width: 980px; margin: 0 auto; text-align: center; }
.bp-entry {
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  border: 1px solid rgba(200,161,90,.30);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: var(--sh-lg);
}
.bp-entry h3 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; }
.bp-entry p { color: rgba(255,255,255,.80); }
.bp-connector {
  display: flex;
  justify-content: center;
  padding: 26px 0;
  color: var(--gold);
}
.bp-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 6px; }
.bp-step {
  background: var(--paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 36px);
  box-shadow: var(--sh-md);
  transition: all .3s ease;
}
.bp-step:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.bp-step h4 { font-size: 22px; font-weight: 900; margin: 10px 0 4px; }
.bp-tagline {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--c-text);
}
.bp-tagline strong {
  background: linear-gradient(100deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 数据带(深色 + 巨型金字) ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  text-align: center;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--f-serif);
  font-size: clamp(58px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
}
.stat-num sup { font-size: .45em; vertical-align: super; }
.stat-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-dark-text);
  margin-top: 10px;
  letter-spacing: .06em;
}
.stat-sub {
  font-size: 14px;
  color: var(--c-dark-text-2);
  margin-top: 4px;
}
.check-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}
.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1px solid rgba(200,161,90,.32);
  border-radius: 999px;
  background: rgba(200,161,90,.08);
  color: var(--c-dark-text);
  font-size: 14.5px;
  letter-spacing: .04em;
}
.check-pill::before { content: "✓"; color: var(--gold-bright); font-weight: 800; }

/* ---------- 证言 ---------- */
.quote {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(30px, 3.4vw, 48px);
  box-shadow: var(--sh-md);
  transition: all .35s ease;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.quote::before {
  content: "“";
  position: absolute;
  top: 6px; left: 22px;
  font-family: var(--f-serif);
  font-size: 88px;
  line-height: 1;
  color: rgba(200,161,90,.30);
}
.quote p {
  position: relative;
  font-size: 16px;
  line-height: 2;
  color: var(--c-text);
  padding-left: 8px;
  margin: 26px 0 20px;
}
.quote .author {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: .05em;
}

/* ---------- 照片墙 / 画廊 ---------- */
.gallery { display: grid; gap: clamp(14px, 2vw, 24px); }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--4 { grid-template-columns: repeat(4, 1fr); }
.figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  background: var(--ink);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.3,1), filter .5s ease;
}
.figure:hover img { transform: scale(1.07); }
.figure .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(8,15,28,.88));
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
  opacity: 0;
  transform: translateY(12px);
  transition: all .4s ease;
}
.figure:hover .caption { opacity: 1; transform: translateY(0); }
.figure--tall { aspect-ratio: 3/4; }
.figure--wide { aspect-ratio: 16/10; }
.figure--sq   { aspect-ratio: 1/1; }
.figure--hero { aspect-ratio: 21/9; }

/* 全幅大图带 */
.photo-feature {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.photo-feature img { width: 100%; display: block; aspect-ratio: 21/9; object-fit: cover; }
.photo-feature .caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 4vw, 56px);
  background: linear-gradient(180deg, transparent 30%, rgba(8,15,28,.85));
  color: #fff;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: .1em;
}

/* ---------- 入口选择(底部CTA) ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.entry-card {
  text-align: center;
  padding: clamp(32px, 3.6vw, 52px) clamp(22px, 2.6vw, 36px);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
  transition: all .35s ease;
}
.entry-card:hover {
  border-color: rgba(200,161,90,.45);
  background: rgba(255,255,255,.07);
  transform: translateY(-8px);
}
.entry-card .emoji { font-size: 42px; display: block; margin-bottom: 16px; }
.entry-card h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.entry-card p { color: var(--c-dark-text-2); font-size: 14.5px; margin-bottom: 24px; }

/* ---------- 终章 CTA ---------- */
.cta-final {
  position: relative;
  background:
    radial-gradient(900px 460px at 50% 115%, rgba(200,161,90,.22), transparent 65%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  text-align: center;
  color: #fff;
  padding: clamp(96px, 13vw, 170px) 0;
  overflow: hidden;
}
.cta-final .kicker {
  font-family: var(--f-serif);
  font-style: italic;
  letter-spacing: .3em;
  font-size: 15px;
  color: var(--gold);
  text-transform: uppercase;
}
.cta-final h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 900;
  color: #fff;
  margin: 22px 0 18px;
}
.cta-final p { color: rgba(255,255,255,.80); font-size: 18px; max-width: 620px; margin: 0 auto 40px; }
.cta-final .actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-slogan {
  margin-top: clamp(48px, 6vw, 80px);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: .18em;
}
.cta-slogan-sub {
  color: rgba(255,255,255,.6) !important;
  font-size: 15px !important;
  letter-spacing: .3em;
  margin: 10px 0 0 !important;
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--paper);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item.open { box-shadow: var(--sh-md); border-color: rgba(200,161,90,.45); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
  color: var(--c-text);
  user-select: none;
}
.faq-q .toggle {
  flex: none;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--gold-deep);
  font-size: 18px;
  transition: all .3s ease;
}
.faq-item.open .toggle { transform: rotate(45deg); background: var(--gold); color: #fff; border-color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}
.faq-item.open .faq-a { max-height: 420px; }
.faq-a > div { padding: 0 28px 24px; color: var(--c-text-2); line-height: 2; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--sh-lg);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  letter-spacing: .05em;
}
.field label .req { color: #B4433A; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  background: var(--mist);
  transition: all .25s ease;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200,161,90,.14);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 表单内嵌 Toast 提示 ---------- */
.form-toast {
  display: none;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  text-align: center;
  letter-spacing: .02em;
}
.form-toast.success {
  display: block;
  background: #F0F9EB;
  color: #4C9A3F;
  border: 1px solid #DCEFD6;
}
.form-toast.error {
  display: block;
  background: #FDF0EF;
  color: #B4433A;
  border: 1px solid #F3D9D6;
}

/* ---------- 联系信息 ---------- */
.contact-block {
  background: var(--mist);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
}
.contact-block h4 { font-size: 18px; }
.contact-block .big {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--deep);
  letter-spacing: .02em;
}

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 36px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(200,161,90,.15));
}
.tl-item { position: relative; margin-bottom: clamp(32px, 4vw, 48px); }
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold);
}
.tl-item .tl-date {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 15px;
  letter-spacing: .14em;
}
.tl-item h4 { font-size: 20px; margin: 6px 0 8px; }

/* ---------- 页脚 ---------- */
.footer {
  background: #060D1A;
  color: var(--c-dark-text-2);
  border-top: 1px solid rgba(200,161,90,.25);
  padding: clamp(64px, 8vw, 104px) 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand h4 { color: #fff; font-size: 20px; letter-spacing: .14em; }
.footer-brand p { font-size: 14.5px; line-height: 2; }
.footer-col h5 {
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .28em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a, .footer-col li { color: var(--c-dark-text-2); font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0;
  border-top: 1px solid var(--c-dark-border);
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(166,176,192,.7);
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(200,161,90,.65);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(10,22,38,.14);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all .35s ease;
  backdrop-filter: blur(8px);
}
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: #fff; box-shadow: 0 12px 28px rgba(200,161,90,.4); }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.2,.65,.3,1), transform .9s cubic-bezier(.2,.65,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps, .entry-grid, .bp-tri { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav.open {
    background: rgba(8,15,28,.97);
    backdrop-filter: blur(20px);
  }
  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(200,161,90,.22);
  }
  .nav.open .nav-menu > li > a { padding: 13px 16px; }
  .nav.open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: rgba(255,255,255,.05);
    border: none;
    box-shadow: none;
    padding: 4px 8px;
  }
  .nav.open .nav-item.expanded .dropdown { display: block; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .gallery--2, .gallery--3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-final .actions .btn { width: 100%; }
  .hero-inner { padding: 130px 20px 110px; }
  .figure--hero, .photo-feature img { aspect-ratio: 4/3; }
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -28px; }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= AI 客服挂件（iframe 方案 · 墨蓝×香槟金） ================= */
/* 自绘品牌外壳：悬浮入口按钮 + 展开面板（内嵌泡椒托管聊天页） */

/* 挂件激活后："回到顶部"位于客服按钮正上方，水平居中对齐（两圆心同一竖直线） */
html.ai-chat-active .to-top {
  right: 31px;  /* 客服中心距右 55px，48px 回顶 right = 55 - 24 */
  left: auto;
  bottom: 96px; /* 客服顶部 84px + 间距 12px */
}
/* 客服面板展开时隐藏回顶按钮，避免被面板遮挡 */
body.ai-chat-open .to-top {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(16px) !important;
}

/* 根容器 */
.ai-chat {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 悬浮入口按钮 */
.ai-chat-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: linear-gradient(135deg, #D9B36A 0%, var(--gold, #C8A15A) 55%, #A8823F 100%);
  box-shadow: 0 10px 26px rgba(200, 161, 90, .38), 0 0 0 1px rgba(10, 22, 38, .06);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.ai-chat-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(200, 161, 90, .48);
}
.ai-chat-btn:active { transform: scale(.96); }
.ai-chat-btn .ai-chat-btn-icon { display: flex; align-items: center; justify-content: center; }
.ai-chat-btn .ai-chat-ico-close { display: none; }
.ai-chat.open .ai-chat-btn .ai-chat-ico-open { display: none; }
.ai-chat.open .ai-chat-btn .ai-chat-ico-close { display: flex; }

/* 呼吸光圈 */
.ai-chat-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(200, 161, 90, .35);
  animation: ai-chat-ping 2.6s ease-out infinite;
  z-index: -1;
}
@keyframes ai-chat-ping {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* 展开面板 */
.ai-chat-panel {
  display: none;
  flex-direction: column;
  overflow: hidden;
  width: calc(100vw - 2.5rem);
  max-width: 400px;
  height: 88dvh;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(10, 22, 38, .08);
  box-shadow: 0 28px 70px rgba(10, 22, 38, .32);
  transform-origin: bottom right;
}
.ai-chat.open .ai-chat-panel {
  display: flex;
  animation: ai-chat-pop .28s cubic-bezier(.2, .8, .3, 1.05);
}
@keyframes ai-chat-pop {
  from { opacity: 0; transform: scale(.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* 面板头部 */
.ai-chat-head {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--ink, #0A1626);
  color: #fff;
}
.ai-chat-head-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #D9B36A, var(--gold, #C8A15A));
}
.ai-chat-head-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 161, 90, .18);
  color: var(--gold-bright, #E4C98A);
}
.ai-chat-head-text { flex: 1; min-width: 0; }
.ai-chat-head-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.ai-chat-head-sub {
  margin: 3px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}
.ai-chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34C77B;
  box-shadow: 0 0 0 3px rgba(52, 199, 123, .18);
}

/* 面板内容 */
.ai-chat-body {
  flex: 1;
  min-height: 0;
  background: #f7f6f2;
}
.ai-chat-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 移动端（≤640px）：同样位于客服正上方、水平居中 */
@media (max-width: 640px) {
  html.ai-chat-active .to-top { right: 31px; bottom: 96px; }
}

/* 桌面端：面板约束高度，避免过高 */
@media (min-width: 641px) {
  .ai-chat-panel {
    height: 75vh;
    max-height: 840px;
    min-height: 560px;
  }
}

/* 减少动态 */
@media (prefers-reduced-motion: reduce) {
  .ai-chat-btn::before { animation: none; display: none; }
  .ai-chat.open .ai-chat-panel { animation: none; }
}
