/* ===== 案例二级页面样式（沿用主站设计系统：极简 / 留白 / 理想绿） ===== */

.cwrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* 面包屑 */
.cbread { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
.cbread a:hover { color: var(--accent); }

/* 列表页页头 */
.chero { padding: 48px 0 34px; border-bottom: 1px solid var(--line); }
.chero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; letter-spacing: -0.5px; line-height: 1.15;
}
.chero__lead { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

.csec { padding: 44px 0 90px; }

/* ===== 筛选器 ===== */
.filters { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 18px; }
.filters__group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters__label {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  min-width: 62px;
}
.filters__chips { display: flex; flex-wrap: wrap; gap: 9px; }

.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

.filters__meta { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 26px; }

/* 案例卡片增强（可点击 + 标签） */
.case { display: flex; text-decoration: none; color: inherit; }
.case__tag {
  display: inline-block;
  font-size: 12.5px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.case__title { font-size: 18px; font-weight: 600; color: #fff; line-height: 1.35; }
.case--sm { min-height: 200px; }

/* 首页案例：单张宽图（宽度≈原来的两张，高度保持不变），整块点击进详情 */
.cases--wide { grid-template-columns: 1fr; }
.case--wide { display: flex; transition: transform .35s cubic-bezier(.25,.1,.25,1); }
.case--wide img { transition: transform .6s cubic-bezier(.25,.1,.25,1); }
.case--wide:hover img { transform: scale(1.03); }
.case--wide:hover { transform: translateY(-2px); }
.case__more {
  display: inline-block; margin-top: 10px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.78); letter-spacing: .3px;
}
.case--wide:hover .case__more { color: #fff; }

.cempty {
  text-align: center; color: var(--ink-soft);
  padding: 60px 0; font-size: 16px;
}

/* 首页案例区块的“查看全部”入口 */
.cases__more { text-align: center; margin-top: 36px; }

/* ===== 详情页 ===== */
.cdetail { padding: 40px 0 90px; }

.chead { margin-bottom: 30px; }
.chead__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.pill {
  display: inline-block;
  background: rgba(0,86,81,0.10);
  color: #068A82;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 600;
}
.chead__title {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700; letter-spacing: -0.4px; line-height: 1.2;
}

.chero-img { margin-bottom: 34px; }
.chero-img img {
  width: 100%; border-radius: var(--radius);
  max-height: 520px; object-fit: cover;
}

/* ===== 详情页图片轮播 ===== */
.ccarousel { margin-bottom: 34px; }
.ccarousel__stage {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
  aspect-ratio: 16 / 10; max-height: 560px;
}
.ccarousel__img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .28s ease;
}
/* 竖版照片：完整展示，不裁切（横版仍铺满裁切） */
.ccarousel__stage.is-portrait { aspect-ratio: 3 / 4; }
.ccarousel__img.is-portrait { object-fit: contain; background: var(--bg-soft); }
.ccarousel__stage.is-fading .ccarousel__img { opacity: 0; }

.ccarousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); z-index: 2;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.16);
  transition: background .2s ease, transform .2s ease;
}
.ccarousel__nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.ccarousel__nav:active { transform: translateY(-50%) scale(0.98); }
.ccarousel__nav--prev { left: 16px; }
.ccarousel__nav--next { right: 16px; }
.ccarousel__nav svg { width: 21px; height: 21px; display: block; }

.ccarousel__count {
  position: absolute; right: 16px; bottom: 14px; z-index: 2;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 12.5px; letter-spacing: .4px;
  padding: 5px 12px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.ccarousel__thumbs {
  display: flex; gap: 10px; margin-top: 12px;
  overflow-x: auto; padding: 2px 2px 6px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.ccarousel__thumb {
  flex: 0 0 auto; width: 106px; height: 68px; padding: 0; cursor: pointer;
  border-radius: 10px; overflow: hidden; background: var(--bg-soft);
  border: 2px solid transparent; opacity: .6;
  transition: opacity .2s ease, border-color .2s ease;
}
.ccarousel__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccarousel__thumb.is-portrait img { object-fit: contain; background: var(--bg-soft); }
.ccarousel__thumb:hover { opacity: .9; }
.ccarousel__thumb.is-active { opacity: 1; border-color: var(--accent); }

/* 关键信息条 */
.cinfo {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px; margin-bottom: 44px;
}
.cinfo__item {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 18px 20px;
}
.cinfo__label { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.cinfo__value { font-size: 17px; font-weight: 600; }

/* 正文 */
.cbody, .cgal, .crelated { margin-bottom: 46px; }
.cbody__title {
  font-size: 24px; font-weight: 700; margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.cbody__text {
  font-size: 16.5px; color: #3a3a3c; line-height: 1.85;
  white-space: pre-line;
}

/* 图集 */
.cgal__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.cgal__item {
  border-radius: 14px; overflow: hidden;
  background: var(--bg-soft);
}
.cgal__item img { width: 100%; height: 100%; object-fit: cover; }

/* 行动区 */
.ccta { display: flex; flex-wrap: wrap; gap: 14px; }

/* 未找到 */
.cempty-box { text-align: center; padding: 70px 22px; }
.cempty__title { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.cempty__desc { color: var(--ink-soft); margin-bottom: 26px; }

/* 移动端 */
@media (max-width: 860px) {
  .cinfo { grid-template-columns: 1fr 1fr; }
  .cgal__grid { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .filters { gap: 18px; }
  .filters__label { min-width: auto; }

  /* 轮播：手机上箭头缩小、比例更方正，手指滑动换图 */
  .ccarousel__stage { aspect-ratio: 4 / 3; }
  .ccarousel__nav { width: 38px; height: 38px; }
  .ccarousel__nav--prev { left: 10px; }
  .ccarousel__nav--next { right: 10px; }
  .ccarousel__nav svg { width: 18px; height: 18px; }
  .ccarousel__thumb { width: 84px; height: 56px; }
}

/* =========================================================================
   页脚「全国合作施工门店」入口（与 style.css 的 footer__grid 配合使用）
   ========================================================================= */
.footer__link {
  display: inline-block; margin-top: 12px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.footer__link:hover { text-decoration: underline; }

/* =========================================================================
   服务优势 · 类目图文二级页（/why?id=xxx）
   ========================================================================= */
.wcrumb { padding: 24px 0 16px; }
.wcrumb .cbread { margin-bottom: 0; }

/* 封面标题区 */
.whero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #101413, #0a0a0a);
  height: clamp(360px, 52vh, 540px);
  color: #fff;
}
.whero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.whero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.52) 46%, rgba(0,0,0,0.30) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.10) 55%);
}
.whero__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 40px; padding-bottom: 56px;
}
.whero__eyebrow {
  color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: .22em; margin-bottom: 16px;
}
.whero__title {
  font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; color: #fff;
  letter-spacing: -1px; line-height: 1.08;
}
.whero__sub { font-size: clamp(16px, 1.8vw, 20px); color: rgba(255,255,255,0.86); margin-top: 18px; }
.whero__lead { font-size: 15.5px; color: rgba(255,255,255,0.62); margin-top: 10px; max-width: 680px; }

/* 引言 */
.wintro { padding: 74px 0 0; }
.wintro__text { font-size: 16.5px; line-height: 1.95; color: #3a3a3c; max-width: 860px; }
.wintro__text + .wintro__text { margin-top: 18px; }
.wintro__text.is-first { font-size: 21px; line-height: 1.75; color: var(--ink); font-weight: 500; letter-spacing: -0.2px; }

/* 通用小标题 */
.wsec__title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.4px; }

/* 要点清单 */
.whl { padding: 66px 0 0; }
.whl__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px; margin-top: 28px;
}
.whl__item {
  display: flex; align-items: flex-start; gap: 13px;
  background: var(--bg-soft); border-radius: 14px;
  padding: 18px 20px; font-size: 15.5px; color: #2c2c2e;
}
.whl__ico { flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.whl__ico svg { width: 19px; height: 19px; display: block; }
.whl__text { line-height: 1.55; }

/* 图文小节（图片与文字左右交替） */
.wsecs { padding: 78px 0 0; }
.wsec {
  display: grid; grid-template-columns: 1.06fr 1fr;
  gap: 52px; align-items: center; margin-bottom: 76px;
}
.wsec:last-child { margin-bottom: 0; }
.wsec__media {
  border-radius: var(--radius); overflow: hidden; background: var(--bg-soft);
}
.wsec__media img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.25,.1,.25,1);
}
.wsec:hover .wsec__media img { transform: scale(1.03); }
.wsec__no {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .2em; color: var(--accent); margin-bottom: 12px;
}
.wsec__title { margin-bottom: 16px; }
.wsec__text { font-size: 16.5px; line-height: 1.9; color: #3a3a3c; }
.wsec.is-reverse .wsec__media { order: 2; }
.wsec.is-reverse .wsec__body { order: 1; }

/* 其他类目 */
.wothers { padding: 12px 0 0; }
.wothers__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 30px;
}
.wo {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.wo:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.wo__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.wo__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.25,.1,.25,1);
}
.wo:hover .wo__media img { transform: scale(1.04); }
.wo__body { padding: 20px 22px 24px; }
.wo__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.wo__desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; min-height: 48px; }
.wo__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent);
}
.wo__arrow { transition: transform .3s ease; }
.wo:hover .wo__arrow { transform: translateX(4px); }

/* 行动区 */
.wcta { background: var(--bg-soft); padding: 62px 0; margin-top: 86px; }
.wcta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.wcta__title { font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; letter-spacing: -0.4px; }
.wcta__sub { color: var(--ink-soft); font-size: 15.5px; margin-top: 10px; }
.wcta__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* 移动端 */
@media (max-width: 860px) {
  .whero { height: clamp(300px, 46vh, 420px); }
  .whero__inner { padding-bottom: 38px; }
  .wintro { padding-top: 52px; }
  .wintro__text.is-first { font-size: 19px; }
  .whl__grid { grid-template-columns: 1fr; }
  .wsecs { padding-top: 56px; }
  .wsec { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .wsec.is-reverse .wsec__media,
  .wsec.is-reverse .wsec__body { order: 0; }
  .wothers__grid { grid-template-columns: 1fr; }
  .wcta { margin-top: 60px; padding: 48px 0; }
  .wcta__inner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   全国合作施工门店 · 二级页（/stores）
   ========================================================================= */
/* 数据概览 */
.sstats { padding: 58px 0 0; }
.sstats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sstat {
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 26px 24px 24px;
}
.sstat__num { display: flex; align-items: baseline; gap: 6px; }
.sstat__n { font-size: 40px; font-weight: 700; letter-spacing: -1.2px; line-height: 1; }
.sstat__u { font-size: 14px; color: var(--ink-soft); }
.sstat__label { color: var(--ink-soft); font-size: 14px; margin-top: 12px; }

/* 列表区 */
.slist { padding: 84px 0 0; }
.ssec__head { margin-bottom: 30px; }
.ssec__sub { color: var(--ink-soft); font-size: 15.5px; margin-top: 12px; }
.sfilters { display: flex; flex-direction: column; gap: 18px; }
.sfilters__chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* 搜索框 */
.ssearch { position: relative; max-width: 460px; }
.ssearch__ico {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  display: block; color: var(--ink-soft);
}
.ssearch__ico svg { width: 18px; height: 18px; display: block; }
.ssearch input {
  width: 100%; height: 46px; padding: 0 18px 0 46px;
  border-radius: 980px; border: 1px solid var(--line);
  background: #fff; font-size: 15px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.ssearch input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 86, 81, 0.12);
}

/* 门店卡片网格 */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.store {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 22px; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.store:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.store__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.store__name { font-size: 18.5px; font-weight: 700; letter-spacing: -0.2px; line-height: 1.3; }
.store__level {
  flex: 0 0 auto; font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 980px;
}
.store__level.is-flagship { background: rgba(0, 86, 81, 0.12); color: #067A73; }
.store__level.is-auth { background: rgba(10, 110, 200, 0.10); color: #0a6ec8; }
.store__level.is-partner { background: rgba(0, 0, 0, 0.05); color: var(--ink-soft); }
.store__region { color: var(--accent); font-size: 13.5px; font-weight: 600; margin-bottom: 15px; }
.store__rows { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.store__row { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #3a3a3c; line-height: 1.6; }
.store__ico { flex: 0 0 auto; width: 17px; height: 17px; color: var(--ink-soft); margin-top: 3px; }
.store__ico svg { width: 17px; height: 17px; display: block; }
.store__val { word-break: break-word; }
.store__tel { color: var(--ink); font-weight: 600; text-decoration: none; }
.store__tel:hover { color: var(--accent); }
.store__note { color: var(--ink-soft); font-size: 13.5px; margin-top: 12px; line-height: 1.65; }
.store__tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 18px;
}
.store__tag {
  font-size: 12.5px; color: var(--ink-soft);
  background: var(--bg-soft); padding: 4px 11px; border-radius: 980px;
}
.store__since { font-size: 12.5px; color: var(--accent); margin-left: auto; }

@media (max-width: 1000px) {
  .stores { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sstats { padding-top: 44px; }
  .sstats__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sstat { padding: 20px 18px; }
  .sstat__n { font-size: 32px; }
  .slist { padding-top: 56px; }
  .stores { grid-template-columns: 1fr; }
  .ssearch { max-width: none; }
  .store__since { margin-left: 0; }
}
