/* ============================================================
   内页样式：植物图鉴 / 案例 / 选择清单
   ============================================================ */

/* ---------- 内页头图 ---------- */
.page-hero {
  background:
    radial-gradient(90% 80% at 85% 0%, rgba(126, 154, 118, 0.18), transparent 58%),
    var(--ink);
  color: var(--bone);
  padding: 150px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 8%;
  width: 46vw; height: 46vw;
  background: radial-gradient(circle, rgba(191, 160, 106, 0.10), transparent 62%);
  pointer-events: none;
}

.page-hero .crumbs {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: rgba(243, 240, 231, 0.45);
  margin: 0 0 26px;
}
.page-hero .crumbs a { color: rgba(243, 240, 231, 0.7); }
.page-hero .crumbs a:hover { color: var(--brass); }
.page-hero .crumbs span { margin: 0 10px; opacity: 0.4; }

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--moss-2);
}

.page-hero p.lead {
  max-width: 52ch;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.95;
  color: rgba(243, 240, 231, 0.68);
}

.page-meta {
  display: flex;
  gap: 46px;
  flex-wrap: wrap;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line-d);
}
.page-meta div { display: flex; flex-direction: column; gap: 4px; }
.page-meta b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}
.page-meta span { font-size: 11px; letter-spacing: 0.16em; color: rgba(243, 240, 231, 0.42); }

/* ---------- 分类筛选 ---------- */
.filter-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 240, 231, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-l);
  padding: 16px 0;
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid rgba(10, 13, 10, 0.16);
  background: transparent;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-family: inherit;
  color: #39422f;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--moss); color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.chip small { font-size: 11px; opacity: 0.55; margin-left: 6px; }

.filter-count {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 植物网格 ---------- */
.catalog { padding: 54px 0 120px; }

.plant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.plant {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-l);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  cursor: pointer;
}
.plant:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 48px -30px rgba(20, 48, 31, 0.42);
  border-color: rgba(63, 92, 67, 0.28);
}

.plant-media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(160deg, #eef1e4, #dbe2cf 60%, #c7d2bb);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.plant-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plant-art {
  width: 62%;
  height: auto;
  margin-bottom: -6%;
  color: #3f5c43;
  opacity: 0.85;
  transition: transform 0.6s var(--ease);
}
.plant:hover .plant-art { transform: translateY(-6px); }

.plant-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #35402e;
}

.plant-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

.plant-body h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}
.plant-body .sci {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}
.plant-body .spec {
  font-size: 12.5px;
  color: #5b6454;
  margin: 8px 0 0;
  line-height: 1.7;
}

.plant-body .scene-line {
  font-size: 11.5px;
  color: var(--muted);
  margin: 4px 0 0;
  letter-spacing: 0.02em;
}

.plant-hint { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

.plant-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(10, 13, 10, 0.08);
}
.plant-price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}
.plant-price small { font-size: 11px; font-family: var(--sans); font-weight: 400; color: var(--muted); margin-left: 2px; }

.pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(10, 13, 10, 0.18);
  background: transparent;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-family: inherit;
  color: #35402e;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pick:hover { border-color: var(--moss); }
.pick.on { background: var(--deep); color: var(--bone); border-color: var(--deep); }
.pick.on::before { content: "✓"; }

/* ---------- 选中的悬浮条 ---------- */
.cart-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 140%);
  z-index: 200;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  padding: 12px 14px 12px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  transition: transform 0.45s var(--ease);
  max-width: calc(100vw - 32px);
}
.cart-bar.show { transform: translate(-50%, 0); }
.cart-bar .cart-count { font-size: 13px; letter-spacing: 0.04em; }
.cart-bar .cart-count b { color: var(--brass); font-family: var(--serif); font-size: 16px; }
.cart-actions { display: flex; gap: 8px; }
.cart-btn {
  border: 1px solid rgba(243, 240, 231, 0.3);
  background: transparent;
  color: var(--bone);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.cart-btn.primary { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.cart-btn:hover { opacity: 0.9; }

/* ---------- 案例网格 / 视频 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.case {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  margin: 0;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #dfe4d4;
}
.case.c-7 { grid-column: span 7; aspect-ratio: 16 / 10; }
.case.c-5 { grid-column: span 5; aspect-ratio: 4 / 3.6; }
.case.c-6 { grid-column: span 6; aspect-ratio: 3 / 2; }
.case.c-12 { grid-column: span 12; aspect-ratio: 21 / 9; }

.case-media {
  position: absolute;
  inset: 0;
  transition: transform 0.9s var(--ease);
}
.case:hover .case-media { transform: scale(1.05); }
.case-media img { width: 100%; height: 100%; object-fit: cover; }

.case-art {
  position: absolute;
  right: 4%;
  bottom: -8%;
  width: 38%;
  color: #fff;
  opacity: 0.4;
}

.case::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 14, 10, 0.8), rgba(8, 14, 10, 0.05) 60%);
  z-index: 1;
}

.case figcaption {
  position: relative;
  z-index: 2;
  padding: 26px 28px;
  color: #fff;
  display: grid;
  gap: 3px;
}
.case figcaption .k {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  opacity: 0.65;
}
.case figcaption b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.case figcaption span:last-child { font-size: 12.5px; opacity: 0.72; }

.play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(10, 20, 14, 0.25);
  backdrop-filter: blur(4px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  cursor: pointer;
}
.play::after {
  content: "";
  border-left: 14px solid currentColor;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 5px;
}
.case:hover .play { transform: translate(-50%, -50%) scale(1.08); background: rgba(10, 20, 14, 0.45); }

/* ---------- 视频弹层 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 8, 0.82);
  backdrop-filter: blur(6px);
}
.modal.open { display: flex; }

.modal-box {
  width: min(960px, 100%);
  background: #0d1410;
  border: 1px solid rgba(243, 240, 231, 0.14);
  border-radius: 6px;
  overflow: hidden;
  color: var(--bone);
}
.modal-box video { display: block; width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; background: #000; }
.modal-box .modal-body { padding: 22px 24px; }
.modal-box h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.modal-box p { margin: 0; font-size: 13.5px; color: rgba(243, 240, 231, 0.6); }

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(243, 240, 231, 0.4);
  background: transparent;
  color: var(--bone);
  font-size: 20px;
  cursor: pointer;
}

/* ---------- 详情弹层 ---------- */
.detail-box { max-width: 860px; }
.detail-media { aspect-ratio: 16 / 9; background: linear-gradient(160deg, #eef1e4, #c7d2bb); display: flex; align-items: center; justify-content: center; }
.detail-media svg { width: 46%; color: #3f5c43; }
.detail-body { padding: 26px 28px 30px; }
.detail-body .row-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 22px; }
.detail-body .row-kv div { display: flex; flex-direction: column; gap: 4px; }
.detail-body .row-kv dt { font-size: 10.5px; letter-spacing: 0.14em; color: rgba(243, 240, 231, 0.42); }
.detail-body .row-kv dd { margin: 0; font-size: 14px; }

/* ---------- 版块小标题 ---------- */
.block-head { margin: 0 0 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.block-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.block-head p { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 40ch; }

/* ---------- 提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translate(-50%, 20px);
  background: rgba(10, 13, 10, 0.92);
  color: var(--bone);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 500;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .plant-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .page-hero { padding: 120px 0 48px; }
  .plant-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .case.c-7, .case.c-5, .case.c-6 { grid-column: span 12; aspect-ratio: 4 / 3; }
  .case.c-12 { aspect-ratio: 16 / 10; }
  .filter-inner { gap: 6px; }
  .chip { padding: 8px 14px; font-size: 12.5px; }
  .filter-count { width: 100%; margin-left: 0; }
  .cart-bar { left: 12px; right: 12px; transform: translateY(140%); border-radius: 16px; padding: 12px 14px; }
  .cart-bar.show { transform: translateY(0); }
  .cart-bar .cart-count { flex: 1; }
  .detail-body .row-kv { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .plant-grid { grid-template-columns: 1fr; }
  .cart-actions { flex-direction: column; width: 100%; }
  .cart-btn { width: 100%; }
}


/* ---------- 关于页 ---------- */
.about-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.story-text p { margin: 0 0 18px; font-size: 15.5px; line-height: 2; color: #3f4939; }
.story-text .story-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 22px;
}
.story-text strong { color: var(--deep); border-bottom: 2px solid rgba(191,160,106,.45); padding-bottom: 1px; }

.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.biz {
  border: 1px solid var(--line-l);
  border-radius: 6px;
  padding: 30px 30px 32px;
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.biz:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -32px rgba(20,48,31,.4); }
.biz-no { font-family: var(--serif); font-size: 12px; letter-spacing: .2em; color: var(--clay, #a85c38); }
.biz h3 { font-family: var(--serif); font-size: 24px; margin: 14px 0 10px; font-weight: 600; }
.biz p { margin: 0; font-size: 14.5px; line-height: 1.9; color: #4b5446; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team { border-top: 1px solid var(--line-d); padding-top: 22px; }
.team b { display: block; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1; }
.team span { display: block; margin: 8px 0 6px; font-size: 13.5px; letter-spacing: .08em; color: var(--bone); }
.team p { margin: 0; font-size: 12.5px; line-height: 1.8; color: rgba(243,240,231,.55); }

.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client-grid div { border-top: 1px solid var(--line-l); padding-top: 18px; }
.client-grid b { display: block; font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.client-grid span { font-size: 12.5px; color: var(--muted); }

@media (max-width: 900px) {
  .about-story { grid-template-columns: 1fr; gap: 34px; }
  .biz-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .client-grid { grid-template-columns: 1fr 1fr; }
}


/* ---------- 资质证书 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert {
  margin: 0;
  border: 1px solid var(--line-l);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.cert img { width: 100%; height: 300px; object-fit: cover; object-position: center; display: block; }
.cert figcaption { padding: 16px 18px 18px; }
.cert b { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 4px; }
.cert span { font-size: 12px; color: var(--muted); }
.cert-qual img { object-position: center 30%; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr; } .cert img { height: 240px; } }


/* ---------- 四步/四条的通用网格（内页） ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.steps li {
  list-style: none;
  padding: 24px 26px 30px 0;
  border-top: 1px solid var(--line-l);
}
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line-l); }
.dark .steps li { border-color: var(--line-d); }
.dark .steps li + li { border-left-color: var(--line-d); }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li + li { padding-left: 20px; }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
}


/* 浅底区块里的四步说明文字 */
.steps p { margin: 10px 0 0; font-size: 14px; line-height: 1.9; color: #4b5446; }
.dark .steps p { color: rgba(243, 240, 231, 0.62); }


/* ---------- 溪流鱼池 ---------- */
.pool-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}
.pool-fig {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #dfe4d4;
}
.pool-fig img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.pool-fig:hover img { transform: scale(1.04); }
.pool-fig figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(to top, rgba(8, 14, 10, 0.78), rgba(8, 14, 10, 0));
}
.pool-note { margin: 28px 0 0; font-size: 13px; color: var(--muted); max-width: 70ch; }
@media (max-width: 820px) {
  .pool-grid { grid-template-columns: 1fr; }
  .pool-fig img { min-height: 220px; }
}


/* ---------- 手机端图鉴：两列紧凑排版 ---------- */
@media (max-width: 700px) {
  .plant-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .plant-body { padding: 12px 12px 14px; gap: 3px; }
  .plant-body h3 { font-size: 15.5px; line-height: 1.35; }
  .plant-body .sci { font-size: 9px; letter-spacing: 0.04em; }
  .plant-body .spec {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .plant-body .scene-line { font-size: 10px; color: #8a9384; }
  .plant-tag { font-size: 9px; padding: 3px 8px; left: 8px; top: 8px; }
  .plant-hint { display: none; }
  .plant-foot { padding-top: 10px; gap: 6px; }
  .pick { padding: 6px 10px; font-size: 11px; }
  .filter-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-inner::-webkit-scrollbar { display: none; }
  .filter-count { display: none; }
  .page-meta { gap: 26px; }
  .base-band { gap: 18px; }
}


/* 植物卡：高度与价格 */
.plant-meta {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: #7c8574;
  letter-spacing: 0.02em;
}
.plant-price {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.plant-price small {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 1px;
}


/* 植物备注 */
.plant-note {
  margin: 6px 0 0;
  padding: 6px 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #5f6b57;
  background: rgba(126, 154, 118, 0.10);
  border-left: 2px solid rgba(126, 154, 118, 0.5);
  border-radius: 2px;
}
.detail-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(243, 240, 231, 0.7);
  padding: 10px 12px;
  background: rgba(126, 154, 118, 0.10);
  border-left: 2px solid var(--moss);
}


/* 租售双价 */
.plant-foot { flex-wrap: wrap; row-gap: 8px; }
.plant-sale { font-size: 12px; color: #7c8574; letter-spacing: 0.02em; }
