:root {
  --green-900: #153f2c;
  --green-800: #1f5a3b;
  --green-700: #287346;
  --green-600: #389e38;
  --green-100: #e9f6e7;
  --green-50: #f5fbf3;
  --ink: #1e2a24;
  --muted: #66736c;
  --line: #dfe8e1;
  --paper: #ffffff;
  --soft: #f7faf6;
  --accent: #e8b847;
  --sky: #4d8ebd;
}

.org-chart-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 90, 59, 0.06);
}

.org-chart-panel img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #f7faf7;
}

.honor-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.honor-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green-800);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.honor-btn:hover {
  border-color: var(--green-600);
  color: #fff;
  background: var(--green-600);
}

.honor-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.honor-strip::-webkit-scrollbar {
  display: none;
}

.honor-card {
  scroll-snap-align: start;
}

@media (max-width: 980px) {
  .honor-strip {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .honor-strip {
    grid-auto-columns: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--soft);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--green-800);
  color: #e9fff0;
  font-size: 13px;
}

.topbar .container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(31, 90, 59, 0.12);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 210px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 300px;
  height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-links a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: #31443a;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  display: none;
  min-width: 150px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(21, 63, 44, 0.12);
  transform: translateX(-50%);
}

.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  display: grid;
  gap: 2px;
}

.nav-sub a {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-800);
}

.hero {
  position: relative;
  min-height: 620px;
  color: #fff;
  overflow: hidden;
  background: var(--green-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  transition: opacity 0.8s ease;
}

.hero-slide:first-of-type,
.hero-slide.is-active {
  opacity: 1;
}

.hero-slide.is-active {
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 64px 0 92px;
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #efffed;
  font-weight: 700;
  font-size: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0;
}

.hero p {
  margin: 22px 0 0;
  width: min(700px, 100%);
  color: #edf7ef;
  font-size: 19px;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn.primary {
  color: #fff;
  background: var(--green-600);
}

.btn.primary:hover {
  background: var(--green-700);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.btn.light {
  color: var(--green-800);
  background: #fff;
  border-color: var(--line);
}

.metric-strip {
  position: relative;
  margin-top: -54px;
  z-index: 3;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid rgba(31, 90, 59, 0.12);
  box-shadow: 0 20px 50px rgba(20, 60, 34, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.metric {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--green-700);
  font-size: 32px;
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #fff;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-title {
  width: min(690px, 100%);
}

.section-title .kicker {
  color: var(--green-700);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: clamp(26px, 4vw, 40px);
}

.section-title p {
  margin: 14px 0 0;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.lead {
  margin: 0 0 20px;
  color: #43534a;
  font-size: 17px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-item::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--green-600);
}

.image-panel {
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  background: #dfe8e1;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 90, 59, 0.06);
}

.card-body {
  padding: 24px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: #e5eee6;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 13px;
  font-weight: 700;
}

.tech-card {
  padding: 26px;
}

.tech-card .icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.news-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  padding: 18px;
}

.news-row img {
  width: 148px;
  height: 104px;
  object-fit: cover;
  border-radius: 6px;
}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #255f94;
  font-size: 12px;
  font-weight: 700;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(18, 62, 39, 0.92), rgba(18, 62, 39, 0.66)),
    url("https://images.unsplash.com/photo-1625246333195-78d9c38ad449?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80") center/cover;
  color: #fff;
  padding: 86px 0;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.page-hero p {
  max-width: 760px;
  color: #eaf6ec;
  font-size: 18px;
}

.table-like {
  display: grid;
  gap: 12px;
}

.info-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row strong {
  color: var(--green-800);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 800;
}

.contact-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form-grid {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 130px;
}

.footer {
  color: #dce8de;
  background: #111f18;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  padding: 54px 0;
}

.footer h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 14px;
}

.footer p,
.footer li {
  color: #aebdb3;
  margin: 0;
  font-size: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: #9dafaa;
  font-size: 13px;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--green-700);
  display: none;
  z-index: 20;
}

.back-top.show {
  display: block;
}

@media (max-width: 980px) {
  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 12px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .nav-item,
  .nav-home {
    min-width: 0;
  }

  .nav-sub {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-sub::before {
    display: none;
  }

  .nav-sub a {
    padding: 6px 10px;
    color: var(--muted);
    font-size: 13px;
  }

  .two-col,
  .contact-box,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .grid.cols-3,
  .grid.cols-4,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    max-width: 220px;
    height: 48px;
  }

  .hero,
  .hero .container {
    min-height: 560px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .metrics,
  .grid.cols-3,
  .grid.cols-4,
  .news-row,
  .timeline-item,
  .info-row {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    display: block;
  }

  .section-actions {
    margin-top: 20px;
  }

  .news-row img {
    width: 100%;
    height: 180px;
  }
}
