.pcs-section,
.pcs-section * {
  box-sizing: border-box;
}

.pcs-section {
  width: 100%;
  min-height: 650px;
  padding: 45px 20px 70px;
  background: #eef5f2;
  overflow: hidden;
}

.pcs-inner {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.pcs-title {
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: 8px;
  font-weight: 900;
  color: rgba(28, 38, 35, 0.14);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.pcs-text {
  width: min(900px, 100%);
  margin: 0 auto 38px;
  font-size: 15px;
  line-height: 1.35;
  color: #080808;
}

.pcs-slider-window {
  overflow: hidden;
  width: 100%;
  padding: 0 4px;
}

.pcs-cards-track {
  display: flex;
  gap: 38px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.pcs-card {
  position: relative;
  flex: 0 0 156px;
  height: 236px;
  border-radius: 6px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: block;
  text-decoration: none;
}

.pcs-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.pcs-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pcs-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0));
  z-index: 1;
}

.pcs-card-title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 11px;
  z-index: 2;
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 500;
  text-align: left;
  margin: 0;
}

.pcs-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
}

.pcs-slider-btn {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: 3px solid #000;
  background: transparent;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.pcs-slider-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.pcs-slider-btn svg {
  width: 21px;
  height: 21px;
  stroke-width: 3;
}

@media (max-width: 1024px) {
  .pcs-cards-track {
    gap: 28px;
  }

  .pcs-card {
    flex-basis: 150px;
    height: 226px;
  }
}

@media (max-width: 768px) {
  .pcs-section {
    min-height: auto;
    padding: 35px 16px 55px;
  }

  .pcs-title {
    letter-spacing: 3px;
    margin-bottom: 16px;
  }

  .pcs-text {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .pcs-cards-track {
    gap: 18px;
  }

  .pcs-card {
    flex: 0 0 72vw;
    max-width: 260px;
    height: 330px;
  }
}

@media (max-width: 480px) {
  .pcs-card {
    flex-basis: 78vw;
    height: 310px;
  }
}
