/* 服务专题 / 地域 / 案例集枢纽页 */
.hub-page-main {
  max-width: var(--section-inner-max, 1120px);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hub-hero {
  margin-bottom: 2.5rem;
}

.hub-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.25;
  margin: 0 0 1rem;
}

.hub-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text2, #555);
  margin: 0 0 1rem;
}

.hub-price-note {
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.hub-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.hub-cta-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--gold, #b8882a);
  text-decoration: none;
  transition: color 0.2s;
}

.hub-cta-ghost:hover,
.hub-cta-ghost:focus-visible {
  color: #9a7020;
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

.hub-section {
  margin-bottom: 2rem;
}

.hub-section-title {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.hub-section-body {
  line-height: 1.75;
  margin: 0;
}

.hub-section-body a {
  color: var(--gold, #b8882a);
  font-weight: 600;
  text-decoration: none;
}

.hub-section-body a:hover,
.hub-section-body a:focus-visible {
  color: #9a7020;
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

.hub-faq-list {
  display: grid;
  gap: 1.25rem;
}

.hub-faq-q {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.hub-faq-a {
  margin: 0;
  line-height: 1.65;
  color: var(--text2, #555);
}

/* 底部联系带（与 AIGEO 专题视觉对齐，不依赖 aigeo-page.css） */
.hub-cta-band {
  margin-top: 2.5rem;
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  background: var(--hero-bg, #07060a);
  color: var(--hero-text, #f5f3ef);
  border-radius: var(--card-radius, 12px);
}

.hub-cta-band-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.hub-cta-band-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
}

.hub-cta-band-lede {
  margin: 0 auto 1.5rem;
  color: var(--hero-text-muted, rgba(245, 243, 239, 0.72));
  line-height: 1.75;
}

.hub-cta-band .hub-cta-row {
  justify-content: center;
}

.hub-cta-band .btn-primary {
  min-width: min(100%, 220px);
  justify-content: center;
}

/* ── 案例集：与首页 proof-card 对齐 ── */
.cases-page .hub-cases-grid .proof-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cases-page .proof-card {
  background: var(--cream, #f8f5f0);
  border: 1px solid var(--card-border, rgba(26, 24, 20, 0.08));
  border-radius: var(--card-radius, 12px);
  padding: 0;
  box-shadow: var(--card-shadow, 0 1px 2px rgba(12, 11, 10, 0.04), 0 8px 32px rgba(12, 11, 10, 0.06));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s,
    border-color 0.35s;
}

.cases-page .proof-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover, 0 4px 8px rgba(12, 11, 10, 0.06), 0 20px 48px rgba(12, 11, 10, 0.1));
  border-color: rgba(201, 154, 46, 0.28);
}

.cases-page .proof-card .proof-stars,
.cases-page .proof-card .proof-text,
.cases-page .proof-card .proof-result,
.cases-page .proof-card .proof-author {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

.cases-page .proof-card .proof-stars {
  margin-top: 1.25rem;
  color: var(--gold-light, #d4a853);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.cases-page .proof-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text2, #555);
  margin-bottom: 1rem;
  font-style: italic;
}

.cases-page .proof-result {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage, #1a9e6a);
  background: rgba(26, 158, 106, 0.08);
  border: 1px solid rgba(26, 158, 106, 0.2);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.cases-page .proof-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.cases-page .proof-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink, #1a1814);
}

.cases-page .proof-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cases-page .proof-card:hover .proof-visual img {
  transform: scale(1.03);
}

.cases-page .proof-visual-caption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.6rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(26, 24, 20, 0.55);
  padding: 4px 8px;
  border-radius: 2px;
}

.cases-page .proof-avatar--photo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.cases-page .proof-cite {
  font-weight: 600;
  font-size: 0.9rem;
}

.cases-page .proof-role {
  font-size: 0.8rem;
  color: var(--muted, #666);
}

/* ── 地域页链接 ── */
.hub-area-city-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.hub-area-city-list a {
  color: var(--gold, #b8882a);
  font-weight: 600;
  text-decoration: none;
}

.hub-area-city-list a:hover,
.hub-area-city-list a:focus-visible {
  color: #9a7020;
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

/* 城市下「下辖区县」嵌套列表（省→市→县） */
.hub-area-county-list {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0 0 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  flex-basis: 100%;
  border-left: 2px solid rgba(184, 136, 42, 0.25);
}

.hub-area-county-list a {
  color: var(--ink-2, #555);
  font-weight: 500;
  font-size: 0.92em;
  text-decoration: none;
}

.hub-area-county-list a:hover,
.hub-area-county-list a:focus-visible {
  color: #9a7020;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 落地页自定义正文槽：继承站点排版基线 */
.hub-area-custom > :first-child {
  margin-top: 0;
}

.hub-area-custom > :last-child {
  margin-bottom: 0;
}

.hub-area-province .hub-section-title a {
  color: inherit;
  text-decoration: none;
}

.hub-area-province .hub-section-title a:hover,
.hub-area-province .hub-section-title a:focus-visible {
  color: var(--gold, #b8882a);
  outline: none;
}

/* 专题总览卡片栅格（pages/topics/） */
.topic-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}
.topic-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid var(--border, #e7ded0);
  border-radius: 16px;
  box-shadow: 0 12px 32px -18px rgba(40, 28, 12, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -18px rgba(40, 28, 12, 0.3);
}
.topic-card__price {
  align-self: flex-start;
  margin: 0;
  padding: 0.22rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-deep, #8a6418);
  background: rgba(184, 136, 42, 0.12);
  border-radius: 999px;
}
.topic-card-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.4;
}
.topic-card-title a {
  color: var(--ink, #2a2118);
  text-decoration: none;
}
.topic-card-title a:hover,
.topic-card-title a:focus-visible {
  color: var(--gold, #b8882a);
}
.topic-card-desc {
  margin: 0;
  flex: 1 1 auto;
  color: var(--muted, #6b6155);
  font-size: 0.96rem;
  line-height: 1.65;
}
.topic-card-link {
  margin: 0;
}
.topic-card-link a {
  color: var(--terracotta, #b8552a);
  font-weight: 600;
  text-decoration: none;
}
.topic-card-link a:hover,
.topic-card-link a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topic-card--soon {
  background: var(--cream, #f8f3ea);
  border-style: dashed;
  box-shadow: none;
}
.topic-card--soon:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 900px) {
  .cases-page .hub-cases-grid .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hub-page-main {
    padding: 1.25rem 1rem 3rem;
  }

  .hub-hero {
    margin-bottom: 2rem;
  }

  .hub-title {
    font-size: 1.5rem;
  }

  .hub-lede {
    font-size: 1rem;
  }

  .hub-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hub-cta-row .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .hub-cta-ghost {
    justify-content: center;
  }

  .hub-cta-band {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    border-radius: var(--radius-md, 12px);
  }

  .hub-area-city-list {
    gap: 0.45rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cases-page .proof-card:hover {
    transform: none;
  }
  .cases-page .proof-card:hover .proof-visual img {
    transform: none;
  }
}
