/* Shared platform layouts, numbered order flow and editorial detail list. */
/* A single responsive section can reuse the Goofish components on both layouts. */
.platform-service-page .page-hero {
  background: #fff;
}

.platform-service-page .hero-grid {
  align-items: center;
}

.platform-service-page .hero-visual {
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.platform-service-page .hero-visual::before {
  content: none;
}

.platform-service-page img.hero-art {
  width: 100%;
  max-width: 100%;
  mask-image: none;
  -webkit-mask-image: none;
}

.platform-service-page .platform-section {
  border: 0;
}

.platform-service-page .platform-bottom-cta {
  color: #fff;
  background: var(--ink);
}

.platform-bottom-cta .wrap {
  display: grid;
  gap: 24px;
}

.platform-service-page .platform-bottom-cta .section-head {
  margin: 0;
  text-align: left;
  justify-items: start;
}

.platform-service-page .platform-bottom-cta .section-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .72);
}

.platform-order-steps {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.platform-order-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 30px;
}

.platform-order-steps > li:last-child {
  padding-bottom: 0;
}

.platform-order-steps > li:not(:last-child)::after {
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 15px;
  border-left: 2px solid rgba(217, 77, 31, .2);
  content: "";
}

.platform-order-number {
  color: var(--orange);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.platform-order-copy h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.platform-order-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.platform-order-fee {
  margin-top: 30px;
  padding: 16px 18px;
  border-radius: 14px;
  color: var(--muted);
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
}

.platform-order-fee strong {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.platform-detail-list {
  display: grid;
  gap: 0 40px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: compatibility;
}

.platform-detail-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  counter-increment: compatibility;
}

.platform-detail-list li::before {
  content: counter(compatibility, decimal-leading-zero);
  color: var(--orange);
  font-size: 12px;
  line-height: 24px;
}

.platform-detail-list h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

/* Plain editorial lists keep the same separators without step numbering. */
.platform-detail-list--plain li {
  grid-template-columns: minmax(0, 1fr);
  counter-increment: none;
}

.platform-detail-list--plain li::before {
  content: none;
}

.platform-detail-list p,
.platform-detail-note {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.platform-detail-note {
  margin-top: 20px;
}


/* Parallel checks use icons; numbers remain exclusive to the order flow. */
.platform-check-section .section-head {
  justify-items: start;
  text-align: left;
  margin-bottom: 0;
}

.platform-check-section h2 {
  max-width: none;
}

.platform-checklist {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.platform-checklist > li {
  display: grid;
  grid-template-columns: 56px 140px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.platform-checklist h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.platform-checklist p {
  min-width: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* Original Bootstrap Icons, kept locally with their MIT license. */
.platform-check-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--blue);
  background: #eaf3ff;
}

.platform-check-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: var(--platform-check-symbol) center / contain no-repeat;
  mask: var(--platform-check-symbol) center / contain no-repeat;
}

.platform-check-icon--reception-4 {
  --platform-check-symbol: url("icons/bootstrap-reception-4.svg");
}

.platform-check-icon--globe2 {
  --platform-check-symbol: url("icons/bootstrap-globe2.svg");
}

.platform-check-icon--google {
  --platform-check-symbol: url("icons/bootstrap-google.svg");
}

.platform-check-icon--plug {
  --platform-check-symbol: url("icons/bootstrap-plug.svg");
}

.platform-check-icon--shield-check {
  --platform-check-symbol: url("icons/bootstrap-shield-check.svg");
}

.platform-check-icon--rulers {
  --platform-check-symbol: url("icons/bootstrap-rulers.svg");
}

.platform-check-icon--palette {
  --platform-check-symbol: url("icons/bootstrap-palette.svg");
}

.platform-check-icon--box-seam {
  --platform-check-symbol: url("icons/bootstrap-box-seam.svg");
}

.platform-check-icon--tag {
  --platform-check-symbol: url("icons/bootstrap-tag.svg");
}

.platform-check-icon--info {
  --platform-check-symbol: url("icons/bootstrap-info-circle-fill.svg");
  width: 28px;
  height: 28px;
  background: transparent;
}

.platform-check-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 20px 24px;
  border-radius: 16px;
  color: #2455a4;
  background: #eaf3ff;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .platform-checklist {
    gap: 10px;
    margin-top: 20px;
  }

  .platform-checklist > li {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 4px 12px;
    padding: 14px 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .platform-checklist .platform-check-icon {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
  }

  .platform-checklist .platform-check-icon::before {
    width: 24px;
    height: 24px;
  }

  .platform-checklist h3 {
    font-size: 16px;
  }

  .platform-checklist p {
    grid-column: 2;
    font-size: 15px;
    line-height: 1.45;
  }

  .platform-check-note {
    gap: 12px;
    padding: 16px 12px;
    font-size: 14px;
  }

}


@media (min-width: 641px) {
  .platform-check-section .wrap {
    max-width: 1060px;
  }

  .platform-service-page .hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  }

  .platform-service-page .goofish-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 28px;
  }

  .platform-service-page .goofish-category-note {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .platform-bottom-cta .wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .platform-order-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 44px;
  }

  .platform-order-steps > li {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 20px;
    padding-bottom: 0;
  }

  .platform-order-steps > li::after {
    display: none;
  }

  .platform-order-fee {
    text-align: center;
  }

  .platform-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .platform-service-page .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-service-page .goofish-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .platform-service-page .page-breadcrumb,
  .platform-bottom-cta .goofish-desktop-copy {
    display: none;
  }

  .platform-service-page .goofish-hero .crumb {
    display: flex;
    margin: 0 0 18px;
  }

  .platform-service-page .goofish-hero .hero-visual {
    width: 100%;
    margin-top: 16px;
  }

  .platform-service-page .goofish-hero img.hero-art {
    width: 100%;
    max-width: 100%;
  }

  .platform-service-page .platform-section .wrap {
    width: calc(100% - 40px);
  }

  .platform-service-page .platform-section .section-head {
    margin-bottom: 0;
    text-align: left;
    justify-items: start;
  }

  .platform-service-page .platform-section h2 {
    line-height: 1.12;
  }

  .platform-service-page .platform-section .section-note {
    margin: 12px 0 0;
    text-align: left;
  }

  .platform-bottom-cta .goofish-mobile-actions {
    margin-top: 0;
  }

  .platform-bottom-cta .goofish-cta {
    justify-content: center;
  }

  .platform-service-page .secondary-footer {
    margin-top: 0;
    padding-top: 32px;
  }
}
