/* ===== 基础变量 ===== */
:root {
  --navy: #0d2440;
  --navy-deep: #081a30;
  --blue: #1b4f8f;
  --gold: #c9a25e;
  --gold-light: #e3c892;
  --text: #2b3440;
  --text-light: #6b7684;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --border: #e6eaf0;
  --shadow: 0 10px 40px rgba(13, 36, 64, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ===== 导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--gold-light); font-weight: 800; font-size: 20px;
}
.logo-text { font-weight: 800; font-size: 18px; color: var(--navy); letter-spacing: .5px; }
.logo-sub { font-size: 12px; font-weight: 500; color: var(--text-light); margin-left: 6px; }

.nav-links { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--text); padding: 6px 0; position: relative; }
.nav-links a:hover { color: var(--blue); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 9px 20px !important; border-radius: 8px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--blue) !important; }

.nav-toggle { display: none; font-size: 22px; border: none; background: none; cursor: pointer; color: var(--navy); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 170px 0 90px;
  background:
    linear-gradient(160deg, rgba(13,36,64,.96) 0%, rgba(27,79,143,.9) 55%, rgba(13,36,64,.97) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 24px);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,94,.25), transparent 65%);
}
.hero-content { max-width: 640px; position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block;
  color: var(--gold-light); font-size: 14px; letter-spacing: 4px;
  border: 1px solid rgba(201,162,94,.45); border-radius: 999px;
  padding: 6px 18px; margin-bottom: 26px;
}
.hero-title { font-size: 52px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.accent { color: var(--gold); }
.hero-desc { margin: 24px 0 36px; font-size: 17px; color: rgba(255,255,255,.82); max-width: 520px; }
.hero-actions { display: flex; gap: 16px; }

.btn {
  display: inline-block; padding: 14px 34px; border-radius: 10px;
  font-size: 16px; font-weight: 600; transition: all .25s; border: none; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 70px; flex-wrap: wrap;
}
.stat strong { display: block; font-size: 30px; color: var(--gold-light); font-weight: 800; }
.stat span { font-size: 13px; color: rgba(255,255,255,.65); }

/* ===== 通用 Section ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-kicker { color: var(--gold); font-size: 13px; letter-spacing: 4px; font-weight: 700; }
.section-title { font-size: 34px; color: var(--navy); margin: 10px 0 16px; font-weight: 800; }
.section-desc { color: var(--text-light); }

/* ===== 关于我们 ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about-text p { margin-bottom: 16px; color: var(--text); }
.about-text b { color: var(--navy); }
.about-points { list-style: none; margin-top: 24px; }
.about-points li { padding: 12px 0 12px 34px; border-bottom: 1px dashed var(--border); position: relative; }
.about-points li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.about-points b { color: var(--navy); }

.about-cards { display: grid; gap: 16px; }
.value-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow); transition: transform .25s;
}
.value-card:hover { transform: translateX(6px); }
.value-icon { font-size: 26px; background: var(--bg-alt); border-radius: 10px; padding: 8px; }
.value-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.value-card p { font-size: 14px; color: var(--text-light); }

/* ===== 服务 ===== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 34px; transition: all .25s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 32px; margin-bottom: 14px; }
.service-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.service-card > p { font-size: 14.5px; color: var(--text-light); margin-bottom: 16px; }
.service-card ul { list-style: none; }
.service-card li {
  font-size: 14px; padding: 6px 0 6px 20px; position: relative; color: var(--text);
}
.service-card li::before { content: "·"; position: absolute; left: 6px; color: var(--gold); font-weight: 800; }

/* ===== 方法论 ===== */
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 24px; text-align: center; position: relative; transition: all .25s;
}
.step:hover { background: var(--navy); }
.step:hover h3, .step:hover p, .step:hover .step-num { color: #fff; border-color: rgba(255,255,255,.25); }
.step-num {
  font-size: 34px; font-weight: 800; color: var(--gold);
  font-family: Georgia, serif; line-height: 1;
}
.step h3 { margin: 14px 0 8px; color: var(--navy); font-size: 19px; transition: color .25s; }
.step p { font-size: 13.5px; color: var(--text-light); transition: color .25s; }

/* ===== 案例 ===== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border-radius: 16px; padding: 30px;
  border: 1px solid var(--border); transition: all .25s;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case-tag {
  display: inline-block; font-size: 12px; color: var(--blue);
  background: rgba(27,79,143,.08); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.case-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--text-light); }
.case-card b { color: var(--gold); font-size: 15px; }

/* ===== 团队 ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 30px 20px; transition: all .25s; }
.member:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--gold-light); font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.member h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.member .title { display: block; font-size: 12.5px; color: var(--gold); font-weight: 500; margin-top: 2px; }
.member p { font-size: 13.5px; color: var(--text-light); margin-top: 8px; }

/* ===== 洞察 ===== */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; transition: all .25s; display: flex; flex-direction: column;
}
.insight-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.insight-card time { font-size: 13px; color: var(--gold); font-weight: 600; }
.insight-card h3 { font-size: 17px; color: var(--navy); margin: 10px 0; line-height: 1.5; }
.insight-card p { font-size: 14px; color: var(--text-light); flex: 1; }
.read-more { font-size: 14px; color: var(--blue); font-weight: 600; margin-top: 14px; }
.read-more:hover { color: var(--gold); }

/* ===== 联系 ===== */
.contact { background: linear-gradient(150deg, var(--navy-deep), var(--navy) 60%, #123a63); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact .section-kicker { color: var(--gold-light); }
.contact .section-title { color: #fff; }
.contact-desc { color: rgba(255,255,255,.75); margin-bottom: 30px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 12px; padding: 10px 0; color: rgba(255,255,255,.85); font-size: 15px; }

.contact-form {
  background: #fff; border-radius: 18px; padding: 34px;
  color: var(--text); box-shadow: var(--shadow);
}
.contact-form h3 { color: var(--navy); font-size: 20px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; margin-bottom: 14px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; background: var(--bg-alt);
  transition: border .2s; color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.form-tip { font-size: 13px; color: #2e8b57; margin-top: 10px; text-align: center; min-height: 20px; }

/* ===== 腾讯问卷嵌入 ===== */
.survey-box .survey-frame {
  width: 100%; height: 560px; border: none; border-radius: 12px;
  background: var(--bg-alt); display: block; margin-bottom: 6px;
}
.survey-box .form-tip { color: var(--text-light); margin: 6px 0 12px; }
@media (max-width: 520px) {
  .survey-box .survey-frame { height: 620px; }
}

/* ===== 页脚 ===== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b { color: #fff; font-size: 16px; display: block; }
.footer-brand p { font-size: 13px; }
.footer-links { display: flex; gap: 22px; font-size: 14px; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { width: 100%; text-align: center; font-size: 13px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin-top: 8px; color: rgba(255,255,255,.45); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px;
    border-bottom: 1px solid var(--border); gap: 14px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero { padding: 130px 0 60px; }
  .hero-title { font-size: 34px; }
  .hero-stats { gap: 24px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid, .cases-grid, .insights-grid { grid-template-columns: 1fr; }
  .team-grid, .method-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-grid, .method-steps, .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
  .section-title { font-size: 26px; }
}
