/* ==========================================================================
   名爵H5 内页骨架：竖排标题 + 设备预览
   Hero 左侧竖排大字 + 右侧说明与图；下方横向要点与对照表
   ========================================================================== */

:root {
  --h5-bg: #f6fbe9;
  --h5-lime: #84cc16;
  --h5-lime-dk: #3f6212;
  --h5-graphite: #1b1f23;
  --h5-ink: #1f2a1a;
  --h5-muted: #5e6d55;
  --h5-line: #dcebc7;
}

body.h5-page { background: var(--h5-bg); color: var(--h5-ink); }

.h5-page .brand-mark { background: linear-gradient(140deg, #bef264, #4d7c0f); color: #17230a; box-shadow: 0 6px 16px rgba(77, 124, 15, .28); }
.h5-page .brand-text em { color: var(--h5-lime-dk); }
.h5-page .site-nav a.is-active { color: var(--h5-lime-dk); background: rgba(132, 204, 22, .14); }
.h5-page .btn-login { background: linear-gradient(135deg, #a3e635, #4d7c0f); color: #17230a; box-shadow: 0 8px 20px rgba(77, 124, 15, .26); }

/* ---------------- Hero ---------------- */
.h5-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  background:
    radial-gradient(680px 420px at 84% 6%, rgba(163, 230, 53, .22), transparent 64%),
    linear-gradient(180deg, #ffffff, var(--h5-bg));
  border-bottom: 1px solid var(--h5-line);
}

.h5-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(132, 204, 22, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 22% 24%, #000, transparent 66%);
  -webkit-mask-image: radial-gradient(ellipse at 22% 24%, #000, transparent 66%);
  pointer-events: none;
}

.h5-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* 竖排大字 */
.h5-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: 10px;
  line-height: 1;
  color: var(--h5-lime-dk);
  border-left: 2px solid rgba(132, 204, 22, .5);
  padding-left: 22px;
  height: 100%;
  display: flex;
  align-items: center;
}

.h5-vertical span {
  color: var(--h5-graphite);
  opacity: .35;
}

.h5-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--h5-line);
  box-shadow: var(--shadow-s);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--h5-lime-dk);
}

.h5-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(30px, 3.9vw, 44px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.6px;
  text-wrap: balance;
}

.h5-hero h1 em { font-style: normal; color: var(--h5-lime-dk); }

.h5-hero .lead {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--h5-muted);
  max-width: 460px;
}

.h5-hero .lead strong { color: var(--h5-ink); }

.h5-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }

.h5-actions .btn-primary {
  background: linear-gradient(135deg, #a3e635, #4d7c0f);
  color: #17230a;
  box-shadow: 0 16px 34px rgba(77, 124, 15, .26);
}

.h5-actions .btn-room {
  background: #fff;
  border: 1px solid var(--h5-line);
  color: var(--h5-lime-dk);
}

.h5-actions .btn-room b { letter-spacing: 1.5px; }

.h5-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(63, 98, 18, .16);
}

/* ---------------- 要点横排 ---------------- */
.h5-section { padding: 78px 0; }
.h5-section.soft { background: #ffffff; border-block: 1px solid var(--h5-line); }

.h5-head { max-width: 700px; margin-bottom: 36px; }

.h5-head .k { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--h5-lime-dk); }
.h5-head h2 { margin: 12px 0 10px; font-size: clamp(23px, 3vw, 34px); font-weight: 900; line-height: 1.3; text-wrap: balance; }
.h5-head p { font-size: 15px; color: var(--h5-muted); }

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--h5-graphite);
}

.point {
  padding: 28px 26px 26px 0;
  border-right: 1px solid var(--h5-line);
}

.point:nth-child(3n) { border-right: 0; padding-right: 0; }
.point:not(:nth-child(3n)) { margin-right: 26px; }

.point .n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--h5-lime-dk);
}

.point h3 { margin: 12px 0 8px; font-size: 17px; font-weight: 800; }
.point p { font-size: 13.5px; line-height: 1.8; color: var(--h5-muted); }

/* ---------------- 对照表 ---------------- */
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--h5-line);
  border-radius: 16px;
  overflow: hidden;
}

.cmp thead th {
  padding: 16px 20px;
  text-align: left;
  background: var(--h5-graphite);
  color: #e7f5d4;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  border-bottom: 0;
}

.cmp thead th:nth-child(2) { color: #bef264; }

.cmp td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--h5-line);
  color: var(--h5-muted);
}

.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { color: var(--h5-ink); font-weight: 700; }
.cmp .yes { color: var(--h5-lime-dk); font-weight: 700; }
.cmp .no { color: #a8b49e; }

/* ---------------- 场景 ---------------- */
.scenes { display: grid; gap: 0; border-top: 1px solid var(--h5-line); }

.scene {
  display: grid;
  grid-template-columns: 90px 1fr 200px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--h5-line);
}

.scene .ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--h5-line);
  font-size: 22px;
}

.scene h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.scene p { font-size: 13.5px; line-height: 1.75; color: var(--h5-muted); }

.scene .meta {
  justify-self: end;
  font-family: var(--mono);
  font-size: 12px;
  color: #8b9a80;
  text-align: right;
}

/* ---------------- FAQ ---------------- */
.h5-faq { display: grid; gap: 10px; max-width: 860px; }

.acc-item {
  border: 1px solid var(--h5-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s;
}

.acc-item.is-open { border-color: #b6dd8a; }

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--h5-ink);
}

.acc-trigger .sign {
  flex: none;
  margin-left: auto;
  width: 20px; height: 20px;
  position: relative;
}

.acc-trigger .sign::before,
.acc-trigger .sign::after {
  content: "";
  position: absolute;
  inset: 50% 0;
  height: 2px;
  background: var(--h5-lime-dk);
  transition: transform .25s;
}

.acc-trigger .sign::after { transform: rotate(90deg); }
.acc-item.is-open .acc-trigger .sign::after { transform: rotate(0); }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.85; color: var(--h5-muted); }
.acc-panel a { color: var(--h5-lime-dk); font-weight: 600; }

/* ---------------- 相关 ---------------- */
.h5-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.h5-related a {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--h5-line);
  background: #fff;
  transition: border-color .2s, transform .2s;
}

.h5-related a:hover { border-color: #b6dd8a; transform: translateY(-3px); }
.h5-related strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.h5-related span { font-size: 12.5px; color: var(--h5-muted); }

/* 入场 */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .h5-hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .h5-vertical { display: none; }
  .points { grid-template-columns: 1fr; }
  .point { border-right: 0; padding: 22px 0; margin-right: 0 !important; border-bottom: 1px solid var(--h5-line); }
  .point:last-child { border-bottom: 0; }
  .scene { grid-template-columns: 64px 1fr; }
  .scene .meta { grid-column: 2; justify-self: start; text-align: left; }
  .h5-related { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .h5-hero { padding: 46px 0 56px; }
  .h5-hero-grid { grid-template-columns: 1fr; }
  .h5-visual { order: -1; }
  .h5-hero h1 { font-size: 27px; }
  .h5-actions .btn { width: 100%; }
  .h5-section { padding: 56px 0; }
  .cmp thead th, .cmp td { padding: 12px 12px; font-size: 13px; }
  .cmp thead th:nth-child(4), .cmp td:nth-child(4) { display: none; }
  .scene { grid-template-columns: 1fr; gap: 12px; }
  .scene .ico { width: 48px; height: 48px; }
  .scene .meta { grid-column: 1; }
}
