﻿/* NivAk Technologies — About V3 Workflow Animation */

.about-v3-page .about-hero > .container {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 34px;
  align-items: center;
}

.about-v3-page .about-hero h1 {
  font-size: clamp(33px,3.6vw,49px);
}

.about-workflow {
  width: 100%;
  max-width: 475px;
  height: 308px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #426d9d;
  border-radius: 19px;
  background: linear-gradient(145deg,#102a4d,#09182e);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
  color: #fff;
}

.about-workflow__header,
.about-workflow__footer {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 14px 16px;
}

.about-workflow__header {
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.about-workflow__header strong {
  font-size: 11px;
  letter-spacing: .06em;
  color: #e6f0fb;
}

.about-workflow__status-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7417;
}

.about-workflow__status {
  margin-left: auto;
  color: #ffaf7a;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.about-workflow__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.about-workflow__steps {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
}

.about-workflow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 13px 5px;
  border: 1px solid #315071;
  border-radius: 11px;
  background: #142e4c;
  color: #cad8ea;
  transition: background .35s ease,border-color .35s ease;
}

.about-workflow__step.is-active {
  background: #234b79;
  border-color: #ff924e;
}

.about-workflow__step.is-done {
  border-color: #5385ae;
}

.about-workflow__symbol {
  display: grid;
  place-items: center;
  height: 30px;
  color: #ffae75;
  font-size: 21px;
  font-weight: 800;
}

.about-workflow__step strong {
  color: #fff;
  font-size: 12px;
}

.about-workflow__step small {
  font-size: 10px;
}

.about-workflow__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  font-size: 12px;
  color: #d5e4f4;
}

.about-workflow__progress-head strong {
  color: #ffae75;
  white-space: nowrap;
}

.about-workflow__track {
  height: 8px;
  flex: 0 0 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #2d496a;
}

.about-workflow__fill {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg,#ff7417,#ffae71);
  transition: width .6s ease;
}

.about-workflow__result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #e0edfb;
}

.about-workflow__check {
  color: #77dbad;
  font-size: 17px;
}

.about-workflow__footer {
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #adc9e6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}

@media (max-width: 900px) {
  .about-v3-page .about-hero > .container {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .about-workflow {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .about-workflow {
    height: 290px;
  }

  .about-workflow__body {
    gap: 15px;
    padding: 14px;
  }

  .about-workflow__steps {
    gap: 5px;
  }

  .about-workflow__step {
    padding: 10px 3px;
  }

  .about-workflow__step strong {
    font-size: 10px;
  }

  .about-workflow__footer {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-workflow__step,
  .about-workflow__fill {
    transition: none;
  }
}
