
/* Service landing page refinements */
:root {
  --brand-dark: #252526;
}

.service-page-header {
  min-height: 0 !important;
  background:
    linear-gradient(90deg, rgba(18, 18, 20, .9), rgba(37, 37, 38, .7) 50%, rgba(146, 18, 65, .3)),
    url("/images/inner-page-banner.png") center / cover no-repeat !important;
}

.service-page-header__inner {
  max-width: 880px;
  padding-top: 48px;
  padding-bottom: 42px;
}

.service-page-header__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 800;
}

.service-page-header h1 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
  font-weight: 850;
}

.service-page-header__lead {
  max-width: 800px;
  margin: 16px auto 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.75;
}

.service-page-header .breadcrumb {
  margin: 0;
}

.service-tabs-section {
  padding: 22px 0;
  background: rgba(238, 244, 251, .72);
}

.service-grid-section {
  padding: 68px 0 76px;
}

.service-grid-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.service-grid-heading > div > span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}

.service-grid-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.15;
}

.service-grid-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-card {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 8px !important;
}

.service-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1200 / 720;
  background: #f4edf0;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .48s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.035);
}

.service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.service-card__group {
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(146, 18, 65, .08);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.service-card__body > p {
  flex: 1;
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service-card__footer > span {
  color: rgba(37, 37, 38, .5);
  font-size: 12px;
}

.service-card__footer a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .service-page-header__inner {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .service-page-header__lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .service-grid-section {
    padding: 52px 0 60px;
  }

  .service-grid-heading {
    display: block;
  }

  .service-grid-heading > p {
    margin-top: 14px;
  }
}
