:root {
  --navy: #0d2b4e;
  --navy-2: #17477d;
  --gold: #c8a45c;
  --gold-light: #e3cd9b;
  --ink: #1d2b3a;
  --muted: #5f7186;
  --line: #e3e9f0;
  --bg: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(13, 43, 78, .08);
  --radius: 10px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 21px; letter-spacing: 2px; color: var(--navy); }
.brand-text span { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 16px; font-size: 15px; color: var(--ink); border-radius: 6px;
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); background: #eef3f9; font-weight: 600; }
.header-cta {
  background: var(--navy); color: #fff !important; padding: 10px 20px !important;
  border-radius: 6px; font-weight: 600;
}
.header-cta:hover { background: var(--navy-2) !important; color: #fff !important; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { position: relative; height: 520px; overflow: hidden; background: var(--navy); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,30,56,.88) 0%, rgba(8,30,56,.62) 48%, rgba(8,30,56,.15) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center;
}
.hero-content .eyebrow { color: var(--gold-light); letter-spacing: 4px; font-size: 14px; margin: 0 0 14px; }
.hero-content h1 { color: #fff; font-size: 46px; line-height: 1.3; margin: 0 0 18px; font-weight: 700; letter-spacing: 1px; }
.hero-content p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 600px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: .2s;
}
.btn-primary { background: var(--gold); color: #1a2a3a; border: 1px solid var(--gold); }
.btn-primary:hover { background: #d9b56c; }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-dots { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 28px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-dots button.active { background: var(--gold); }

/* Section */
.section { padding: 84px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .kicker { color: var(--gold); font-size: 13px; letter-spacing: 3px; font-weight: 700; }
.section-head h2 { font-size: 32px; color: var(--navy); margin: 10px 0 12px; letter-spacing: 1px; }
.section-head p { color: var(--muted); margin: 0; font-size: 15px; }
.section-head.left { text-align: left; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,43,78,.14); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f7; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-body h3 { font-size: 19px; color: var(--navy); margin: 0 0 10px; }
.card-body p { color: var(--muted); font-size: 14px; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-link { color: var(--navy-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card-link::after { content: '→'; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }

.icon-card { text-align: center; padding: 34px 20px; }
.icon-card img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 18px; }
.icon-card h3 { font-size: 18px; color: var(--navy); margin: 0 0 8px; }
.icon-card p { font-size: 14px; color: var(--muted); margin: 0; }

.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.industry-item {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 10px;
  text-align: center; font-size: 15px; color: var(--navy); transition: .2s;
}
.industry-item:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.industry-item img { width: 60px; height: 60px; object-fit: contain; margin: 0 auto 10px; }

/* Page banner */
.page-banner {
  height: 280px; background-size: cover; background-position: center; position: relative;
  display: flex; align-items: center;
}
.page-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,30,56,.85), rgba(8,30,56,.35)); }
.page-banner .container { position: relative; z-index: 2; color: #fff; }
.page-banner h1 { font-size: 38px; margin: 0 0 8px; }
.page-banner p { margin: 0; color: rgba(255,255,255,.8); font-size: 16px; }

/* Content */
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.prose h2 { font-size: 24px; color: var(--navy); border-left: 4px solid var(--gold); padding-left: 14px; margin: 0 0 22px; }
.prose h3 { color: var(--navy); font-size: 19px; margin: 28px 0 12px; }
.prose p { color: #3c4d60; margin: 0 0 14px; }
.prose ul { margin: 0 0 18px; }
.prose li { padding-left: 20px; position: relative; margin-bottom: 8px; color: #3c4d60; }
.prose li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.team-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; }
.team-card h4 { margin: 14px 0 18px; font-size: 16px; color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); }
.contact-card .ico { width: 54px; height: 54px; border-radius: 50%; background: #eef3f9; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 22px; }
.contact-card h4 { margin: 0 0 8px; color: var(--navy); }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; word-break: break-all; }
.qr-wrap { display: flex; gap: 30px; justify-content: center; margin-top: 40px; }
.qr-item { text-align: center; }
.qr-item img { width: 150px; height: 150px; object-fit: contain; border: 1px solid var(--line); background: #fff; padding: 6px; border-radius: 8px; }
.qr-item span { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 56px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.9; margin: 0; }
.footer-col h4 { color: #fff; font-size: 16px; margin: 0 0 18px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: 13px; text-align: center; color: rgba(255,255,255,.55); }

/* Floating */
.float-bar { position: fixed; right: 22px; bottom: 30px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-bar a, .float-bar button {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 6px 18px rgba(13,43,78,.25); position: relative;
}
.float-bar a:hover, .float-bar button:hover { background: var(--navy-2); }
.float-bar .pop {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 10px; border-radius: 8px; white-space: nowrap; display: none; color: var(--ink); font-size: 13px;
}
.float-bar a:hover .pop { display: block; }
.float-bar .pop img { width: 130px; height: 130px; object-fit: contain; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Breadcrumb */
.crumb { font-size: 13px; color: var(--muted); margin: 28px 0 24px; }
.crumb a:hover { color: var(--navy-2); }

@media (max-width: 1000px) {
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr 1fr; }
  .grid-5, .industry-grid, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .menu-toggle { display: block; }
  .header-cta { display: none !important; }
  .hero { height: 440px; }
  .hero-content h1 { font-size: 34px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .grid-3, .grid-2, .contact-grid, .grid-5, .industry-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .hero-content h1 { font-size: 28px; }
  .page-banner { height: 220px; }
  .page-banner h1 { font-size: 28px; }
  .prose { padding: 24px; }
}
