/* 企九九 · 白色底 / 生命绿 · 单列叙事 + 统一栅格 */

:root {
  --green: #1b7f49;
  --green-deep: #146b3d;
  --green-mid: #2a9d5e;
  --green-tint: #eef7f1;
  --green-line: #cfe8d8;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e7edf0;
  --surface: #f8faf9;
  --radius: 12px;
  --radius-lg: 16px;
  --container: min(1120px, 92vw);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
}

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

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

.brand img {
  max-height: 44px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  font-size: 0.9rem;
}

.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav-desktop a:hover {
  color: var(--green-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.45rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 4vw 1rem;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.35rem 0;
  text-decoration: none;
}

.site-header.is-open .mobile-nav {
  display: flex;
}

@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.75rem, 7vw, 4rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 75% -15%, rgba(27, 127, 73, 0.11), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
}

.hero-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-em {
  color: var(--green);
}

.hero-summary {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 127, 73, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(27, 127, 73, 0.28);
  text-decoration: none;
}

.btn-outline {
  background: #fff;
  color: var(--green-deep);
  border: 1px solid var(--green-line);
}

.btn-outline:hover {
  background: var(--green-tint);
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.hero-facts li {
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.hero-facts strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  margin-bottom: 0.2rem;
}

.hero-facts span {
  color: var(--text);
}

/* ----- Page sections ----- */
.page-section {
  padding: clamp(2.75rem, 7vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.page-section--subtle {
  background: var(--surface);
}

.page-section--contact {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

/* Block heading: 编号 + 标题 + 一句说明 */
.block-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 52rem;
}

.block-head--compact {
  margin-bottom: 1.5rem;
}

.block-num {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.block-head-text h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
}

.block-lead {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.65;
}

/* 01 Intro */
.intro-layout {
  display: grid;
  gap: 2rem;
  max-width: 52rem;
}

@media (min-width: 800px) {
  .intro-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.intro-prose p {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
}

.kv-list {
  margin: 0;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.kv-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.kv-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.kv-row:first-child {
  padding-top: 0;
}

.kv-list dt {
  margin: 0;
  font-weight: 600;
  color: var(--green-deep);
}

.kv-list dd {
  margin: 0;
  color: var(--text);
}

.kv-list a {
  font-weight: 600;
}

/* 02 Business grid — 等高卡片，自动换行 */
.biz-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.biz-card {
  margin: 0;
  padding: 1.2rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.page-section--subtle .biz-card {
  background: #fff;
}

.biz-id {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green-mid);
  margin-bottom: 0.45rem;
}

.biz-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.biz-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

/* 03 System */
.system-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 52rem;
}

.system-tier {
  margin: 0;
}

.tier-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-tint);
}

.nine-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  counter-reset: nine;
}

@media (max-width: 640px) {
  .nine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nine-grid li {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  text-align: center;
  background: #fff;
  counter-increment: nine;
}

.plat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .plat-row {
    grid-template-columns: 1fr;
  }
}

.plat-card {
  margin: 0;
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.plat-name {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  color: var(--green-deep);
}

.plat-role {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-mid);
}

.plat-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* 04 Trust split */
.trust-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

@media (max-width: 820px) {
  .trust-split {
    grid-template-columns: 1fr;
  }
}

.trust-panel {
  margin: 0;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.panel-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.honor-ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.75;
}

.honor-ol li {
  margin-bottom: 0.45rem;
}

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

.quote-item {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.quote-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.quote-item p {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
}

.quote-item cite {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* 05 News */
.news-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .news-row {
    grid-template-columns: 1fr;
  }
}

.news-item {
  margin: 0;
  padding: 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.news-item time {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-mid);
  margin-bottom: 0.35rem;
}

.news-title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.news-snippet {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* 06 Contact */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 52rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--green-tint) 0%, #fff 28%);
}

@media (max-width: 720px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  font-size: 0.95rem;
}

.contact-line {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.contact-line--block {
  grid-template-columns: 1fr;
}

.contact-line--block .contact-label {
  margin-bottom: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.contact-value {
  margin: 0;
  color: var(--text);
}

.contact-phone {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-deep);
  text-decoration: none;
}

.contact-phone:hover {
  text-decoration: underline;
}

.contact-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-form-wrap {
  padding: 1rem 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.form-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.form-hint-top {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  background: #fafcfb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27, 127, 73, 0.12);
}

.form-hint {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--surface);
}

.footer-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 22rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--green-deep);
}

.footer-copy {
  width: 100%;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

.footer-copy a {
  color: var(--muted);
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--green-deep);
  text-decoration: none;
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }
}
