/* ===== 品牌与主题色 ===== */
:root {
  --brand: #0f3d5c;
  --brand-light: #1a5a85;
  --brand-soft: #e8f2f8;
  --text: #1c2430;
  --text-muted: #5c6b7a;
  --surface: #ffffff;
  --surface-alt: #f4f7fa;
  --border: #d8e0e8;
  --shadow: 0 12px 40px rgba(15, 61, 92, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: 72px;
  /* 三大服务区分色 */
  --ai: #2563eb;
  --ai-soft: #eff6ff;
  --pm: #475569;
  --pm-soft: #f1f5f9;
  --prod: #ea580c;
  --prod-soft: #fff7ed;
  --success: #059669;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

body[data-lang="zh-Hant"] {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

body[data-lang="ja"] {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

body[data-lang="en"] {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface-alt);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 61, 92, 0.04);
}

.nav-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: var(--nav-h);
}

.nav-inner > .logo {
  grid-column: 1;
}

.nav-inner > #main-nav {
  grid-column: 2;
  justify-self: end;
  min-width: 0;
}

.nav-inner > .lang-switcher {
  grid-column: 3;
  margin-left: 0;
  margin-right: 0;
}

.nav-inner > .nav-toggle {
  grid-column: 4;
}

@media (min-width: 901px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-inner > .lang-switcher {
    grid-column: 3;
  }

  .nav-inner > .nav-toggle {
    display: none;
    grid-column: unset;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
  color: var(--brand);
}

.logo:hover .logo-mark {
  border-color: rgba(15, 61, 92, 0.12);
  box-shadow: 0 2px 8px rgba(15, 61, 92, 0.08);
}

.logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 61, 92, 0.05);
  color: var(--prod);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.logo-mark .logo-icon {
  display: block;
  color: inherit;
}

.logo-text {
  line-height: 1.25;
  max-width: 11em;
}

.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.lang-btn {
  padding: 0.28rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-muted);
  line-height: 1.2;
}

.lang-btn:hover {
  border-color: rgba(234, 88, 12, 0.45);
  color: #c2410c;
}

.lang-btn.is-active {
  border-color: var(--prod);
  color: #9a3412;
  background: var(--prod-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
}

#main-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  padding: 0.35rem 0;
  position: relative;
  text-decoration: none;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--prod);
  border-radius: 1px;
  transition: width 0.2s ease;
}

.nav-list a:hover {
  color: #c2410c;
  text-decoration: none;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  width: 100%;
}

.nav-list a[aria-current="page"] {
  color: var(--prod);
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-inner {
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto auto;
  }

  .nav-inner > .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-inner > .lang-switcher {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-inner > .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    display: block;
  }

  .nav-inner > #main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  #main-nav .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1rem 4vw 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0;
  }

  #main-nav .nav-list.is-open {
    display: flex;
  }

  #main-nav .nav-list li {
    border-bottom: 1px solid var(--surface-alt);
  }

  #main-nav .nav-list a {
    display: block;
    padding: 0.85rem 0;
  }

  #main-nav .nav-list a::after {
    display: none;
  }
}

/* ===== Banner ===== */
.hero {
  background: linear-gradient(145deg, var(--brand) 0%, #0a2840 55%, #061a2e 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(234, 88, 12, 0.18), transparent),
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(234, 88, 12, 0.14), transparent);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  opacity: 0.92;
  max-width: 42em;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #fff;
  color: var(--brand);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-ai {
  background: var(--ai);
  color: #fff;
}

.btn-ai:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn-pm {
  background: var(--pm);
  color: #fff;
}

.btn-pm:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.btn-prod {
  background: var(--prod);
  color: #fff;
}

.btn-prod:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

/* 服务详情页主预约按钮：与主品牌一致，避免与 Banner 抢色 */
.btn-service-detail {
  background: var(--brand);
  color: #fff;
}

.btn-service-detail:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}

/* ===== 区块标题 ===== */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40em;
}

/* 简介页导语：与正文同宽，避免被 40em 提前折行 */
.section-head--about p {
  max-width: none;
}

/* ===== 服务卡片（首页） ===== */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
}

.service-card.ai {
  border-top: 4px solid var(--ai);
}

.service-card.ai:hover {
  border-color: var(--ai-soft);
}

.service-card.pm {
  border-top: 4px solid var(--pm);
}

.service-card.pm:hover {
  border-color: var(--pm-soft);
}

.service-card.prod {
  border-top: 4px solid var(--prod);
}

.service-card.prod:hover {
  border-color: var(--prod-soft);
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.service-card.ai h3 {
  color: var(--ai);
}

.service-card.pm h3 {
  color: var(--pm);
}

.service-card.prod h3 {
  color: var(--prod);
}

.service-card p {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card .more {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card.ai .more {
  color: var(--ai);
}

.service-card.pm .more {
  color: var(--pm);
}

.service-card.prod .more {
  color: var(--prod);
}

/* ===== 活动滚动区 ===== */
.activities-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin: 0 -4vw;
  padding-inline: 4vw;
  -webkit-overflow-scrolling: touch;
}

.activities-track::-webkit-scrollbar {
  height: 6px;
}

.activities-track::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.activity-card {
  flex: 0 0 min(300px, 85vw);
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 61, 92, 0.06);
}

.activity-card time {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 0.35rem;
}

.activity-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.activity-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== 作品展示 + 筛选 ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.work-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 61, 92, 0.05);
  transition: box-shadow 0.2s;
}

.work-card:hover {
  box-shadow: var(--shadow);
}

.work-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--brand-soft), #dbeafe);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
}

.work-card[data-cat="ai"] .work-thumb {
  background: linear-gradient(135deg, var(--ai-soft), #dbeafe);
  color: var(--ai);
}

.work-card[data-cat="pm"] .work-thumb {
  background: linear-gradient(135deg, var(--pm-soft), #e2e8f0);
  color: var(--pm);
}

.work-card[data-cat="prod"] .work-thumb {
  background: linear-gradient(135deg, var(--prod-soft), #ffedd5);
  color: var(--prod);
}

.work-body {
  padding: 1.1rem 1.2rem 1.25rem;
}

.work-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.work-tag.ai {
  background: var(--ai-soft);
  color: var(--ai);
}

.work-tag.pm {
  background: var(--pm-soft);
  color: var(--pm);
}

.work-tag.prod {
  background: var(--prod-soft);
  color: var(--prod);
}

.work-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.work-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.work-detail {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-light);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.work-detail:hover {
  text-decoration: underline;
}

/* 作品详情弹层 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 45, 0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
}

.modal h3 {
  margin: 0 0 0.75rem;
  padding-right: 2rem;
  font-size: 1.2rem;
}

.modal p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== 表单 ===== */
.booking {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-msg.is-success {
  display: block;
  background: #ecfdf5;
  color: var(--success);
  border: 1px solid #a7f3d0;
}

.form-msg.is-error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ===== 底部服务说明 ===== */
.support-block {
  background: linear-gradient(180deg, var(--surface) 0%, var(--brand-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.support-block h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--brand);
}

.support-columns {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .support-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.support-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.support-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===== 服务详情页 ===== */
.page-hero {
  padding: 2rem 0 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* 三大服务 Banner：与首页 .hero 同色、同光晕、同留白 */
.page-hero.ai,
.page-hero.pm,
.page-hero.prod {
  position: relative;
  padding: clamp(1.75rem, 3.8vw, 2.5rem) 0;
  background: linear-gradient(145deg, var(--brand) 0%, #0a2840 55%, #061a2e 100%);
  color: #fff;
  border-bottom: none;
  overflow: hidden;
}

.page-hero.ai::before,
.page-hero.pm::before,
.page-hero.prod::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(234, 88, 12, 0.18), transparent),
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(234, 88, 12, 0.14), transparent);
  pointer-events: none;
}

.page-hero.ai .wrap,
.page-hero.pm .wrap,
.page-hero.prod .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 800;
}

.page-hero.ai h1,
.page-hero.pm h1,
.page-hero.prod h1 {
  margin: 0;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 42em;
  font-size: clamp(1.45rem, 4vw, 2.05rem);
  font-weight: 800;
}

.page-hero .lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 42em;
}

.page-hero.ai .lead,
.page-hero.pm .lead,
.page-hero.prod .lead {
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.95;
}

.detail-sections {
  padding: 2rem 0 3rem;
}

.detail-group {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15, 61, 92, 0.04);
}

.detail-group h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-soft);
}

.detail-group.ai h2 {
  color: var(--ai);
  border-bottom-color: var(--ai-soft);
}

.detail-group.pm h2 {
  color: var(--pm);
  border-bottom-color: var(--pm-soft);
}

.detail-group.prod h2 {
  color: var(--prod);
  border-bottom-color: var(--prod-soft);
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list > li {
  position: relative;
  padding: 0.65rem 0 0.85rem 1.35rem;
  border-bottom: 1px solid var(--surface-alt);
  font-size: 0.95rem;
}

.detail-list > li:last-child {
  border-bottom: none;
}

.detail-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* AI：每条是「标题 + 子列表」，外层 li 不用列表符号；display:block 去掉 list-item 才不会再在标题前出圆点 */
.detail-group.ai ul.detail-list {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
  padding-left: 0;
  margin-left: 0;
  padding-inline-start: 0;
}

.detail-group.ai .detail-list > li {
  display: block;
  padding-left: 0;
  padding-inline-start: 0;
  list-style: none;
  list-style-type: none;
  font-size: 0.9rem;
  line-height: 1.62;
}

.detail-group.ai .detail-list > li::marker {
  content: none;
}

.detail-group.ai .detail-list > li::before {
  content: none !important;
  display: none !important;
  width: 0;
  height: 0;
}

/* PM 培训方案：与 AI 相同的外层列表处理 */
.detail-group.pm ul.detail-list {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
  padding-left: 0;
  margin-left: 0;
  padding-inline-start: 0;
}

.detail-group.pm .detail-list > li {
  display: block;
  padding-left: 0;
  padding-inline-start: 0;
  list-style: none;
  list-style-type: none;
  font-size: 0.9rem;
  line-height: 1.62;
}

.detail-group.pm .detail-list > li::marker {
  content: none;
}

.detail-group.pm .detail-list > li::before {
  content: none !important;
  display: none !important;
  width: 0;
  height: 0;
}

.detail-group.ai .service-item-title {
  color: var(--ai);
}

.detail-group.pm .service-item-title {
  color: var(--pm);
}

.detail-group.prod .service-item-title {
  color: var(--prod);
}

.detail-group.ai .service-item-parts .part-k {
  color: #1e40af;
}

.detail-group.pm .service-item-parts .part-k {
  color: #1e293b;
}

.detail-group.prod .service-item-parts .part-k {
  color: #9a3412;
}

/* 与培训方案正文（.service-item-parts）统一字号与行高 */
.pm-overall-wrap {
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.pm-overall-block p {
  margin: 0 0 0.65rem;
}

.pm-overall-block p:last-child {
  margin-bottom: 0;
}

/* AI 服务：主题 + 子项（痛点 / 收益 / 服务内容 / 费用 / 周期） */
.service-item-block {
  max-width: 52rem;
}

.service-item-title {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.service-item-parts {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.service-item-parts > li {
  position: relative;
  padding: 0.4rem 0 0.4rem 0.85rem;
  margin: 0;
  border: none;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-muted);
  list-style: none;
  list-style-type: none;
}

.service-item-parts > li::marker {
  content: none;
}

.service-item-parts > li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0.42rem;
  font-weight: 700;
  color: var(--text-muted);
}

.service-item-parts .part-k {
  display: inline;
  font-weight: 700;
  color: var(--text);
  margin-right: 0.08em;
}

/* Product 培训方案：与 PM 相同的外层列表处理 */
.detail-group.prod ul.detail-list {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
  padding-left: 0;
  margin-left: 0;
  padding-inline-start: 0;
}

.detail-group.prod .detail-list > li {
  display: block;
  padding-left: 0;
  padding-inline-start: 0;
  list-style: none;
  list-style-type: none;
  font-size: 0.9rem;
  line-height: 1.62;
}

.detail-group.prod .detail-list > li::marker {
  content: none;
}

.detail-group.prod .detail-list > li::before {
  content: none !important;
  display: none !important;
  width: 0;
  height: 0;
}

.highlight {
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(37, 99, 235, 0.2) 60%);
  padding: 0 0.15em;
}

.detail-group.ai .highlight {
  background: linear-gradient(transparent 60%, rgba(37, 99, 235, 0.2) 60%);
}

.detail-group.pm .highlight {
  background: linear-gradient(transparent 60%, rgba(71, 85, 105, 0.2) 60%);
}

.detail-group.prod .highlight {
  background: linear-gradient(transparent 60%, rgba(234, 88, 12, 0.2) 60%);
}

/* ===== About / Contact ===== */
.profile {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .profile {
    grid-template-columns: 200px 1fr;
  }
}

.profile-photo {
  width: 200px;
  height: 320px;
  overflow: hidden;
  margin: 0 auto;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 768px) {
  .profile-photo {
    margin: 0;
  }
}

.profile h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--brand);
}

.profile-sections {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.profile-sec {
  margin: 0;
}

.profile-sec-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.profile-sec-p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.profile-cta-row {
  margin-top: 1.75rem;
  margin-bottom: 0;
}

.profile ul.strengths {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

/* ===== 固定右侧菜单 ===== */
.fixed-side-menu {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fixed-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fixed-menu-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  transform: translateX(-4px);
}

.fixed-menu-btn .badge-new {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: linear-gradient(135deg, var(--ai), #1d4ed8);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .fixed-side-menu {
    right: 1rem;
  }
}

@media (max-width: 900px) {
  .fixed-side-menu {
    position: fixed;
    right: 0;
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    z-index: 100;
  }
  
  .fixed-menu-btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
  }
  
  .fixed-menu-btn:hover {
    transform: translateY(-2px);
  }
}

/* ===== AI新品弹窗 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 61, 92, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(15, 61, 92, 0.2);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--brand-soft);
}

.modal-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-title .badge-new {
  padding: 0.2rem 0.6rem;
  background: linear-gradient(135deg, var(--ai), #1d4ed8);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--surface-alt);
  color: var(--brand);
  border-color: var(--brand);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.ai-showcase {
  display: grid;
  gap: 1.5rem;
}

.ai-showcase-item {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.ai-showcase-item h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
}

.ai-showcase-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.ai-showcase-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

@media (min-width: 600px) {
  .ai-showcase-item {
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
  
  .ai-showcase-img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    max-height: 95vh;
    border-radius: var(--radius-sm);
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .ai-showcase-item {
    padding: 1rem;
  }
  
  .ai-showcase-img {
    height: 160px;
  }
}

/* ===== 联系页（整块居中，避免宽屏下内容偏左） ===== */
.section--contact {
  padding-top: clamp(2.25rem, 4vw, 3rem);
}

.wrap--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head--contact {
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  width: 100%;
  max-width: 38rem;
}

.section-head--contact h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-head--contact p {
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.contact-layout {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 840px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.contact-panel {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: clamp(1.35rem, 3.2vw, 1.9rem);
  box-shadow: var(--shadow);
}

.contact-panel--info {
  border-top: 3px solid var(--brand);
}

.contact-panel--scan {
  border-top: 3px solid var(--brand-light);
}

.contact-panel-title {
  margin: 0 0 1.1rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
}

.contact-fields {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-fields > li {
  margin: 0;
  padding: 0;
}

.contact-field {
  display: grid;
  grid-template-columns: minmax(4.25rem, 7rem) minmax(0, 1fr);
  gap: 0.65rem 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

/* 联系信息卡：标签在上、内容居中，整体不挤在卡片左侧 */
.contact-panel--info .contact-field {
  grid-template-columns: 1fr;
  gap: 0.4rem;
  justify-items: center;
  text-align: center;
  padding: 1.1rem 0.75rem;
}

.contact-fields > li:first-child .contact-field {
  padding-top: 0;
}

.contact-fields > li:last-child .contact-field {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-panel--info .contact-fields > li:first-child .contact-field {
  padding-top: 0;
}

.contact-panel--info .contact-fields > li:last-child .contact-field {
  padding-bottom: 0;
}

.contact-field-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.45;
  padding-top: 0.12em;
}

.contact-panel--info .contact-field-label {
  padding-top: 0;
}

.contact-field-value {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  word-break: break-word;
}

.contact-field-value a {
  word-break: break-all;
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 400px) {
  .contact-qr-grid {
    grid-template-columns: 1fr;
    max-width: 220px;
    margin-inline: auto;
  }
}

.contact-qr-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.15rem 0.75rem 1.2rem;
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 61, 92, 0.1);
  min-height: 0;
}

.contact-qr-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  max-width: 100%;
}

.contact-qrcode {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 172px;
  aspect-ratio: 1;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 61, 92, 0.12);
  background: var(--surface);
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 0 1.5rem;
  margin-top: 0;
}

.site-footer a {
  color: #fff;
  opacity: 0.95;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer p,
.site-footer li {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.9;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  opacity: 0.85;
  text-align: center;
}

/* ===== 隐私等法律页 ===== */
.legal {
  background: var(--surface);
  padding: 2rem 0 3rem;
}

.legal article {
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: var(--brand);
}

.legal h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
