.hm-op-process {
  padding: 48px 0 54px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.hm-op-process__heading {
  text-align: center;
}

.hm-op-process__heading h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hm-op-process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.hm-op-process__steps::before {
  position: absolute;
  top: 31px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--tertiary), var(--secondary), var(--tertiary));
  opacity: 0.48;
}

.hm-op-process__step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hm-op-process__step-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 64px;
}

.hm-op-process__icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 168, 184, 0.42);
  border-radius: 14px;
  color: var(--secondary);
  background: var(--white);
  font-size: 29px;
  box-shadow: 0 5px 0 rgba(0, 160, 160, 0.16), 0 12px 24px rgba(1, 43, 55, 0.13);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-op-process__step:hover .hm-op-process__icon {
  color: var(--white);
  border-color: var(--secondary);
  background: var(--secondary);
  box-shadow: 0 7px 0 rgba(1, 43, 55, 0.25), 0 18px 28px rgba(1, 43, 55, 0.2);
  transform: translateY(-6px) scale(1.04);
}

.hm-op-process__step h3 {
  margin: 22px 0 8px;
  color: var(--primary);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

.hm-op-process__step p {
  max-width: 205px;
  margin: 0 auto;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .hm-op-process {
    padding: 38px 0 44px;
  }

  .hm-op-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 24px;
    margin-top: 34px;
  }

  .hm-op-process__steps::before {
    display: none;
  }
}

@media (max-width: 479px) {
  .hm-op-process__steps {
    grid-template-columns: 1fr;
  }
}

/* Keeps the legacy process markup consistent when it is used on inner pages. */
.process-area {
  padding-top: 52px !important;
  padding-bottom: 58px !important;
}

.process-area .process__icon {
  border: 1px solid rgba(0, 168, 184, 0.42);
  border-radius: 14px;
  box-shadow: 0 5px 0 rgba(0, 160, 160, 0.16), 0 12px 24px rgba(1, 43, 55, 0.13);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.process-area .process__item:hover .process__icon {
  border-color: var(--secondary);
  box-shadow: 0 7px 0 rgba(1, 43, 55, 0.25), 0 18px 28px rgba(1, 43, 55, 0.2);
  transform: translateY(-6px) scale(1.04);
}

@media (max-width: 767px) {
  .process-area {
    padding-top: 38px !important;
    padding-bottom: 44px !important;
  }
}
