:root {
  --color-primary: #1a6b4f;
  --color-primary-dark: #0f4a36;
  --color-primary-light: #e8f4ef;
  --color-accent: #c9a227;
  --color-text: #2c3e36;
  --color-text-muted: #5f6f68;
  --color-bg: #f7faf8;
  --color-white: #ffffff;
  --shadow: 0 4px 24px rgba(26, 107, 79, 0.08);
  --radius: 12px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-dark);
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 107, 79, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary-dark);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  letter-spacing: -1px;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  display: block;
  line-height: 1.2;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--color-text);
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #2d8a6a 100%);
  color: var(--color-white);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36em;
  font-size: 1.05rem;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  color: var(--color-primary-dark);
}

.section-desc {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 auto 2.5rem;
  max-width: 32em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 107, 79, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26, 107, 79, 0.12);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.card-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-primary-light);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* News list */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 107, 79, 0.06);
  overflow: hidden;
}

.news-item a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  color: inherit;
  align-items: center;
}

.news-item a:hover h2 {
  color: var(--color-primary);
}

.news-item h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s;
}

.news-item .excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.news-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Article */
.article {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.article h1 {
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
  color: var(--color-primary-dark);
}

.article-meta {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-primary-light);
}

.article p {
  margin: 0 0 1rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-panel {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-panel h2 {
  margin-top: 0;
  color: var(--color-primary-dark);
  font-size: 1.25rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-primary-light);
  font-size: 0.95rem;
}

.contact-list li:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--color-white);
}

.site-footer p,
.site-footer a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0.35rem 0;
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-header {
  background: var(--color-primary-light);
  padding: 2.5rem 0;
  margin-bottom: 0;
}

.page-header h1 {
  margin: 0;
  font-size: 1.75rem;
  color: var(--color-primary-dark);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(26, 107, 79, 0.1);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .about-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-item a {
    grid-template-columns: 1fr;
  }

  .news-date {
    white-space: normal;
  }
}
