:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #1e4d8c;
  --brand-dark: #0f2744;
  --accent: #c9a227;
  --line: #e2e8f0;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(15, 39, 68, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e4d8c, #0f2744);
  color: #f5d78e;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.logo-text strong {
  font-size: 18px;
  color: var(--brand-dark);
  font-weight: 700;
}
.logo-text small {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
@media (max-width: 560px) {
  .logo-text small { display: none; }
}
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover, .nav a.active {
  color: var(--brand);
  background: rgba(30, 77, 140, 0.08);
}

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 162, 39, 0.18), transparent 35%),
    linear-gradient(135deg, #0f2744 0%, #1e4d8c 55%, #295fa8 100%);
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}
.hero p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #1a1a1a; }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: 320px; object-fit: cover; }

.section { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section-head h2 { margin: 0; font-size: 28px; }
.section-head p { margin: 0; color: var(--muted); }
.link-more { color: var(--brand); font-weight: 600; font-size: 14px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 14px 14px 16px; }
.card-body h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
  min-height: 40px;
}
.card-meta { color: var(--muted); font-size: 12px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.feature h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand-dark); }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.page-banner {
  padding: 48px 0 32px;
  background: linear-gradient(135deg, #0f2744, #1e4d8c);
  color: #fff;
}
.page-banner h1 { margin: 0 0 8px; font-size: 32px; }
.page-banner p { margin: 0; opacity: .85; }

.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.04);
}
.content-panel p { margin: 0 0 14px; color: #334155; }

.work-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.work-layout img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a { color: var(--brand); }

.site-footer {
  margin-top: 48px;
  padding: 28px 0 36px;
  background: #0b1628;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.78); }
.footer-links a:hover { color: #fff; }
.icp a { color: #f5d78e; }

@media (max-width: 960px) {
  .hero-grid, .work-layout { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
}
