/* 独立服务页与首页概览；三项服务使用真实链接，直接访问时同样可用。 */
.nav>a[aria-current="page"]::after { transform: scaleX(1); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.detail-page section[id], .detail-page .case, .detail-page .framework-item, .detail-page .cooperation-row { scroll-margin-top: 0; }
.service-intro { padding: 88px 0 76px; background: #fff; border-bottom: 1px solid var(--line-soft); }
.service-intro h1 { max-width: 1000px; font-size: clamp(32px, 3.5vw, 50px); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; text-wrap: balance; }
.service-intro p { max-width: 760px; color: var(--muted); margin-top: 24px; font-size: 17px; line-height: 1.9; }
.service-intro .text-link { color: var(--brand); margin-top: 30px; }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding-bottom: 24px; border-bottom: 1px solid var(--gold); }
.service-card__visual { height: 240px; overflow: hidden; background: #fff; border-radius: 3px; margin-bottom: 28px; }
.service-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.service-card__product { padding: 18px; background: #f7f8fa; }
.service-card__product img { object-fit: contain; }
.service-card h3 { font-size: 24px; font-weight: 500; margin: 0 0 12px; }
.service-card>p { font-size: 16px; color: var(--muted); min-height: 3.7em; }
.service-card ul { padding: 24px 0; color: var(--fg-2); font-size: 15px; }
.service-card li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.service-card .text-link { margin-top: auto; justify-content: space-between; color: var(--brand); }
.featured-cases { background: #fff; border-top: 1px solid var(--gold-line); }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 38px; }
.featured-grid article { min-width: 0; padding-bottom: 24px; border-bottom: 1px solid var(--gold); }
.featured-grid a { display: block; }
.featured-image { aspect-ratio: 1.7; display: grid; place-items: center; background: #f6f7f9; border: 0; padding: 16px; }
.featured-image img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.featured-grid h3 { font-size: 24px; font-weight: 500; margin-top: 24px; }
.featured-grid p { margin: 12px 0; color: var(--muted); font-size: 16px; }
.featured-grid .text-link { color: var(--brand); }
.training-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; margin-top: 38px; }
.training-topics article { padding-top: 24px; border-top: 1px solid var(--line); }
.training-topics h3 { font-weight: 500; font-size: 22px; margin: 12px 0; }
.training-topics p { color: var(--muted); }
.training-format { background: #f7f8fa; }
.training-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 36px; }
.training-steps li { border-top: 1px solid #d5c4a9; padding-top: 24px; }
.training-steps strong { font-weight: 500; font-size: 20px; }
.training-steps p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.training-evidence .case { margin-top: 32px; }
.training-evidence .case-gallery__stage { height: 280px; }
.related-links { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 24px; }
.related-links a { padding-block: 12px; display: flex; gap: 24px; color: var(--brand); }
.detail-page .enterprise-platform { border-top: 0; background: #fff; }
.detail-page .faq__list details p { max-width: 760px; }
.outcome-section { background: #f7f8fa; }
.outcome-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; margin-top: 52px; }
.outcome-map { padding: 36px 40px; background: radial-gradient(ellipse at 50% 35%, #f7eae3, #fff 70%); border: 1px solid #e7e7e7; border-radius: 12px; text-align: center; }
.outcome-start { font-size: 22px; font-weight: 500; }
.outcome-line { width: 1px; height: 28px; margin: 0 auto; background: #c6a279; }
.outcome-core { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 300px; margin: auto; padding: 23px 16px; border: 1px solid #dfb7aa; border-radius: 9px; background: #fff; box-shadow: 0 16px 36px #8e292812; }
.outcome-core strong { font-size: 28px; font-weight: 500; }
.outcome-core img { width: 30px; height: auto; }
.outcome-process { font-size: 19px; }
.outcome-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.outcome-branches>div { position: relative; padding: 20px 8px 16px; border-top: 1px solid #d7c4b1; }
.outcome-branches>div::before { content: ''; position: absolute; top: -5px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: #c3a071; }
.outcome-branches strong { font-size: 19px; font-weight: 500; }
.outcome-branches span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
.outcome-finish { padding: 16px 0 0; border-top: 1px solid #d7c4b1; color: var(--brand); font-size: 22px; font-weight: 500; }
.outcome-content h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.5; font-weight: 500; margin-bottom: 22px; letter-spacing: -.02em; }
.outcome-fields>div { padding: 13px 0; display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; }
.outcome-fields dt { font-size: 17px; font-weight: 500; }
.outcome-fields dd { color: var(--muted); font-size: 16px; }
.accompaniment-page #capabilities .framework-list { gap: 0 64px; }
.accompaniment-page .cooperation-row { grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1fr); }
.accompaniment-page .cooperation-row .text-link { margin-top: 16px; }
.accompaniment-page .business-interaction { background: #f7f8fa; }
.accompaniment-page .interaction-flow { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.accompaniment-page .interaction-flow h3 { margin-top: 0; }
.accompaniment-page .interaction-boundary { font-size: 16px; max-width: 800px; }
.detail-page .section-heading h2 { text-wrap: balance; }
@media (max-width: 900px) {
  .service-cards { gap: 24px; }
  .service-card h3 { font-size: 22px; }
  .featured-grid { gap: 22px; }
  .outcome-layout { gap: 32px; }
  .outcome-map { padding: 28px 20px; }
  .outcome-fields>div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 680px) {
  .service-intro { padding: 42px 0; }
  .service-intro h1 { font-size: 30px; }
  .service-intro p { font-size: 16px; }
  .service-cards, .featured-grid, .training-topics, .training-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .service-card { padding-bottom: 18px; }
  .service-card__visual { height: 220px; margin-bottom: 22px; }
  .service-card>p { min-height: 0; }
  .service-card ul { padding: 14px 0; }
  .featured-grid { gap: 36px; }
  .training-topics h3 { font-size: 20px; }
  .training-topics p { font-size: 15px; }
  .training-evidence .case-gallery__stage { height: 220px; }
  .outcome-layout { grid-template-columns: 1fr; margin-top: 32px; gap: 34px; }
  .outcome-map { padding: 28px 20px; }
  .outcome-core strong { font-size: 25px; }
  .outcome-branches { gap: 16px; }
  .outcome-branches strong { font-size: 17px; }
  .outcome-branches span { font-size: 15px; }
  .outcome-fields>div { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--line); padding: 18px 0; }
  .outcome-fields dt, .outcome-fields dd { font-size: 16px; }
  .accompaniment-page .cooperation-row { grid-template-columns: 28px minmax(0, 1fr); }
}

/* 顶部产品导航：桌面悬停/点击展开，手机在主菜单内展开。 */
.nav-products { position: relative; display: flex; align-items: center; min-height: var(--bar); }
.nav-products__trigger { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 14px 0; background: transparent; font-size: 15px; white-space: nowrap; }
.nav-products.is-current .nav-products__trigger, .nav-products__trigger:hover, .nav-products__trigger[aria-expanded="true"] { color: var(--brand); }
.products-panel { position: absolute; top: 100%; left: 0; width: 176px; display: grid; grid-template-columns: 1fr; gap: 4px; padding: 8px; border: 1px solid var(--line-soft); border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 20px 40px #17233414; }
.products-panel a { display: block; padding: 12px 16px; border-radius: 6px; transition: background .2s; }
.products-panel a:hover, .products-panel a:focus-visible, .products-panel a[aria-current="page"] { background: #fcf4f1; }
.products-panel strong { display: block; font-size: 14px; font-weight: 400; }
.products-panel a[aria-current="page"] strong { color: var(--brand); }
@media (max-width: 1100px) {
  .nav-products { display: block; min-height: 0; border-bottom: 1px solid var(--line-soft); }
  .nav-products__trigger { width: 100%; justify-content: space-between; padding: 14px 0; }
  .products-panel { position: static; width: 100%; gap: 4px; padding: 0 0 12px; border: 0; border-radius: 0; box-shadow: none; }
  .products-panel a { padding: 12px 16px; background: #f7f8fa; }
}


/* 公司概览与案例页延续服务页的白底、红色重点和金色分隔线。 */
.home-page .service-overview { border-top: 1px solid var(--gold); }
.service-card__art img { object-fit: contain; }
.home-page .about { background: #fff; border-top: 1px solid var(--gold-line); }
.home-page .about::after, .cases-page .brand-flow::after { display: none; }
/* Refactoring UI §5.6: white contact surface needs its own foreground/action colors. */
.home-page #contact, .cases-page #contact { background: #fff; color: var(--fg); border-top: 1px solid var(--gold); }
.home-page #contact .section-intro, .cases-page #contact .section-intro { color: var(--muted); font-size: 16px; }
.home-page #contact .btn, .cases-page #contact .btn { background: var(--brand); color: #fff; }
.home-page #contact .btn:hover, .cases-page #contact .btn:hover { background: var(--red-acc); }
.home-page #contact::after { display: none; }
.detail-page .foot { background: #f8f9fa; border-top-color: #d6bf98; }
.products-panel { border-top: 1px solid var(--gold); }
.cases-page .service-intro { padding-block: 48px; border-bottom: 1px solid var(--gold); }
.case-intro__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.case-intro .shot img { aspect-ratio: 1.8; object-fit: cover; border: 0; border-radius: 3px; }
.case-intro figcaption { font-size: 12px; }
.cases-page .service-intro h1 { font-size: clamp(34px, 3.6vw, 54px); font-weight: 700; }
.cases-page .service-intro p { max-width: 780px; }
.cases-page .scenes { background: #fff; padding-top: 60px; }
.cases-page .scenes .section-heading h2 { font-size: clamp(28px, 2.6vw, 40px); }
.cases-page .matrix { margin-top: 32px; }
.cases-page .matrix__list { flex-wrap: wrap; gap: 12px; padding: 0 0 20px; border-bottom-color: var(--gold); }
.cases-page .dept { padding: 12px 18px; border: 1px solid #e0e3e7; border-radius: 3px; color: var(--fg); }
.cases-page .dept.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.cases-page .scenario-overview { margin: 28px 0 48px; }
.cases-page .scenario-overview>h3 { font-size: 25px; margin-bottom: 28px; }
.cases-page .scenario-summary { grid-template-columns: .8fr 1.2fr; gap: 48px; }
.cases-page .scenario-solution { background: #fafbfc; padding: 24px 28px; border-left: 2px solid var(--gold); }
.cases-page .scenario-problem { padding-top: 24px; }
.cases-page .case { grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 48px 0; margin-top: 0; border-top: 1px solid var(--gold-line); }
.cases-page .case__q { font-size: 28px; }
.cases-page .case__shots { padding: 24px; background: #f7f8fa; }
.cases-page .case__shots .shot { height: auto; min-height: 260px; }
.cases-page .case__shots img { max-height: 390px; }
.cases-page .case-gallery__stage { height: 340px; background: #f7f8fa; }
.cases-page .case-gallery__slide { padding: 20px; }
.cases-page .evidence { border-top-color: #d6bf98; padding-block: 16px; margin-top: 20px; }
.cases-page .case__dl { font-size: 16px; line-height: 1.9; }
.cases-page .note { margin-top: 20px; }
@media (max-width: 900px) {
  .cases-page .case { grid-template-columns: 1fr; gap: 28px; }
  .case-intro__grid { grid-template-columns: 1fr; gap: 28px; }
  .cases-page .scenario-summary { gap: 24px; }
}
@media (max-width: 680px) {
  .cases-page .service-intro { padding-block: 42px; }
  .cases-page .service-intro h1 { font-size: 32px; }
  .cases-page .scenes { padding-top: 40px; }
  .cases-page .matrix__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cases-page .dept { padding: 10px 14px; font-size: 14px; }
  .cases-page .scenario-summary { grid-template-columns: 1fr; gap: 20px; }
  .cases-page .scenario-overview>h3 { font-size: 22px; }
  .cases-page .scenario-problem { padding: 0; }
  .cases-page .case { padding-block: 32px; }
  .cases-page .case__q { font-size: 25px; }
  .cases-page .case__shots { padding: 12px; }
  .cases-page .case__shots .shot { min-height: 180px; }
  .cases-page .case-gallery__stage { height: 240px; }
  .cases-page .case-gallery__slide { padding: 12px; }
  .cases-page .scenario-solution { padding: 20px; }
}
