.testing-intro {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.72fr);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(34px, 5vw, 86px);
  align-items: start;
}

.testing-intro-top { grid-column: 1; grid-row: 1; }
.testing-intro h2 { font-size: clamp(45px, 4.6vw, 72px); line-height: 1.06; }
.testing-intro > p { grid-column: 1; grid-row: 2; margin: 15px 0 0; font-size: clamp(18px, 1.65vw, 23px); }
.testing-pillars {
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.testing-pillars a {
  isolation: isolate;
  position: relative;
  min-height: 580px;
  padding: 22px;
  overflow: hidden;
  border-radius: 19px;
  color: #fff;
  background-color: #143d34;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 46px #09291d15;
  transition: transform .25s ease, filter .25s ease;
}

.testing-pillars a:hover { transform: translateY(-5px); filter: saturate(1.12); }
.testing-pillars a:focus-visible { outline: 4px solid #4d5ee5; outline-offset: 4px; }
.testing-pillars a:nth-child(1) { background-image: linear-gradient(180deg, #102a2408 25%, #071b19db 100%), url('/assets/vet-cat-consultation.jpg'); background-position: 61% center; }
.testing-pillars a:nth-child(2) { background-image: linear-gradient(180deg, #102a2408 25%, #071b19e8 100%), url('/assets/testing-lab-editorial-v1.jpg'); background-position: 55% center; }
.testing-pillars a:nth-child(3) { background-image: linear-gradient(180deg, #102a2408 25%, #071b19e8 100%), url('/assets/testing-genetics-editorial-v1.jpg'); background-position: 55% center; }
.testing-pillars a:nth-child(4) { background-image: linear-gradient(180deg, #102a2408 25%, #071b19e8 100%), url('/assets/dog-daily-walk.jpg'); background-position: 72% center; }
.testing-pillars a > span { color: #c1f6d1; font-size: 13px; font-weight: 800; }
.testing-pillars strong { margin: auto 0 7px; font-size: clamp(23px, 2.25vw, 35px); line-height: 1.05; font-weight: 600; color: #fff; letter-spacing: -.045em; }
.testing-pillars small { min-height: 3em; max-width: 190px; color: #e0f0e6; font-size: 13px; line-height: 1.35; }
.testing-pillars b { color: #b0ffcc; }

@media (max-width: 1050px) {
  .testing-intro { display: block; }
  .testing-intro h2 { max-width: 760px; }
  .testing-intro > p { max-width: 800px; }
  .testing-pillars { margin-top: 45px; }
  .testing-pillars a { min-height: 440px; }
}

@media (max-width: 760px) {
  .testing-pillars { grid-template-columns: repeat(2, 1fr); }
  .testing-pillars a { min-height: 350px; }
}

@media (max-width: 450px) {
  .testing-pillars { grid-template-columns: 1fr 1fr; gap: 9px; }
  .testing-pillars a { min-height: 310px; padding: 18px; }
  .testing-pillars strong { font-size: 25px; }
  .testing-pillars small { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .testing-pillars a { transition: none; }
}
