/* =========================
   Service Areas Showcase
   ========================= */

.serviceAreasShowcase{
  padding: 20px 50px 60px;
}

.serviceAreasShowcase__container{
  margin: 0 auto;
}

.serviceAreasShowcase__head{
  margin: 0 0 28px;
}

.serviceAreasShowcase__eyebrow{
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0, 70, 190, 0.08);
  color: var(--btn-primary);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.serviceAreasShowcase__title{
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.4px;
  color: var(--text);
  font-weight: 900;
}

.serviceAreasShowcase__text{
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(0,0,0,.78);
}

/* Grid */

.serviceAreasShowcase__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Card */

.serviceAreaCard{
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #f7f7f7;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.serviceAreaCard:hover{
  transform: translateY(-4px);
  border-color: rgba(0, 70, 190, 0.35);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.serviceAreaCard__imageWrap{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9edf3;
}

.serviceAreaCard__image{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.serviceAreaCard__body{
  padding: 18px 18px 20px;
}

.serviceAreaCard__title{
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #343434;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0,0,0,.25);
  transition: color .18s ease, text-decoration-color .18s ease;
}

.serviceAreaCard:hover .serviceAreaCard__title{
  color: var(--btn-primary);
  text-decoration-color: var(--btn-primary);
}

.serviceAreaCard__areas{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0,0,0,.76);
}

/* Tablet */

@media (max-width: 1024px){
  .serviceAreasShowcase{
    padding: 10px 24px 40px;
  }

  .serviceAreasShowcase__title{
    font-size: 30px;
  }

  .serviceAreasShowcase__text{
    font-size: 16px;
  }

  .serviceAreasShowcase__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .serviceAreaCard{
    border-radius: 24px;
  }

  .serviceAreaCard__body{
    padding: 16px 16px 18px;
  }

  .serviceAreaCard__title{
    font-size: 20px;
  }
}

/* Mobile */

@media (max-width: 740px){
  .serviceAreasShowcase{
    padding: 10px 20px 34px;
  }

  .serviceAreasShowcase__grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .serviceAreasShowcase__title{
    font-size: 24px;
  }

  .serviceAreasShowcase__text{
    font-size: 15px;
    line-height: 1.65;
  }

  .serviceAreaCard{
    border-radius: 22px;
  }

  .serviceAreaCard__imageWrap{
    aspect-ratio: 16 / 9;
  }

  .serviceAreaCard__title{
    font-size: 18px;
  }

  .serviceAreaCard__areas{
    font-size: 14px;
  }
}