.vs-pcards {
  background: #ffffff;
  padding: clamp(2rem, 4vw, 3.5rem) 1.5rem clamp(3rem, 5vw, 4.5rem);
}

.vs-pcards__inner {
  margin: 0 auto;
  max-width: 1600px;
}

.vs-pcards__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.vs-pcards__title {
  margin: 0;
  color: #2d187e;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.vs-pcards__dots {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.85rem;
}

.vs-pcards__dot {
  position: relative;
  width: 0.62rem;
  height: 0.62rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9c6d6;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.vs-pcards__dot:hover {
  background: #2d187e;
}

.vs-pcards__dot.is-active {
  width: 1.85rem;
  height: 1.85rem;
  background: transparent;
  border: 1px solid #2d187e;
}

.vs-pcards__dot.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.4rem;
  height: 0.4rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #2d187e;
}

.vs-pcards__dot:focus-visible {
  outline: 2px solid #2d187e;
  outline-offset: 4px;
}

.vs-pcards__track {
  --vs-pcards-gap: clamp(1rem, 2vw, 1.5rem);
  display: flex;
  gap: var(--vs-pcards-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 0.35rem;
}

.vs-pcards__track::-webkit-scrollbar {
  display: none;
}

.vs-pcards__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 100%;
  min-height: clamp(15rem, 24vw, 20rem);
  scroll-snap-align: start;
  padding: clamp(1.25rem, 2.2vw, 1.85rem);
  border: 1px solid #e6e4ee;
  background: #f5f4f8;
  transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .vs-pcards__card {
    flex-basis: calc((100% - var(--vs-pcards-gap)) / 2);
  }
}

@media (min-width: 1024px) {
  .vs-pcards__card {
    flex-basis: calc((100% - 2 * var(--vs-pcards-gap)) / 3);
  }
}

.vs-pcards__card:hover {
  background: #ffffff;
  border-color: #d6d2e6;
  transform: translateY(-0.25rem);
}

.vs-pcards__index {
  color: #071944;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.vs-pcards__card-body {
  margin-top: 2rem;
}

.vs-pcards__name {
  margin: 0;
  color: #141726;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.vs-pcards__text {
  margin: 0.6rem 0 0;
  color: #6b6a76;
  font-size: 0.875rem;
  line-height: 1.6;
}

.vs-pcards--hint {
  padding-block: 2.5rem;
}

.vs-pcards__hint {
  margin: 0;
  max-width: 44rem;
  border: 1px dashed #d7d5e0;
  border-radius: 14px;
  background: #faf9fc;
  padding: 1.25rem 1.5rem;
  color: #54535e;
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .vs-pcards__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vs-pcards__dot,
  .vs-pcards__card,
  .vs-pcards__track {
    transition: none;
    scroll-behavior: auto;
  }
}
