/**
 * Home page — Services spotlight (large section, one service at a time)
 */

#services.services-section--home {
  position: relative;
  padding-top: 56px;
  padding-bottom: 64px;
  background: #f4f1fb !important;
  overflow: hidden;
}

#services.services-section--home .services-section__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#services.services-section--home .services-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #ede7ff 0%, #f8f6ff 42%, #ffffff 100%);
}

#services.services-section--home .services-section__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#services.services-section--home .services-section__orb--1 {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(125, 83, 221, 0.22) 0%, transparent 70%);
}

#services.services-section--home .services-section__orb--2 {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(125, 83, 221, 0.16) 0%, transparent 70%);
}

#services.services-section--home .section-title,
#services.services-section--home > .container {
  position: relative;
  z-index: 1;
}

#services.services-section--home .services-section__eyebrow {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color, #7b4dff);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent-color, #7b4dff), transparent 70%);
  box-shadow: 0 4px 14px rgba(125, 83, 221, 0.12);
}

#services.services-section--home .section-title {
  margin-bottom: 1.75rem;
}

#services.services-section--home .section-title p:last-child {
  margin-bottom: 0;
}

#services.services-section--home .service-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

#services.services-section--home .service-spotlight__nav {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#services.services-section--home .service-spotlight__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.5rem;
  height: 100%;
  flex: 1;
  overflow: visible;
}

#services.services-section--home .service-spotlight__nav-item {
  min-width: 0;
  display: flex;
}

#services.services-section--home .service-spotlight__nav-btn {
  width: 100%;
  height: 100%;
  min-height: 2.85rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--accent-color, #7b4dff), transparent 86%);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  color: #4a4460;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

#services.services-section--home .service-spotlight__nav-btn:hover,
#services.services-section--home .service-spotlight__nav-btn:focus-visible {
  background: #fff;
  border-color: color-mix(in srgb, var(--accent-color, #7b4dff), transparent 55%);
  outline: none;
  transform: translateX(4px);
}

#services.services-section--home .service-spotlight__nav-btn.is-active {
  background: #fff;
  border-color: var(--accent-color, #7b4dff);
  box-shadow: 0 8px 22px rgba(125, 83, 221, 0.14);
  color: #1f1833;
}

#services.services-section--home .service-spotlight__nav-index {
  display: none;
}

#services.services-section--home .service-spotlight__nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: color-mix(in srgb, var(--accent-color, #7b4dff), white 88%);
  color: var(--accent-color, #7b4dff);
  flex-shrink: 0;
  font-size: 0.95rem;
}

#services.services-section--home .service-spotlight__nav-btn.is-active .service-spotlight__nav-icon {
  background: var(--accent-color, #7b4dff);
  color: #fff;
}

#services.services-section--home .service-spotlight__nav-label {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

#services.services-section--home .service-spotlight__stage {
  position: relative;
  display: grid;
  padding: 1.65rem 1.65rem 1.45rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent-color, #7b4dff), transparent 82%);
  box-shadow: 0 24px 60px rgba(20, 12, 50, 0.08);
  overflow: hidden;
}

#services.services-section--home .service-spotlight__panel {
  grid-area: 1 / 1;
  min-width: 0;
  animation: serviceSpotlightIn 0.45s ease;
}

#services.services-section--home .service-spotlight__panel .row {
  --bs-gutter-y: 1.5rem;
}

#services.services-section--home .service-spotlight__panel .row.align-items-center {
  align-items: center !important;
}

#services.services-section--home .service-spotlight__panel[hidden] {
  display: none !important;
}

@keyframes serviceSpotlightIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#services.services-section--home .service-spotlight__media {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--accent-color, #7b4dff), white 90%);
  box-shadow: 0 16px 36px rgba(125, 83, 221, 0.12);
}

#services.services-section--home .service-spotlight__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#services.services-section--home .service-spotlight__content {
  padding: 0;
}

#services.services-section--home .service-spotlight__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color, #7b4dff);
}

#services.services-section--home .service-spotlight__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1f1833;
}

#services.services-section--home .service-spotlight__desc {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5c5670;
  max-width: 34rem;
}

#services.services-section--home .service-spotlight__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.3rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--accent-color, #7b4dff);
  box-shadow: 0 12px 28px rgba(125, 83, 221, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, gap 0.25s ease;
}

#services.services-section--home .service-spotlight__cta:hover,
#services.services-section--home .service-spotlight__cta:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(125, 83, 221, 0.34);
  gap: 0.75rem;
  outline: none;
}

#services.services-section--home .service-spotlight__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: color-mix(in srgb, var(--accent-color, #7b4dff), transparent 88%);
}

#services.services-section--home .service-spotlight__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-color, #7b4dff), #9b6df0);
}

#services.services-section--home .services-section__cta {
  box-shadow: 0 8px 22px rgba(125, 83, 221, 0.28);
}

#services.services-section--home .service-spotlight + .text-center,
#services.services-section--home .container > .text-center.mt-5 {
  margin-top: 1.75rem !important;
  padding-top: 0.5rem !important;
}

@media (max-width: 991.98px) {
  #services.services-section--home .service-spotlight {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #services.services-section--home .service-spotlight__nav-list {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    grid-auto-rows: auto;
    height: auto;
    flex: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.15rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #services.services-section--home .service-spotlight__nav-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  #services.services-section--home .service-spotlight__nav-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: block;
  }

  #services.services-section--home .service-spotlight__nav-btn {
    min-width: 210px;
    min-height: 0;
    height: auto;
    padding: 0.65rem 0.85rem;
    transform: none !important;
    grid-template-columns: auto 1fr;
  }

  #services.services-section--home .service-spotlight__stage {
    padding: 1.35rem 1.25rem 1.25rem;
  }

  #services.services-section--home .service-spotlight__desc {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  #services.services-section--home {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  #services.services-section--home .service-spotlight__nav-btn {
    min-width: 180px;
    grid-template-columns: auto 1fr;
  }

  #services.services-section--home .service-spotlight__nav-index {
    display: none;
  }
}
