/* =====================================================
   SERVICES
===================================================== */

.sfw-services {
  background: #d51d28;
  padding: 70px 0;
}

.sfw-services-wrap {
  width: min(1180px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px 1fr 350px;
  gap: 32px;
  align-items: start;
}

.sfw-service-tabs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sfw-service-tab {
  border: 0;
  min-height: 58px;
  padding: 0 24px;
  text-align: left;
  background: #ffffff;
  color: #111;
  font-size: 17px;
  font-weight: 800;
  border-radius: 10px;
  transition: .25s ease;
}

.sfw-service-tab.active,
.sfw-service-tab:hover {
  background: #070707;
  color: #ffffff;
}

.sfw-service-image {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.sfw-service-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.sfw-service-card {
  background: #ffffff;
  color: #111;
  border-radius: 14px;
  padding: 34px 28px;
  min-height: 360px;
}

.sfw-service-card h3 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 500;
}

.sfw-service-card p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.sfw-service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #087515;
  color: #ffffff;
  text-decoration: none !important;
  padding: 16px 26px;
  border-radius: 8px;
  font-weight: 800;
  margin-top: 10px;
}

.sfw-service-btn:hover {
  background: #04fc3a;
  color: #000;
}

@media (max-width: 991px) {
  .sfw-services-wrap {
    grid-template-columns: 1fr;
  }

  .sfw-service-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .sfw-service-image img {
    height: 320px;
  }
}