/* 宁可为 · 首页（品牌形象站风格） */
:root {
  --g: #2fa05e;
  --g-dark: #143c28;
  --ink: #1b1b1b;
  --gray: #6b6b6b;
  --line: #ececec;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------------- 顶部导航 ---------------- */
header.top {
  position: relative;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.top .inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 48px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 800;
  color: var(--g);
  letter-spacing: 2px;
}

.logo .mask {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

nav.main {
  display: flex;
  align-items: center;
  gap: 46px;
  font-size: 17px;
  color: #333;
}

nav.main a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

nav.main a:hover { color: var(--g); }

nav.main a[data-sub]::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #9a9a9a;
  border-bottom: 1.5px solid #9a9a9a;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 9px;
}

.lang { font-size: 15px; color: #999; }
.lang b { color: #e0245e; font-weight: 400; }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  height: clamp(460px, 66vh, 720px);
  overflow: hidden;
  background: linear-gradient(135deg, #2c6b47 0%, #143c28 55%, #0f2e1f 100%);
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
}

.slide.active { opacity: 1; }

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.34) 46%, rgba(0,0,0,.05) 78%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 86px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .02em;
  margin-bottom: 40px;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  color: #fff;
  opacity: .95;
}

.more:hover { opacity: 1; }

.more .ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,.85);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.rule {
  width: min(760px, 62%);
  height: 1px;
  background: rgba(255,255,255,.65);
  margin: 26px 0 22px;
}

.hero .sub {
  font-size: 19px;
  color: rgba(255,255,255,.9);
  line-height: 1.9;
  max-width: 760px;
}

/* 右侧竖排圆点 */
.dots {
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: .65;
  transition: .2s;
}

.dots button.on {
  background: #fff;
  opacity: 1;
}

/* ---------------- 通用区块 ---------------- */
.sec {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 48px;
}

.sec-head { margin-bottom: 52px; }
.sec-head .k {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--g);
  font-weight: 600;
}
.sec-head h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin: 12px 0 14px;
  letter-spacing: .01em;
}
.sec-head p { color: var(--gray); font-size: 17px; max-width: 760px; line-height: 1.9; }

/* 三栏图文 */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.trio .item {
  background: #fff;
  padding: 44px 38px;
}
.trio .item .no {
  font-size: 13px;
  color: var(--g);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.trio .item h3 { font-size: 22px; margin-bottom: 12px; }
.trio .item p { color: var(--gray); font-size: 15.5px; line-height: 1.9; }

/* 满幅图片段落 */
.band {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  background: linear-gradient(120deg, #1c4a33, #0f2e1f);
  color: #fff;
  overflow: hidden;
}

.band .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .55;
}

.band .inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 48px;
  width: 100%;
}

.band h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.4;
  margin-bottom: 24px;
}

.band .rule { width: min(520px, 70%); }
.band p { font-size: 18px; line-height: 1.95; color: rgba(255,255,255,.9); }

/* 产品 */
.grid4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pcard { background: #fff; }
.pcard .ph {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #eef7f1, #fafdfb);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #9bb3a5;
  font-size: 13px;
  overflow: hidden;
}
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard .ph.poster { background: #f5eadc; }
.pcard .ph.poster img { object-fit: contain; }
.pcard h3 { font-size: 20px; margin: 18px 0 8px; }
.pcard p { color: var(--gray); font-size: 15px; line-height: 1.85; }

/* ---------------- 页脚 ---------------- */
footer.bottom {
  background: var(--g-dark);
  color: #cfe0d5;
  padding: 72px 0 40px;
  font-size: 15px;
}

footer .inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 48px;
}

.fnav {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  color: #fff;
  font-size: 17px;
  margin-bottom: 40px;
}

.fnav a { opacity: .92; }
.fnav a:hover { opacity: 1; text-decoration: underline; }

.fmain {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.fmain p { margin-bottom: 10px; line-height: 1.9; }
.fmain strong { display: block; color: #fff; font-size: 16px; margin-bottom: 12px; }

.qr {
  width: 108px;
  height: 108px;
  background: #fff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: 5px;
}
.qr img { width: 100%; height: 100%; object-fit: contain; }

.qr-row { display: flex; gap: 24px; }
.qr-item { text-align: center; }
.qr-item > span { display: block; margin-top: 7px; color: #dce9e0; font-size: 12px; }

.fcopy {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  color: #9db8a6;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.todo { background: #fff6d9; border-bottom: 2px solid #e0b93a; padding: 0 2px; color: #333; }

@media (max-width: 1100px) {
  .top .inner { height: 76px; padding: 0 24px; }
  nav.main { display: none; }
  .hero-inner, .sec, .band .inner, footer .inner { padding-left: 24px; padding-right: 24px; }
  .trio, .grid4 { grid-template-columns: 1fr; }
  .fmain { grid-template-columns: 1fr; gap: 32px; }
  .dots { right: 16px; }
}

@media (max-width: 620px) {
  .logo { font-size: 22px; }
  .logo .mask { width: 32px; height: 32px; }
  .hero { height: 78vh; }
  .hero h1 { margin-bottom: 28px; }
  .rule { width: 100%; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
}
