/* Four compact service cards in one evenly spaced row. */
.agency.page-services .service-grid{display:block}
.agency.page-services .compact-service-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch;margin-bottom:24px}
.agency.page-services .compact-service-row .service-tile{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:180px minmax(72px,auto) 1fr auto;gap:12px;padding:12px;margin:0;min-width:0}
.agency.page-services .compact-service-row .service-tile:before{display:none}
.agency.page-services .compact-service-row .service-tile .service-photo{grid-column:1;grid-row:1;width:100%;height:180px;object-fit:cover;margin:0}
.agency.page-services .compact-service-row .service-tile>figure{grid-column:1;grid-row:1;float:none;display:flex;align-items:center;justify-content:center;width:100%;height:180px;margin:0}
.agency.page-services .compact-service-row .service-tile>figure img{width:100%;max-width:100%;height:100%!important;max-height:180px!important;object-fit:contain}
.agency.page-services .compact-service-row .service-tile:has(.service-photo)>figure{justify-self:end;align-self:end;width:40px;height:40px;padding:4px;background:#fff}
.agency.page-services .compact-service-row .service-tile:has(.service-photo)>figure img{max-height:32px!important}
.agency.page-services .compact-service-row .service-tile h2{grid-row:2;margin:0;font-size:20px;line-height:1.2;letter-spacing:-.3px}
.agency.page-services .compact-service-row .service-tile p{grid-row:3;margin:0;font-size:13px;line-height:1.6}
.agency.page-services .compact-service-row .service-tile>a{grid-row:4;align-self:end;justify-self:start;font-size:13px;line-height:1.6;padding:6px 0}
.agency.page-services .compact-service-row:focus-visible{outline:3px solid #246e76;outline-offset:5px}
.agency.page-services .certification-tile{margin-top:24px}
.agency.page-services .certification-tile>figure{width:min(100%,300px);margin:0}
.agency.page-services .certification-tile>figure img{max-width:100%;height:auto}
.agency.page-services .certification-tile>img{display:block;width:min(100%,360px);height:auto;margin-top:20px}
/* Compact assurance banner aligned to the service cards. */
.agency.page-services .assurance-band{grid-template-columns:220px minmax(0,1fr) auto;gap:26px;padding:24px;margin:32px auto 0;background:#e8efec;border:1px solid #d2ded9;align-items:center}
.agency.page-services .assurance-band .assurance-mark{display:block;width:220px;max-width:100%;height:auto;margin:0;padding:0;justify-self:start;object-fit:contain;background:#fff}
.agency.page-services .assurance-band .assurance-copy{min-width:0}
.agency.page-services .assurance-band .eyebrow{font-size:10px;letter-spacing:1.7px;margin:0 0 10px}
.agency.page-services .assurance-band h2{font-size:28px;line-height:1.2;letter-spacing:-.6px;margin:0 0 10px}
.agency.page-services .assurance-band .assurance-copy>p:not(.eyebrow){font-size:14px;line-height:1.65;max-width:none;margin:0}
.agency.page-services .assurance-band .assurance-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:48px;padding:14px 18px;font-size:13px;line-height:1.4;text-decoration:none;background:#163d41;color:#fff}
.agency.page-services .assurance-band .assurance-link:hover{background:#275b60}
.agency.page-services .original-content{padding-top:28px}
@media(max-width:1050px){.agency.page-services .assurance-band{grid-template-columns:210px minmax(0,1fr);gap:18px 26px}.agency.page-services .assurance-band .assurance-mark{grid-column:1;grid-row:1/3;width:210px}.agency.page-services .assurance-band .assurance-copy{grid-column:2}.agency.page-services .assurance-band .assurance-link{grid-column:2;justify-self:start}}
@media(max-width:640px){.agency.page-services .assurance-band{grid-template-columns:1fr;gap:20px;padding:22px;margin-top:24px}.agency.page-services .assurance-band .assurance-mark{grid-column:1;grid-row:auto;width:220px}.agency.page-services .assurance-band .assurance-copy,.agency.page-services .assurance-band .assurance-link{grid-column:1}.agency.page-services .assurance-band h2{font-size:26px}.agency.page-services .original-content{padding-top:24px}}


@media(max-width:760px){
  .agency.page-services .compact-service-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;overflow:visible;scroll-snap-type:none;padding-bottom:0;margin:0 0 24px}
  .agency.page-services .compact-service-row .service-tile{grid-template-rows:240px auto 1fr auto;padding:16px;gap:14px;scroll-snap-align:none}
  .agency.page-services .compact-service-row .service-tile .service-photo{height:240px;aspect-ratio:16/9;object-fit:cover}
  .agency.page-services .compact-service-row .service-tile>figure{height:240px}
  .agency.page-services .compact-service-row .service-tile>figure img{max-height:220px!important}
  .agency.page-services .compact-service-row .service-tile h2{font-size:21px;line-height:1.25;letter-spacing:-.3px}
  .agency.page-services .compact-service-row .service-tile p{font-size:15px;line-height:1.65}
  .agency.page-services .compact-service-row .service-tile>a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:15px}
  .agency.page-services .assurance-band{padding:22px;gap:18px;margin-top:24px}
  .agency.page-services .assurance-band h2{font-size:27px}
  .agency.page-services .assurance-band .assurance-copy>p:not(.eyebrow){font-size:15px}

}

@media(max-width:480px){
  .agency.page-services .compact-service-row{grid-template-columns:1fr}
  .agency.page-services .compact-service-row .service-tile{grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto auto auto;gap:14px 16px;padding:18px}
  .agency.page-services .compact-service-row .service-tile .service-photo{grid-column:1;grid-row:1;height:152px;width:96px;align-self:center}
  .agency.page-services .compact-service-row .service-tile>figure{grid-column:1;grid-row:1;width:96px;height:152px;align-self:center}
  .agency.page-services .compact-service-row .service-tile>figure img{max-height:152px!important}
  .agency.page-services .compact-service-row .service-tile h2{grid-column:2;grid-row:1;align-self:center;font-size:20px}
  .agency.page-services .compact-service-row .service-tile p{grid-column:1/-1;grid-row:2}
  .agency.page-services .compact-service-row .service-tile>a{grid-column:1/-1;grid-row:3}

}
/* Additional services follow the existing home-page service row. */
.agency.page-services .compact-service-row.additional-service-row{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;scroll-snap-type:none;padding-bottom:0}
.agency.page-services .additional-service-row .service-tile{grid-template-rows:180px auto 1fr auto}
@media(max-width:760px){.agency.page-services .additional-service-row .service-tile{grid-template-rows:240px auto 1fr auto}}
@media(max-width:600px){
 .agency.page-services .compact-service-row.additional-service-row{grid-template-columns:1fr}
 .agency.page-services .additional-service-row .service-tile{grid-template-rows:auto auto auto}
}

.agency.page-services .service-grid{margin-bottom:24px}

.agency.page-services .booking-hero {
  background: linear-gradient(90deg, rgba(5,22,28,.6), rgba(5,22,28,.2)), url('./editorial/pt-testing-hero.png') center / cover;
}

/* Match the Insights cards beneath the full-width audit banner. */
.agency.page-services .service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 16px; }
.agency.page-services .service-grid .compact-service-row { display:contents; }
.agency.page-services .service-grid .service-tile { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:216px minmax(96px,auto) 1fr auto; gap:12px; width:100%; padding:12px; margin:0; min-width:0; background:#fff; border:1px solid var(--line); }
.agency.page-services .service-grid .service-tile .service-photo { grid-column:1; grid-row:1; display:block; width:100%; height:216px; aspect-ratio:auto; object-fit:cover; border-radius:8px; margin:0; }
.agency.page-services .service-grid .service-tile > figure { grid-column:1; grid-row:1; width:100%; height:216px; margin:0; }
.agency.page-services .service-grid .service-tile > figure img { width:100%; height:100%!important; max-height:216px!important; object-fit:contain; }
.agency.page-services .service-grid .service-tile h2 { grid-column:1; grid-row:2; align-self:start; margin:0; font-size:20px; line-height:1.2; letter-spacing:-.3px; }
.agency.page-services .service-grid .service-tile p { grid-column:1; grid-row:3; margin:0; font-size:13px; line-height:1.6; }
.agency.page-services .service-grid .service-tile > a { grid-column:1; grid-row:4; align-self:end; justify-self:start; padding:6px 0; font-size:13px; line-height:1.6; font-weight:600; text-decoration:underline; text-decoration-color:#79b7bc; }
@media(max-width:900px) { .agency.page-services .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .agency.page-services .service-grid { grid-template-columns:1fr; gap:18px; }
 .agency.page-services .service-grid .service-tile { grid-template-rows:288px auto 1fr auto; padding:16px; gap:14px; }
 .agency.page-services .service-grid .service-tile .service-photo, .agency.page-services .service-grid .service-tile > figure { height:288px; width:100%; }
 .agency.page-services .service-grid .service-tile > figure img { max-height:288px!important; }
 .agency.page-services .service-grid .service-tile h2 { font-size:21px; line-height:1.25; }
 .agency.page-services .service-grid .service-tile p { font-size:15px; line-height:1.65; }
 .agency.page-services .service-grid .service-tile > a { display:inline-flex; align-items:center; min-height:44px; font-size:15px; }
}
