/* =========================================================
   SINGLE PROJECT — IMPLEMENTATION
========================================================= */

.nf-project-implementation {
  --nf-blue: #1E90FF;
  --nf-cyan: #4DDCFF;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(30,144,255,.045), transparent 34%),
    #06090F;
  color: #FFFFFF;
  font-family: "Manrope", sans-serif;
}

.nf-project-implementation__shell {
  width: min(calc(100% - 64px), 1200px);
  margin: 0 auto;
}

.nf-project-implementation__head {
  max-width: 760px;
  margin-bottom: 50px;
}

.nf-project-implementation__head h2 {
  max-width: 700px;
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(40px,4.4vw,62px);
  font-weight: 630;
  line-height: 1.03;
  letter-spacing: -.05em;
}

.nf-project-implementation__head h2 span {
  color: var(--nf-blue);
}

.nf-project-implementation__head p {
  max-width: 630px;
  margin: 22px 0 0;
  color: rgba(220,227,236,.58);
  font-size: 14px;
  line-height: 1.8;
}

.nf-project-implementation__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid rgba(255,255,255,.08);
  border-left: 1px solid rgba(255,255,255,.08);
}

.nf-project-implementation__item {
  position: relative;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  padding: 26px 28px 30px;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.008);
  transition: background .35s ease, border-color .35s ease;
}

.nf-project-implementation__item:hover {
  background: rgba(30,144,255,.025);
}

.nf-project-implementation__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nf-project-implementation__number {
  flex: 0 0 auto;
  color: rgba(255,255,255,.28);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .07em;
}

.nf-project-implementation__line {
  width: 38px;
  height: 1px;
  background: rgba(255,255,255,.10);
  transition: width .45s cubic-bezier(.22,1,.36,1), background .35s ease;
}

.nf-project-implementation__item:hover .nf-project-implementation__line {
  width: 64px;
  background: linear-gradient(90deg,var(--nf-blue),var(--nf-cyan));
}

.nf-project-implementation__body {
  max-width: 480px;
}

.nf-project-implementation__body h3 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(21px,2vw,27px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.nf-project-implementation__body p {
  max-width: 470px;
  margin: 12px 0 0;
  color: rgba(220,227,236,.48);
  font-size: 11px;
  line-height: 1.72;
}

.nf-project-implementation__item::after {
  content: "";
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg,var(--nf-blue),var(--nf-cyan));
  transition: width .55s cubic-bezier(.22,1,.36,1);
}

.nf-project-implementation__item:hover::after {
  width: 100%;
}

.nf-project-implementation--head-only .nf-project-implementation__head {
  margin-bottom: 0;
}

.nf-project-implementation--items-only .nf-project-implementation__head {
  display: none;
}

@media (max-width: 1024px) {
  .nf-project-implementation { padding: 60px 0; }
  .nf-project-implementation__shell { width: min(calc(100% - 40px),1200px); }
  .nf-project-implementation__item { min-height: 245px; padding: 24px; }
}

@media (max-width: 767px) {
  .nf-project-implementation { padding: 60px 0; }
  .nf-project-implementation__shell { width: calc(100% - 32px); }
  .nf-project-implementation__head { margin-bottom: 38px; }
  .nf-project-implementation__head h2 { font-size: clamp(37px,10vw,48px); }
  .nf-project-implementation__head p { margin-top: 20px; font-size: 13px; }
  .nf-project-implementation__grid { grid-template-columns: 1fr; }
  .nf-project-implementation__item { min-height: 220px; gap: 35px; padding: 22px; }
  .nf-project-implementation__body h3 { font-size: 22px; }
}
