/* PROJECTS */
.projects{
  padding: 60px 0;
  background: #FDFDFD;
}

.projects__top{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.projects__title{
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 70px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

/* grid */
.projects__grid{
  margin-top: 60px;
  display: flex;
  gap: 15px;
  align-items: stretch;
}

/* card */
.proj-card{
  width: 430px;
  height: 391px;
  flex: 0 0 430px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #fff;
  background: #d9d9d9;
}

/* фоновая картинка отдельным слоем -> даёт “зум картинки”, не ломая контент */
.proj-card::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform .6s ease;
  will-change: transform;
}

.proj-card:hover::before{
  transform: scale(1.3);
}

/* внутренняя сетка */
.proj-card__inner{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 20px;
  display: flex;
  align-items: flex-end;
}

/* нижние плашки */
.proj-card__meta{
  display:flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.proj-pill{
  background: #FDFDFD40; /* как просил */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 10px 20px;

  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;

  white-space: nowrap;
}

/* низ с ссылкой */
.projects__bottom{
  margin-top: 14px; /* визуально как на макете */
  display:flex;
  justify-content: flex-end; /* ты просил к левому краю */
}

.projects__all{
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #000000;
  text-decoration: underline;
}

/* responsive */
@media (max-width: 1100px){
  .projects__grid{
    flex-direction: column;
  }
  .proj-card{
    width: 100%;
    flex: 0 0 auto;
  }
}

@media (max-width: 980px){
  .projects{
    padding: 20px 0;
  }
  .projects__top{
    flex-direction: column;
    align-items: flex-start;
  }
  .projects__title{
    font-size: 44px;
  }
}