/* ===========================
   DEVELOPMENT PROCESS
=========================== */

.development-process-section {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 200, 0, .075), transparent 34%),
    linear-gradient(to bottom, #050505, #090909);
  overflow: hidden;
}

.development-header {
  max-width: 900px;
  margin: 0 auto 90px;
  text-align: center;
}

.development-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.05;
  margin: 24px 0;
}

.development-header h2::first-line {
  color: var(--primary);
}

.development-header p {
  max-width: 760px;
  margin: auto;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,.76);
}

/* PATH */

.development-path {
  position: relative;
  max-width: 1040px;
  margin: auto;
  display: grid;
  gap: 44px;
}

.path-line {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,200,0,.28),
    transparent
  );
}

/* FOLDER */

.process-folder {
  position: relative;
  width: calc(50% - 50px);
  min-height: 190px;
  padding: 34px 36px 30px;
  border-radius: 14px 24px 24px 24px;

  background:
    linear-gradient(145deg, rgba(255,255,255,.048), rgba(255,255,255,.016));

  border: 1px solid rgba(255,255,255,.085);

  box-shadow:
    0 18px 42px rgba(0,0,0,.32);

  transition:
    background .45s ease,
    color .45s ease,
    transform .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;
}

.process-folder.left {
  margin-right: auto;
}

.process-folder.right {
  margin-left: auto;
}

.process-folder::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 14px;
  height: 14px;
  border-radius: 50%;

  background: #111;
  border: 2px solid rgba(255,200,0,.75);

  box-shadow: 0 0 14px rgba(255,200,0,.18);

  transition:
    background .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;
}

.process-folder.left::after {
  right: -58px;
}

.process-folder.right::after {
  left: -58px;
}

/* FOLDER TAB */

.folder-tab {
  position: absolute;
  top: -18px;
  left: 0;
  width: 135px;
  height: 28px;
  border-radius: 14px 14px 0 0;

  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.085);
  border-bottom: none;

  transition:
    background .45s ease,
    border-color .45s ease,
    transform .45s ease;
}

.process-folder.right .folder-tab {
  left: auto;
  right: 0;
}

/* TEXT */

.folder-number {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.process-folder h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.process-folder p {
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  font-size: 15px;
}

.folder-status {
  margin-top: 24px;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;

  background: rgba(255,200,0,.075);
  border: 1px solid rgba(255,200,0,.16);

  color: var(--primary);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition:
    background .45s ease,
    color .45s ease,
    border-color .45s ease;
}

/* ACTIVE STATE */

.process-folder.active {
  background:
    linear-gradient(145deg, #ffd54a, #f5be18);

  color: #111;

  transform: translateY(-5px);

  border-color: rgba(255,255,255,.22);

  box-shadow:
    0 22px 48px rgba(255,200,0,.16);
}

.process-folder.active .folder-tab {
  background: #ffd54a;
  border-color: rgba(255,255,255,.26);
  transform: translateY(-2px);
}

.process-folder.active .folder-number,
.process-folder.active h3,
.process-folder.active p {
  color: #111;
}

.process-folder.active .folder-status {
  background: #111;
  color: var(--primary);
  border-color: #111;
}

.process-folder.active::after {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow:
    0 0 22px rgba(255,200,0,.45);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .path-line {
    left: 18px;
  }

  .development-path {
    gap: 44px;
  }

  .process-folder {
    width: calc(100% - 55px);
    margin-left: 55px !important;
    margin-right: 0 !important;
  }

  .process-folder.right .folder-tab {
    left: 0;
    right: auto;
  }

  .process-folder.left::after,
  .process-folder.right::after {
    left: -44px;
    right: auto;
  }
}

@media (max-width: 600px) {
  .development-header p {
    font-size: 16px;
  }

  .process-folder {
    padding: 30px 26px 28px;
    min-height: auto;
  }

  .folder-tab {
    width: 120px;
  }
}