.services-page {
  --services-bg: #f7f5fb;
  --services-panel: rgba(255, 255, 255, .88);
  --services-line: rgba(84, 54, 140, .14);
  --services-soft: rgba(16, 16, 20, .72);
  --services-cyan: #82cce8;
  --services-pink: #ff28d7;
  background: var(--line-field-pattern), var(--services-bg);
  overflow-x: hidden;
}

.services-page .seo-kicker {
  letter-spacing: 0;
}

.services-page .seo-section {
  padding-block: 88px;
}

.services-page .seo-section h2 {
  font-size: 3rem;
}

.services-page .services-hero .seo-hero__inner {
  max-width: 980px;
}

.services-page .services-hero h1 {
  line-height: 1.08;
  max-width: min(100%, 15.5ch);
  text-wrap: balance;
}

.services-page .services-hero .seo-hero__inner > p:not(.seo-kicker) {
  max-width: min(100%, var(--seo-hero-copy-width, 820px));
  text-wrap: pretty;
}

.services-page .services-hero .seo-actions {
  max-width: min(100%, var(--seo-hero-copy-width, 820px));
}

.services-intro {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(247, 245, 251, .95)),
    var(--line-field-pattern);
}

.services-intro__grid {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr);
}

.services-intro__copy {
  display: grid;
  gap: 16px;
}

.services-intro__copy p {
  max-width: 860px;
}

.services-snapshot {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-snapshot li {
  background: linear-gradient(135deg, rgba(84, 54, 140, .1), rgba(130, 204, 232, .12));
  border: 1px solid var(--services-line);
  border-radius: 8px;
  min-height: 128px;
  padding: 20px;
}

.services-snapshot strong {
  color: var(--purple-deep);
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
}

.services-snapshot span {
  color: var(--services-soft);
  display: block;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 10px;
}

.services-map {
  background:
    linear-gradient(180deg, #fff 0%, #f6f3fb 100%),
    var(--line-field-pattern);
}

.services-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .86)),
    var(--line-field-pattern);
  border: 1px solid var(--services-line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(36, 20, 61, .1);
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.services-card:before {
  background: linear-gradient(135deg, rgba(84, 54, 140, .14), rgba(130, 204, 232, .16), rgba(255, 40, 215, .08));
  content: "";
  height: 92px;
  left: 0;
  opacity: .88;
  position: absolute;
  right: 0;
  top: 0;
}

.services-card__index {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(84, 54, 140, .16);
  border-radius: 999px;
  color: var(--purple);
  display: inline-flex;
  font-size: .8rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 42px;
}

.services-card__meta {
  color: var(--purple);
  display: block;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 4px;
  position: relative;
  text-transform: uppercase;
}

.services-card h3 {
  color: var(--purple-deep);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
  position: relative;
}

.services-card p {
  color: var(--services-soft);
  font-size: .98rem;
  font-weight: 650;
  line-height: 1.58;
  margin: 0;
  position: relative;
}

.services-card ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.services-card li {
  color: rgba(16, 16, 20, .78);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.35;
  padding-left: 18px;
  position: relative;
}

.services-card li:before {
  background: var(--services-cyan);
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: .45em;
  width: 7px;
}

.services-card__link {
  color: var(--purple);
  display: inline-flex;
  font-size: .96rem;
  font-weight: 900;
  gap: 8px;
  line-height: 1.2;
  margin-top: auto;
  position: relative;
}

.services-card__link:after {
  content: "->";
  transition: transform .2s ease;
}

.services-card:focus-visible {
  outline: 3px solid rgba(130, 204, 232, .75);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .services-card:hover {
    border-color: rgba(84, 54, 140, .34);
    box-shadow: 0 28px 64px rgba(36, 20, 61, .16);
    transform: translateY(-4px);
  }

  .services-card:hover .services-card__link:after {
    transform: translateX(4px);
  }
}

.services-route {
  background:
    linear-gradient(118deg, #211138 0%, #392061 46%, #56388d 100%);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.services-route:before {
  background: var(--line-field-pattern);
  content: "";
  inset: 0;
  opacity: .13;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.services-route__inner {
  display: grid;
  gap: 44px;
  margin: 0 auto;
  max-width: var(--header-max-width);
}

.services-route__intro {
  max-width: 860px;
}

.services-route .seo-kicker,
.services-route h2,
.services-route p {
  color: #fff;
}

.services-route-lab {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(13, 8, 28, .28);
  display: grid;
  grid-template-columns: minmax(250px, .44fr) minmax(0, 1fr);
  min-height: 500px;
  overflow: hidden;
}

.services-route-lab__tabs {
  border-right: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  grid-template-rows: repeat(6, 1fr);
}

.services-route-lab__tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  gap: 6px;
  justify-items: start;
  line-height: 1.15;
  min-height: 78px;
  padding: 20px;
  text-align: left;
  transition: background .18s ease, color .18s ease;
}

.services-route-lab__tab:last-child {
  border-bottom: 0;
}

.services-route-lab__tab span {
  color: rgba(255, 255, 255, .62);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.35;
}

.services-route-lab__tab[aria-selected="true"] {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.services-route-lab__tab:focus-visible {
  outline: 3px solid rgba(130, 204, 232, .8);
  outline-offset: -3px;
}

.services-route-lab__panel {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(170px, .32fr);
  padding: 34px;
}

.services-route-lab__copy {
  display: grid;
  gap: 16px;
}

.services-route-lab__label {
  color: rgba(255, 255, 255, .74);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.services-route-lab__panel h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  max-width: 760px;
  text-wrap: balance;
}

.services-route-lab__panel p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.62;
  margin: 0;
  max-width: 760px;
}

.services-route-lab__outcomes {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-route-lab__outcomes li {
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  padding-left: 22px;
  position: relative;
}

.services-route-lab__outcomes li:before {
  background: var(--services-cyan);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: .48em;
  width: 8px;
}

.services-route-lab__button {
  justify-self: start;
  margin-top: 4px;
}

.services-route-lab__signal {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .18);
  display: grid;
  justify-items: center;
  min-height: 188px;
  padding: 24px;
}

.services-route-lab__signal strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.services-route-lab__signal span {
  color: rgba(255, 255, 255, .74);
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.services-system {
  background: linear-gradient(180deg, #f6f3fb, #fff);
}

.services-system__inner {
  display: grid;
  gap: 50px;
  margin: 0 auto;
  max-width: var(--header-max-width);
}

.services-system__intro {
  max-width: 860px;
}

.services-flow {
  counter-reset: flow;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-flow li {
  background: #fff;
  border: 1px solid var(--services-line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(36, 20, 61, .08);
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 22px;
  position: relative;
}

.services-flow li:after {
  background: linear-gradient(90deg, var(--purple), var(--services-cyan));
  content: "";
  height: 2px;
  left: 22px;
  position: absolute;
  right: -14px;
  top: 44px;
  z-index: 0;
}

.services-flow li:last-child:after {
  display: none;
}

.services-flow span {
  align-items: center;
  background: var(--purple);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 44px;
  z-index: 1;
}

.services-flow h3 {
  color: var(--purple-deep);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.14;
  margin: 0;
}

.services-flow p {
  color: var(--services-soft);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.55;
  margin: 0;
}

.services-local {
  background:
    linear-gradient(135deg, #fff, #f6f3fb);
}

.services-local__grid {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .64fr);
}

.services-local__copy {
  display: grid;
  gap: 16px;
}

.services-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-keyword-list li {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--services-line);
  border-radius: 999px;
  color: var(--purple-deep);
  font-size: .94rem;
  font-weight: 900;
  line-height: 1;
  padding: 13px 15px;
}

.services-faq {
  background: #fff;
}

.services-faq-list {
  display: grid;
  gap: 12px;
}

.services-faq-list details {
  background: linear-gradient(180deg, #fff, #fbf9ff);
  border: 1px solid var(--services-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(36, 20, 61, .08);
  overflow: hidden;
}

.services-faq-list summary {
  color: var(--purple-deep);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
  list-style: none;
  padding: 20px 56px 20px 22px;
  position: relative;
}

.services-faq-list summary::-webkit-details-marker {
  display: none;
}

.services-faq-list summary:after {
  align-items: center;
  background: rgba(84, 54, 140, .1);
  border-radius: 50%;
  color: var(--purple);
  content: "+";
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 16px;
  width: 30px;
}

.services-faq-list details[open] summary:after {
  content: "-";
}

.services-faq-list p {
  color: var(--services-soft);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.65;
  margin: 0;
  padding: 0 22px 22px;
}

.services-cta {
  background:
    linear-gradient(118deg, #211138 0%, #392061 47%, #56388d 100%);
  color: #fff;
  overflow: hidden;
}

.services-cta__inner {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: var(--header-max-width);
  min-height: 230px;
}

.services-cta .seo-kicker,
.services-cta h2,
.services-cta p {
  color: #fff;
}

.services-cta h2 {
  font-size: 3.2rem;
  max-width: 920px;
}

.services-cta p:not(.seo-kicker) {
  color: rgba(255, 255, 255, .86);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 900px;
}

.services-cta .seo-actions {
  justify-content: end;
  margin-top: 0;
}

.seo-footer__form-panel {
  scroll-margin-top: calc(var(--header-top) + var(--header-height) + 24px);
  width: 100%;
}

.seo-footer .site-footer__field--service {
  grid-column: 1 / -1;
}

.seo-footer__brand-map {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  margin-top: 22px;
  overflow: hidden;
}

.seo-footer__brand-map .site-footer__map-frame {
  aspect-ratio: 16 / 9;
  min-height: 190px;
  width: 100%;
}

.seo-footer__brand-map .site-footer__map-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.seo-footer__brand-map .site-footer__map-placeholder {
  align-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: grid;
  gap: 12px;
  min-height: inherit;
  padding: 18px;
}

.seo-footer__brand-map .site-footer__map-placeholder p {
  color: rgba(255, 255, 255, .9);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.seo-footer__brand-map .site-footer__map-consent {
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 999px;
  color: var(--purple-deep);
  cursor: pointer;
  font: inherit;
  font-size: .94rem;
  font-weight: 900;
  justify-self: start;
  min-height: 42px;
  padding: 0 16px;
}

.seo-footer__brand-map .site-footer__map-consent:focus-visible {
  outline: 3px solid rgba(130, 204, 232, .9);
  outline-offset: 3px;
}

.seo-footer__brand-map .site-footer__map-caption {
  background: rgba(255, 255, 255, .08);
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  gap: 10px;
  padding: 14px;
}

.seo-footer__brand-map .site-footer__address {
  color: #fff;
  display: grid;
  font-style: normal;
  gap: 2px;
  line-height: 1.45;
}

.seo-footer__brand-map .site-footer__map-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.seo-footer__brand-map .site-footer__map-links a {
  color: #fff;
  font-size: .88rem;
  font-weight: 850;
}

.seo-footer__brand-map .site-footer__map-credit {
  color: rgba(255, 255, 255, .7);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .services-reveal {
      animation: services-reveal linear both;
      animation-range: entry 10% cover 34%;
      animation-timeline: view();
      opacity: 0;
      transform: translateY(18px);
    }
  }
}

@keyframes services-reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .services-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-flow li:after {
    display: none;
  }
}

@media (max-width: 980px) {
  .services-page .seo-section h2,
  .services-cta h2 {
    font-size: 2.35rem;
  }

  .services-page .services-hero h1 {
    font-size: 3.35rem;
  }

  .services-intro__grid,
  .services-local__grid,
  .services-cta__inner {
    grid-template-columns: 1fr;
  }

  .services-route-lab {
    grid-template-columns: 1fr;
  }

  .services-route-lab__tabs {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    border-right: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .services-route-lab__tab {
    min-height: 96px;
  }

  .services-cta .seo-actions {
    justify-content: start;
  }
}

@media (max-width: 720px) {
  .services-page .services-hero {
    padding-bottom: 150px;
    padding-top: 136px;
  }

  .services-page .services-hero .seo-kicker {
    font-size: .72rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .services-page .services-hero h1 {
    font-size: 2.28rem;
    line-height: 1.09;
    max-width: 100%;
    text-wrap: wrap;
  }

  .services-page .services-hero .seo-hero__inner > p:not(.seo-kicker) {
    font-size: 1rem;
    line-height: 1.5;
    max-width: min(calc(100% - 12px), 20rem);
  }

  .services-page .seo-section {
    padding-block: 58px;
  }

  .services-page .seo-section h2,
  .services-cta h2 {
    font-size: 2rem;
  }

  .services-card-grid,
  .services-flow,
  .services-route-lab__tabs,
  .services-route-lab__panel {
    grid-template-columns: 1fr;
  }

  .services-card {
    min-height: 0;
    padding: 22px;
  }

  .services-route-lab {
    min-height: 0;
  }

  .services-route-lab__panel {
    padding: 24px;
  }

  .services-route-lab__panel h3 {
    font-size: 1.8rem;
  }

  .services-route-lab__signal {
    align-content: center;
    aspect-ratio: auto;
    justify-items: start;
    min-height: 118px;
  }

  .services-route-lab__signal strong {
    font-size: 2.6rem;
  }

  .services-cta {
    padding-block: 72px;
  }

  .services-cta__inner {
    min-height: 0;
  }

  .services-keyword-list li {
    font-size: .88rem;
    line-height: 1.18;
  }
}

@media (max-width: 390px) {
  .services-page .services-hero {
    padding-bottom: 154px;
  }

  .services-page .services-hero h1 {
    font-size: 2rem;
  }

  .services-page .services-hero .seo-hero__inner > p:not(.seo-kicker) {
    font-size: .96rem;
    line-height: 1.48;
    max-width: calc(100% - 14px);
  }

  .services-route-lab__tab {
    padding: 18px;
  }

  .services-faq-list summary {
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-reveal,
  .services-card,
  .services-card__link:after {
    animation: none;
    transition: none;
    transform: none;
  }
}
