:root {
  --brand-lime: #B1FF65;
  --brand-green: #0E7A3C;
  --brand-dark: #0C1E14;
  --brand-dark-2: #10281B;

  --ink: #16201C;
  --muted: #5C6B65;
  --line: #E3E9E5;
  --bg: #FFFFFF;
  --bg-soft: #F4F8F5;

  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1180px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), opacity .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-green); color: #fff; }
.btn-primary:hover { background: #0B6431; }
.btn-lime { background: var(--brand-lime); color: #10281B; font-weight: 600; }
.btn-lime:hover { background: #A2F050; }
.btn-ghost { border-color: rgba(255,255,255,.34); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.55); }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { color: var(--brand-green); display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 18px; letter-spacing: .02em; }
.brand-text i {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
}

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 15px;
  color: var(--muted);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--brand-green); }
.nav a.is-active { color: var(--brand-green); font-weight: 500; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand-lime);
  border-radius: 2px;
}

.header-cta { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 17px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
  color: #fff;
  padding: 108px 0 128px;
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }

.hero-eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--brand-lime);
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero-sub {
  margin: 0 0 38px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,.76);
  max-width: 640px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-glow {
  position: absolute;
  z-index: 1;
  width: 720px; height: 720px;
  right: -190px; top: -260px;
  background: radial-gradient(circle, rgba(177,255,101,.20) 0%, rgba(177,255,101,0) 66%);
  pointer-events: none;
}

/* ---------- 数据条 ---------- */
.stats { background: var(--brand-dark-2); color: #fff; padding: 6px 0 34px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 38px;
}
.stat b {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--brand-lime);
  letter-spacing: -.02em;
}
.stat b::after { content: "+"; font-size: .5em; vertical-align: super; margin-left: 2px; }
.stat span { font-size: 14px; color: rgba(255,255,255,.62); }
.stats-note {
  margin: 22px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.34);
  text-align: right;
}

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brand-dark); color: #fff; }

.section-head { max-width: 620px; margin-bottom: 54px; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--brand-green);
  text-transform: uppercase;
}
.section-dark .eyebrow { color: var(--brand-lime); }
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 18px;
}
.section-desc { margin: 0; color: var(--muted); }
.section-dark .section-desc { color: rgba(255,255,255,.66); }

.lead { font-size: 17px; color: var(--ink); margin: 0 0 18px; }
.section-dark .lead { color: rgba(255,255,255,.86); }
.body { color: var(--muted); margin: 0 0 26px; }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 68px;
  align-items: center;
}
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 16px; height: 8px;
  border-left: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
  transform: rotate(-45deg);
}

.about-media .media-placeholder,
.case-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed #C7D3CC;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, #FAFCFA 0 12px, #F4F8F5 12px 24px);
  color: #93A29A;
  font-size: 13px;
  text-align: center;
}
.about-media .media-placeholder { aspect-ratio: 4 / 3; }
.media-placeholder i {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .1em;
  color: #B3BEB8;
}

/* ---------- 业务能力 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: #C9E3D3;
  box-shadow: 0 14px 34px rgba(12,44,26,.08);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(14,122,60,.08);
  color: var(--brand-green);
  margin-bottom: 20px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- 案例作品 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case h3 { font-size: 17px; margin: 18px 0 6px; }
.case p { margin: 0; font-size: 13.5px; color: var(--muted); }
.case-media {
  aspect-ratio: 4 / 3;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.case:hover .case-media { transform: translateY(-3px); border-color: #B6D6C2; }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: start;
}
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 4px; }
.ci-label {
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--brand-lime);
  text-transform: uppercase;
}
.ci-value { font-size: 16px; color: rgba(255,255,255,.9); }

.contact-form {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; color: rgba(255,255,255,.7); }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.34); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-lime);
  background: rgba(255,255,255,.09);
}
.field textarea { resize: vertical; }
.form-note { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.42); text-align: center; }
.form-note.is-ok { color: var(--brand-lime); }
.form-note.is-err { color: #FF9A8A; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,.66);
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 46px 0 34px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: grid; gap: 4px; }
.footer-brand b { color: #fff; font-size: 16px; font-weight: 500; }
.footer-brand span { font-size: 13px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.footer-nav a:hover { color: var(--brand-lime); }
.footer-legal {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 13px;
}
.footer-legal a:hover { color: var(--brand-lime); }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .stats-note { text-align: left; }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 6px 24px 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: none; }
  .nav a.is-active::after { display: none; }

  .hero { padding: 78px 0 92px; }
  .section { padding: 70px 0; }
  .card-grid,
  .case-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .case:hover .case-media { transform: none; }
}
