/* /o-kompanii/vakansii/ — vacancies page over home-clean */

body.vc-page {
  overflow-x: hidden;
}

.vc-hero {
  position: relative;
  padding: 20px 0 36px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 70% at 90% 10%, rgba(127, 63, 242, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 50% at 5% 90%, rgba(32, 132, 214, 0.08), transparent 50%),
    #f7f8ff;
}

.vc-hero__title {
  margin: 0 0 14px;
  font-family: var(--rk-font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #151a26;
}

.vc-hero__lead {
  margin: 0 0 20px;
  max-width: 40em;
  color: #4b4b4b;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
}

.vc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vc-section {
  padding: 48px 0;
}

.vc-section--alt {
  background: #f7f8ff;
}

.vc-lead {
  margin: 0 0 28px;
  max-width: 42em;
  color: #555;
  font-size: 16px;
  line-height: 1.55;
}

.vc-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.vc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 20px;
  border: 1px solid #e6e9f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(40, 30, 90, 0.06);
}

.vc-card__title {
  margin: 0 0 10px;
  font-family: var(--rk-font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}

.vc-card__text {
  margin: 0 0 18px;
  flex: 1;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}

.vc-card__cta {
  align-self: flex-start;
}

.vc-principles,
.vc-process {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vc-process li {
  padding: 18px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6e9f5;
  color: #333;
  font-size: 15px;
  line-height: 1.45;
}

.vc-principle {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  min-width: 0;
  padding: 20px 18px;
  border-radius: 18px;
  color: #333;
  font-size: 15px;
  line-height: 1.45;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 248, 255, 0.96) 100%);
  border: 1px solid rgba(127, 63, 242, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 28px rgba(55, 35, 110, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.vc-principle:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 63, 242, 0.26);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 34px rgba(90, 50, 180, 0.12);
}

.vc-principle:focus-within {
  outline: 2px solid rgba(127, 63, 242, 0.35);
  outline-offset: 2px;
}

.vc-principle__mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #f7f8ff) padding-box,
    linear-gradient(135deg, #c4a8ff 0%, #7f3ff2 48%, #3d8bff 100%) border-box;
  border: 1.5px solid transparent;
  box-shadow:
    0 10px 22px rgba(127, 63, 242, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -8px 16px rgba(127, 63, 242, 0.05);
}

.vc-principle__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 55%),
    linear-gradient(145deg, rgba(179, 140, 255, 0.18), rgba(61, 139, 255, 0.12));
  pointer-events: none;
}

.vc-principle__svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: block;
}

.vc-principle__text {
  display: block;
  min-width: 0;
  padding-top: 4px;
  color: #2a2f3a;
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (max-width: 430px) {
  .vc-principle {
    gap: 12px;
    padding: 16px 14px;
  }

  .vc-principle__mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .vc-principle__svg {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-principle {
    transition: none;
  }

  .vc-principle:hover {
    transform: none;
  }
}

.vc-process {
  counter-reset: vc-step;
}

.vc-process li {
  position: relative;
  padding-left: 56px;
  counter-increment: vc-step;
}

.vc-process li::before {
  content: counter(vc-step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(127, 63, 242, 0.12);
  color: #7f3ff2;
  font-family: var(--rk-font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.vc-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6e9f5;
  box-shadow: 0 10px 28px rgba(40, 30, 90, 0.07);
}

.vc-form-wrap .rk-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #d7dff0;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: #111;
}

.vc-note {
  margin: 12px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.vc-form-wrap .rk-consent a {
  color: #5b2fd1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  body.vc-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0));
  }
}

@media (min-width: 700px) {
  .vc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vc-grid .vc-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 9px);
  }

  .vc-principles,
  .vc-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .vc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vc-grid .vc-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }

  .vc-principles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vc-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
