.services-page main {
  background: #0d0f12;
}

.services-hero {
  position: relative;
  display: flex;
  min-height: 500px;
  overflow: hidden;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 11, 0.99) 0%,
      rgba(7, 8, 11, 0.95) 34%,
      rgba(7, 8, 11, 0.64) 58%,
      rgba(7, 8, 11, 0.24) 82%,
      rgba(7, 8, 11, 0.48) 100%
    ),
    url("../img/studio-workspace.webp") 72% 48% / cover no-repeat;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      #0d0f12 0%,
      rgba(13, 15, 18, 0.9) 5%,
      rgba(13, 15, 18, 0.16) 22%,
      transparent 37%,
      transparent 63%,
      rgba(13, 15, 18, 0.32) 77%,
      rgba(13, 15, 18, 0.92) 94%,
      #0d0f12 100%
    ),
    radial-gradient(
      circle at 78% 33%,
      rgba(140, 82, 255, 0.15),
      transparent 29%
    );
  pointer-events: none;
}

.services-hero::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -380px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(199, 168, 255, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.services-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
}

.services-hero-copy {
  max-width: 750px;
}

.services-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.45rem, 4.65vw, 5rem);
  letter-spacing: -0.058em;
  line-height: 0.97;
}

.services-hero h1 span {
  display: block;
  color: var(--violet);
}

.services-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 28px;
  color: #d1cec9;
  font-size: 1.05rem;
}

.services-hero-summary {
  padding: 24px 26px;
  border-left: 2px solid var(--purple);
  background: linear-gradient(
    90deg,
    rgba(10, 11, 15, 0.95),
    rgba(10, 11, 15, 0.72)
  );
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.services-hero-summary > span {
  display: block;
  margin-bottom: 17px;
  color: #c8c4d3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-hero-summary ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-hero-summary li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #efebe5;
  font-size: 0.88rem;
}

.services-hero-summary b {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.services-content {
  padding: 78px 0 90px;
  border-top: 0;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(140, 82, 255, 0.055),
      transparent 22%
    ),
    #0d0f12;
}

.services-content > .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.services-intro {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(45px, 8vw, 120px);
  align-items: end;
  margin-bottom: 34px;
}

.services-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.services-intro h2 {
  max-width: 580px;
  margin: 0;
  font-size: clamp(2.4rem, 3.8vw, 3.7rem);
}

.services-intro > p:last-child {
  max-width: 570px;
  margin: 0 0 5px;
  color: var(--muted);
}

.services-content .service-detail {
  position: relative;
  display: block;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid #343944;
  background:
    linear-gradient(145deg, rgba(140, 82, 255, 0.045), transparent 38%), #12151a;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.services-content .service-detail::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -115px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(199, 168, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.services-content .service-detail:hover {
  z-index: 1;
  border-color: rgba(199, 168, 255, 0.48);
  background-color: #15181e;
  transform: translateY(-3px);
}

.service-detail-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 54px;
}

.service-detail-title > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-detail-title > span::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.services-content .service-detail h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

.services-content .service-detail p {
  max-width: 520px;
  color: #c0bdb7;
  font-size: 0.92rem;
}

.services-content .service-detail ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.services-content .service-detail li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.services-content .service-detail li::before {
  content: "";
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

.services-content .service-detail .text-link {
  margin-top: 24px;
}

.services-promise {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
  margin-top: 32px;
  padding: 38px 40px;
  border: 1px solid rgba(199, 168, 255, 0.2);
  border-left: 2px solid var(--purple);
  background: linear-gradient(
    100deg,
    rgba(140, 82, 255, 0.09),
    rgba(17, 20, 25, 0.7)
  );
}

.services-promise h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.services-promise ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-promise li {
  position: relative;
  padding-left: 20px;
  color: #d4d0ca;
  font-size: 0.84rem;
}

.services-promise li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--violet);
  font-weight: 800;
}

@media (min-width: 901px) {
  .services-page main .container {
    width: min(calc(100% - 60px), 1340px);
  }
}

@media (max-width: 900px) {
  .services-hero {
    min-height: 590px;
    background-position: 66% center;
  }
  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 66px 0 76px;
  }
  .services-hero-copy {
    max-width: 700px;
  }
  .services-hero-summary {
    width: min(430px, 100%);
  }
  .services-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .services-content .service-detail {
    min-height: 350px;
    padding: 28px;
  }
  .services-promise {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .services-hero {
    min-height: 660px;
    background-position: 62% center;
  }
  .services-hero::before {
    background: linear-gradient(
      180deg,
      #0d0f12 0%,
      rgba(13, 15, 18, 0.84) 18%,
      rgba(13, 15, 18, 0.68) 58%,
      #0d0f12 100%
    );
  }
  .services-hero-grid {
    gap: 34px;
    padding: 54px 0 68px;
  }
  .services-hero h1 {
    font-size: clamp(2.8rem, 13vw, 3.8rem);
  }
  .services-hero-summary {
    padding: 20px;
  }
  .services-content {
    padding: 60px 0 68px;
  }
  .services-content > .container {
    grid-template-columns: 1fr;
  }
  .services-intro,
  .services-promise {
    grid-column: auto;
  }
  .services-content .service-detail {
    min-height: 0;
  }
  .service-detail-title {
    margin-bottom: 34px;
  }
  .services-promise {
    padding: 28px 22px;
  }
  .services-promise ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-content .service-detail {
    transition: none;
  }
}
