/* SERVICES ARCHIVE
-------------------------------------------- */
.services-archive {
  background-color: rgb(241, 241, 241);
  min-height: 100vh;
  font-family: "Poppins", "Poppins", sans-serif;
  line-height: 1.5;
}

.services-archive__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 42px 100px;
}
@media (max-width: 992px) {
  .services-archive__container {
    padding: 60px 32px 80px;
  }
}
@media (max-width: 768px) {
  .services-archive__container {
    padding: 40px 24px 60px;
  }
}

.services-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 410px);
  -moz-column-gap: 30px;
  column-gap: 30px;
  row-gap: 36px;
  justify-content: space-between;
}
@media (max-width: 1200px) {
  .services-archive__grid {
    grid-template-columns: repeat(2, 410px);
    justify-content: space-around;
  }
}
@media (max-width: 640px) {
  .services-archive__grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }
}

.service-card {
  position: relative;
}

.service-card__link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 41/35;
  border-radius: 20px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
}

.service-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  filter: saturate(105%);
  transition: transform 0.6s cubic-bezier(0.44, 0, 0.56, 1);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
}

.service-card__title {
  position: absolute;
  left: 20px;
  bottom: 16px;
  margin: 0;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-card__action {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f1dfc2; /* beige/gold */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform 0.3s cubic-bezier(0.44, 0, 0.56, 1), box-shadow 0.3s cubic-bezier(0.44, 0, 0.56, 1);
}

.service-card__action .arrow-line,
.service-card__action .arrow-head {
  background-color: #000;
}

/* Inline arrow geometry for the CTA badge */
.service-card__action .projects__nav-arrow {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-card__action .projects__nav-arrow .arrow-line {
  position: absolute;
  top: calc(50% - 1px);
  left: calc(50% - 7.5px);
  width: 15px;
  height: 2px;
  border-radius: 3px;
}

.service-card__action .projects__nav-arrow .arrow-head {
  position: absolute;
  width: 9px;
  height: 2px;
  border-radius: 10px;
}

.service-card__action .projects__nav-arrow .arrow-head--top {
  right: 2px;
  top: 6px;
  transform: rotate(45deg);
}

.service-card__action .projects__nav-arrow .arrow-head--bottom {
  right: 2px;
  bottom: 6px;
  transform: rotate(-45deg);
}

.service-card__link:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__link:hover .service-card__action {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.services-archive__spacer {
  height: 12px;
}