/* Services — forge panels */

#services.services-new {
  position: relative;
  overflow: hidden;
  padding: var(--sec-y, clamp(48px, 5.5vw, 72px)) 0;
}

.services-new .srv-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.services-new .srv-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 55% at 85% 10%, rgba(93, 95, 239, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(6, 182, 212, 0.09), transparent 55%),
    radial-gradient(ellipse 35% 40% at 50% 50%, rgba(139, 92, 246, 0.05), transparent 60%);
}

.services-new .srv-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(238, 242, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 255, 0.55) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 15%, transparent 75%);
}

.services-new .w {
  position: relative;
  z-index: 1;
}

.services-new .sh {
  margin-bottom: clamp(40px, 5vw, 56px);
}

.services-new .st {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.services-new .sd {
  max-width: 520px;
  font-size: 16px;
  color: var(--t2);
  line-height: 1.75;
}

.services-new .sgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 24px);
}

.services-new .scard,
.services-new a.scard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  background: rgba(8, 7, 16, 0.72);
  border: 1px solid rgba(165, 180, 252, 0.14);
  border-radius: 4px 24px 4px 24px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition:
    border-color 0.35s,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s;
}

.services-new a.scard:hover {
  color: inherit;
}

.services-new a.scard:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.55);
  outline-offset: 4px;
}

.services-new .scard::before {
  content: none;
}

.services-new .scard:hover {
  border-color: rgba(165, 180, 252, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
}

.services-new .sc1:hover {
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), 0 0 60px rgba(93, 95, 239, 0.08);
}

.services-new .sc2:hover {
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), 0 0 60px rgba(6, 182, 212, 0.08);
}

.services-new .sc3:hover {
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), 0 0 60px rgba(139, 92, 246, 0.08);
}

/* Media — inset square so forge art is fully readable */

.services-new .scard-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: calc(100% - 24px);
  margin: 12px 12px 0;
  overflow: hidden;
  background: #06050c;
  border: 1px solid rgba(165, 180, 252, 0.12);
  border-radius: 4px 18px 4px 18px;
}

.services-new .scard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.01);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: saturate(1.04) contrast(1.03);
}

.services-new .scard:hover .scard-media img {
  transform: scale(1.05);
}

.services-new .scard-media-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(5, 5, 16, 0.72) 100%),
    linear-gradient(135deg, rgba(93, 95, 239, 0.1), transparent 50%);
}

.services-new .sc2 .scard-media-veil {
  background:
    linear-gradient(180deg, transparent 45%, rgba(5, 5, 16, 0.72) 100%),
    linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent 50%);
}

.services-new .sc3 .scard-media-veil {
  background:
    linear-gradient(180deg, transparent 45%, rgba(5, 5, 16, 0.72) 100%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.12), transparent 50%);
}

.services-new .snum {
  position: absolute;
  left: 14px;
  bottom: 10px;
  z-index: 2;
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  opacity: 1;
  color: transparent;
  background: var(--gt);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.services-new .scard-apple {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(5, 5, 16, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--t2);
  white-space: nowrap;
}

.services-new .scard-apple svg {
  flex-shrink: 0;
}

/* Body */

.services-new .scard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 26px;
}

.services-new .scard h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.services-new .scard-body > p {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.services-new .sfeat {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
  border-top: 1px solid rgba(165, 180, 252, 0.12);
}

.services-new .sfeat li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(165, 180, 252, 0.08);
  font-size: 13px;
  color: var(--t2);
  line-height: 1.45;
}

.services-new .sfeat li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #5d5fef, #818cf8);
  box-shadow: none;
  border: none;
}

.services-new .sc2 .sfeat li::before {
  background: linear-gradient(135deg, #06b6d4, #67e8f9);
  background-image: none;
}

.services-new .sc3 .sfeat li::before {
  background: linear-gradient(135deg, #8b5cf6, #c4b5fd);
  background-image: none;
}

.services-new .sprice-wrap {
  padding-top: 0;
  border-top: none;
  margin-bottom: 16px;
}

.services-new .sprice {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.services-new .sc1 .sprice {
  background: linear-gradient(90deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-new .sc2 .sprice {
  background: linear-gradient(90deg, #67e8f9, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-new .sc3 .sprice {
  background: linear-gradient(90deg, #c4b5fd, #ddd6fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-new .sdur {
  font-size: 12px;
  color: var(--t3);
  margin-top: 6px;
}

.services-new .svc-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(238, 242, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s, gap 0.25s;
}

.services-new .svc-more-link span {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-new .sc1 .svc-more-link:hover { color: #a5b4fc }
.services-new .sc2 .svc-more-link:hover { color: #67e8f9 }
.services-new .sc3 .svc-more-link:hover { color: #c4b5fd }

.services-new .svc-more-link:hover span {
  transform: translateX(4px);
}

.services-new .svc-more-link:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.55);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .services-new .sgrid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .services-new .sh {
    text-align: center;
  }

  .services-new .sd {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  .services-new .scard-media {
    width: calc(100% - 20px);
    margin: 10px 10px 0;
    max-width: 320px;
    align-self: center;
  }

  .services-new .snum {
    font-size: 28px;
    bottom: 10px;
    left: 14px;
  }

  .services-new .scard-apple {
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .services-new .scard {
    border-radius: 4px 20px 4px 20px;
  }

  .services-new .scard-body {
    padding: 20px 20px 24px;
  }

  .services-new .scard-media {
    width: calc(100% - 16px);
    margin: 8px 8px 0;
  }

  .services-new .snum {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-new .scard,
  .services-new .scard-media img,
  .services-new .svc-more-link span {
    transition: none !important;
  }

  .services-new .scard:hover {
    transform: none;
  }

  .services-new .scard:hover .scard-media img {
    transform: scale(1.03);
  }
}
