/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1f2937; line-height: 1.6; background: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 1.35rem; font-weight: 700; color: #1e3a5f; }
.logo span { color: #3b82f6; }
nav { display: flex; align-items: center; gap: 8px; }
nav a {
  padding: 6px 14px; border-radius: 6px; font-size: .92rem;
  transition: background .2s; color: #4b5563;
}
nav a:hover, nav a.active { background: #eff6ff; color: #2563eb; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border: 1px solid #d1d5db; border-radius: 20px;
  background: #fff; cursor: pointer; font-size: .82rem; color: #374151;
  transition: all .2s; margin-left: 8px;
}
.lang-toggle:hover { border-color: #3b82f6; color: #2563eb; }

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  text-align: center;
}
.hero h1 { font-size: 2.6rem; font-weight: 800; color: #1e3a5f; margin-bottom: 16px; }
.hero h1 span { color: #3b82f6; }
.hero p {
  font-size: 1.1rem; color: #4b5563; max-width: 640px; margin: 0 auto 32px;
}
.btn {
  display: inline-block; padding: 12px 32px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; transition: all .2s; cursor: pointer;
  border: none;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.btn-outline { background: transparent; color: #2563eb; border: 2px solid #2563eb; }
.btn-outline:hover { background: #eff6ff; }

/* ===== Sections ===== */
section { padding: 72px 0; }
.section-title {
  font-size: 1.8rem; font-weight: 700; color: #1e3a5f;
  text-align: center; margin-bottom: 12px;
}
.section-sub { text-align: center; color: #6b7280; margin-bottom: 48px; font-size: 1.05rem; }

/* ===== Highlights ===== */
.highlights { background: #f9fafb; }
.highlight-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.highlight-card {
  background: #fff; padding: 32px 24px; border-radius: 12px;
  text-align: center; border: 1px solid #e5e7eb; transition: all .3s;
}
.highlight-card:hover { border-color: #93c5fd; box-shadow: 0 8px 24px rgba(37,99,235,.08); transform: translateY(-4px); }
.highlight-card .icon { font-size: 2.4rem; margin-bottom: 12px; }
.highlight-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.highlight-card p { font-size: .92rem; color: #6b7280; }

/* ===== About Preview ===== */
.about-preview { text-align: center; }
.about-preview p { max-width: 720px; margin: 0 auto 16px; color: #4b5563; font-size: 1.05rem; }
.cert-badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: #ecfdf5; color: #065f46; font-weight: 500; font-size: .88rem;
  margin: 4px;
}

/* ===== Services ===== */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
}
.service-card {
  background: #fff; padding: 36px 28px; border-radius: 12px;
  border: 1px solid #e5e7eb; transition: all .3s;
}
.service-card:hover { border-color: #93c5fd; box-shadow: 0 8px 24px rgba(37,99,235,.08); }
.service-card .icon { font-size: 2.6rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { color: #6b7280; font-size: .93rem; }

/* ===== Cases ===== */
.case-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.case-card {
  border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: all .3s;
}
.case-card:hover { border-color: #93c5fd; box-shadow: 0 8px 24px rgba(37,99,235,.08); }
.case-card-img {
  height: 160px; background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.case-card-body { padding: 20px; }
.case-card-body h4 { font-weight: 600; margin-bottom: 6px; }
.case-card-body p { font-size: .88rem; color: #6b7280; }
.case-card-body .tag {
  display: inline-block; padding: 2px 10px; border-radius: 12px;
  background: #eff6ff; color: #2563eb; font-size: .78rem; margin-top: 8px;
}

/* ===== Stats ===== */
.stats {
  background: #1e3a5f; color: #fff; text-align: center;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px;
}
.stat-item h2 { font-size: 2.2rem; font-weight: 800; }
.stat-item p { color: #93c5fd; font-size: .95rem; margin-top: 4px; }

/* ===== Contact ===== */
.contact-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 800px; margin: 0 auto;
}
.contact-item {
  text-align: center; padding: 24px; border-radius: 12px; background: #f9fafb;
}
.contact-item .icon { font-size: 2rem; margin-bottom: 8px; }
.contact-item h4 { font-weight: 600; margin-bottom: 4px; }
.contact-item p { color: #6b7280; font-size: .9rem; }

/* ===== Footer ===== */
footer {
  background: #111827; color: #9ca3af; padding: 40px 0;
  text-align: center;
}
footer .logo { color: #fff; margin-bottom: 12px; display: block; }
footer p { font-size: .85rem; }
footer .links { margin: 12px 0; }
footer .links a { color: #9ca3af; margin: 0 10px; font-size: .85rem; }
footer .links a:hover { color: #fff; }

/* ===== Page Header ===== */
.page-header {
  padding: 120px 0 48px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  text-align: center;
}
.page-header h1 { font-size: 2.2rem; font-weight: 700; color: #1e3a5f; }
.page-header p { color: #4b5563; margin-top: 8px; }

/* ===== About Page ===== */
.about-section p { margin-bottom: 16px; color: #4b5563; }
.cert-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.cert-item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; background: #f9fafb;
  border: 1px solid #e5e7eb;
}
.cert-item .badge { font-size: 1.5rem; }

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.team-card {
  text-align: center; padding: 28px 16px; border-radius: 12px;
  border: 1px solid #e5e7eb;
}
.team-card .avatar { font-size: 3rem; margin-bottom: 8px; }
.team-card h4 { font-weight: 600; }
.team-card p { font-size: .85rem; color: #6b7280; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  nav { flex-wrap: wrap; gap: 4px; }
  nav a { font-size: .82rem; padding: 4px 10px; }
  .section-title { font-size: 1.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
