/* ===== 执象智行科技 - 门户样式 ===== */
:root {
  --navy: #0d2a45;
  --navy-dark: #081e33;
  --gold: #c8a05a;
  --gold-light: #e2c58c;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #2c3a4a;
  --text-light: #6b7a8c;
  --border: #e6eaf0;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(13, 42, 69, 0.08);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(13, 42, 69, 0.08); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light);
  border-radius: 8px; font-weight: 700; font-size: 18px;
}
.logo-text { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }

.nav { display: flex; gap: 30px; }
.nav-link {
  text-decoration: none; color: var(--text);
  font-size: 15px; position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--gold); border-radius: 2px;
}

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero 横幅 ===== */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(200, 160, 90, 0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(30, 90, 150, 0.5), transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #14406b 100%);
  color: #fff;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-text { text-align: left; }
.hero-tag {
  display: inline-block; font-size: 14px; letter-spacing: 3px;
  color: var(--gold-light); border: 1px solid rgba(200, 160, 90, 0.5);
  padding: 6px 18px; border-radius: 20px; margin-bottom: 24px;
}
.hero-title { font-size: 42px; font-weight: 700; line-height: 1.3; margin-bottom: 22px; }
.hero-sub { font-size: 17px; color: rgba(255, 255, 255, 0.82); margin-bottom: 38px; max-width: 560px; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 30px;
  font-size: 16px; text-decoration: none; transition: 0.25s; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); font-weight: 600; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero 右侧亮点卡片 */
.hero-visual { display: flex; flex-direction: column; gap: 18px; }
.hero-point {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}
.hero-point-icon {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(200, 160, 90, 0.18);
  color: var(--gold-light);
  border-radius: 10px; font-size: 22px; font-weight: 700;
}
.hero-point-body strong { display: block; font-size: 17px; color: #fff; margin-bottom: 2px; }
.hero-point-body p { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* ===== 通用 section ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 54px; }
.section-title { font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.section-title::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: var(--gold); margin: 16px auto 0; border-radius: 2px;
}
.section-desc { color: var(--text-light); font-size: 16px; }

/* ===== 关于我们 ===== */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.about-text p { margin-bottom: 18px; font-size: 16px; }
.about-text p:last-child { margin-bottom: 0; }

.about-card {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 44px 38px;
  color: #fff;
  overflow: hidden;
}
.about-card::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(200, 160, 90, 0.35), transparent 70%);
}
.about-quote-mark {
  display: block; font-size: 64px; line-height: 1;
  color: var(--gold); font-family: Georgia, serif;
  margin-bottom: 10px;
}
.about-quote { font-size: 19px; line-height: 1.8; color: rgba(255, 255, 255, 0.92); margin-bottom: 28px; }
.about-card-foot { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--gold-light); }
.about-card-line { display: inline-block; width: 32px; height: 2px; background: var(--gold); }

/* ===== 业务卡片 ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0; transition: opacity 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light);
  border-radius: 12px; font-size: 24px; font-weight: 700; margin-bottom: 20px;
}
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--text-light); }

/* ===== 合作机构 ===== */
.partners { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner {
  padding: 12px 30px; border: 1px solid var(--border); border-radius: 30px;
  background: var(--bg); color: var(--navy); font-size: 16px; font-weight: 500;
  transition: 0.25s;
}
.partner:hover { border-color: var(--gold); color: var(--gold); }

/* ===== 新闻 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px; transition: 0.25s;
}
.news-item:hover { box-shadow: var(--shadow); }
.news-date { font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.news-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.news-item p { font-size: 14px; color: var(--text-light); }

/* ===== 联系方式 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-item {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 30px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); border-left: 3px solid var(--gold);
}
.contact-label {
  flex: 0 0 auto; font-size: 14px; color: var(--gold);
  font-weight: 600; letter-spacing: 1px;
}
.contact-item p { font-size: 16px; color: var(--navy); font-weight: 500; }

/* ===== 页脚 ===== */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.7); padding: 34px 0; }
.footer-wrap { display: flex; flex-direction: column; gap: 6px; text-align: center; font-size: 14px; }
.footer-meta { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { flex-direction: row; }
  .hero-point { flex: 1; flex-direction: column; text-align: center; gap: 10px; padding: 20px 14px; }
  .hero-point-body strong { font-size: 15px; }
  .cards, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-title { font-size: 34px; }
}

@media (max-width: 768px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav-link { padding: 16px 24px; border-top: 1px solid var(--border); }
  .nav-link.active::after { display: none; }

  .hero { padding: 110px 0 70px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards, .news-grid { grid-template-columns: 1fr; }
  .hero-visual { flex-direction: column; }
  .hero-title { font-size: 24px; }
  .btn { padding: 12px 26px; font-size: 15px; }
}
