@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@600;700&display=swap");

:root {
  --blue-900: #0c2d5a;
  --blue-800: #143d74;
  --blue-700: #1a4f96;
  --blue-600: #2363b5;
  --blue-500: #2f79d0;
  --blue-100: #e8f1fb;
  --blue-50: #f3f7fc;
  --orange-700: #c45a0a;
  --orange-600: #e36b12;
  --orange-500: #f07a1a;
  --orange-400: #ff8c2a;
  --ink: #1a2433;
  --muted: #5a6a7a;
  --line: #d5e0ec;
  --paper: #ffffff;
  --accent: var(--orange-600);
  --shadow: 0 10px 30px rgba(26, 79, 150, 0.1);
  --radius: 4px;
  --wrap: 1100px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  background:
    radial-gradient(ellipse 80% 50% at 8% -10%, rgba(47, 121, 208, 0.14), transparent 50%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(227, 107, 18, 0.1), transparent 45%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f9 42%, #f8f9fb 100%);
  min-height: 100vh;
}

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--orange-600);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 12px;
}

.header-search {
  display: flex;
  align-items: stretch;
  flex: 1 1 220px;
  max-width: 360px;
  margin: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(26, 79, 150, 0.06);
}

.header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 12px;
  height: 36px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: transparent;
}

.header-search input[type="search"]::-webkit-search-decoration,
.header-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.header-search input[type="search"]:focus {
  outline: none;
}

.header-search button {
  flex: 0 0 auto;
  border: 0;
  padding: 0 16px;
  height: 36px;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-800));
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.header-search button:hover {
  background: linear-gradient(180deg, var(--orange-500), var(--orange-700));
}

.search-result-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
}

.search-result-bar strong {
  color: var(--blue-700);
}

.search-result-bar a {
  color: var(--orange-600);
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.brand-text .cn {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--blue-900);
}

.brand-text .en {
  display: block;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--blue-800);
  white-space: nowrap;
}

.header-meta {
  text-align: right;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  flex-shrink: 0;
}

.header-meta strong {
  color: var(--orange-600);
  font-weight: 600;
}

.nav-bar {
  background: linear-gradient(180deg, var(--blue-700), var(--blue-900));
  box-shadow: 0 4px 14px rgba(12, 45, 90, 0.28);
}

.nav-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  margin: 8px 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.nav-list a {
  display: block;
  color: #fff;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 42vw, 420px);
  color: #fff;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
  display: block;
  text-decoration: none;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 31, 64, 0.78) 0%, rgba(12, 45, 90, 0.4) 48%, rgba(227, 107, 18, 0.12) 100%);
}

.hero-slide:nth-child(1) {
  background-image:
    linear-gradient(120deg, rgba(12, 45, 90, 0.35), rgba(12, 45, 90, 0.1)),
    url("https://images.unsplash.com/photo-1466692476862-a0f3e8c0a7e8?auto=format&fit=crop&w=1600&q=80");
}

.hero-slide:nth-child(2) {
  background-image:
    linear-gradient(120deg, rgba(12, 45, 90, 0.4), rgba(12, 45, 90, 0.15)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80");
}

.hero-slide:nth-child(3) {
  background-image:
    linear-gradient(120deg, rgba(12, 45, 90, 0.4), rgba(12, 45, 90, 0.12)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1600&q=80");
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 56px;
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
  animation: rise 0.8s ease both;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: 0.2em;
  animation: rise 0.8s ease 0.1s both;
}

.hero-desc {
  margin: 0;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  animation: rise 0.8s ease 0.2s both;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: rise 0.8s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--orange-400), var(--orange-600));
  color: #fff;
  box-shadow: 0 6px 14px rgba(227, 107, 18, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--orange-500), var(--orange-700));
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-dots {
  position: absolute;
  right: max(16px, calc((100% - var(--wrap)) / 2));
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-dots button.active,
.hero-dots button:hover {
  background: var(--orange-600);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panels */
.page-main {
  padding: 28px 0 48px;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise 0.6s ease both;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-800));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-left: 4px solid var(--orange-500);
}

.panel-title a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 400;
}

.panel-title a:hover {
  color: #fff;
}

.panel-body {
  padding: 14px 16px 16px;
  min-height: 180px;
}

.service-list li+li {
  margin-top: 8px;
}

.service-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.service-list a::before {
  content: "▸";
  color: var(--orange-600);
  font-size: 12px;
}

.service-list a:hover {
  color: var(--blue-600);
}

.service-visual {
  margin-top: 14px;
  height: 90px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(26, 79, 150, 0.15), rgba(26, 79, 150, 0.05)),
    url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=600&q=70");
  background-size: cover;
  background-position: center;
}

.about-excerpt {
  color: var(--muted);
  font-size: 14px;
  text-indent: 2em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact-card {
  position: relative;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
}

.contact-card::before {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(47, 121, 208, 0.12), transparent 70%);
  pointer-events: none;
}

.contact-card p {
  margin: 0 0 4px;
}

.contact-card .label {
  color: var(--ink);
  font-weight: 500;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.news-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.news-list a {
  flex: 1;
  color: var(--orange-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list a:hover {
  color: var(--blue-600);
}

.news-list .date {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
  order: 2;
}

.partners {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.partners-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.partners:hover .partners-track {
  animation-play-state: paused;
}

.partner-chip {
  flex: 0 0 auto;
  min-width: 120px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange-500);
  background: linear-gradient(180deg, #fff, var(--blue-50));
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Inner pages */
.page-banner {
  background:
    linear-gradient(100deg, rgba(12, 45, 90, 0.85), rgba(26, 79, 150, 0.55)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 36px 0;
}

.page-banner h1 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.06em;
}

.page-banner p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}

.inner-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 16px;
  margin-top: 20px;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-nav a {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  font-size: 14px;
}

.side-nav a::before {
  content: "▸ ";
  color: var(--orange-600);
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--blue-600);
  background: var(--blue-50);
}

.content-panel .panel-body {
  min-height: 360px;
}

.prose h3 {
  margin: 1.4em 0 0.6em;
  color: var(--blue-800);
  font-size: 17px;
}

.prose p {
  margin: 0 0 0.9em;
  color: var(--muted);
  text-align: justify;
}

.prose .highlight {
  color: var(--orange-600);
  font-weight: 600;
}

.list-block li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.list-block .list-index {
  flex: 0 0 2.2em;
  color: var(--blue-700);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.list-block a,
.list-block .list-title {
  flex: 1;
  color: var(--ink);
  min-width: 0;
}

.list-block a:hover {
  color: var(--orange-600);
}

.list-block .date {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.article-meta {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.empty-hint {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.pager {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
}

.pager-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.pager-meta strong {
  color: var(--blue-700);
  font-weight: 700;
}

.pager-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pager-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

a.pager-btn:hover {
  border-color: var(--blue-500);
  color: var(--orange-600);
  background: var(--blue-50);
  box-shadow: 0 2px 8px rgba(26, 79, 150, 0.08);
}

.pager-btn.is-current {
  border-color: transparent;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 79, 150, 0.22);
  cursor: default;
}

.pager-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f7f9fc;
  color: var(--muted);
}

.pager-btn.pager-nav {
  min-width: auto;
  padding: 0 14px;
}

.pager-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  user-select: none;
}

.pager-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.pager-jump-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.pager-jump-input {
  width: 56px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-align: center;
  -moz-appearance: textfield;
}

.pager-jump-input::-webkit-outer-spin-button,
.pager-jump-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pager-jump-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(47, 121, 208, 0.15);
}

.pager-jump-go {
  min-width: auto;
  padding: 0 14px;
  border-color: var(--blue-600);
  background: linear-gradient(180deg, var(--blue-50), #fff);
  color: var(--blue-700);
  cursor: pointer;
}

.pager-jump-go:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
  background: #fff8f1;
}

@media (max-width: 640px) {
  .pager {
    justify-content: center;
  }

  .pager-meta {
    width: 100%;
    text-align: center;
  }

  .pager-controls {
    justify-content: center;
  }

  .pager-btn.pager-nav {
    padding: 0 10px;
  }

  .pager-jump {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    justify-content: center;
    padding-top: 4px;
  }
}

.job-card {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.job-card:last-child {
  border-bottom: 0;
}

.job-card h3 {
  margin: 0 0 8px;
  color: var(--blue-800);
  font-size: 18px;
}

.job-card .prose {
  margin-top: 8px;
}

.site-footer p {
  margin: 0;
}

.site-footer p+p {
  margin-top: 6px;
}

.contact-detail {
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.contact-detail dt {
  color: var(--blue-700);
  font-weight: 600;
  margin-top: 8px;
}

.contact-detail dd {
  margin: 0;
  color: var(--muted);
}

.map-placeholder {
  margin-top: 20px;
  height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(26, 79, 150, 0.08), rgba(26, 79, 150, 0.02)),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 24px,
      rgba(26, 79, 150, 0.04) 24px,
      rgba(26, 79, 150, 0.04) 25px),
    repeating-linear-gradient(0deg,
      transparent,
      transparent 24px,
      rgba(26, 79, 150, 0.04) 24px,
      rgba(26, 79, 150, 0.04) 25px);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.stat {
  background: var(--blue-50);
  border: 1px solid var(--line);
  padding: 14px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 26px;
  color: var(--blue-700);
  font-family: var(--font-serif);
  line-height: 1.2;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0c2d5a, #081f40);
  color: rgba(255, 255, 255, 0.78);
  padding: 28px 0 22px;
  font-size: 13px;
  text-align: center;
  line-height: 1.9;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 960px) {

  .home-grid,
  .news-grid,
  .inner-layout {
    grid-template-columns: 1fr;
  }

  .header-meta {
    display: none;
  }

  .header-search {
    max-width: none;
    flex: 1 1 auto;
    margin: 0;
  }

  .brand-bar {
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
  }

  .nav-list.open {
    display: flex;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    height: 32px;
    max-width: 100px;
  }

  .brand-text .cn {
    font-size: 15px;
  }

  .brand-text .en {
    font-size: 10px;
    white-space: normal;
  }

  .hero-content {
    padding: 36px 0 48px;
  }

  .news-list a,
  .list-block a {
    white-space: normal;
  }
}