.services-hero {
  padding: 48px 0 34px;
  background:
    radial-gradient(circle at -2% 4%, rgba(196, 0, 11, .07) 0 110px, transparent 112px),
    radial-gradient(circle at 96% 54%, transparent 0 92px, rgba(196, 0, 11, .045) 93px 94px, transparent 95px 122px, rgba(196, 0, 11, .035) 123px 124px, transparent 125px),
    #fff;
}

.services-kicker {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.services-title {
  max-width: 560px;
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 3.4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.services-title span { color: var(--brand); }

.services-lead {
  max-width: 560px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.services-hero-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.services-grid-section {
  padding: 42px 0 30px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.services-section-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}

.service-featured-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, .34fr) minmax(0, 1fr);
  min-height: 280px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(196, 0, 11, .24);
  border-radius: 10px;
  background: linear-gradient(105deg, rgba(196, 0, 11, .07), #fff 58%);
  box-shadow: var(--shadow);
}

.service-featured-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
  content: "";
}

.service-featured-card__intro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  padding: 34px;
  background: var(--brand);
  color: #fff;
}

.service-featured-card__intro .service-card-number {
  color: rgba(255, 255, 255, .72);
}

.service-featured-card__icon {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.service-featured-card__content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 42px clamp(30px, 5vw, 72px);
}

.service-featured-card__eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-featured-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 750;
}

.service-featured-card__content > p:not(.service-featured-card__eyebrow) {
  max-width: 760px;
  margin: 0 0 20px;
  color: #555d68;
  font-size: 14px;
  line-height: 1.7;
}

.service-featured-card a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(196, 0, 11, .35);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: gap .2s ease, border-color .2s ease;
}

.service-featured-card a:hover,
.service-featured-card a:focus-visible {
  gap: 14px;
  border-color: var(--brand);
}

.service-card-number {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.services-secondary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  grid-column: span 2;
  min-height: 250px;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

.service-card:nth-last-child(-n + 2) { grid-column: span 3; }

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-card-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: #666d78;
  font-size: 12px;
  line-height: 1.65;
}

.services-benefits {
  margin-top: 42px;
  padding: 38px clamp(24px, 4vw, 52px);
  border-radius: 10px;
  background: #f8f8f9;
}

.services-benefits__heading {
  display: grid;
  grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid #dedfe2;
}

.services-benefits__kicker {
  margin: 0;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.services-benefits__heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
}

.services-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 28px;
}

.services-benefit {
  padding: 0 24px;
  border-left: 1px solid #dedfe2;
}

.services-benefit:first-child {
  padding-left: 0;
  border-left: 0;
}

.services-benefit:last-child { padding-right: 0; }

.services-benefit__marker {
  display: block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.services-benefit h3 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 700;
}

.services-benefit p {
  margin: 0;
  color: #666d78;
  font-size: 11px;
  line-height: 1.55;
}

.services-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
  padding: 24px 44px;
}

.services-cta-icon {
  display: grid;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.services-cta-copy { flex: 1; }

.services-cta-copy h2 {
  max-width: 520px;
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.services-cta-copy p {
  max-width: 640px;
  margin: 0;
  color: #666d78;
  font-size: 12px;
  line-height: 1.6;
}

.services-cta-button {
  min-width: 224px;
  justify-content: space-between;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .services-hero { padding-top: 34px; }
  .services-hero-image { margin-top: 12px; }

  .services-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card,
  .service-card:nth-last-child(-n + 2) { grid-column: span 1; }
  .service-card:last-child { grid-column: 1 / -1; }

  .services-benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-benefit { padding: 22px; }
  .services-benefit:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .services-benefit:nth-child(even) { padding-right: 0; }
  .services-benefit:nth-child(-n + 2) { padding-top: 0; }
  .services-benefit:nth-child(n + 3) { border-top: 1px solid #dedfe2; }
  .services-benefit__marker { margin-bottom: 9px; }

  .services-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
  .services-cta-button { width: 100%; }
}

@media (max-width: 767.98px) {
  .services-title { font-size: 2.45rem; }
  .services-hero-image { height: 240px; }

  .service-featured-card { grid-template-columns: 1fr; }
  .service-featured-card__intro {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 24px;
  }
  .service-featured-card__icon {
    width: 74px;
    height: 74px;
  }
  .service-featured-card__icon svg {
    width: 40px;
    height: 40px;
  }
  .service-featured-card__content { padding: 28px 24px 32px; }

  .services-secondary-grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:last-child { grid-column: auto; }
  .service-card { min-height: 0; padding: 24px 20px; }

  .services-benefits { margin-top: 32px; padding: 30px 22px; }
  .services-benefits__heading { grid-template-columns: 1fr; gap: 10px; }
  .services-benefits__grid { grid-template-columns: 1fr; }
  .services-benefit,
  .services-benefit:first-child,
  .services-benefit:last-child,
  .services-benefit:nth-child(odd),
  .services-benefit:nth-child(even) {
    padding: 20px 0;
    border-top: 1px solid #dedfe2;
    border-left: 0;
  }
  .services-benefit:first-child {
    padding-top: 0;
    border-top: 0;
  }
  .services-benefit:last-child { padding-bottom: 0; }
}
