/* Scoped compact What We Do layout; original card content and colors remain. */
#services.services-bg {
  padding-top: 36px;
  padding-bottom: 32px;
}

#services > div {
  max-width: 1320px;
  margin: 0 auto;
}

#services .container-small-580px {
  max-width: 45%;
  padding: 0;
}

#services .container-small-580px h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

#services .container-small-580px .subhead {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 12px;
  margin-bottom: 22px;
}

#services .container-small-580px .subhead br {
  display: none;
}

.ncre-service-switcher {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 24px;
  align-items: stretch;
}

.ncre-service-rail {
  min-width: 0;
  min-height: 380px;
  position: relative;
}

.ncre-service-rail-items {
  position: absolute;
  inset: 0;
}

.ncre-service-toggle {
  appearance: none;
  background-color: transparent;
  border: 0;
  border-radius: 12px;
  box-sizing: border-box;
  color: var(--neutral-300);
  cursor: pointer;
  display: block;
  font: inherit;
  left: 0;
  margin: 0;
  padding: 12px 24px;
  position: absolute;
  text-align: center;
  top: 0;
  transform: translateY(0);
  width: 100%;
  transition: top .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1), padding .5s cubic-bezier(.4,0,.2,1), background-color .5s cubic-bezier(.4,0,.2,1);
}

.ncre-service-toggle:last-child {
  top: 100%;
  transform: translateY(-100%);
}

.ncre-service-toggle.is-active {
  background-color: rgba(120,135,150,.45);
  padding: 32px 30px;
  top: 50%;
  transform: translateY(-50%);
}

.ncre-service-toggle:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 4px;
}

.ncre-service-title {
  display: block;
  font-family: Calibre, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  opacity: .7;
  transition: font-size .5s cubic-bezier(.4,0,.2,1), opacity .5s cubic-bezier(.4,0,.2,1);
}

.ncre-service-toggle.is-active .ncre-service-title {
  font-size: 2.25rem;
  opacity: 1;
}

.ncre-service-toggle:hover .ncre-service-title {
  opacity: 1;
}

.ncre-service-details {
  color: var(--accent-green);
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  max-height: 28px;
  opacity: .8;
  overflow: hidden;
  padding-top: 7px;
  text-transform: uppercase;
  transition: max-height .5s cubic-bezier(.4,0,.2,1), padding-top .5s cubic-bezier(.4,0,.2,1), opacity .5s cubic-bezier(.4,0,.2,1);
}

.ncre-service-chevron {
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  display: inline-block;
  height: 4px;
  margin-left: 4px;
  vertical-align: 2px;
  width: 4px;
  transform: rotate(-135deg);
}

.ncre-service-toggle:last-child .ncre-service-chevron {
  transform: rotate(45deg);
}

.ncre-service-toggle.is-active .ncre-service-details {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
}

.ncre-service-toggle:hover .ncre-service-details {
  opacity: 1;
}

.ncre-service-toggle.is-active:hover .ncre-service-details {
  opacity: 0;
}

.ncre-service-description {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 auto;
  max-height: 0;
  max-width: 36rem;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .5s cubic-bezier(.4,0,.2,1), padding-top .5s cubic-bezier(.4,0,.2,1);
}

.ncre-service-toggle.is-active .ncre-service-description {
  max-height: 24rem;
  opacity: 1;
  padding-top: 14px;
}

.ncre-service-panels {
  display: grid;
  min-width: 0;
}

.ncre-service-panel {
  align-self: start;
  display: block;
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity .4s cubic-bezier(.4,0,.2,1), transform .4s cubic-bezier(.4,0,.2,1), visibility 0s .4s;
}

.ncre-service-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition: opacity .4s cubic-bezier(.4,0,.2,1), transform .4s cubic-bezier(.4,0,.2,1), visibility 0s;
}

/* Reduce old oversized header, illustration and body spacing, not content. */
#service-panel-alternatives .faq-container {
  margin-bottom: 0;
}

#service-panel-alternatives .faq-p {
  display: block;
  margin-bottom: 12px;
}

#service-panel-alternatives .faq-p:last-child {
  margin-bottom: 0;
}

#service-panel-alternatives .faq-accordion {
  min-height: 40px;
  height: auto;
  padding: 10px 40px 10px 24px;
  font-size: 14px;
  line-height: 1.3;
}

#service-panel-alternatives .faq-icon {
  width: 16px;
  margin-right: 16px;
}

#service-panel-alternatives .faq-body-cont {
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.45;
}

#service-panel-alternatives .card.style-5.value.vertical.transparent {
  padding-left: 10px;
  padding-right: 10px;
}

#service-panel-alternatives .icon-graphic._100px {
  height: 64px;
  width: auto;
  max-width: 100%;
  margin-bottom: 8px;
}

#service-panel-alternatives .card-value-content,
#service-panel-alternatives .step-content {
  font-size: 14px;
  line-height: 1.45;
}

#service-panel-alternatives .grid-3-columns.style-1 {
  gap: 12px;
}

#service-panel-alternatives .step-wrapper h1 {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
}

#service-panel-valuation .grid-1-column {
  gap: 12px;
}

#service-panel-valuation .card.small-padding {
  padding: 10px 0;
}

#service-panel-valuation .vertical-line.accent-green {
  height: 96px;
  min-height: 96px;
  margin-left: 12px;
  margin-right: 12px;
}

#service-panel-valuation .step-content {
  font-size: 16px;
  line-height: 1.4;
}

#service-panel-valuation .no-left-margin {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 18px;
}

@media (max-width: 899px) {
  #services.services-bg {
    padding-top: 28px;
    padding-bottom: 32px;
  }

  #services .container-small-580px {
    max-width: 580px;
  }

  .ncre-service-switcher {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .ncre-service-rail {
    min-height: 0;
  }

  .ncre-service-rail-items {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .ncre-service-toggle,
  .ncre-service-toggle:last-child,
  .ncre-service-toggle.is-active {
    padding: 16px 10px;
    position: static;
    top: auto;
    transform: none;
  }

  .ncre-service-title,
  .ncre-service-toggle.is-active .ncre-service-title {
    font-size: clamp(1.15rem, 3vw, 1.5rem);
  }

  .ncre-service-description,
  .ncre-service-details {
    display: none;
  }
}

@media (max-width: 767px) {
  #services .container-small-580px .subhead {
    font-size: 16px;
    margin-bottom: 20px;
  }

  #service-panel-valuation .vertical-line.accent-green.horizontal-mobile {
    height: 1px;
    min-height: 1px;
    margin: 10px auto;
  }

  #service-panel-valuation .card.small-padding {
    padding: 16px;
  }

  #service-panel-alternatives .faq-body-cont {
    padding: 16px;
  }

  #service-panel-alternatives .card.style-5.value.vertical.transparent {
    padding: 0;
  }

  #service-panel-alternatives .split-content-wrapper.vertical-mobile-down {
    gap: 20px;
  }

  #service-panel-alternatives .icon-graphic._100px {
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ncre-service-toggle,
  .ncre-service-title,
  .ncre-service-details,
  .ncre-service-description,
  .ncre-service-panel,
  .ncre-service-panel.is-active {
    transition: none;
  }
}
