/*
 * @kanway-css-index
 * 文件: css/cooperation/partner-platform.css
 * 引用: cooperation-partner.html
 * 依赖: header.css, page-banner.css
 */

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

.prt-intro {
  margin: 40px 0 36px;
  max-width: 820px;
}

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

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

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

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

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

/* 亮点 */
.prt-highlights {
  margin-bottom: 48px;
}

.prt-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prt-card {
  padding: 24px 18px;
  background: #f8f9fb;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  text-align: center;
}

.prt-card .bx {
  font-size: 36px;
  color: #1d5198;
  line-height: 1;
}

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

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

/* 伙伴类型 */
.prt-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.prt-type {
  padding: 20px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  border-top: 4px solid #1d5198;
}

.prt-type .bx {
  font-size: 30px;
  color: #1d5198;
}

.prt-type h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.prt-type p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6c757d;
}

/* 权益 */
.prt-benefits {
  margin-bottom: 48px;
}

.prt-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prt-benefit {
  display: flex;
  gap: 14px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
}

.prt-benefit .bx {
  flex-shrink: 0;
  font-size: 26px;
  color: #1d5198;
  margin-top: 2px;
}

.prt-benefit h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.prt-benefit p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #6c757d;
}

/* 子栏目入口 */
.prt-hub {
  margin-bottom: 48px;
}

.prt-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.prt-hub__grid--quad {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .prt-hub__grid--quad {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .prt-hub__grid--quad {
    grid-template-columns: 1fr;
  }
}

.prt-hub__card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: linear-gradient(135deg, #f4f7fb 0%, #fff 100%);
  border: 1px solid #dce4ee;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.prt-hub__card:hover {
  border-color: #1d5198;
  box-shadow: 0 8px 24px rgba(29, 81, 152, 0.12);
  transform: translateY(-2px);
  color: inherit;
}

.prt-hub__card .bx {
  font-size: 32px;
  color: #1d5198;
  margin-bottom: 12px;
}

.prt-hub__card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.prt-hub__card p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.65;
  color: #6c757d;
}

.prt-hub__card__more {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1d5198;
}

/* 流程 */
.prt-process {
  margin-bottom: 48px;
}

.prt-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prt-step;
}

.prt-step {
  padding: 20px 12px 18px;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  text-align: center;
}

.prt-step::before {
  counter-increment: prt-step;
  content: counter(prt-step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 700;
  color: #1d5198;
  line-height: 1;
}

.prt-step h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.prt-step p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #6c757d;
}

/* 准入条件 */
.prt-require {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.prt-require__box {
  padding: 22px 20px;
  border-radius: 12px;
  border: 1px solid #e1e5ea;
}

.prt-require__box--yes {
  background: #f4f9f4;
  border-color: #c5e1c5;
}

.prt-require__box--yes h3 {
  color: #2d6a2d;
}

.prt-require__box h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
}

.prt-require__box ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #495057;
}

.prt-require__box li + li {
  margin-top: 8px;
}

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

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

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

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

.prt-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;
}

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

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

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

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

/* FAQ */
.prt-faq {
  margin-bottom: 40px;
}

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

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

.prt-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;
}

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

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

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

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

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

.prt-faq__body p {
  margin: 0;
}

.prt-faq__body a {
  color: #1d5198;
  font-weight: 600;
}

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

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

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

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

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

.prt-cta .prt-btn--primary:hover {
  background: #f0f4fa;
}

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

.prt-cta .prt-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991px) {
  .prt-highlights__grid,
  .prt-types {
    grid-template-columns: repeat(2, 1fr);
  }

  .prt-benefits__grid,
  .prt-hub__grid {
    grid-template-columns: 1fr;
  }

  .prt-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .prt-require {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .prt-highlights__grid,
  .prt-types,
  .prt-steps {
    grid-template-columns: 1fr;
  }

  .prt-contact-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

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