.page-production-inspection-testing {
  background: #fff;
  color: var(--text, #1f2937);
}

.pit-hero {
  padding: var(--page-hero-padding);
  color: var(--page-hero-color);
  background: var(--page-hero-background);
}

.pit-breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.pit-breadcrumb a {
  color: #b9eef0;
}

.pit-eyebrow,
.pit-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #168087;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pit-hero .pit-eyebrow {
  color: #8ee4e6;
}

.pit-hero h1 {
  max-width: 920px;
  margin: 0 0 20px;
  color: var(--page-hero-color);
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.pit-hero p {
  max-width: 800px;
  margin: 0;
  color: var(--page-hero-copy-color);
  font-size: var(--page-hero-copy-size);
  line-height: 1.72;
}

.pit-section {
  padding: 76px 0;
}

.pit-section.alt {
  background: #f4f7f9;
}

.pit-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.pit-heading h2,
.pit-copy h2 {
  margin: 0 0 16px;
  color: #10283f;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.pit-heading p,
.pit-copy p {
  color: #4b5f70;
  line-height: 1.78;
}

.pit-facts-section {
  padding-top: 38px;
  padding-bottom: 38px;
}

.pit-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pit-fact {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  border: 1px solid #cfe0e6;
  border-radius: 12px;
  color: #12354d;
  background: #f6fbfc;
  text-align: center;
  box-shadow: 0 8px 22px rgba(20, 42, 58, 0.05);
}

.pit-fact strong {
  font-size: 1.05rem;
  line-height: 1.45;
}

.pit-workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: pit-step;
}

.pit-step {
  position: relative;
  min-width: 0;
  padding: 58px 20px 22px;
  border: 1px solid #dce6eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 42, 58, 0.06);
  counter-increment: pit-step;
}

.pit-step::before {
  content: counter(pit-step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 20px;
  color: #168087;
  font-size: 1.05rem;
  font-weight: 900;
}

.pit-step h3 {
  margin: 0 0 8px;
  color: #10283f;
  font-size: 1rem;
  line-height: 1.4;
}

.pit-step p {
  margin: 0;
  color: #60717e;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pit-table-wrap {
  overflow: hidden;
  border: 1px solid #d7e2e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 42, 58, 0.06);
}

.pit-table {
  width: 100%;
  border-collapse: collapse;
}

.pit-table th,
.pit-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #e5ecef;
  text-align: left;
  vertical-align: top;
}

.pit-table th {
  color: #fff;
  background: #163a59;
  font-size: 0.9rem;
}

.pit-table tbody th {
  width: 34%;
  color: #17334b;
  background: #eef5f7;
}

.pit-table tr:last-child th,
.pit-table tr:last-child td {
  border-bottom: 0;
}

.pit-explanation,
.pit-ng-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 34px;
}

.pit-principles,
.pit-ng-flow {
  display: grid;
  gap: 14px;
}

.pit-principle,
.pit-ng-step {
  padding: 20px 22px;
  border-left: 4px solid #168087;
  border-radius: 0 10px 10px 0;
  background: #fff;
  box-shadow: 0 7px 22px rgba(20, 42, 58, 0.06);
}

.pit-principle strong,
.pit-ng-step strong {
  display: block;
  margin-bottom: 5px;
  color: #10283f;
}

.pit-principle p,
.pit-ng-step p {
  margin: 0;
  color: #5a6d7b;
  line-height: 1.65;
}

.pit-note {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid #b9dfe1;
  border-radius: 10px;
  color: #24485a;
  background: #eefafa;
  line-height: 1.7;
}

.pit-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.pit-ng-summary {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 32px;
  border-left: 4px solid #d69b19;
  border-radius: 0 12px 12px 0;
  background: #fff8e8;
}

.pit-ng-summary h2 {
  margin: 0 0 12px;
  color: #10283f;
}

.pit-ng-summary p {
  margin: 0;
  color: #5a4a28;
  line-height: 1.75;
}

.pit-figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d7e2e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 42, 58, 0.08);
}

.pit-figure picture,
.pit-figure img {
  display: block;
  width: 100%;
}

.pit-figure img {
  height: 430px;
  object-fit: contain;
  background: #eef2f4;
}

.pit-figure.pass img {
  object-position: center top;
}

.pit-figure figcaption {
  padding: 16px 18px 18px;
  color: #506472;
  font-size: 0.9rem;
  line-height: 1.62;
}

.pit-evidence-boundary {
  max-width: 880px;
  margin: 28px auto 0;
  padding: 22px 24px;
  border-radius: 10px;
  color: #5e4512;
  background: #fff5d9;
  line-height: 1.72;
}

.pit-request-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  max-width: 860px;
  margin: 24px auto 28px;
  padding: 0;
  list-style: none;
}

.pit-request-list li {
  position: relative;
  padding-left: 24px;
  color: #526574;
  line-height: 1.62;
}

.pit-request-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #168087;
  font-weight: 900;
}

.pit-back-link {
  margin-top: 22px;
  text-align: center;
}

.pit-back-link a {
  color: #0f7279;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .pit-hero {
    padding: var(--page-hero-padding-tablet);
  }

  .pit-hero h1 {
    font-size: var(--page-hero-title-size-tablet);
  }

  .pit-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pit-workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pit-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {
  .pit-section {
    padding: 58px 0;
  }

  .pit-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pit-explanation,
  .pit-ng-grid,
  .pit-visual-grid,
  .pit-request-list {
    grid-template-columns: 1fr;
  }

  .pit-figure img {
    height: auto;
    max-height: 580px;
  }
}

@media (max-width: 700px) {
  .pit-hero {
    padding: var(--page-hero-padding-mobile);
  }

  .pit-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .pit-table,
  .pit-table tbody,
  .pit-table tr,
  .pit-table th,
  .pit-table td {
    display: block;
    width: 100%;
  }

  .pit-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .pit-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #d7e2e8;
    border-radius: 10px;
    background: #fff;
  }

  .pit-table tbody th,
  .pit-table td {
    padding: 13px 16px;
    border: 0;
  }

  .pit-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #168087;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}

@media (max-width: 430px) {
  .pit-hero h1 {
    font-size: var(--page-hero-title-size-mobile);
  }

  .pit-hero p {
    font-size: 0.98rem;
  }

  .pit-workflow {
    grid-template-columns: 1fr;
  }

  .pit-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pit-fact {
    min-height: 96px;
    padding: 16px 12px;
  }

  .pit-fact strong {
    font-size: 0.92rem;
  }

  .pit-step {
    padding: 54px 18px 20px;
  }

  .pit-note,
  .pit-evidence-boundary {
    padding: 18px;
  }

  .pit-ng-summary {
    padding: 24px 20px;
  }
}
