/* 宁可为官网 · 全站样式 */
:root {
  --green: #1f5c3d;
  --green-dark: #143c28;
  --green-light: #e8f1ea;
  --gold: #c98a2b;
  --ink: #1b1b1b;
  --ink-2: #4a4a4a;
  --line: #e3e3df;
  --bg: #fbfaf7;
  --card: #ffffff;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

/* 顶部导航 */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}

.nav ul {
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: var(--ink-2);
  font-size: 15px;
}

.nav a:hover, .nav a.active {
  color: var(--green);
  text-decoration: none;
}

.nav a.active { font-weight: 600; }

/* 首屏 */
.statement {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 10vw 8vw;
  background: radial-gradient(120% 90% at 50% 38%, #ffffff 0%, #f8f6f1 58%, #f1eee7 100%);
  border-bottom: 1px solid var(--line);
}

.statement .line {
  margin: 0;
  font-family: "Songti SC", "STSong", "Songti TC", "Noto Serif CJK SC", "SimSun", serif;
  font-weight: 400;
  font-size: clamp(24px, 4.1vw, 58px);
  line-height: 1.9;
  letter-spacing: .16em;
  text-indent: .16em;
  text-align: center;
  animation: rise 1.8s cubic-bezier(.22, .68, .3, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .statement .line { animation: none; }
}

/* 首页专用：导航滚动后才出现 */
header.site.nav-float {
  position: fixed;
  left: 0;
  right: 0;
  transform: translateY(-105%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

header.site.nav-float.show {
  transform: none;
  opacity: 1;
}

.hero {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, var(--green-light) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--green);
  background: #fff;
  border: 1px solid #cfe0d4;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -.5px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 32px;
}

.btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: .15s;
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); text-decoration: none; }
.btn-ghost { border: 1px solid #b9cfc2; color: var(--green); background: #fff; }
.btn-ghost:hover { border-color: var(--green); text-decoration: none; }

/* 事实条 */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
}

.fact {
  background: var(--card);
  padding: 26px 22px;
  text-align: center;
}

.fact strong {
  display: block;
  font-size: 26px;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 6px;
}

.fact span { font-size: 13px; color: var(--ink-2); }

/* 通用区块 */
section.block { padding: 76px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { margin-bottom: 40px; }
.sec-head .kicker { font-size: 13px; letter-spacing: 2px; color: var(--gold); font-weight: 600; }
.sec-head h2 { font-size: 30px; margin: 8px 0 10px; letter-spacing: -.3px; }
.sec-head p { color: var(--ink-2); margin: 0; max-width: 680px; }

/* 卡片网格 */
.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.card h3 { font-size: 19px; margin: 0 0 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

.contact-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-qr img {
  flex: 0 0 auto;
  width: 128px;
  height: 128px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-qr span { color: var(--ink-2); font-size: 14px; line-height: 1.7; }

.card .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--green);
  background: var(--green-light);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* 产品 */
.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product .thumb {
  aspect-ratio: 4 / 3;
  background: var(--green-light) center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #8aa898;
  font-size: 13px;
  overflow: hidden;
}
.product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product .thumb.poster { background: #f5eadc; }
.product .thumb.poster img { object-fit: contain; }

.product .body { padding: 22px 22px 26px; flex: 1; }
.product h3 { margin: 0 0 8px; font-size: 18px; }
.product .en { font-size: 12px; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; }
.product p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); }
.product ul { margin: 12px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }

/* 问答 */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "＋ "; color: var(--green); }
.faq details[open] summary::before { content: "－ "; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }

/* 正文页 */
.page-head {
  padding: 64px 0 40px;
  background: var(--green-light);
  border-bottom: 1px solid var(--line);
}

.page-head h1 { font-size: 36px; margin: 0 0 10px; }
.page-head p { margin: 0; color: var(--ink-2); font-size: 17px; }

.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; }
.prose h3 { font-size: 18px; margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }

/* 表格 */
table.data {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.data th, .data td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.data th { background: #f4f2ec; font-weight: 600; width: 32%; }
.data tr:last-child td, .data tr:last-child th { border-bottom: 0; }

/* 资质 */
.cert {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.cert .img {
  aspect-ratio: 3 / 4;
  background: #f2f0ea;
  border: 1px dashed #cfcabd;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #9a958a;
  font-size: 13px;
  margin-bottom: 14px;
}

.cert h3 { margin: 0 0 6px; font-size: 16px; }
.cert p { margin: 0; font-size: 13px; color: var(--ink-2); }

/* 页脚 */
footer.site {
  background: var(--green-dark);
  color: #cfe0d4;
  padding: 52px 0 34px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}

footer.site strong { color: #fff; display: block; margin-bottom: 10px; font-size: 15px; }
footer.site p { margin: 0 0 8px; line-height: 1.8; }
footer.site a { color: #dbeadf; }

.copy {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 20px;
  font-size: 12.5px;
  color: #9db8a6;
}

/* 占位标记 */
.todo {
  background: #fff6d9;
  border-bottom: 2px solid #e0b93a;
  padding: 0 2px;
  font-size: .95em;
}

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 32px; }
  .nav ul { gap: 16px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 620px) {
  .nav ul { display: none; }
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 27px; }
  .sec-head h2 { font-size: 24px; }
  .grid.c2 { grid-template-columns: 1fr; }
  section.block { padding: 52px 0; }
}
