/* Services page ("Product Services for Startups and Brands"), mirrors the
   Figma "Careers"(4:2) frame which actually holds the services content.
   Desktop layout follows the same absolute-canvas convention as the other
   pages; the pinned service list uses normal flow + position:sticky so the
   left title can pin while the right column scrolls past it. */

/* ---------- Hero ---------- */
.services-hero {
  position: relative;
  height: 972px;
  background: #fff;
}

.services-hero__banner {
  position: absolute;
  left: 0;
  top: 70px;
  width: 1440px;
  height: 750px;
  background: var(--c-services-hero-bg);
  padding: 49px 127px 89px;
  overflow: hidden;
}

.services-hero__inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.services-hero__inner .ts-services-hero-heading {
  display: block;
}

/* ---------- Intro + badges ---------- */
.services-intro {
  width: 1248px;
  margin: 97px auto 0;
  display: grid;
  grid-template-columns: 676px 1fr;
  column-gap: 64px;
}

.services-intro__left .ts-services-heading {
  display: block;
}

.services-intro__body {
  margin-top: 48px;
}

.services-intro__badges {
  display: flex;
  flex-direction: column;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge-row + .badge-row {
  margin-top: 24px;
}

.badge-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 9999px;
  padding: 12px 28px 12px 12px;
  transform: none;
}
.badge-pill--full {
  width: 100%;
}
.badge-pill--blue {
  background: var(--c-services-badge-blue);
}
.badge-pill--dark {
  background: var(--c-services-badge-dark);
}
.badge-pill--light {
  background: var(--c-services-badge-light);
}
.badge-pill--periwinkle {
  background: var(--c-services-badge-periwinkle);
}
.badge-pill--pink {
  background: var(--c-services-badge-pink);
}

.badge-pill__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-services-badge-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-pill__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.badge-pill .ts-services-badge.on-dark {
  color: #fff;
}
.badge-pill .ts-services-badge.on-light {
  color: var(--c-services-list-item);
}

/* ---------- Pinned service rows ---------- */
.services-list {
  width: 1248px;
  margin: 90px auto 0;
  scroll-margin-top: 100px;
}

.service-row {
  display: grid;
  grid-template-columns: 517px 1fr;
  column-gap: 111px;
  border-top: 2px solid var(--c-services-divider);
  padding-top: 64px;
  scroll-margin-top: 100px;
}
.service-row + .service-row {
  margin-top: 64px;
}

.service-row__title-wrap {
  position: sticky;
  top: 140px;
  align-self: start;
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: opacity, transform;
}

.service-row__title {
  display: inline-block;
  background-image: var(--g-services-row-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-row__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-row__image {
  width: 100%;
  aspect-ratio: 619 / 297;
  border-radius: 22px;
  object-fit: cover;
}

.service-row__list {
  display: flex;
  flex-direction: column;
}

.service-row__list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
}

.service-row__list-item .tick {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
}

/* ---------- Compact (<1024px) ---------- */
.compact-services-hero {
  background: var(--c-services-hero-bg);
  padding: 40px var(--pad) 48px;
}
.compact-services-hero .ts-services-hero-heading {
  font-size: 44px;
  display: block;
}

.compact-services-intro {
  padding-top: 48px;
}
.compact-services-intro .ts-services-heading {
  font-size: 40px;
  display: block;
}
.compact-services-intro .services-intro__body {
  margin-top: 24px;
}

.compact-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.compact-badges .badge-pill {
  width: 100%;
}

.compact-services-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 16px;
  padding-bottom: 16px;
  scroll-margin-top: 80px;
}
.compact-service-row {
  border-top: 2px solid var(--c-services-divider);
  padding-top: 40px;
  scroll-margin-top: 80px;
}
.compact-service-row .ts-services-row-title {
  font-size: 44px;
  letter-spacing: -0.9px;
  display: block;
}
.compact-service-row .service-row__content {
  margin-top: 24px;
  gap: 24px;
}
.compact-service-row .ts-services-eyebrow {
  display: block;
}
.compact-service-row .ts-services-body {
  white-space: normal;
}

/* ---------- CTA Section ("Ready To Build The Right Digital Product?") ---------- */
.services-cta {
  width: 100%;
  max-width: 1248px;
  margin: 120px auto 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services-cta__title {
  font-family: 'Manrope', 'InstrumentSans', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.15;
  color: #3d3d48;
  letter-spacing: -1.2px;
  margin: 0;
}

.services-cta__title-accent {
  display: inline-block;
  font-weight: 700;
}

.services-cta__subtitle {
  font-family: 'Manrope', 'InstrumentSans', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  color: #b5b5c8;
  margin: 28px 0 44px;
  max-width: 780px;
}

.services-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 253px;
  height: 72px;
  background: var(--c-black, #000);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.services-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.services-cta__btn .ts-button-label {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

@media (max-width: 1023px) {
  .services-cta {
    margin: 64px auto 80px;
    padding: 0 20px;
  }
  .services-cta__title {
    font-size: 36px;
    letter-spacing: -0.6px;
  }
  .services-cta__subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin: 20px 0 32px;
  }
  .services-cta__btn {
    width: 210px;
    height: 60px;
    border-radius: 14px;
  }
  .services-cta__btn .ts-button-label {
    font-size: 18px;
  }
}
