/* 加盟合作栏目样式 - 纯 HTML + CSS */
.page-banner--partner { background-image: url('../images/banner-service.jpg'); }
.page-banner--franchise { background-image: url('../images/banner-service.jpg'); }
.page-banner--cooperation { background-image: url('../images/banner-solution.jpg'); }
.page-banner--partner .page-banner-copy h1,
.page-banner--franchise .page-banner-copy h1,
.page-banner--cooperation .page-banner-copy h1 { font-size: clamp(40px, 4.6vw, 68px); }

/* 章节层次：加深编号、强化竖线、拉开标题与描述层级 */
.section-head--chapter .chapter-index { color: #b9d0f0; }
.section-head--chapter .chapter-index::after { left: 12px; top: 82px; width: 3px; height: 46px; background: linear-gradient(180deg, var(--blue), rgba(31,109,255,.05)); }
.section-head--chapter .section-kicker { display: inline-block; margin-bottom: 6px; font-size: 12px; }
.section-head--chapter h2 { margin-top: 4px; }
.section-head--chapter p { max-width: 720px; }

/* 数据概览条：给数字增加色彩层次 */
.subhero-metrics strong { color: var(--navy); }

/* 两种合作方式 */
.pt-mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pt-mode { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s; }
.pt-mode::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), #35c9f0); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.pt-mode:hover { transform: translateY(-6px); border-color: rgba(31,109,255,.35); box-shadow: 0 22px 50px rgba(11,26,48,.1); }
.pt-mode:hover::before { transform: scaleX(1); }
.pt-mode--featured { border-color: transparent; background: linear-gradient(155deg, #0d2240, #143c6e); color: #fff; }
.pt-mode--featured::before { transform: scaleX(1); }
.pt-mode--featured .pt-mode-num { background: rgba(159,192,255,.16); color: #9fc0ff; }
.pt-mode--featured .pt-mode-icon { background: rgba(47,118,255,.28); color: #9fc0ff; }
.pt-mode.pt-mode--featured ul { border-top-color: rgba(159,192,255,.28); }
.pt-mode.pt-mode--featured li { color: #e4edf9; font-weight: 500; }
.pt-mode.pt-mode--featured li::before { background: #35c9f0; }
.pt-mode--featured .btn-primary { color: #fff; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); box-shadow: none; }
.pt-mode--featured .btn-primary:hover { border-color: #fff; background: rgba(255,255,255,.18); }
.pt-mode-num { align-self: flex-start; padding: 6px 12px; border-radius: 100px; background: #eaf1ff; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
.pt-mode-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 22px 0 18px; border-radius: 16px; background: linear-gradient(135deg, #eaf1ff, #dceaff); color: var(--blue); }
.pt-mode-icon .icon { width: 32px; height: 32px; }
.pt-mode h3 { margin: 0 0 12px; color: var(--navy); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; }
.pt-mode p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.pt-mode ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.pt-mode li { display: flex; align-items: center; gap: 10px; color: #526078; font-size: 13px; }
.pt-mode li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.pt-mode .btn { align-self: flex-start; margin-top: 26px; }
/* featured 文字颜色需放在通用规则之后，避免被覆盖 */
.pt-mode.pt-mode--featured h3 { color: #fff; }
.pt-mode.pt-mode--featured p { color: #bcd0e8; }

/* 通用卡片网格 */
.pt-grid { display: grid; gap: 20px; }
.pt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pt-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pt-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pt-card .icon { width: 28px; height: 28px; color: var(--blue); }
.pt-card h3 { margin: 16px 0 10px; color: var(--navy); font-size: 18px; }
.pt-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.pt-card--dark { border-color: transparent; background: linear-gradient(160deg, #0d2240, #123d72); color: #fff; }
.pt-card--dark h3 { color: #fff; }
.pt-card--dark p { color: #b9cde7; }
.pt-card--dark .icon { color: #8fb6ff; }

/* 合作流程 */

/* 详情内容块 */
.pt-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pt-detail { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pt-detail--featured { border-color: #b9d2ff; background: linear-gradient(160deg, #f4f8ff, #eaf2ff); }
.pt-detail--featured::before { content: "推荐"; position: absolute; top: -1px; right: 20px; padding: 5px 12px; border-radius: 0 0 8px 8px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.pt-detail-num { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 1.4px; }
.pt-detail h3 { margin: 12px 0; color: var(--navy); font-size: 20px; line-height: 1.5; }
.pt-detail p { margin: 0 0 12px; color: #3d4b61; font-size: 14px; line-height: 1.95; }
.pt-detail ul { margin: 0; padding-left: 20px; color: #3d4b61; font-size: 14px; line-height: 2; }
.pt-detail li::marker { color: var(--blue); }

/* 合作条件 */
.pt-conditions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pt-condition { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pt-condition .icon { flex: none; width: 26px; height: 26px; color: var(--blue); }
.pt-condition h3 { margin: 0 0 6px; color: var(--navy); font-size: 16px; }
.pt-condition p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* FAQ 两列布局（不改变 style.css 的 FAQ padding 规则） */
.pt-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.pt-faq-grid .faq-item { height: 100%; }
.pt-faq-grid .faq-toggle { margin-left: auto; }

/* 相关合作 */
.btn-outline-primary { color: var(--blue); border: 1px solid rgba(31,109,255,.45); background: #fff; }
.btn-outline-primary:hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.btn-outline-primary .icon { width: 16px; height: 16px; }
.pt-related { padding: 70px 0; background: var(--bg); }
.pt-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pt-related-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s, box-shadow .3s; }
.pt-related-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(11,26,48,.09); }
.pt-related-card span { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; }
.pt-related-card h3 { margin: 12px 0 10px; color: var(--navy); font-size: 20px; }
.pt-related-card p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.pt-related-card .btn { align-self: flex-start; }

/* 行动号召：文案 + 留言表单结合布局 */
.pt-cta-form { padding: 84px 0; }
.pt-cta-form-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.pt-cta-copy h2 { font-size: clamp(26px, 2.5vw, 36px); }
.pt-cta-points { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.pt-cta-points li { display: flex; align-items: flex-start; gap: 10px; color: #d6e2f2; font-size: 15px; line-height: 1.6; }
.pt-cta-points .icon { flex: none; width: 17px; height: 17px; margin-top: 3px; color: #5fd0f5; }
.pt-cta-phone { display: inline-flex; align-items: center; gap: 9px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(159,192,255,.22); color: #cfe0f5; font-size: 15px; font-weight: 700; text-decoration: none; }
.pt-cta-phone:hover { color: #fff; }
.pt-cta-phone .icon { width: 17px; height: 17px; color: #8fb6ff; }
.pt-cta-card { padding: 34px 36px 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(3,12,28,.32); }
.pt-cta-card .form-row { gap: 16px; }
.pt-cta-card .form-field { margin-bottom: 16px; }
.pt-cta-card .form-label { color: var(--navy); font-weight: 700; }
.pt-cta-card .form-submit { margin-top: 4px; background: var(--blue); color: #fff; }
.pt-cta-card .form-submit:hover { background: #1558d6; }
.pt-cta-card .form-success { padding: 40px 0; }
.pt-cta-card .form-footnote .icon { width: 13px; height: 13px; color: #22c55e; }

@media (max-width: 1180px) {
  .pt-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .page-banner--partner, .page-banner--franchise, .page-banner--cooperation { background-position: 62% center; }
  .pt-mode-grid, .pt-conditions, .pt-related-grid, .pt-faq-grid { grid-template-columns: 1fr; }
  .pt-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pt-detail-grid { grid-template-columns: 1fr; }
  .pt-mode { min-height: 0; }
  .pt-cta-form-inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 640px) {
  .pt-grid--3, .pt-grid--4 { grid-template-columns: 1fr; }
  .pt-mode { padding: 26px; }
  .pt-card { padding: 22px; }
  .pt-cta-form { padding: 60px 0; }
  .pt-cta-card { padding: 26px 22px 24px; }
  .pt-cta-card .form-row { grid-template-columns: 1fr; gap: 0; }
  .pt-cta-points li { font-size: 14px; }
}
