/*
 * @kanway-css-index
 * 文件: css/cooperation/cooperation-pages.css
 * 引用: cooperation-policy-detail.html, cooperation-process-flow.html, cooperation-success-partners.html, cooperation-success-case.html
 * 依赖: header.css, page-banner.css, partner-platform.css（可选复用 prt-btn）
 */

.coop-page {
  padding: 0 0 72px;
  clear: both;
}

.coop-intro {
  margin: 40px 0 32px;
  max-width: 820px;
}

.coop-intro__lead {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.85;
  color: #495057;
}

.coop-intro__links {
  margin: 0;
  font-size: 14px;
}

.coop-intro__links a {
  font-weight: 600;
  color: #1d5198;
}

.coop-section-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  padding-left: 14px;
  border-left: 4px solid #1d5198;
}

.coop-section-desc {
  margin: -6px 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: #6c757d;
  max-width: 720px;
}

.coop-block {
  margin-bottom: 44px;
}

/* 等级表 */
.coop-table-wrap {
  overflow-x: auto;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #fff;
}

.coop-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 680px;
}

.coop-table th,
.coop-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e8ecef;
  vertical-align: top;
}

.coop-table thead th {
  background: #1d5198;
  color: #fff;
  font-weight: 600;
}

.coop-table tbody tr:last-child td {
  border-bottom: 0;
}

.coop-table tbody tr:nth-child(even) {
  background: #f8f9fb;
}

.coop-tier-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

.coop-tier-badge--gold {
  background: #fff3cd;
  color: #856404;
}

.coop-tier-badge--silver {
  background: #e9ecef;
  color: #495057;
}

.coop-tier-badge--reg {
  background: #e8f0fa;
  color: #1d5198;
}

/* 政策要点卡片 */
.coop-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.coop-policy-item {
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
}

.coop-policy-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.coop-policy-item p,
.coop-policy-item ul {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6c757d;
}

.coop-policy-item ul {
  padding-left: 18px;
}

.coop-policy-item li + li {
  margin-top: 6px;
}

.coop-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #6c757d;
  background: #fff8f0;
  border: 1px solid #f0dcc4;
  border-radius: 8px;
}

/* 流程时间线 */
.coop-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.coop-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #dce4ee;
}

.coop-timeline__item {
  position: relative;
  padding: 0 0 28px 48px;
}

.coop-timeline__item:last-child {
  padding-bottom: 0;
}

.coop-timeline__item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #1d5198;
  border: 3px solid #e8f0fa;
  border-radius: 50%;
  z-index: 1;
}

.coop-timeline__item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

.coop-timeline__item p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #6c757d;
}

.coop-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coop-timeline__tag {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1d5198;
  background: #e8f0fa;
  border-radius: 4px;
}

/* 材料清单 */
.coop-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coop-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed #e9ecef;
  font-size: 14px;
  line-height: 1.6;
  color: #495057;
}

.coop-checklist li:last-child {
  border-bottom: 0;
}

.coop-checklist .bx {
  flex-shrink: 0;
  font-size: 20px;
  color: #2f9e44;
  margin-top: 1px;
}

/* 案例页 */
.coop-case-intro {
  margin-bottom: 24px;
}

.coop-case-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.coop-case-filter {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.coop-case-filter.is-active {
  background: #1d5198;
  border-color: #1d5198;
  color: #fff;
}

.coop-case-filter:hover {
  border-color: #1d5198;
  color: #1d5198;
}

.coop-case-filter.is-active:hover {
  color: #fff;
}

.coop-case-section .case-card.is-filter-hidden {
  display: none;
}

/* 联系条 / FAQ / CTA — 与 partner-platform 对齐 */
.coop-contact-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #e8f0fa 0%, #f4f7fb 100%);
  border: 1px solid #c5d5eb;
  border-radius: 12px;
}

.coop-contact-bar__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #495057;
}

.coop-contact-bar__text strong {
  color: #1d5198;
}

.coop-contact-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coop-btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.coop-btn--primary {
  background: #1d5198;
  color: #fff;
}

.coop-btn--primary:hover {
  background: #153a6b;
  color: #fff;
}

.coop-btn--outline {
  border: 2px solid #1d5198;
  color: #1d5198;
  background: #fff;
}

.coop-btn--outline:hover {
  background: #1d5198;
  color: #fff;
}

.coop-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coop-faq__item {
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.coop-faq__item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.coop-faq__item summary::-webkit-details-marker {
  display: none;
}

.coop-faq__item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #1d5198;
}

.coop-faq__item[open] summary::after {
  content: '−';
}

.coop-faq__item summary:hover {
  background: #f8f9fb;
  color: #1d5198;
}

.coop-faq__body {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

.coop-faq__body p {
  margin: 0;
}

.coop-placeholder {
  margin-bottom: 44px;
  padding: 48px 32px 40px;
  text-align: center;
  background: #f8f9fb;
  border: 1px dashed #c5cdd6;
  border-radius: 12px;
}

.coop-placeholder__icon {
  margin-bottom: 16px;
  font-size: 48px;
  line-height: 1;
  color: #1d5198;
}

.coop-placeholder h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}

.coop-placeholder > p {
  margin: 0 auto 16px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
  color: #6c757d;
}

.coop-placeholder .coop-note {
  display: inline-block;
  margin: 0 auto 24px;
  max-width: 520px;
  text-align: left;
}

.coop-placeholder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.coop-cta {
  padding: 32px 24px;
  text-align: center;
  background: linear-gradient(135deg, #1d5198 0%, #2a6bb5 100%);
  border-radius: 12px;
  color: #fff;
}

.coop-cta h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.coop-cta p {
  margin: 0 0 18px;
  font-size: 15px;
  opacity: 0.92;
}

.coop-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.coop-cta .coop-btn--primary {
  background: #fff;
  color: #1d5198;
}

.coop-cta .coop-btn--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}

@media (max-width: 991px) {
  .coop-policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .coop-contact-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .coop-contact-bar__actions {
    justify-content: center;
  }
}
