.services-preview {
  padding: 30px 130px;
  background: #23ACCF;
  color: #ffffff;
}

.services-preview-inner {
  width: min(100%, 1680px);
  margin-inline: auto;
}

.services-heading {
  margin-bottom: clamp(2.5rem, 4.4vw, 4rem);
  text-align: center;
}

.services-heading p {
  margin: 0 0 1.35rem;
  max-width: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.services-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 2.75rem) clamp(1.5rem, 2.2vw, 2.25rem);
}

.service-card {
  min-width: 0;
}

.service-card.is-hidden {
  display: none;
}

.service-image {
  position: relative;
  aspect-ratio: 1.34 / 1;
  overflow: hidden;
  background: #201612;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.6rem 0 1.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card-body p {
  display: none;
}

.service-card-body a:not(.services-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 132px;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 11px;
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
}

.service-card-body a span:first-child {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
}

.service-card-body a span:last-child {
  font-size: 1.1rem;
}

.service-card-body a:hover,
.service-card-body a:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #000;
}

.services-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 4.2rem);
}

.services-no-results {
  display: none;
  margin: 2rem auto 0;
  max-width: 680px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.services-no-results.is-visible {
  display: block;
}

.services-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 54px;
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  color: #000;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-body {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-card-body a:not(.services-button) {
    width: max-content;
    min-height: 44px;
  }
}
@media (max-width: 800px){
.services-preview {
    padding: 30px 20px !important;
    background: #23ACCF;
    color: #ffffff;
}
}
