.completed-projects {
  padding: 80px 0;
  background: #f7f6f2;
}

.projects-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.projects-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #80632d;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}

.projects-intro h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--title-color);
}

.projects-intro p {
  margin: 0;
  color: #62615c;
}

.projects-total {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  padding-left: 32px;
  border-left: 2px solid var(--theme-color);
}

.projects-total strong {
  color: var(--title-color);
  font-size: 44px;
  line-height: 1.2;
}

.projects-total span {
  font-size: 14px;
  color: #62615c;
}

.completed-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.completed-project-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #e5e1d7;
  border-top: 3px solid var(--theme-color);
  border-radius: 8px;
  background: #fff;
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.project-number {
  color: #80632d;
  font-size: 18px;
  font-weight: 500;
}

.project-status {
  padding: 3px 10px;
  border-radius: 20px;
  background: #f4efe3;
  color: #705421;
  font-size: 12px;
  line-height: 22px;
}

.project-status i {
  margin-right: 4px;
}

.completed-project-card h2 {
  margin-bottom: 24px;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--title-color);
  overflow-wrap: anywhere;
}

.project-facts {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid #eeeae1;
}

.project-facts > div + div {
  margin-top: 14px;
}

.project-facts dt {
  color: #73716b;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.project-facts dt i {
  margin-right: 5px;
  color: #80632d;
}

.project-facts dd {
  margin: 3px 0 0;
  color: #292823;
  font-size: 15px;
  line-height: 24px;
  overflow-wrap: anywhere;
}

.projects-empty {
  grid-column: 1 / -1;
}

.project-gallery {
  padding: 80px 0;
  background: #fff;
}

.project-gallery-image {
  overflow: hidden;
  border-radius: 8px;
  margin: 0;
}

.project-gallery-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 991px) {
  .completed-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .completed-projects,
  .project-gallery {
    padding: 48px 0;
  }

  .projects-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
  }

  .projects-total {
    padding-left: 16px;
  }

  .projects-total strong {
    font-size: 30px;
  }

  .completed-project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .completed-project-card {
    padding: 22px;
  }
}
