a.vc_btn3[href*="/contact/"] {
  background-color: #ff6600 !important;
  border-color: #ff6600 !important;
  color: #ffffff !important;
}

a.vc_btn3[href*="/contact/"]:hover,
a.vc_btn3[href*="/contact/"]:focus {
  background-color: #e65c00 !important;
  border-color: #e65c00 !important;
  color: #ffffff !important;
}

/* Expertise icons: 25% smaller while preserving their existing grid */
body.home .it-row > .it-col > .it-hover-fade img {
  display: block;
  width: 75% !important;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
}

/* Keep expertise grids denser on tablets */
@media (min-width: 768px) and (max-width: 1199px) {
  body.home .it-row > .it-col-lg-3 {
    width: 25% !important;
  }

  body.home .it-row > .it-col-lg-2 {
    width: 20% !important;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  body.home .it-row > .it-col {
    width: 33.3333% !important;
  }
}

/* Client logos: larger marks, tighter grid, balanced responsiveness */
body.home .client-logos {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.home .client-logos__entry img {
  width: auto !important;
  height: 112px !important;
  max-width: 88% !important;
  object-fit: contain;
}

@media (min-width: 768px) and (max-width: 991px) {
  body.home .client-logos {
    max-width: 720px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.home .client-logos {
    max-width: 480px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home .client-logos__entry img {
    height: 92px !important;
  }
}

@media (max-width: 420px) {
  body.home .client-logos__entry img {
    height: 82px !important;
  }
}

/* Align specialist-page CTAs with the nine-column content grid */
@media (min-width: 768px) {
  body.page-child.parent-pageid-352 .vc_row:has(a.vc_btn3[href*="/contact/"]) > .wpb_column.vc_col-sm-12,
  body.page-child.parent-pageid-354 .vc_row:has(a.vc_btn3[href*="/contact/"]) > .wpb_column.vc_col-sm-12,
  body.page-child.parent-pageid-1369 .vc_row:has(a.vc_btn3[href*="/contact/"]) > .wpb_column.vc_col-sm-12,
  body.page-child.parent-pageid-1367 .vc_row:has(a.vc_btn3[href*="/contact/"]) > .wpb_column.vc_col-sm-12 {
    width: 75% !important;
    margin-left: 25%;
  }
}