/* Coded Hizmetlerimiz cards (homepage + /service) */
.wpr-services-area .section-bottom-content.service-cards-coded {
  position: relative;
  display: flex;
  align-items: stretch;
  border-width: 1px 0;
  border-style: solid;
  border-color: var(--color-border);
}

.service-cards-coded > .square-shape {
  flex: none;
}

.svc-card {
  position: relative;
  z-index: 1;
  flex: 1 1 25%;
  display: flex;
  flex-direction: column;
  min-height: 720px;
  padding: 28px 22px 22px;
  overflow: hidden;
  text-decoration: none;
  color: #e8edf2;
  background: #05070a;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
  box-sizing: border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.55s ease;
}

.svc-card--1::before {
  background-image: url("../images/service/bg-01.jpg");
  background-position: center 42%;
}

.svc-card--2::before {
  background-image: url("../images/service/bg-02.jpg");
  background-position: center 40%;
}

.svc-card--3::before {
  background-image: url("../images/service/bg-03.jpg");
  background-position: center 38%;
}

.svc-card--4::before {
  background-image: url("../images/service/bg-04.jpg");
  background-position: center 42%;
}

.svc-card,
.svc-card:visited,
.svc-card:hover {
  color: #e8edf2;
}

.svc-card:last-of-type {
  border-right: none;
}

.svc-card:hover,
.svc-card:focus-visible {
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.svc-card:hover::before,
.svc-card:focus-visible::before {
  transform: scale(1.06);
}

.svc-card:focus-visible {
  outline: 2px solid #98ff03;
  outline-offset: -2px;
}

.svc-card__fx,
.svc-card__road {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.svc-card__fx {
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.86) 0%, rgba(5, 7, 10, 0.38) 22%, rgba(5, 7, 10, 0.08) 46%, rgba(5, 7, 10, 0.45) 72%, rgba(5, 7, 10, 0.92) 100%);
}

.svc-card__road {
  display: none;
}

.svc-card__top,
.svc-card__mid,
.svc-card__bottom {
  position: relative;
  z-index: 2;
}

.svc-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 10px 5px 8px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #f4f7f2;
  background: rgba(8, 10, 12, 0.72);
  border: 1px solid rgba(152, 255, 3, 0.35);
  border-radius: 4px;
}

.svc-card__tag::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #98ff03;
  box-shadow: 0 0 8px rgba(152, 255, 3, 0.8);
  flex-shrink: 0;
}

.svc-card__desc {
  margin: 0;
  max-width: 100%;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(232, 237, 242, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.svc-card__mid {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 280px;
  margin: 8px 0 4px;
}

.svc-card__num {
  position: absolute;
  right: -6px;
  bottom: 8%;
  z-index: 1;
  font-family: var(--font-primary);
  font-size: clamp(110px, 10vw, 168px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.22);
  pointer-events: none;
  user-select: none;
}

.svc-card__mascot {
  display: none;
}

.svc-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.svc-card__list {
  list-style: none;
  margin: 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid #98ff03;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.svc-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #f8fafc;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.svc-card__list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #98ff03;
}

.svc-card__btn {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(62% 62% at 30% 18%, #ffffff 0%, #f3f4f6 100%);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 #fff,
    inset 0 -4px 0 #e5e7eb;
  color: #111;
  transition: transform 0.25s ease, background 0.25s ease;
}

.svc-card:hover .svc-card__btn {
  background: #98ff03;
  transform: translateX(3px);
}

.svc-card__btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1199px) {
  .svc-card {
    min-height: 640px;
    padding: 22px 16px 18px;
  }

  .svc-card__num {
    font-size: 120px;
  }
}

@media (max-width: 991px) {
  .wpr-services-area .section-bottom-content.service-cards-coded {
    flex-wrap: wrap;
  }

  .svc-card {
    flex-basis: 50%;
    min-height: 600px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .svc-card:nth-of-type(2) {
    border-right: none;
  }
}

@media (max-width: 767px) {
  .wpr-services-area .section-bottom-content.service-cards-coded {
    flex-direction: column;
  }

  .svc-card {
    flex-basis: 100%;
    min-height: 560px;
    border-right: none;
  }

  .svc-card:last-of-type {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-card::before,
  .svc-card__btn {
    transition: none;
  }

  .svc-card:hover,
  .svc-card:hover::before,
  .svc-card:hover .svc-card__btn {
    transform: none;
  }
}
