:root {
  --primary: #0a2540;
  --primary-light: #143b61;
  --accent: #c5a04e;
  --accent-hover: #b08d3f;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --border: #e5e7eb;
  --radius: 6px;
  --max-width: 1200px;
  --shadow: 0 4px 20px rgba(10,37,64,.08);
}

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

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}
.logo strong {
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 2px;
}
.logo span {
  max-width: 240px;
  line-height: 1.3;
  font-size: 15px;
}
.logo img { max-height: 48px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}
.lang-switch a {
  font-size: 13px;
  padding: 4px 8px;
  border-radius: var(--radius);
  color: var(--muted);
  border: 1px solid var(--border);
}
.lang-switch a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  height: 560px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 42px;
  line-height: 1.25;
  margin: 0 0 16px;
  max-width: 760px;
}
.hero p {
  font-size: 18px;
  opacity: .92;
  margin: 0 0 28px;
  max-width: 680px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Section */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 30px;
  color: var(--primary);
  margin: 0 0 12px;
}
.section-title p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-card {
  padding: 32px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-card .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-card .label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(10,37,64,.12);
}
.card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
}
.card-body { padding: 24px; }
.card-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--primary);
}
.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* About home */
.about-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-home .image {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}
.about-home .content h2 {
  font-size: 28px;
  color: var(--primary);
  margin: 0 0 16px;
}
.about-home .content p {
  color: var(--muted);
  margin: 0 0 16px;
}

/* Features */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.feature-item h4 { margin: 0 0 4px; color: var(--primary); }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* Page header */
.page-header {
  background: var(--primary);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.page-header h1 { margin: 0 0 10px; font-size: 36px; }
.page-header p { margin: 0; opacity: .85; }

/* Content */
.content-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px;
}
.content-wrap h2 { color: var(--primary); margin-top: 32px; }
.content-wrap p { color: var(--text); }

/* Projects list */
.project-grid { grid-template-columns: repeat(3, 1fr); }
.project-card .meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.project-card .meta span {
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 20px;
}

/* News */
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card .date {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { color: var(--primary); margin-top: 0; }
.contact-info p { color: var(--muted); margin: 8px 0; }
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  margin-bottom: 16px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { width: 100%; justify-content: center; }

/* Footer */
.site-footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand strong {
  color: var(--accent);
  font-size: 24px;
  letter-spacing: 3px;
}
.footer-brand p { margin: 8px 0 0; }
.footer-brand .muted { color: #94a3b8; font-size: 14px; }
.footer-links h4, .footer-contact h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 16px;
}
.footer-links a {
  display: block;
  color: #cbd5e1;
  margin: 8px 0;
  font-size: 14px;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p { margin: 8px 0; font-size: 14px; }
.footer-contact span { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
}
.footer-bottom a { color: #94a3b8; }

/* Responsive */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .news-list, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .about-home, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; border-bottom: none; padding: 10px 0; }
  .lang-switch { border-left: none; margin-left: 0; padding-left: 0; }
  .hero { height: auto; padding: 80px 0; }
  .hero h1 { font-size: 28px; }
  .stats-grid, .card-grid, .news-list, .project-grid { grid-template-columns: 1fr; }
  .feature-list, .contact-form .row, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
