/* =========================================================
   LVEN 中文站 · 首页样式
   参考英文站 lvenfurniture.net 的版式与视觉语言重构
   所有类名以 hp- 前缀命名，避免与站内既有 style.css 冲突
   ========================================================= */
.hp-wrap {
  --ink: #14201A;
  --ink-soft: #3D4A43;
  --muted: #6B7770;
  --green: #1B8B72;
  --green-deep: #0F5C4B;
  --green-soft: #E6F2EF;
  --sand: #C8A56B;
  --sand-soft: #F7F1E6;
  --paper: #F6F7F5;
  --line: #E4E7E3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 32, 26, .08);
  --shadow-lg: 0 24px 60px rgba(20, 32, 26, .14);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.65;
}
.hp-wrap *, .hp-wrap *::before, .hp-wrap *::after { box-sizing: border-box; }
.hp-wrap img { max-width: 100%; display: block; }
.hp-wrap a:not(.hp-btn) { color: inherit; text-decoration: none; }
.hp-wrap ul { list-style: none; margin: 0; padding: 0; }
.hp-wrap h1, .hp-wrap h2, .hp-wrap h3, .hp-wrap h4 { margin: 0; line-height: 1.18; font-weight: 700; letter-spacing: -.015em; }
.hp-wrap p { margin: 0; }

/* ---------- 布局 ---------- */
.hp-c { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hp-sec { padding: 92px 0; }
.hp-sec--white { background: #fff; }
.hp-sec--paper { background: var(--paper); }
.hp-sec--tight { padding: 64px 0; }
.hp-sec--wide > .hp-c { max-width: 1340px; }

/* ---------- 眉标 ---------- */
.hp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.hp-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sand); }

.hp-head { max-width: 720px; margin-bottom: 48px; }
.hp-head h2 { font-size: clamp(28px, 4vw, 42px); }
.hp-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.hp-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.hp-head--center .hp-eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--sand); }

/* ---------- 按钮 ---------- */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15.5px; min-height: 48px; transition: .22s ease;
}
.hp-btn--primary { background: var(--green); color: #fff; }
.hp-btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.hp-btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.hp-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hp-btn--outline { border-color: var(--green); color: var(--green); }
.hp-btn--outline:hover { background: var(--green); color: #fff; }
.hp-btn--light { background: #fff; color: var(--ink); }
.hp-btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hp-btn--white { background: #fff; color: var(--green-deep); }
.hp-btn--white:hover { background: var(--green-soft); }

/* ---------- Hero ---------- */
.hp-hero { position: relative; min-height: 620px; display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.hp-hero__bg { position: absolute; inset: 0; background: url("../images/home/hero.jpg") center/cover no-repeat; }
.hp-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 18, 13, .88) 0%, rgba(9, 18, 13, .72) 38%, rgba(9, 18, 13, .28) 70%, rgba(9, 18, 13, .15) 100%);
}
.hp-hero__inner { position: relative; padding: 110px 0 130px; color: #fff; max-width: 640px; }
.hp-hero__inner .hp-eyebrow { color: var(--sand); }
.hp-hero__inner .hp-eyebrow::before { background: var(--sand); }
.hp-hero__inner h1 { font-size: clamp(36px, 5.4vw, 58px); letter-spacing: -.02em; }
.hp-hero__inner p { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .82); max-width: 560px; }
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hp-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; font-size: 13.5px; color: rgba(255, 255, 255, .68); }
.hp-hero__meta li { display: flex; align-items: center; gap: 8px; }
.hp-hero__meta li::before { content: "✓"; color: var(--sand); font-weight: 700; }

/* ---------- 数据带 ---------- */
.hp-stats { background: #fff; border-bottom: 1px solid var(--line); }
.hp-stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 46px 0; }
.hp-stat { text-align: center; padding: 6px 8px; }
.hp-stat b { display: block; font-size: clamp(26px, 3vw, 38px); color: var(--green); letter-spacing: -.02em; }
.hp-stat span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; letter-spacing: .02em; }

/* ---------- 产品中心：编辑式分区头 ---------- */
.hp-ph-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 46px; }
.hp-ph-head h2 { font-size: clamp(28px, 4vw, 42px); }
.hp-ph-head__side { max-width: 400px; }
.hp-ph-head__side p { color: var(--muted); font-size: 16px; margin: 0 0 12px; }
.hp-all { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.hp-all svg { width: 16px; height: 12px; transition: transform .2s ease; }
.hp-all:hover svg { transform: translateX(4px); }

/* ---------- 分类卡片墙 ---------- */
.hp-catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.hp-catcard {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 32, 26, .05), 0 10px 28px rgba(20, 32, 26, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hp-catcard:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(20, 32, 26, .14); }
.hp-catcard__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper); }
.hp-catcard__img, .hp-catcard__alt {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .4s ease, transform .55s ease;
}
.hp-catcard__alt { opacity: 0; }
.hp-catcard:hover .hp-catcard__alt { opacity: 1; }
.hp-catcard:hover .hp-catcard__img { opacity: 0; transform: scale(1.04); }
.hp-catcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.hp-catcard__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.hp-catcard__arrow {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.hp-catcard__arrow svg { width: 15px; height: 11px; }
.hp-catcard:hover .hp-catcard__arrow { background: var(--green); color: #fff; transform: translateX(3px); }
.hp-catcard__desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- 全宽 CTA 横幅 ---------- */
.hp-pban {
  margin-top: 28px; padding: 36px 44px; background: var(--green-deep); color: #fff; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
}
.hp-pban h3 { font-size: 22px; margin: 0 0 7px; }
.hp-pban p { color: rgba(255, 255, 255, .78); font-size: 15.5px; margin: 0; max-width: 660px; }

/* ---------- 图文分栏 ---------- */
.hp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hp-split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hp-split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hp-split__media video { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; background: #0d1512; }
.hp-split--video { grid-template-columns: 1.5fr 1fr; gap: 48px; }
.hp-split--video .hp-split__media video { aspect-ratio: 16 / 10; }
.hp-split__body h2 { font-size: clamp(26px, 3.4vw, 38px); }
.hp-split__body > p { color: var(--muted); margin-top: 16px; }
.hp-check { margin-top: 24px; display: grid; gap: 12px; }
.hp-check li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-soft); }
.hp-check li::before {
  content: "✓"; flex: 0 0 22px; height: 22px; margin-top: 2px;
  background: var(--green-soft); color: var(--green); border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.hp-mt { margin-top: 30px; }

/* ---------- 编号优势卡 ---------- */
.hp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: hpstep; }
.hp-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.hp-step::before {
  counter-increment: hpstep; content: "0" counter(hpstep);
  display: block; font-size: 44px; font-weight: 800; color: var(--green-soft);
  -webkit-text-stroke: 1px var(--green); letter-spacing: -.02em;
}
.hp-step h3 { margin-top: 10px; font-size: 19px; }
.hp-step p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ---------- 使命引言 ---------- */
.hp-quote { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 54px 50px; position: relative; overflow: hidden; }
.hp-quote::before {
  content: "“"; position: absolute; top: -30px; left: 24px;
  font-size: 200px; color: rgba(255, 255, 255, .05); font-family: Georgia, serif;
}
.hp-quote p { font-size: clamp(19px, 2.4vw, 25px); line-height: 1.5; position: relative; }
.hp-quote footer { margin-top: 18px; color: var(--sand); font-size: 14px; letter-spacing: .06em; }

/* ---------- 认证标签 ---------- */
.hp-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-badge { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep); font-size: 13.5px; font-weight: 600; }
.hp-badge--sand { background: var(--sand-soft); color: #8A6B33; }

/* ---------- 底部 CTA ---------- */
.hp-cta {
  background: linear-gradient(120deg, var(--green-deep), var(--green)); color: #fff;
  border-radius: 20px; padding: 60px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.hp-cta h2 { font-size: clamp(24px, 3vw, 34px); color: #fff; }
.hp-cta p { color: rgba(255, 255, 255, .8); margin-top: 10px; }

/* ---------- 滚动渐显 ---------- */
.hp-wrap.hp-js .hp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.hp-wrap.hp-js .hp-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hp-wrap.hp-js .hp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hp-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .hp-split, .hp-split--video { grid-template-columns: 1fr; gap: 34px; }
  .hp-split--video .hp-split__media video { aspect-ratio: 16 / 9; }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 760px) {
  .hp-wrap { font-size: 16px; }
  .hp-sec { padding: 64px 0; }
  .hp-hero { min-height: 540px; }
  .hp-hero__inner { padding: 80px 0 90px; }
  .hp-hero__veil { background: linear-gradient(180deg, rgba(9, 18, 13, .86), rgba(9, 18, 13, .72)); }
  .hp-stats__grid { grid-template-columns: repeat(2, 1fr); padding: 34px 0; gap: 26px 12px; }
  .hp-ph-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .hp-catgrid { grid-template-columns: 1fr; gap: 18px; }
  .hp-catcard__body { padding: 16px 18px 20px; }
  .hp-pban { flex-direction: column; align-items: flex-start; padding: 28px 26px; }
  .hp-cta { padding: 44px 30px; }
  .hp-quote { padding: 40px 26px; }
}
