/* Shared presentation for the CRM, data warehouse and software service pages. */
.service-hero {
  --service-accent: #bcaaff;
  --service-tint: rgb(148 112 255 / .20);
  padding: clamp(110px, 10vw, 155px) 0 clamp(54px, 7vw, 85px);
}

.service-hero--dwh {
  --service-accent: #9febe5;
  --service-tint: rgb(47 171 184 / .22);
}

.service-hero--software {
  --service-accent: #f2d1a2;
  --service-tint: rgb(214 160 87 / .19);
}

.service-hero .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(24px, 4.2vw, 58px);
}

.service-hero h1 {
  font-size: clamp(38px, 4.4vw, 64px);
  text-wrap: balance;
}

.service-hero .hero-actions .btn {
  min-height: 51px;
  padding: 13px 20px;
}

.service-flow {
  min-width: 0;
  padding: clamp(20px, 3.2vw, 35px);
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 93% 0%, var(--service-tint), transparent 60%),
    var(--surface);
  box-shadow: 0 22px 60px rgb(0 0 0 / .26);
}

.service-flow-label {
  margin-bottom: 7px;
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 750;
}

.service-flow h2 {
  font-size: clamp(22px, 2.25vw, 33px);
  letter-spacing: -.03em;
  line-height: 1.14;
}

.service-flow-steps {
  display: grid;
  gap: 9px;
  margin: 21px 0 15px;
  padding: 0;
  list-style: none;
}

.service-flow-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 60px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgb(10 10 15 / .40);
}

.service-flow-steps li::before {
  flex: 0 0 12px;
  height: 12px;
  border: 1px solid var(--service-accent);
  border-radius: 50%;
  background: var(--service-tint);
  content: "";
}

.service-flow-steps li:last-child::before {
  background: var(--service-accent);
}

.service-flow-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  bottom: -10px;
  left: 19px;
  width: 1px;
  height: 10px;
  background: var(--service-accent);
  opacity: .52;
  content: "";
}

.service-flow strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
}

.service-flow small {
  display: block;
  margin-top: 2px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.4;
}

.service-flow-note {
  color: var(--text-dim);
  font-size: 13px;
}

.service-example,
.service-questions {
  padding: clamp(55px, 6vw, 86px) 0;
  scroll-margin-top: 76px;
}

.service-hero + #services {
  scroll-margin-top: 76px;
}

.service-example .sec-head,
.service-questions .sec-head {
  margin-bottom: 29px;
}

.service-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 28px;
}

.service-next .seo-related {
  margin-top: 0;
}

.service-hero a:focus-visible,
.service-hero button:focus-visible,
.service-next button:focus-visible {
  outline: 2px solid #b5a4fc;
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .service-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .service-flow {
    max-width: 650px;
  }
}

@media (max-width: 480px) {
  .service-hero .hero-actions .btn {
    min-height: 46px;
    padding: 10px 15px;
    font-size: 13px;
  }

  .service-flow {
    border-radius: 20px;
  }
}
