.tone-aqua {
  background:
    radial-gradient(circle at 88% 8%, rgb(179 221 225 / 28%), transparent 34%),
    linear-gradient(145deg, #f7fbfa, #edf6f5) !important;
}

.tone-blush {
  background:
    radial-gradient(circle at 10% 12%, rgb(225 188 199 / 22%), transparent 36%),
    linear-gradient(145deg, #fffafa, #f7eff1);
}

/* Shared visual for interior pages: gives each subpage a finished, editorial first viewport. */
.page-hero {
  min-height: 470px;
  padding-right: min(44vw, 620px);
  position: relative;
  isolation: isolate;
}

.page-hero::after {
  background: linear-gradient(90deg, rgb(247 239 228 / 0%), rgb(247 239 228 / 4%)), url("subpage-pain-consultation.png") center / cover no-repeat;
  border-left: 1px solid rgb(96 70 59 / 12%);
  content: "";
  inset: 0 0 0 auto;
  position: absolute;
  width: min(40vw, 590px);
  z-index: -1;
}

.module-image {
  border: 1px solid rgb(104 79 69 / 10%);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgb(70 50 42 / 9%);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
  margin: 22px 0 0;
  min-height: 360px;
  overflow: hidden;
}

.module-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  width: 100%;
}

.module-image:hover img {
  transform: scale(1.018);
}

.module-image figcaption {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(30px, 4vw, 56px);
  position: relative;
}

.module-image figcaption::before {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 210px;
  opacity: 0.18;
  position: absolute;
  right: -82px;
  top: -88px;
  width: 210px;
  z-index: -1;
}

.module-image figcaption::after {
  background:
    linear-gradient(90deg, transparent 27px, currentColor 28px, transparent 29px),
    linear-gradient(180deg, transparent 27px, currentColor 28px, transparent 29px);
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.module-image figcaption span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.module-image figcaption strong {
  font-family: var(--font-mpr);
  font-size: clamp(28px, 2.5vw, 39px);
  font-weight: 400;
  line-height: 1.35;
}

.module-image figcaption p {
  font-size: 14px;
  line-height: 1.8;
  margin: 20px 0 0;
  opacity: 0.78;
}

.module-image-service figcaption {
  background: linear-gradient(145deg, #8fbfc3, #a8ced0);
  color: #fff;
}

.module-image-wellness {
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.55fr);
  margin-bottom: 48px;
}

.module-image-wellness img {
  grid-column: 2;
  grid-row: 1;
}

.module-image-wellness figcaption {
  background: linear-gradient(145deg, #e5c5cc, #dcb3bd);
  color: #503c38;
  grid-column: 1;
  grid-row: 1;
}

@media (width <= 980px) {
  .module-image {
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
    min-height: 360px;
  }

  .module-image-wellness {
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (width <= 640px) {
  .page-hero {
    min-height: 0;
    padding-right: 22px;
    padding-bottom: 0;
  }

  .page-hero::after {
    border-left: 0;
    border-top: 1px solid rgb(96 70 59 / 12%);
    height: 220px;
    inset: auto 0 0;
    opacity: 0.92;
    position: relative;
    width: 100%;
  }

  .module-image,
  .module-image-wellness {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    min-height: 0;
  }

  .module-image-wellness {
    margin-bottom: 36px;
  }

  .module-image img {
    aspect-ratio: 4 / 3;
    height: auto;
    object-position: center;
  }

  .module-image figcaption {
    min-height: 220px;
    padding: 26px 24px;
  }

  .module-image figcaption::before {
    height: 160px;
    right: -70px;
    top: -78px;
    width: 160px;
  }

  .module-image figcaption::after {
    background:
      linear-gradient(90deg, transparent 15px, currentColor 16px, transparent 17px),
      linear-gradient(180deg, transparent 15px, currentColor 16px, transparent 17px);
  }

  .module-image figcaption strong {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .module-image img {
    transition: none;
  }
}

/* 全国服务网络示意图（/locations/ 汇总页） */
.china-map-wrap {
  margin: 0 auto;
  max-width: 560px;
}

.china-map-wrap-large {
  max-width: 100%;
}

.china-map-wrap svg {
  height: auto;
  width: 100%;
}

.china-map-wrap a circle,
.china-map-wrap a text {
  transition: opacity 0.2s;
}

.china-map-wrap a:hover circle,
.china-map-wrap a:hover text {
  opacity: 0.6;
}

.china-map-note {
  color: var(--taupe);
  font-size: 12px;
  margin-top: 14px;
  text-align: center;
}

/* 规划中城市分区展示 */
.region-group {
  margin-top: 36px;
}

.region-group h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.info-grid.compact {
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
}

.info-grid.compact .info-card,
a.info-card.info-card {
  padding: 14px 10px;
  text-align: center;
}

.info-grid.compact .info-card h3,
.info-grid.compact a.info-card h3 {
  font-size: 14px;
  margin: 0;
}

@media (width <= 980px) {
  .info-grid.compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width <= 640px) {
  .info-grid.compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 首页疼痛知识板块：词典与知识中心快捷入口 */
.knowledge-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 28px;
}

/* 全国服务网络：已开通城市卡片（含机构地址/电话/时间/二维码） */
.city-card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.city-summary-card {
  background: #fff;
  border: 1px solid var(--line, #d9c9b7);
  padding: 30px;
}

.city-summary-card h3 {
  margin-top: 0;
}

.city-summary-location {
  background: #f7f1eb;
  border-left: 3px solid var(--gold, #b99768);
  margin-top: 18px;
  padding: 18px 20px;
}

.city-summary-location p {
  color: #725e53;
  font-size: 14px;
  margin: 4px 0;
}

.city-summary-location b {
  color: var(--brown-dark, #34251f);
}

.city-summary-location .text-link {
  display: inline-block;
  margin-top: 10px;
}

.city-summary-qr {
  align-items: center;
  border-top: 1px solid var(--line, #d9c9b7);
  display: flex;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
}

.city-summary-qr img {
  border-radius: 4px;
  border: 1px solid var(--line, #d9c9b7);
  width: 72px;
}

.city-summary-qr span {
  color: var(--taupe, #8f7768);
  font-size: 13px;
  line-height: 1.6;
}

/* 预约页：企业微信在线评估二维码 */
.wechat-consult h2 {
  margin-bottom: 14px;
}

.wechat-qr-card {
  background: var(--white, #fffdf9);
  border: 1px solid var(--line, #d9c9b7);
  border-radius: 6px;
  box-shadow: var(--shadow, 0 24px 80px #4e32261c);
  margin: 28px 0 0;
  max-width: 280px;
  padding: 28px 28px 22px;
  text-align: center;
}

.wechat-qr-card img {
  border-radius: 4px;
  margin: 0 auto;
  max-width: 200px;
  width: 100%;
}

.wechat-qr-card figcaption {
  color: var(--taupe, #8f7768);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 16px;
}
