/* pages.css —— 关于/代工/业务内页样式（换脸项目，断点 1080/860/560） */

/* ===== 内页横幅：有图时深色 scrim 白字，无图降级浅绿底深色字 ===== */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 420px; background: var(--jc-green-050); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-scrim { display: none; }
.page-hero:has(> img) .page-hero-scrim { display: block; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 24, 16, .62) 0%, rgba(8, 24, 16, .16) 52%, rgba(0, 0, 0, 0) 76%); }
.page-hero-content { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 48px; }
.page-hero-content p { margin-bottom: 6px; color: var(--brand-blue); font-size: 14px; font-weight: 800; }
.page-hero-content h1 { margin-bottom: 0; font-size: clamp(30px, 4vw, 44px); }
.page-hero-content span { display: block; max-width: 640px; margin-top: 10px; color: var(--muted); font-size: 16px; }
.page-hero:has(> img) .page-hero-content p { color: var(--jc-green-050); }
.page-hero:has(> img) .page-hero-content h1 { color: var(--white); text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.page-hero:has(> img) .page-hero-content span { color: rgba(255, 255, 255, .85); }

/* ===== simple-hero 浅绿标题条 ===== */
.simple-hero { background: var(--jc-green-050); }
.simple-hero .site-container { padding-top: 56px; padding-bottom: 56px; }
.simple-hero h1 { margin-bottom: 0; font-size: clamp(30px, 4vw, 44px); }
.simple-hero span { display: block; max-width: 680px; margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ===== 分区骨架 ===== */
.page-section { padding: 72px 0; }
.page-section.muted-band { background: var(--surface); }

/* ===== 双栏 ===== */
.two-column { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.two-column > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--jc-radius); box-shadow: 0 18px 40px rgba(19, 34, 56, .1); }
.two-column h2 { margin-bottom: 14px; }

/* ===== about 基地卡（pages.css 自管，不依赖 home.css） ===== */
.location-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--jc-gap); }
.location-cards article { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--jc-radius); }
.location-cards article > img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.location-cards article > div { padding: 18px 20px 22px; }
.location-cards p { margin-bottom: 0; color: var(--brand-blue); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.location-cards h3 { margin: 6px 0 0; font-size: 18px; }
.location-cards span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ===== capabilities：复用 .step-list（assets.css），序号取后台 number ===== */
.capability-list { max-width: 880px; margin-top: 32px; }
.capability-list li::before { content: attr(data-num); font-size: 22px; }

/* ===== cooperation 模式卡 ===== */
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--jc-gap); }
.mode-grid article { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--jc-radius); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.mode-grid article:hover { transform: translateY(-4px); border-color: var(--brand-blue); box-shadow: 0 16px 32px rgba(19, 34, 56, .08); }
.mode-grid span { color: var(--brand-blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.mode-grid h3 { margin: 10px 0 0; font-size: 18px; }
.mode-grid p { margin: 10px 0 0; font-size: 14px; }

/* ===== process 步骤条 ===== */
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--jc-gap); padding: 0; margin: 32px 0 0; list-style: none; }
.process-list li { padding-top: 14px; border-top: 3px solid var(--line); }
.process-list li span { display: block; color: var(--brand-blue); font-size: 26px; font-weight: 800; line-height: 1.2; }
.process-list li strong { display: block; margin-top: 8px; font-size: 15px; }
.process-six { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ===== 清单（绿勾） ===== */
.check-list { display: grid; gap: 12px; padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); font-size: 15px; }
.check-list li::before { content: "✓"; position: absolute; top: 2px; left: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--white); background: var(--brand-blue); font-size: 12px; font-weight: 800; }

/* ===== 二维码卡 ===== */
.qr-code-card { display: flex; align-items: center; gap: 32px; max-width: 720px; margin-inline: auto; padding: 28px 32px; background: var(--jc-green-050); border-radius: var(--jc-radius); }
.qr-code-card img { flex: 0 0 auto; width: 200px; height: auto; border-radius: 10px; }
.qr-code-card h2 { margin-bottom: 8px; font-size: 20px; }
.qr-code-card p { margin-bottom: 0; font-size: 14px; }
.qr-code-card .text-link { display: inline-block; margin-top: 10px; font-size: 14px; }

/* ===== 业务锚点导航 ===== */
.business-anchor-nav { position: sticky; top: var(--header-height); z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.business-anchor-nav ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0; margin: 0; list-style: none; }
.business-anchor-link { display: inline-flex; align-items: center; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 700; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.business-anchor-link:hover, .business-anchor-link:focus-visible { color: var(--white); background: var(--brand-blue); border-color: var(--brand-blue); }

/* ===== 业务大块：左右交替 ===== */
.business-directory { display: grid; gap: 72px; }
.business-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.business-content:nth-of-type(even) .business-content-media { order: 2; }
.business-content-media img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--jc-radius); }
.business-index-number { margin-bottom: 0; color: var(--brand-blue); font-size: 26px; font-weight: 800; letter-spacing: .08em; }
.business-content-copy h2 { margin: 8px 0 12px; font-size: 30px; }
.business-summary { margin-bottom: 0; color: var(--ink); font-size: 16px; }
.business-body { margin: 10px 0 0; font-size: 15px; }
.business-extension { margin-top: 24px; padding: 22px 24px; background: var(--jc-green-050); border-radius: var(--jc-radius); }
.business-extension h3 { margin: 8px 0 0; font-size: 17px; }
.business-extension .check-list { margin-top: 14px; }
.business-content-copy .text-link { display: inline-block; margin-top: 18px; font-size: 14px; }

/* ===== 相册组 ===== */
.business-gallery-group + .business-gallery-group { margin-top: 48px; }
.business-gallery-heading h3 { margin-bottom: 18px; font-size: 20px; }
.business-detail-galleries h2 { margin-bottom: 16px; }
.business-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.business-gallery-grid figure { margin: 0; overflow: hidden; border-radius: 10px; background: var(--surface); }
.business-gallery-grid img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.business-gallery-grid figure:hover img { transform: scale(1.03); }

/* ===== detail 合作面板 ===== */
.business-detail-copy .detail-panel { padding: 26px 28px; background: var(--jc-green-050); border-radius: var(--jc-radius); }
.detail-panel h3 { margin-bottom: 0; font-size: 18px; }
.detail-panel ul { display: grid; gap: 10px; padding: 0; margin: 14px 0 0; list-style: none; }
.detail-panel li { position: relative; padding-left: 30px; color: var(--ink); font-size: 14px; }
.detail-panel li::before { content: "✓"; position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--white); background: var(--brand-blue); font-size: 11px; font-weight: 800; }

/* ===== 断点 ===== */
@media (max-width: 1080px) {
    .two-column { grid-template-columns: 1fr; gap: 32px; }
    .location-cards, .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .business-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .business-content { gap: 40px; }
}
@media (max-width: 860px) {
    .business-content { grid-template-columns: 1fr; gap: 24px; }
    .business-content:nth-of-type(even) .business-content-media { order: 0; }
    .process-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .page-hero { min-height: 300px; }
    .page-hero-content { padding-top: 40px; padding-bottom: 36px; }
    .simple-hero .site-container { padding-top: 44px; padding-bottom: 44px; }
    .page-section { padding: 52px 0; }
    .location-cards, .mode-grid { grid-template-columns: 1fr; }
    .business-gallery-grid { grid-template-columns: 1fr; }
    .business-directory { gap: 48px; }
    .qr-code-card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 22px; }
    .qr-code-card img { width: 140px; }
}

/* ===== QA 补遗：业务画廊容器（business/index.html） ===== */
.business-sections { padding-top: 42px; }
.business-content-galleries { grid-column: 1 / -1; padding: 0 48px 44px; }
@media (max-width: 860px) { .business-content-galleries { padding: 0 0 32px; } }
@media (max-width: 560px) { .business-content-galleries { padding: 0 0 24px; } }
