/* ===== CSS Variables ===== */
:root {
  --primary: #1666c9;
  --primary-dark: #0f4a93;
  --primary-light: #5b9be6;
  --accent: #2f9fe0;
  --accent-light: #dcecfb;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f3f8fe;
  --bg-dark: #0b1f3a;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 74, 147, 0.06);
  --shadow: 0 4px 6px -1px rgba(15, 74, 147, 0.09), 0 2px 4px -2px rgba(15, 74, 147, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 74, 147, 0.11), 0 4px 6px -4px rgba(15, 74, 147, 0.09);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1400px;
  --header-h: 76px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.overline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--accent-light);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--bg);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

/* ===== Home page transparent header over hero ===== */
.home-page .header {
  background: transparent;
  border-bottom-color: transparent;
}

.home-page .header.scrolled {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.home-page .logo {
  color: #fff;
}

.home-page .logo-en {
  color: rgba(255, 255, 255, 0.85);
}

.home-page .logo-cn {
  color: #fff;
}

.home-page .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.home-page .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.home-page .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.home-page .header-tool-btn {
  color: #fff;
}

.home-page .header-tool-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.home-page .menu-toggle {
  color: #fff;
}

.home-page .nav-caret {
  opacity: 0.9;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.logo-img {
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.logo-en {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.logo-cn {
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav {
  display: flex;
  align-items: center;
  margin-left: 150px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(15, 74, 147, 0.05);
}

.nav-link.active {
  color: var(--primary);
  background: var(--accent-light);
  font-weight: 600;
}

.nav-caret {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--transition);
  opacity: 0.6;
}

.has-dropdown:hover > .nav-link .nav-caret,
.lang-dropdown:hover .lang-btn .nav-caret {
  transform: rotate(180deg);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 10px 25px rgba(22, 102, 201, 0.08);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 14px 14px 0 0;
}

.dropdown-right {
  left: auto;
  right: 0;
  transform: translateY(10px);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover .dropdown.dropdown-right {
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.dropdown a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 0 3px 3px 0;
  transition: transform 0.25s ease;
}

.dropdown a::after {
  content: "";
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.dropdown a:hover {
  background: rgba(22, 102, 201, 0.06);
  color: var(--primary);
  padding-left: 20px;
}

.dropdown a:hover::before {
  transform: translateY(-50%) scaleY(1);
}

.dropdown a:hover::after {
  opacity: 1;
}

.has-dropdown:hover .dropdown a {
  animation: dropIn 0.28s ease forwards;
}

.has-dropdown:hover .dropdown a:nth-child(1) { animation-delay: 0.04s; }
.has-dropdown:hover .dropdown a:nth-child(2) { animation-delay: 0.08s; }
.has-dropdown:hover .dropdown a:nth-child(3) { animation-delay: 0.12s; }
.has-dropdown:hover .dropdown a:nth-child(4) { animation-delay: 0.16s; }
.has-dropdown:hover .dropdown a:nth-child(5) { animation-delay: 0.2s; }
.has-dropdown:hover .dropdown a:nth-child(6) { animation-delay: 0.24s; }

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Wide dropdown with media panel ===== */
.dropdown.dropdown-wide {
  display: grid;
  grid-template-columns: 200px 300px;
  min-width: 500px;
  padding: 0;
  gap: 0;
}

.dropdown.dropdown-wide::before {
  display: none;
}

.dropdown-wide .dropdown-menu {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
}

.dropdown-wide .dropdown-media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 0 14px 14px 0;
}

.dropdown-wide .dropdown-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dm-bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}

.dropdown-wide .dropdown-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 74, 147, 0.25) 0%, rgba(15, 74, 147, 0.85) 100%);
}

.dropdown-wide .dropdown-media-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: #fff;
  z-index: 2;
}

.dm-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.dm-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.dm-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Polish: wider dropdown menu items */
.dropdown-wide .dropdown-menu a {
  font-size: 0.92rem;
  padding: 11px 16px;
  border-radius: 9px;
}

.dropdown-wide .dropdown-menu a span {
  flex: 1;
}

/* Subtle zoom on the media image when dropdown is open */
.has-dropdown:hover .dropdown-wide .dropdown-media::before {
  transform: scale(1.06);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
  margin-left: 4px;
}

.header-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  width: 38px;
  color: var(--text-secondary);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.header-tool-btn:hover {
  color: var(--primary);
  background: rgba(15, 74, 147, 0.06);
}

.header-tool-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lang-btn {
  width: auto;
  padding: 0 10px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 20px;
}

.lang-btn span {
  white-space: nowrap;
}

.globe-icon {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 74, 147, 0.92), rgba(15, 74, 147, 0.82));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-overline {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-desc {
  font-size: 1.2rem;
  max-width: 760px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 64px auto 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
}

.hero-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Section: Intro/Features ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.intro-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.intro-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
}

.feature-list svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: 14px;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== Products ===== */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .thumb {
  height: 220px;
  background: var(--bg-alt);
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.05);
}

.product-card .info {
  padding: 24px;
}

.product-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== Team/Certs ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Stats banner ===== */
.stats-banner {
  background: var(--primary);
  color: #fff;
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-grid .num {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.stats-grid .label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}


/* ===== Jobs ===== */
.job-list {
  display: grid;
  gap: 16px;
}

.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.job-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.job-meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(15, 74, 147, 0.08);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ===== News page ===== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-thumb {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition);
}

.news-item:hover .news-thumb img {
  transform: scale(1.04);
}

.news-date {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.news-title a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--transition);
}

.news-title a:hover {
  color: var(--primary);
}

.news-excerpt {
  color: var(--text-secondary);
  margin: 12px 0 16px;
  line-height: 1.7;
}

.news-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}

.news-more:hover {
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-thumb img {
    height: 180px;
  }
}

/* ===== Footer ===== */
.footer {
  background: #515a61;
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}

.footer-main-row {
  display: grid;
  grid-template-columns: 340px 1fr 160px;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col {
  max-width: 440px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer .logo-en,
.footer .logo-cn {
  color: #fff;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.footer-nav-col {
  min-width: 0;
  justify-self: end;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 48px;
  min-width: 560px;
}

.footer-qr-col {
  display: flex;
  justify-content: flex-end;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.footer-qr img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.footer-qr span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Keyframes ===== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-stats,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main-row {
    grid-template-columns: 1fr 2fr;
    gap: 36px;
  }

  .footer-qr-col {
    display: none;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    min-width: 0;
  }

  .header .container {
    padding: 0 16px;
  }

  .logo-cn {
    font-size: 1.3rem;
  }

  .header-right {
    gap: 12px;
  }

  .nav-link {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .header-tools {
    padding-left: 12px;
  }

  .lang-btn span {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats,
  .cards-grid,
  .stats-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-main-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .footer-brand-col {
    max-width: 100%;
  }

  .footer-nav-col {
    justify-self: center;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .footer-qr-col {
    display: flex;
    justify-content: center;
  }

  .footer-qr {
    align-items: center;
  }

  .header-right {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    margin-left: 0;
    border-left: none;
  }

  .header-right.open {
    transform: translateX(0);
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-link.active {
    background: transparent;
    color: var(--primary);
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  /* Wide dropdown stacks vertically on mobile */
  .dropdown.dropdown-wide {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .dropdown-wide .dropdown-media {
    min-height: 130px;
    border-radius: 0;
  }

  .header-tools {
    padding: 16px 0 0;
    margin: 16px 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
  }

  .header-tool-btn {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Home page mobile menu keeps light panel */
  .home-page .header-right {
    background: #fff;
  }

  .home-page .header-right .nav-link {
    color: var(--text-secondary);
  }

  .home-page .header-right .nav-link:hover {
    color: var(--primary);
    background: rgba(15, 74, 147, 0.05);
  }

  .home-page .header-right .nav-link.active {
    color: var(--primary);
    background: var(--accent-light);
  }

  .home-page .header-right .header-tool-btn {
    color: var(--text-secondary);
  }

  .home-page .header-right .header-tool-btn:hover {
    color: var(--primary);
    background: rgba(15, 74, 147, 0.06);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .job-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-qr img {
    width: 96px;
    height: 96px;
  }
}

/* ===== Mobile bottom tabbar (mobile only) ===== */
.mobile-tabbar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0));
  }

  .mobile-tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    height: 58px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #555;
    font-size: 12px;
    line-height: 1;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .tabbar-item svg {
    width: 20px;
    height: 20px;
  }

  .tabbar-item.active,
  .tabbar-item:active {
    color: var(--primary, #0f4a93);
  }
}

/*-----------翻页样式-----------*/
.contentPage{text-align: center; margin:0px 3px; padding:0px; padding-top:15px; width: 100%; color: #666; line-height: 30px; text-decoration: none;}
.contentPage a:link {color: #036cb4; text-decoration: none; font-size: 12px; margin:0px 3px; padding:4px 7px; border: 1px solid #eeeeee; font-weight: normal;}
.contentPage a:visited {color: #036cb4; text-decoration: none; font-size: 12px; margin:0px 3px; border: 1px solid #eeeeee; padding:4px 7px; font-weight: normal;}
.contentPage a:hover {color:#FFF; margin:0px 3px; font-size: 12px; text-decoration: none; padding:4px 7px; background-color:#0d499f; font-weight:normal;}
.contentPage .current{color:#f00; text-decoration: none; font-size: 12px; margin: 0px; border:0px solid #f00; padding:4px 7px; font-weight: normal;}
.contentPage .zi{font-size:12px; font-weight:bold; float:none!important;}
.contentPage .zi form{ display:inline;}
.contentPage .zi form input[type="text"]{ border:1px solid #CCC; line-height:18px; width:25px!important;}
.contentPage .zi form input[type="submit"]{ background-color:#CCC; border:0px; line-height:20px; color:#FFF; cursor:pointer;}
/*-----------content pages end-----------*/
