:root {
  --primary: #1f6b4a;
  --primary-dark: #145034;
  --primary-light: #e8f4ee;
  --text: #2b2f2d;
  --text-light: #6b7470;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --border: #e3e8e5;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(20, 80, 52, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--text-light);
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.main-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--primary-light) 0%, #ffffff 70%);
  padding: 88px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero p {
  color: var(--text-light);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tags span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 14px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn.ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn.ghost:hover {
  background: var(--primary-light);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}

.section.soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-head p {
  color: var(--text-light);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
}

/* ===== Cards ===== */
.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

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

.card p {
  color: var(--text-light);
  font-size: 14px;
}

.card .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== Intro (about summary) ===== */
.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.intro h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 18px;
}

.intro p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.fact-list {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 32px;
}

.fact-list dt {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.fact-list dd {
  font-weight: 600;
  margin-bottom: 18px;
}

.fact-list dd:last-child {
  margin-bottom: 0;
}

/* ===== Article page (about / contact) ===== */
.page-hero {
  background: var(--primary-light);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-light);
  font-size: 15px;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h2 {
  font-size: 22px;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.article p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.article strong {
  color: var(--text);
}

.value-grid {
  margin-top: 22px;
}

/* ===== Contact ===== */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-card h3 {
  font-size: 17px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-card .address {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

/* ===== Footer ===== */
.site-footer {
  background: #1c2420;
  color: #a8b3ad;
  padding: 40px 0 28px;
  margin-top: 0;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-inner a {
  color: #cdd8d2;
}

.footer-inner a:hover {
  color: #fff;
}

.footer-sep {
  color: #4a5650;
  margin: 0 8px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    display: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  }

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

  .main-nav a {
    padding: 14px 24px;
    border-radius: 0;
    font-size: 16px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 56px 0;
  }

  .section {
    padding: 52px 0;
  }

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

  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-card {
    padding: 28px 20px;
  }
}
