/* ============================================================
   柒势咨询 · FORESIGHT PARTNERS
   视觉系统：VI 主蓝 #182a88 + VI 金 #c9a063
   导航白底 + 首屏深蓝 · 双色 logo
   ============================================================ */

:root {
  /* VI 主色 */
  --brand:        #182a88;     /* VI 主蓝（深蓝立方体） */
  --brand-deep:   #0d1c5e;     /* 更深蓝 · 顶/底 */
  --brand-deeper: #071243;     /* 最深蓝 */
  --brand-light:  #2a4abf;     /* 浅蓝 · 提亮 */
  --gold:         #c9a063;     /* VI 金色（缺角顶面） */
  --gold-light:   #e3c084;     /* 浅金 */

  /* 文字 */
  --ink:          #0b1533;
  --on-brand:     #ffffff;
  --on-brand-soft:  rgba(255, 255, 255, 0.78);
  --on-brand-mute:  rgba(255, 255, 255, 0.5);

  /* 浅底文字 */
  --muted:        #5c6478;
  --line:         #e3e0d8;
  --paper:        #fbfaf7;     /* 极浅底色（内页） */
  --paper-warm:   #f5f2eb;

  --sans:  -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;

  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--on-brand);
  background: var(--brand-deep);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 120px 0; position: relative; overflow: hidden; }

/* ---------- 导航：白底（双色logo成立） ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: all 0.3s;
  background: #ffffff;
  border-bottom: 1px solid rgba(24, 42, 136, 0.08);
  box-shadow: 0 1px 0 rgba(24,42,136,0.04);
}
.site-header.is-scrolled { padding: 10px 0; box-shadow: 0 4px 20px rgba(24,42,136,0.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
/* 品牌文字（logo SVG 已含中英文，这里保留兜底） */
.brand .brand-fallback { display: none; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--brand); text-decoration: none; font-size: 14px;
  transition: color 0.2s; letter-spacing: 0.04em;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform 0.25s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.nav-cta {
  padding: 10px 22px; border: 1.5px solid var(--brand); border-radius: 999px;
  font-weight: 500; color: var(--brand);
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--brand); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--brand); margin: 6px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .nav-links {
    position: fixed; inset: 0; background: #ffffff; color: var(--brand);
    flex-direction: column; justify-content: center; gap: 28px; font-size: 18px;
    transform: translateX(100%); transition: transform 0.3s; z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; position: relative; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- 首屏：深蓝铺底 ---------- */
.hero {
  min-height: 100vh; padding: 200px 0 140px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, var(--brand-light) 0%, var(--brand) 45%, var(--brand-deep) 100%);
  position: relative; display: flex; align-items: center; text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-eyebrow {
  display: inline-block; padding: 6px 18px; border: 1px solid rgba(201,160,99,0.5);
  color: var(--gold-light); font-size: 11px; letter-spacing: 0.32em;
  margin-bottom: 36px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px); font-weight: 700;
  line-height: 1.18; letter-spacing: 0.02em; max-width: 14em; margin: 0 auto 28px;
}
.hero h1 .accent { color: var(--gold-light); }
.hero h1 .accent::after {
  content: ""; display: block; width: 56px; height: 1px; background: var(--gold);
  margin: 20px auto 0;
}
.hero-sub { font-size: 19px; color: var(--on-brand-soft); max-width: 580px; margin: 0 auto 48px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 16px 38px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; transition: all 0.25s; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--brand-deeper); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.3em;
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 36px; background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent); margin: 12px auto 0; }

/* ---------- VI 弧线母题 ---------- */
.arc-band {
  position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1;
  height: 80px;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255,255,255,0.18) 0%, transparent 70%);
}
.arc-band.bottom { bottom: -1px; top: auto;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(0,0,0,0.18) 0%, transparent 70%);
}
.arc-line {
  position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 30%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.35) 70%, transparent 100%);
  z-index: 1;
}
.arc-line.top { top: 0; }
.arc-line.bottom { bottom: 0; }

/* ---------- 通用 ---------- */
.eyebrow {
  display: inline-block; font-size: 11px; letter-spacing: 0.32em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 18px;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.2;
  letter-spacing: 0.01em; max-width: 16em;
}
.section-lead { color: var(--on-brand-soft); font-size: 17px; max-width: 620px; line-height: 1.7; }
.section-head { margin-bottom: 64px; position: relative; z-index: 2; }

/* 区块底色变化 */
.section-deep    { background: var(--brand-deeper); }
.section-brand   { background: var(--brand); }
.section-light   { background: var(--brand-light); }

/* ---------- 数据条 ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 24px 0; position: relative; z-index: 2;
}
.stat { text-align: center; padding: 32px 16px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}
.stat .num {
  font-size: 52px; font-weight: 700; line-height: 1.05;
  background: linear-gradient(180deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat .num .unit { font-size: 22px; margin-left: 2px; }
.stat .label { color: var(--on-brand-soft); font-size: 13px; margin-top: 8px; letter-spacing: 0.1em; }

@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat + .stat::before { display: none; } .stat .num { font-size: 36px; } }

/* ---------- 定位双栏 ---------- */
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.split-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.25; max-width: 12em; letter-spacing: -1px; }
.principle-list { list-style: none; }
.principle-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.principle-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.principle-num {
  font-family: var(--serif); font-size: 22px; color: var(--gold);
  font-weight: 600; padding-top: 2px;
}
.principle-list h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.principle-list p { color: var(--on-brand-soft); font-size: 14px; line-height: 1.65; }

@media (max-width: 1024px) { .split { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- 6 大业务 ---------- */
.biz-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12);
  position: relative; z-index: 2;
}
.biz-card {
  background: var(--brand); padding: 40px 32px; transition: all 0.3s;
  position: relative; cursor: default;
}
.biz-card:hover { background: var(--brand-light); }
.biz-icon { width: 44px; height: 44px; margin-bottom: 24px; opacity: 0.95; color: var(--gold-light); }
.biz-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.biz-card p { color: var(--on-brand-soft); font-size: 14px; line-height: 1.65; }
.biz-card .biz-num { position: absolute; top: 24px; right: 28px; font-family: var(--serif); font-size: 14px; color: var(--gold); }

@media (max-width: 900px) { .biz-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .biz-grid { grid-template-columns: 1fr; } }

/* ---------- 三档服务 ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.tier {
  border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 40px 32px;
  background: rgba(255,255,255,0.03); transition: all 0.3s; position: relative;
}
.tier:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.tier.featured { border-color: var(--gold); background: rgba(201,160,99,0.08); }
.tier .tier-tag { font-size: 11px; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 14px; }
.tier h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.tier .tier-desc { color: var(--on-brand-soft); font-size: 14px; margin-bottom: 24px; }
.tier ul { list-style: none; }
.tier ul li {
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px;
  color: var(--on-brand-soft); display: flex; gap: 10px; align-items: flex-start;
}
.tier ul li::before { content: "—"; color: var(--gold); margin-top: 1px; }

@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

/* ---------- 四维风控 ---------- */
.risk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 2; }
.risk-item { padding: 32px 0; position: relative; }
.risk-item .ring {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  margin-bottom: 24px; color: var(--gold); position: relative;
}
.risk-item .ring::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(201,160,99,0.3);
}
.risk-item h4 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.risk-item p { color: var(--on-brand-soft); font-size: 14px; line-height: 1.65; }

@media (max-width: 1024px) { .risk-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .risk-grid { grid-template-columns: 1fr; } }

/* ---------- 双城（接入真实照片） ---------- */
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; position: relative; z-index: 2; }
.city-card {
  border-radius: 16px; overflow: hidden; background: var(--brand-deep);
  border: 1px solid rgba(255,255,255,0.1); position: relative;
}
.city-photo {
  width: 100%; height: 260px; object-fit: cover; display: block;
  filter: brightness(0.65) saturate(1.1);
}
.city-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; background: linear-gradient(180deg, transparent 30%, rgba(7,18,67,0.85) 100%);
}
.city-tag { font-size: 11px; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 12px; }
.city-card h4 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.city-card p { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.7; max-width: 360px; }

@media (max-width: 768px) { .city-grid { grid-template-columns: 1fr; } }

/* ---------- 合作机构 ---------- */
.partner-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative; z-index: 2;
}
.partner-card {
  border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 32px 24px;
  text-align: center; transition: all 0.3s; background: rgba(255,255,255,0.02);
}
.partner-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.partner-icon { width: 48px; height: 48px; margin: 0 auto 16px; opacity: 0.95; color: var(--gold-light); }
.partner-card .name { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.partner-card .cat { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }

@media (max-width: 768px) { .partner-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA ---------- */
.cta-section, .cta-band { text-align: center; padding: 180px 0; position: relative; }
.cta-section h2, .cta-band h2 { font-size: clamp(40px, 5vw, 60px); font-weight: 700; line-height: 1.2; max-width: 16em; margin: 0 auto 28px; letter-spacing: -0.5px; }
.cta-section h2 .gold, .cta-band h2 .gold { color: var(--gold-light); }
.cta-section p, .cta-band p { color: var(--on-brand-soft); font-size: 19px; line-height: 1.7; max-width: 540px; margin: 0 auto 64px; }

/* ---------- 内页 hero ---------- */
.page-hero { padding: 200px 0 100px; position: relative; background: var(--brand-deeper); text-align: center; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; line-height: 1.2; max-width: 14em; margin: 0 auto; }
.page-hero h1 .gold { color: var(--gold-light); }
.page-hero .sub { color: var(--on-brand-soft); font-size: 18px; max-width: 560px; margin: 24px auto 0; }

/* ---------- 内容正文 ---------- */
.prose { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.prose h2 { font-size: 26px; font-weight: 600; margin: 56px 0 18px; color: var(--gold-light); }
.prose p { color: var(--on-brand-soft); margin-bottom: 18px; font-size: 16px; line-height: 1.85; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; position: relative; z-index: 2; }
.contact-block { padding: 32px; border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; margin-bottom: 24px; background: rgba(255,255,255,0.03); }
.contact-block h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.contact-block h3 .gold { color: var(--gold-light); }
.contact-block p { color: var(--on-brand-soft); font-size: 15px; line-height: 1.7; }

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

/* ---------- 页脚 ---------- */
.site-footer { background: var(--brand-deeper); padding: 80px 0 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; position: relative; z-index: 2; }
.footer-brand img { height: 44px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.site-footer h5 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 20px; letter-spacing: 0.05em; }
.site-footer a { color: var(--on-brand-soft); text-decoration: none; font-size: 14px; display: block; margin-bottom: 12px; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-light); }
.footer-desc { color: var(--on-brand-soft); font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--on-brand-soft); position: relative; z-index: 2;
}
.footer-bottom a { color: var(--on-brand-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom .beian { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s, transform 0.6s; }
.reveal.hidden-init { opacity: 0; transform: translateY(20px); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 装饰图元 ---------- */
.deco-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}