
.work-process {
  position: relative;
  overflow: hidden;
  padding: 110px 28px;
  color: var(--work-white);
  background:
    linear-gradient(135deg, var(--work-navy) 0%, #07101d 58%, #09192b 100%);
}

.work-process::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
}

.work-process__glow {
  position: absolute;
  top: -250px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(82, 217, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(82, 217, 255, 0.025),
    0 0 0 180px rgba(82, 217, 255, 0.014);
  pointer-events: none;
}

.work-process__container {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.work-process__header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 68px;
}

.work-process__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--work-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-process__eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--work-cyan);
  content: "";
}

.work-process h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.work-process h2 span {
  color: var(--work-cyan);
}

.work-process__intro {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--work-text);
  font-size: 1.08rem;
  line-height: 1.75;
}

.work-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--work-line);
}

.work-step {
  position: relative;
  min-height: 355px;
  padding: 38px 30px 34px;
  border-right: 1px solid var(--work-line);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.work-step:first-child {
  padding-left: 0;
}

.work-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.work-step:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-5px);
}

.work-step__number {
  margin-bottom: 30px;
  color: var(--work-cyan);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.work-step__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(82, 217, 255, 0.3);
  border-radius: 12px;
  color: var(--work-cyan);
  background: rgba(82, 217, 255, 0.06);
}

.work-step__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-step h3 {
  margin: 27px 0 13px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.work-step p {
  margin: 0;
  color: var(--work-text);
  font-size: 0.94rem;
  line-height: 1.7;
}

.work-process__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--work-line);
}

.work-process__footer p {
  margin: 0;
  color: var(--work-text);
}

.work-process__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 21px;
  border-radius: 10px;
  color: var(--work-white);
  background: var(--work-blue);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-process__button:hover {
  box-shadow: 0 14px 34px rgba(0, 105, 230, 0.28);
  transform: translateY(-2px);
}

.work-process__button:focus-visible {
  outline: 3px solid var(--work-cyan);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .work-process {
    padding: 85px 28px;
  }

  .work-process__header {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 52px;
  }

  .work-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-step,
  .work-step:first-child,
  .work-step:last-child {
    min-height: 320px;
    padding: 32px;
    border-right: 1px solid var(--work-line);
    border-bottom: 1px solid var(--work-line);
  }

  .work-step:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 600px) {
  .work-process {
    padding: 72px 20px;
  }

  .work-process__steps {
    grid-template-columns: 1fr;
  }

  .work-step,
  .work-step:first-child,
  .work-step:last-child {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 20px;
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--work-line);
  }

  .work-step__number {
    grid-column: 1;
    margin: 0 0 12px;
  }

  .work-step__icon {
    grid-column: 1;
    grid-row: 2 / span 2;
  }

  .work-step h3 {
    grid-column: 2;
    margin: 0 0 9px;
  }

  .work-step p {
    grid-column: 2;
  }

  .work-process__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .work-process__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-step,
  .work-process__button {
    transition: none;
  }
}
