/* ============================================================
   花园驱蚊单页 v3 · 参考站美学(衬线大标题/米纸底/眉毛标签/大片留白)
   配套 public/js/garden.js；仅作用于 .garden-page
   ============================================================ */
.garden-page body,
.garden-page {
  --brand: #63c0ab;
  --ink: #101b18;
  --paper: #f6f2ea;
  --line: rgba(16, 27, 24, .12);
  background: var(--paper) !important;
}
/* 主站区块 → 米纸底 */
.garden-page .section { background: var(--paper) !important; }
.garden-page .section--soft { background: #ece5d8 !important; }
.garden-page .section-head h2, .garden-page h1, .garden-page h2, .garden-page h3 {
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif SC", serif;
  color: var(--ink);
}
.garden-page .section-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; letter-spacing: .01em; }
.garden-page .section-head p { color: #6b7269; }
.garden-page .eyebrow { color: var(--brand); font-size: 12px; letter-spacing: .22em; }
.garden-page .eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1.5px; background: var(--brand); vertical-align: middle; margin-right: 10px; }
.garden-page .section-head .eyebrow { display: inline-block; }
.garden-page .btn { border-radius: 999px; font-family: inherit; }
.garden-page .btn--primary { background: var(--ink); border: 1px solid var(--ink); color: #fff; }
.garden-page .btn--primary:hover { background: #2c3b35; }
.garden-page .btn--ghost { border: 1px solid var(--ink); color: var(--ink); }

/* 步骤导航(sticky) */
.garden-page .garden-steps { position: sticky; top: 68px; z-index: 60; background: rgba(246,242,234,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.garden-page .garden-steps .inner { display: flex; gap: 2px; overflow-x: auto; max-width: 1160px; margin: 0 auto; padding: 10px 20px; }
.garden-page .garden-steps button { border: none; background: transparent; color: #5f6a63; font-size: 13.5px; padding: 8px 15px; cursor: pointer; position: relative; font-weight: 500; }
.garden-page .garden-steps button::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s; }
.garden-page .garden-steps button.active { color: var(--ink); font-weight: 700; }
.garden-page .garden-steps button.active::after { transform: scaleX(1); }

/* 英雄区: 全出血实景大片 + 衬线巨title */
.garden-page .garden-hero { position: relative; color: #fff; padding: clamp(150px, 21vh, 240px) 0 clamp(90px, 12vh, 150px); overflow: hidden;
  background-image: url('/uploads/ai/gd-hero.jpg'); background-size: cover; background-position: center 60%; }
.garden-page .garden-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(75deg, rgba(8,18,15,.82) 0%, rgba(8,18,15,.55) 42%, rgba(8,18,15,.12) 78%); }
.garden-page .garden-hero .inner { position: relative; z-index: 2; }
.garden-page .garden-crumb { color: rgba(255,255,255,.66); font-size: 12.5px; margin: 0 0 26px; letter-spacing: .04em; }
.garden-page .garden-crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.garden-page .garden-hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 500; line-height: 1.05; max-width: 820px; margin: 16px 0 22px; color: #fff; text-wrap: balance; }
.garden-page .garden-hero .sub { color: rgba(255,255,255,.78); font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; line-height: 1.85; margin: 0 0 34px; }
.garden-page .hero-badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); font-size: 13px; padding: 6px 15px; }
.garden-page .garden-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.garden-page .garden-hero .btn--light { background: #fff !important; border: none; color: var(--ink) !important; }
.garden-page .garden-hero .btn--ghost-light { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.garden-page .garden-hero .proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; font-size: 13px; color: rgba(255,255,255,.8); }
.garden-page .garden-hero .proof span { display: inline-flex; align-items: center; gap: 8px; }
.garden-page .garden-hero .proof i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.garden-page .garden-hero .hero-waves { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2; pointer-events: none; }

/* 通用入场 */
.g-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.g-rv.in { opacity: 1; transform: none; }
.g-rv.d1 { transition-delay: .1s; } .g-rv.d2 { transition-delay: .2s; } .g-rv.d3 { transition-delay: .3s; }

/* 系统演示: 3D暗夜俯视 + 白色霓虹管路 + 玻璃节点(参考站同款) */
#demoWrap { position: relative; height: 320vh; background: #1a2922; }
#demoSticky { position: sticky; top: 128px; height: calc(100vh - 128px); min-height: 620px; display: flex; align-items: flex-start; overflow: hidden; padding-top: 6px; }
.dm-head { text-align: center; margin-bottom: 14px; }
.dm-head .eyebrow { color: var(--brand); }
.dm-head h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 500; margin: 8px 0 0; color: #f2efe6; }
.dm-pills { display: flex; gap: 4px; background: #101d17; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 5px; width: fit-content; margin: 0 auto 14px; max-width: 100%; overflow-x: auto; }
.dm-pill { border: none; background: transparent; color: #9db3aa; font-size: 13px; padding: 8px 17px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: all .25s; }
.dm-pill.active { background: #fff; color: #101b18; font-weight: 700; }
.dm-stage { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.07); max-width: 980px; margin: 0 auto; }
.dm-stage img { display: block; width: 100%; height: auto; }
.dm-pipe { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#demoPipe { stroke-dasharray: 1; stroke-dashoffset: 1; }
/* 玻璃节点(参考站同款:青绿圆片+白描边+脉冲环) */
.dm-node { position: absolute; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: none; cursor: pointer; background: transparent; z-index: 3; }
.dm-node::before { content: ""; position: absolute; inset: 7px; border-radius: 50%;
  background: rgba(63, 191, 159, .78); border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 0 0 5px rgba(63,191,159,.18), 0 0 24px rgba(63,191,159,.85);
  transition: opacity .45s; opacity: .2; }
.dm-node::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid rgba(127,240,210,.8); animation: nodeRing 2.6s ease-out infinite; opacity: 0; }
.dm-node.on::before { opacity: 1; }
.dm-node.on::after { opacity: 1; }
@keyframes nodeRing { 0% { transform: scale(.72); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
/* 喷雾雾团 */
.dm-fog { display: none; position: absolute; width: 26%; height: 12%; border-radius: 50%; filter: blur(10px); background: radial-gradient(60% 100% at 50% 50%, rgba(170,240,255,.5), transparent 70%); z-index: 2; }
.dm-stage.phase4 .dm-fog { display: block; animation: dmFog 3.2s ease-in-out infinite; }
.dm-stage.phase4 .dm-fog.f2 { animation-delay: 1.05s; } .dm-stage.phase4 .dm-fog.f3 { animation-delay: 2.1s; }
@keyframes dmFog { 0%,100% { opacity: .25; transform: scale(.9); } 50% { opacity: .85; transform: scale(1.15); } }
/* ---------- 可视化编辑器 ---------- */
.dm-edit-btn { position: absolute; right: 12px; top: 12px; z-index: 6; border: none; cursor: pointer;
  background: rgba(16,27,24,.82); color: #7ff0d2; font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.dm-edit-btn:hover { background: #0b6e4f; color: #fff; }
.dm-toolbar { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 8; display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
  background: rgba(16,27,24,.86); border: 1px solid rgba(127,240,210,.25); border-radius: 12px; padding: 8px 10px; backdrop-filter: blur(8px); }
.dm-tb-title { color: #7ff0d2; font-size: 12.5px; font-weight: 800; margin-right: 4px; }
.dm-tb-btn { border: 1px solid rgba(255,255,255,.22); background: transparent; color: #eaf5ef; font-size: 12px; padding: 6px 11px; border-radius: 8px; cursor: pointer; }
.dm-tb-btn:hover { background: rgba(255,255,255,.1); }
.dm-tb-btn.active { background: #0b6e4f; border-color: #0b6e4f; }
.dm-tb-save { background: #0b6e4f !important; border-color: #0b6e4f !important; font-weight: 800; }
.dm-tb-hint { margin-left: auto; color: #9db3aa; font-size: 11.5px; }
.dm-stage.editing img { filter: saturate(.9) brightness(.85); }
.dm-stage.editing .dm-fog, .dm-stage.editing .dm-pipe { opacity: .35; }
.dm-ppoint { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; z-index: 6; cursor: move;
  background: #fff; border: 2px solid #0b6e4f; box-shadow: 0 0 0 3px rgba(255,255,255,.4), 0 2px 8px rgba(0,0,0,.4); }
.dm-ppoint::after { content: attr(data-i); position: absolute; left: 22px; top: -4px; font-size: 10px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px #000; }
.dm-node .n-del { position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: #e5484d; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: none; align-items: center; justify-content: center; border: 2px solid #fff; cursor: pointer; z-index: 9; }
.dm-stage.editing .dm-node { cursor: move; }
.dm-stage.editing .dm-node .n-del { display: flex; }
.dm-stage.editing .dm-node::after { animation: none; }
@media (max-width: 980px) { .dm-tb-hint { display: none; } }
.dm-copycard { position: relative; max-width: 980px; margin: 16px auto 0; background: #f6f2ea; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 24px 28px 22px; min-height: 132px; overflow: hidden; }
.dm-num { position: absolute; right: 24px; top: 8px; font-family: Georgia, "Songti SC", serif; font-size: 116px; line-height: 1; color: rgba(99,192,171,.2); font-weight: 700; pointer-events: none; }
.dm-copy .dk { font-size: 11.5px; letter-spacing: .22em; color: var(--brand); font-weight: 700; margin-bottom: 8px; }
.dm-copy h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.dm-copy p { color: #5f6a63; font-size: 14px; line-height: 1.85; margin: 0; max-width: 760px; }
@media (max-width: 980px) {
  #demoSticky { position: relative; top: 0; height: auto; min-height: 0; }
  #demoWrap { height: auto; }
  .dm-num { font-size: 70px; }
}

/* 成分云: 图片圆形气泡 */
.ingredient-cloud { display: flex; flex-wrap: wrap; gap: 22px 26px; justify-content: center; padding: 30px 0 10px; }
.ing-bub { position: relative; width: 128px; height: 128px; border-radius: 50%; cursor: pointer; overflow: hidden; border: 5px solid #fff; box-shadow: 0 10px 26px rgba(16,27,24,.16); background-size: cover; background-position: center; transition: transform .3s; animation: bubFloat 6s ease-in-out infinite; }
.ing-bub.s { width: 104px; height: 104px; } .ing-bub.xs { width: 88px; height: 88px; }
.ing-bub:hover { transform: scale(1.08); }
.ing-bub span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 6px 6px; text-align: center; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(16,27,24,.72)); }
@keyframes bubFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 场景切换 */
.scene-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 20px 0 24px; }
.scene-tab { border: 1px solid var(--line); background: transparent; padding: 9px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #5f6a63; cursor: pointer; transition: all .25s; }
.scene-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.scene-stage { border-radius: 16px; overflow: hidden; background: #e9e2d6; }
.scene-stage img { width: 100%; height: clamp(300px, 44vw, 520px); object-fit: cover; display: block; }
.scene-stage .cap { padding: 16px 22px; font: 500 15px Georgia, "Songti SC", serif; background: var(--paper); border-top: 1px solid var(--line); color: var(--ink); }

/* 选型卡 */
.garden-model { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 20px; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.garden-model:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,27,24,.1); }
.garden-model .area { font-family: Georgia, "Songti SC", serif; font-size: 26px; font-weight: 500; color: var(--brand); }
.garden-model h3 { margin: 8px 0 10px; font-size: 18px; }
.garden-model p { color: #6b7269; font-size: 13.5px; line-height: 1.75; margin: 0; }
.garden-model .spec { max-height: 0; overflow: hidden; transition: max-height .35s; color: #6b7269; font-size: 12.5px; line-height: 1.9; }
.garden-model.open .spec { max-height: 140px; }
.garden-model .more { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--ink); font-weight: 700; }

/* 安装步骤横线 */
.garden-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.install-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; max-width: 1000px; margin: 30px auto 0; }
.install-flow::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 1.5px; background: var(--line); }
.install-flow .istep { position: relative; text-align: center; }
.install-flow .dot { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: Georgia, "Songti SC", serif; font-size: 20px; }
.install-flow h4 { margin: 14px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 17px; font-weight: 600; }
.install-flow p { color: #6b7269; font-size: 13px; line-height: 1.8; margin: 0; }

/* 联系区 */
.garden-contact { background: var(--ink); color: #fff; padding: 90px 0; }
.garden-contact h2 { color: #f2eee4; }
.garden-contact .eyebrow { color: var(--brand); }
.garden-contact input, .garden-contact select, .garden-contact textarea { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #f2eee4; }

/* 弹窗 */
.g-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(8,18,15,.6); backdrop-filter: blur(4px); }
.g-modal.show { display: flex; }
.g-modal .box { width: min(420px, 92vw); background: #fff; border-radius: 16px; padding: 26px; position: relative; animation: modalIn .3s ease; }
.g-modal .x { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 20px; color: #9aa8a2; cursor: pointer; }
.g-modal h4 { margin: 0 0 6px; font-family: Georgia, "Songti SC", serif; font-size: 20px; }
.g-modal .sub { color: #6b7269; font-size: 13px; margin: 0 0 16px; }
.g-modal form { display: flex; flex-direction: column; gap: 10px; }
.g-modal input, .g-modal select { padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.g-modal .btn--primary { border: none; }
.g-modal .tel { display: block; text-align: center; margin-top: 12px; color: var(--ink); font-weight: 800; font-size: 17px; text-decoration: none; }
.g-modal .warn { text-align: center; color: #9aa8a2; font-size: 12px; margin-top: 8px; }

@media (max-width: 980px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-copy { padding: 24px 22px 0; }
  .demo-copy .dn { font-size: 60px; }
  #demoSticky { height: auto; min-height: 0; padding-bottom: 26px; position: relative; top: 118px; }
  #demoWrap { height: auto; }
  .install-flow { grid-template-columns: 1fr 1fr; gap: 20px; }
  .install-flow::before { display: none; }
}

/* ---------- 可视化编辑器 v2(点位 / 管路 网页直改) ---------- */
.dm-edit-btn.on { background: #0b6e4f; color: #fff; }
.dm-stage.editing .dm-node { opacity: 1 !important; cursor: move; }
.dm-stage.editing .dm-node, .dm-stage.editing .dm-ppoint { touch-action: none; }
.dm-ppoint { touch-action: none; }
.dm-node .dm-coord { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); display: none; font-style: normal;
  font-size: 10px; font-weight: 700; color: #fff; background: rgba(16,27,24,.78); padding: 1px 6px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
.dm-stage.editing .dm-node .dm-coord { display: block; }
.dm-stage.editing .dm-ppoint { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
.dm-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.dm-toast-item { background: rgba(16,27,24,.93); color: #eaf5ef; border: 1px solid rgba(127,240,210,.3); padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: opacity .35s, transform .35s; }
.dm-toast-item.ok { border-color: rgba(127,240,210,.65); }
.dm-toast-item.err { border-color: rgba(229,72,77,.7); color: #ffdcdd; }
.dm-toast-item.out { opacity: 0; transform: translateY(10px); }
@media (max-width: 640px) {
  .dm-edit-btn { top: auto; bottom: 12px; right: 12px; }
  .dm-toolbar { gap: 5px; padding: 7px 8px; }
  .dm-tb-btn { font-size: 11.5px; padding: 6px 9px; }
  .dm-tb-title { display: none; }
}

/* ---------- 型号实拍图 / 成分对比 / hero 产品卡 ---------- */
.garden-model .model-shot { margin: -24px -24px 16px; background: #f7f4ee; border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; overflow: hidden; }
.garden-model .model-shot img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform .4s; }
.garden-model:hover .model-shot img { transform: scale(1.03); }
@media (max-width: 980px) { .garden-model .model-shot img { height: 160px; } }
.ing-compare { margin-top: 36px; }
.ing-compare .ic-head { text-align: center; margin-bottom: 16px; }
.ing-compare .ic-head h3 { font-size: 21px; font-weight: 600; margin: 8px 0 0; color: var(--ink); font-family: Georgia, "Songti SC", serif; }
.ic-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.ic-row { display: grid; grid-template-columns: 118px 1.45fr 1fr; border-top: 1px solid var(--line); font-size: 13.5px; }
.ic-row:first-child { border-top: none; }
.ic-row > span { padding: 12px 16px; line-height: 1.75; color: #5f6a63; }
.ic-row > span:first-child { font-weight: 700; color: var(--ink); background: #faf8f4; }
.ic-row .ic-us { color: #0b6e4f; font-weight: 600; background: rgba(11,110,79,.05); }
.ic-hd > span { font-size: 12.5px; letter-spacing: .04em; }
@media (max-width: 780px) {
  .ic-row { grid-template-columns: 84px 1fr; }
  .ic-row > span:nth-child(3) { grid-column: 2; padding-top: 0; font-size: 12.5px; opacity: .72; }
}
.gd-hero-product { position: absolute; right: 5%; bottom: 96px; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 18px 44px rgba(8,18,15,.3); }
.gd-hero-product img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; display: block; }
.gd-hero-product .gp-txt { display: flex; flex-direction: column; gap: 4px; }
.gd-hero-product .gp-txt span { font-size: 12px; color: #7a8a82; letter-spacing: .06em; }
.gd-hero-product .gp-txt strong { font-size: 13.5px; color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .gd-hero-product { display: none; } }

/* ---------- 安装流程: 实景大图 + 玻璃卡(对齐参考站) ---------- */
.g-install-photo { position: relative; background-size: cover; background-position: center; padding: clamp(66px, 8vw, 112px) 0; }
.gip-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,15,.78) 0%, rgba(8,18,15,.58) 55%, rgba(8,18,15,.72) 100%); }
.gip-inner { position: relative; z-index: 2; }
.gip-head h2 { color: #fff; }
.gip-head p { color: rgba(255,255,255,.72); }
.gip-head .eyebrow { color: rgba(255,255,255,.62); }
.gip-head::after { background: rgba(255,255,255,.3) !important; }
.gip-flow { max-width: 1080px; }
.gip-flow::before { display: none; }
.gip-flow .istep { text-align: left; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 14px;
  padding: 20px 20px 22px; backdrop-filter: blur(8px); transition: background .25s, transform .25s; }
.gip-flow .istep:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.gip-flow .dot { width: auto; height: auto; margin: 0 0 14px; background: transparent; color: #7ff0d2; border-radius: 0;
  font-family: Georgia, "Songti SC", serif; font-size: 15px; font-weight: 700; letter-spacing: .12em; }
.gip-flow h4 { color: #fff; margin: 0 0 8px; font-size: 18px; }
.gip-flow p { color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.85; }
.gip-cta { box-shadow: 0 14px 34px rgba(0,0,0,.28); }
@media (max-width: 980px) { .gip-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .gip-flow { grid-template-columns: 1fr; } }

/* 安装区: 压低遮罩, 让实景照片透出来(参考站观感) */
.g-install-photo .gip-overlay { background: linear-gradient(100deg, rgba(8,18,15,.86) 0%, rgba(8,18,15,.58) 46%, rgba(8,18,15,.3) 100%); }
.gip-flow .istep { background: rgba(10,24,19,.46); border: 1px solid rgba(255,255,255,.2); }
.gip-flow .istep:hover { background: rgba(10,24,19,.6); }
.gip-head p { color: rgba(255,255,255,.8); }

/* 安装区背景图(需压过 .garden-page .section 的 background !important) */
.garden-page .section.g-install-photo { background-image: var(--gip-bg, url('/uploads/ai/gd-install-work.jpg')) !important; background-size: cover !important; background-position: center 40% !important; background-repeat: no-repeat !important; }

/* 安装区: 顶部标题带加深, 中部透出实景 */
.g-install-photo .gip-overlay { background: linear-gradient(180deg, rgba(8,18,15,.9) 0%, rgba(8,18,15,.62) 30%, rgba(8,18,15,.34) 52%, rgba(8,18,15,.42) 72%, rgba(8,18,15,.78) 100%); }
.gip-head h2 { text-shadow: 0 4px 26px rgba(0,0,0,.5); }
.gip-head p { color: rgba(255,255,255,.85); }
.gip-flow .istep { background: rgba(8,20,16,.5); }
.gip-flow .istep:hover { background: rgba(8,20,16,.64); }

/* 安装区: 深色底上的标题需足够具体才压得过 .garden-page .section-head h2 */
.garden-page .section.g-install-photo .section-head h2 { color: #fff; text-shadow: 0 4px 26px rgba(0,0,0,.45); }
.garden-page .section.g-install-photo .section-head p { color: rgba(255,255,255,.86); }
.garden-page .section.g-install-photo .eyebrow { color: rgba(255,255,255,.72); }
.garden-page .section.g-install-photo .eyebrow::before { background: rgba(255,255,255,.5); }
.garden-page .section.g-install-photo .section-head::after { background: rgba(255,255,255,.3); }

/* ---------- 喷雾雾效(按喷头点位飘雾, 最后两个阶段出现) ---------- */
.dm-fog-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.dm-fogpuff { position: absolute; border-radius: 50%; opacity: 0; filter: blur(3px);
  background: radial-gradient(circle, rgba(255,255,255,.92) 0%, rgba(226,247,255,.42) 42%, rgba(226,247,255,0) 72%); }
.dm-stage.phase4 .dm-fogpuff { animation: dmPuff 3.8s ease-out infinite; }
@keyframes dmPuff {
  0% { opacity: 0; transform: scale(.35) translateY(6px); }
  22% { opacity: .85; }
  60% { opacity: .45; }
  100% { opacity: 0; transform: scale(2.15) translateY(-34px); }
}
.dm-stage.editing .dm-fog-layer { display: none; }
@media (prefers-reduced-motion: reduce) { .dm-stage.phase4 .dm-fogpuff { animation: none; opacity: .5; } }
.gip-flow .istep, .garden-model, .ing-bub { will-change: transform; }

/* ---------- 雾效 v2: 明显可见的雾区与雾团 ---------- */
.dm-fog-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.dm-fogzone { position: absolute; width: 30%; height: 18%; margin-left: -15%; margin-top: -9%; border-radius: 50%; opacity: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.5) 0%, rgba(228,246,255,.22) 46%, rgba(228,246,255,0) 74%);
  filter: blur(14px); transition: opacity .9s ease; }
.dm-stage.phase4 .dm-fogzone { opacity: .62; animation: dmZone 6.5s ease-in-out infinite; }
@keyframes dmZone { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.12); opacity: .72; } }
.dm-fogpuff { position: absolute; border-radius: 50%; opacity: 0; filter: blur(7px);
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(232,248,255,.4) 44%, rgba(232,248,255,0) 74%); }
.dm-stage.phase4 .dm-fogpuff { animation: dmPuff 5.4s ease-out infinite; }
@keyframes dmPuff {
  0% { opacity: 0; transform: scale(.4) translate3d(0, 12px, 0); }
  16% { opacity: .78; }
  55% { opacity: .42; }
  100% { opacity: 0; transform: scale(2.7) translate3d(0, -52px, 0); }
}
.dm-stage.editing .dm-fog-layer { display: none; }
@media (prefers-reduced-motion: reduce) {
  .dm-stage.phase4 .dm-fogzone { animation: none; opacity: .55; }
  .dm-stage.phase4 .dm-fogpuff { animation: none; opacity: .5; }
}

/* ---------- 雾效 v3: 明显可见的喷雾 ---------- */
.dm-foghaze { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
  background:
    radial-gradient(46% 40% at 18% 78%, rgba(255,255,255,.20), rgba(255,255,255,0) 72%),
    radial-gradient(40% 34% at 52% 74%, rgba(255,255,255,.16), rgba(255,255,255,0) 72%),
    radial-gradient(44% 38% at 74% 52%, rgba(255,255,255,.18), rgba(255,255,255,0) 74%),
    radial-gradient(38% 34% at 34% 44%, rgba(255,255,255,.14), rgba(255,255,255,0) 74%),
    radial-gradient(34% 30% at 88% 30%, rgba(255,255,255,.14), rgba(255,255,255,0) 74%); }
.dm-stage.phase4 .dm-foghaze { opacity: 1; animation: dmHaze 8s ease-in-out infinite; }
@keyframes dmHaze { 0%,100% { opacity: .8; } 50% { opacity: 1; } }
.dm-fogzone { width: calc(40% * var(--fog-scale, 1)) !important; height: calc(26% * var(--fog-scale, 1)) !important; margin-left: calc(-20% * var(--fog-scale, 1)) !important; margin-top: calc(-13% * var(--fog-scale, 1)) !important; }
.dm-stage.phase4 .dm-fogzone { opacity: .75; }
.dm-fogpuff { filter: blur(10px); }
.dm-stage.phase4 .dm-fogpuff { animation-duration: 6s; }
@keyframes dmPuff {
  0% { opacity: 0; transform: scale(.35) translate3d(0, 16px, 0); }
  14% { opacity: .9; }
  52% { opacity: .5; }
  100% { opacity: 0; transform: scale(2.9) translate3d(0, -66px, 0); }
}
