﻿.hp {
  overflow: hidden;
}

.hp-section {
  padding: var(--s-6) 0;
}

.hp .container > h2,
.hp-section-head h2 {
  font-size: var(--fs-6);
  line-height: var(--lh-tight);
  margin-bottom: var(--s-5);
}

.hp-section p {
  max-width: 70ch;
}

.hp-section-head,
.hp-section-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
}

.hp-section-head__btn {
  flex-shrink: 0;
  margin-bottom: var(--s-5);
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #ffffff;
}

.hp-section-head__btn:hover {
  background: var(--c-brand-hover);
  border-color: var(--c-brand-hover);
  color: #ffffff;
}

.hp-section-head__btn--mobile {
  display: none;
}

.hp-btn-arrow {
  margin-left: 8px;
  line-height: 1;
}

.hp-section-foot {
  margin-top: var(--s-5);
}

.hp-help__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

.hp-help .container > h2 {
  text-align: center;
  text-transform: uppercase;
}

.hp-help__card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background:
    radial-gradient(95% 95% at 0% 0%, rgba(215, 25, 32, 0.42), transparent 52%),
    #111111;
  padding: var(--s-5);
  box-shadow: var(--sh-1);
  color: #ffffff;
}

.hp-help__card--highlight {
  background:
    radial-gradient(95% 95% at 100% 100%, rgba(0, 0, 0, 0.34), transparent 54%),
    #9f111a;
  border-color: #b71924;
}

.hp-help__card h3 {
  font-size: var(--fs-5);
  margin-bottom: var(--s-3);
  color: #ffffff;
}

.hp-help__card p {
  color: rgba(255, 255, 255, 0.9);
}

.hp-help__actions {
  margin-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.hp-help__card .btn--primary {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.hp-help__card .btn--primary:hover {
  background: #f3f4f6;
  border-color: #f3f4f6;
  color: #111111;
}

.hp-help__card .btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

.hp-help__card .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.hp-solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: start;
}

.hp-solutions__item {
  border: 1px solid var(--c-border);
  border-radius: clamp(18px, 2vw, 24px);
  background: #f2f4f7;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-self: start;
  min-height: 100%;
}

.hp-solutions__item h2 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.2;
}

.hp-solutions__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.hp-solutions__head h2 {
  margin: 0;
}

.hp-solutions__badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.hp-solutions__badge svg {
  width: 34px;
  height: 34px;
}

.hp-solutions__badge--candidate {
  background: #0f172a;
  color: #ffffff;
}

.hp-solutions__badge--company {
  background: #f3e4e7;
  color: #e11d2f;
}

.hp-solutions__subtitle {
  color: var(--c-muted);
  margin: 0;
  font-size: var(--fs-3);
  line-height: var(--lh-normal);
  max-width: 60ch;
}

.hp-solutions {
  padding-bottom: var(--s-7) !important;
}

.hp-solutions__list {
  list-style: none;
  margin: var(--s-2) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}

.hp-solutions__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  color: var(--c-text);
  font-size: var(--fs-3);
  line-height: var(--lh-normal);
}

.hp-solutions__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 18px;
  background: #e11d2f;
  position: relative;
  margin-top: 4px;
}

.hp-solutions__icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  left: 5px;
  top: 6px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.hp-solutions__cta {
  margin-top: auto;
  padding-top: var(--s-2);
  color: #e11d2f;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  font-size: var(--fs-3);
}

.hp-solutions__cta:hover {
  color: #b10f23;
}

.hp-solutions__media {
  display: none;
}

.hp-solutions__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
}

.hp-process-v2__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

.hp-process-v2 .container > h2,
.hp-process-v2__kicker,
.hp-process-v2__lead {
  text-align: center;
}

.hp-process-v2__kicker {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-brand);
}

.hp-process-v2__lead {
  max-width: 760px;
  margin: 0 auto var(--s-6);
  color: var(--c-muted);
  font-size: var(--fs-3);
  line-height: 1.6;
}

.hp-process-v2__tabs {
  margin: 0 auto var(--s-6);
  display: inline-flex;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 4px;
  background: #ffffff;
  gap: 4px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.hp-tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: var(--fs-3);
  font-weight: var(--fw-semibold);
  color: var(--c-muted);
  cursor: pointer;
}

.hp-tab.is-active {
  background: var(--c-brand);
  color: #ffffff;
}

.hp-process-v2__panels {
  margin-top: var(--s-4);
}

.hp-panel[hidden] {
  display: none !important;
}

.hp-process-v2__step {
  text-align: center;
  padding: 0 var(--s-2);
  min-height: 0;
  position: relative;
}

.hp-process-v2__step::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 50%;
  width: calc(100% - 12px);
  height: 1px;
  background: var(--c-border);
  z-index: 0;
}

.hp-process-v2__step:last-child::before {
  display: none;
}

.hp-process-v2__icon {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #fff;
  display: grid;
  place-items: center;
  color: #98a2b3;
}

.hp-process-v2__icon svg {
  width: 36px;
  height: 36px;
}

.hp-process-v2__step-title {
  margin: 0 0 var(--s-3);
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.3;
  font-weight: var(--fw-bold);
  color: var(--c-text);
}

.hp-process-v2__step p {
  color: var(--c-muted);
  max-width: 36ch;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hp-seo {
  background: #f8fafc;
}

.hp-seo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
}

.hp-seo__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #ffffff;
}

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

.hp-seo__content {
  max-width: 800px;
  margin: 0 auto;
}

.hp-seo__content h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
}

.hp-seo__accent {
  color: #e11d2f;
}

.hp-seo__lead {
  color: var(--c-muted);
  margin-top: var(--s-5);
  max-width: 62ch;
}

.hp-seo__list {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
}

.hp-seo__item {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}

.hp-seo__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
}

.hp-seo__icon svg {
  width: 30px;
  height: 30px;
}

.hp-seo__icon.is-red {
  background: #e11d2f;
  color: #ffffff;
}

.hp-seo__icon.is-dark {
  background: #0f172a;
  color: #ffffff;
}

.hp-seo__item-copy h3 {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 24px);
}

.hp-seo__item-copy p {
  margin: 8px 0 0;
  color: var(--c-muted);
}

.hp-industrial__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
}

.hp-industrial__content-card {
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 34px);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(167, 16, 28, 0.45), transparent 58%),
    linear-gradient(135deg, #12151d 0%, #0a0d14 62%, #1a1016 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-industrial__content-card h2,
.hp-industrial__content-card p {
  color: #f8fafc;
}

.hp-industrial__content p {
  margin-top: var(--s-4);
}

.hp-industrial__image-wrap {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.hp-industrial__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-reasons {
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    url("../img/bg-wy-ny.webp") center / cover no-repeat;
}

.hp-reasons__stack {
  display: grid;
  max-width: 980px;
  gap: var(--s-4);
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.hp-reasons__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  width: 100%;
}

.hp-reasons__card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  padding: var(--s-4);
  height: auto;
  text-align: center;
}

.hp-reasons__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin: 0 auto var(--s-2);
  color: #7a0f16;
}

.hp-reasons__icon svg {
  width: 100%;
  height: 100%;
}

.hp-reasons__card h3 {
  font-size: var(--fs-4);
  margin-bottom: var(--s-2);
}

.hp-reasons__card p {
  color: var(--c-muted);
}

.hp-vacancies-v2__grid,
.hp-news__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

.hp-team-source {
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}

.hp-team-source__card {
  border-radius: var(--r-lg);
  background: #ffffff;
  padding: clamp(22px, 3vw, 34px);
  text-align: center;
}

.hp-team-source__card h2 {
  margin: 0 auto;
  max-width: 36ch;
}

.hp-team-source__lead {
  margin: var(--s-3) auto 0;
  max-width: 82ch !important;
  text-align: center !important;
  color: var(--c-muted);
  line-height: 1.62;
}

.hp-team-source__countries {
  margin-top: var(--s-4);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.hp-team-source__row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hp-team-source__row li {
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--c-text);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
}

.hp-vacancies-v2 {
  padding-top: var(--s-4);
}

.hp-vacancies-v2__card,
.hp-news__card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  padding: var(--s-4);
  box-shadow: var(--sh-1);
}

.hp-vacancies-v2__card {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--s-4) + 12px);
  padding-bottom: calc(var(--s-4) + 12px);
}

.hp-vacancies-v2__card h3 {
  font-size: var(--fs-5);
  margin-right: 156px;
}

.hp-vacancies-v2__card h3 a,
.hp-news__card h3 a {
  text-decoration: none;
}

.hp-vacancies-v2__location {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 9px 12px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  background: #f1f5f9;
  border-bottom: 1px solid var(--c-border);
  border-left: 1px solid var(--c-border);
  border-bottom-left-radius: var(--r-lg);
  font-size: var(--fs-2);
  line-height: 1.1;
}

.hp-vacancies-v2__location-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #64748b;
}

.hp-vacancies-v2__salary {
  margin-top: var(--s-2);
  font-weight: var(--fw-semibold);
}

.hp-vacancies-v2__cta {
  position: absolute;
  right: 0;
  bottom: 0;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp-link,
.hp-news__more {
  display: inline-flex;
  margin-top: var(--s-3);
  padding: 8px 12px;
  text-decoration: none;
  font-weight: var(--fw-semibold);
  color: var(--c-brand);
  border-radius: 0;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.hp-link:hover,
.hp-news__more:hover {
  text-decoration: none;
  background: var(--c-brand);
  color: #ffffff;
  border-radius: var(--r-lg) 0 0 0;
}

.hp-news__image-link {
  display: block;
  margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-3);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef2f7;
}

.hp-news__image-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hp-news__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #edf2f7, #e2e8f0);
}

.hp-news__date {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 9px 12px 10px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: #2b3443;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom-left-radius: var(--r-lg);
  font-size: var(--fs-2);
  line-height: 1.1;
  z-index: 2;
}

.hp-news__more {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  width: fit-content;
}

.hp-news__excerpt {
  color: var(--c-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-news__card {
  position: relative;
  overflow: hidden;
  padding-bottom: calc(var(--s-5) + 8px);
}

.hp-final-cta-v2 {
  padding-bottom: var(--s-7);
}

.hp-final-cta-v2__split {
  position: relative;
  overflow: visible;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  align-items: start;
}

.hp-final-cta-v2__split::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 2px;
  height: calc(100% + 34px);
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(-50%) rotate(20deg);
  transform-origin: center;
  pointer-events: none;
}

.hp-final-cta-v2__col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(215, 25, 32, .34), transparent 56%),
    linear-gradient(135deg, #13141a 0%, #0d0e12 100%);
}

.hp-final-cta-v2__col h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
}

.hp-final-cta-v2__col p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  line-height: 1.7;
}

.hp-final-cta-v2__col .btn {
  margin-top: 4px;
  align-self: flex-start;
  border-color: #fff;
}

.hp-final-cta-v2__col .btn.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .36);
}

.hp-final-cta-v2__col .btn.btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.hp-final-cta-v2__col--right {
  text-align: right;
  align-items: flex-end;
  margin-top: 30px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(215, 25, 32, .22), transparent 58%),
    linear-gradient(135deg, #101217 0%, #070910 100%);
}

.hp-final-cta-v2__col:first-child {
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  border-radius: 22px 0 0 22px;
}

.hp-final-cta-v2__col--right {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 22px 22px 0;
}

.hp-final-cta-v2__col--right .btn {
  align-self: flex-end;
}

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

  .hp-reasons__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hp-vacancies-v2__grid,
  .hp-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-seo__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: var(--s-6);
  }

  .hp-seo__content {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .hp-seo__content h2 {
    font-size: clamp(24px, 8.2vw, 34px);
  }

  .hp-seo__item-copy h3 {
    font-size: clamp(17px, 5vw, 21px);
  }
}

@media (min-width: 1024px) {
  .hp-section {
    padding: var(--s-7) 0;
  }

  .hp-vacancies-v2 {
    padding-top: var(--s-5);
  }

  .hp-solutions__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) minmax(0, 1fr);
    gap: var(--s-5);
    align-items: stretch;
  }

  .hp-solutions__media {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 100%;
    align-self: end;
  }

  .hp-solutions__media img {
    transform: translateY(var(--s-7));
  }

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

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

  .hp-industrial__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hp-vacancies-v2__grid,
  .hp-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hp-final-cta-v2__split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-final-cta-v2__split::before {
    display: none;
  }

  .hp-final-cta-v2__col {
    clip-path: none;
    border-radius: 22px;
  }

  .hp-final-cta-v2__col:first-child,
  .hp-final-cta-v2__col--right {
    clip-path: none;
  }

  .hp-final-cta-v2__col--right {
    text-align: left;
    align-items: flex-start;
    margin-top: 0;
    border-radius: 22px;
  }

  .hp-final-cta-v2__col--right .btn {
    align-self: flex-start;
  }

  .hp-final-cta-v2__col:first-child {
    border-radius: 22px;
  }
}

@media (max-width: 768px) {
  .hp-team-source__card {
    border-radius: var(--r-md);
    padding: 18px 14px;
  }

  .hp-team-source__lead {
    font-size: var(--fs-3);
  }

  .hp-team-source__countries {
    margin-top: var(--s-3);
    gap: 8px;
  }

  .hp-team-source__row {
    gap: 8px;
  }

  .hp-team-source__row li {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hp-section-head {
    align-items: flex-start;
  }

  .hp-section-head__btn--desktop {
    display: none;
  }

  .hp-section-foot--mobile {
    margin-top: var(--s-4);
    display: flex;
    justify-content: center;
  }

  .hp-section-head__btn--mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 0;
  }

  .hp-vacancies-v2__grid,
  .hp-news__grid {
    margin-top: var(--s-3);
  }

  .hp-process-v2__lead {
    font-size: var(--fs-3);
    margin-bottom: var(--s-5);
  }

  .hp-process-v2__step {
    padding: 0 0 calc(var(--s-4) + 14px);
  }

  .hp-process-v2__step p {
    margin: 0 auto 10px;
  }

  .hp-process-v2__step::before {
    top: auto;
    bottom: 8px;
    left: 50%;
    width: 1px;
    height: 16px;
    transform: translateX(-50%);
  }

  .hp-process-v2__icon {
    width: 82px;
    height: 82px;
    margin-bottom: var(--s-3);
  }

  .hp-process-v2__icon svg {
    width: 30px;
    height: 30px;
  }

  .hp-process-v2__step-title {
    font-size: clamp(20px, 6vw, 24px);
  }
}
