/* Software testing page: implementation of layout-design/services/sofware_testing.html. */
.testing-page {
  --testing-bg: #fafbfc;
  --testing-ink: #0b1220;
  --testing-muted: #5c6675;
  --testing-line: #e6eaf0;
  --testing-card: #ffffff;
  --testing-accent: #2563eb;
  --testing-navy: #0f2744;
  padding: 0;
  background: var(--testing-bg);
}

.testing-page .testing-container {
  width: min(1120px, calc(100% - 48px));
}

.testing-document {
  color: var(--testing-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

.testing-page :is(h1, h2, h3) {
  color: var(--testing-ink);
  font-family: inherit;
  font-weight: 700;
}

.testing-page p {
  color: var(--testing-muted);
}

.testing-kicker {
  display: block;
  color: var(--testing-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.65;
  text-transform: uppercase;
}

.testing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 40px;
  align-items: center;
  padding: 56px 0 28px;
}

.testing-page .testing-hero h1 {
  max-width: none;
  margin: 10px 0 16px;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.testing-page .testing-hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.testing-frame {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--testing-line);
  border-radius: 24px;
  background: var(--testing-card);
  box-shadow: 0 20px 40px rgba(15, 39, 68, .08);
}

.testing-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.testing-section {
  padding: 36px 0;
}

.testing-section:last-child {
  padding-bottom: 56px;
}

.testing-section__head {
  max-width: 680px;
  margin-bottom: 20px;
}

.testing-page .testing-section__head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.testing-page .testing-section__head p,
.testing-page .testing-card p {
  margin: 0;
}

.testing-grid {
  display: grid;
  gap: 12px;
}

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

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

.testing-card {
  min-width: 0;
  min-height: 140px;
  padding: 18px;
  border: 1px solid var(--testing-line);
  border-radius: 16px;
  background: var(--testing-card);
}

.testing-page .testing-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.testing-page .testing-card p {
  font-size: 16px;
  line-height: 1.65;
}

.testing-page .testing-card p + p {
  margin-top: 12px;
}

.testing-page .testing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.testing-page .testing-chips li {
  padding: 6px 10px;
  border: 1px solid var(--testing-line);
  border-radius: 999px;
  background: var(--testing-card);
  color: #334155;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .testing-hero,
  .testing-grid--three,
  .testing-grid--two {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .testing-page .testing-container {
    width: calc(100% - 32px);
  }

  .testing-hero {
    gap: 28px;
    padding-top: 40px;
  }

  .testing-section {
    padding: 30px 0;
  }

  .testing-card {
    min-height: 0;
  }

}
