@font-face {
  font-family: 'Kreadon';
  src: url('../fonts/Kreadon-Light.woff2') format('woff2'), url('../fonts/Kreadon-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kreadon';
  src: url('../fonts/Kreadon-Regular.woff2') format('woff2'), url('../fonts/Kreadon-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kreadon';
  src: url('../fonts/Kreadon-Demi.woff2') format('woff2'), url('../fonts/Kreadon-Demi.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kreadon';
  src: url('../fonts/Kreadon-Bold.woff2') format('woff2'), url('../fonts/Kreadon-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kreadon';
  src: url('../fonts/Kreadon-ExtraBold.woff2') format('woff2'), url('../fonts/Kreadon-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  margin: 0;

  min-width: 360px;
  color: #000000;
  font-family: "Kreadon", Arial, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  background-color: #ffffff;

  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.non {
  display: none !important;
}

.sr-only {
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.container {
  --wrapper-max-width: 1756px;
  --wrapper-padding: 82px;

  width: min(var(--wrapper-max-width), 100% - (var(--wrapper-padding) * 2));
  margin-inline: auto;
}

@media (max-width: 1300px) {
  .container {
    --wrapper-padding: 43px;
  }
}

@media (max-width: 768px) {
  header>.container {
    --wrapper-padding: 18px;
  }
}

.header {
  padding: 15px 0;
  color: #fff;
  background-color: #632A8E;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 175px */
  column-gap: 9.97%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__main {
  font-size: clamp(16px, 0.3942rem + 2.6923vw, 58px);
  font-weight: 800;
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-size: clamp(6px, 0.1731rem + 0.8974vw, 20px);
  line-height: 1.2;
  font-weight: 500;
}

.nav {
  flex-grow: 1;
}

.nav__list {
  display: flex;
  /* 90px */
  column-gap: 5.13%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(10px, 0.4808rem + 0.641vw, 20px);
  transition: color 0.3s, opacity 0.3s;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: #000040;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .header__inner {
    column-gap: 40px;
  }

  .logo__text {
    display: none;
  }

  .nav {
    margin-left: 0;
  }

  .nav__list {
    gap: 22px;
  }
}

.hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 70px 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  max-width: 1055px;
  width: 62%;
}

.hero__content h1 {
  margin-top: 0;
  /* 37px */
  margin-bottom: 0.578em;
  font-size: clamp(30px, 1.3846rem + 2.1795vw, 64px);
  line-height: 1.2;
  font-weight: 700;
}

.hero__content p {
  margin-top: 0;
  /* 37px */
  margin-bottom: 1.156em;
  font-size: clamp(14px, 0.6154rem + 1.1538vw, 32px);
  line-height: 1.2;
  font-weight: 500;
}

.hero__visual {
  flex-grow: 1;
  position: relative;
  width: 38%;
  padding-top: 48.75%;
}

.hero__phone {
  position: absolute;
  top: -32px;
  right: -42px;
  width: 120%;
  max-width: 792px;
}

@media (max-width: 1539px) {
  .hero__phone {
    top: 0;
  }
}

@media (max-width: 1300px) {
  .hero {
    padding: 50px 0;
  }

  .hero__phone {
    top: 40px;
    right: -22px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 35px 0;
  }

  .hero__content {
    max-width: none;
    width: 100%;
  }

  .hero__content h1 {
    margin-bottom: 23px;
  }

  .hero__content p {
    margin-bottom: 18px;
  }

  .vis-d {
    display: none;
  }

  .hero__content .vis-m:has(img) {
    text-align: center;
  }

  .hero__content .vis-m>img {
    position: relative;
    right: -40px;
    max-width: 400px;
    width: 80%;
    vertical-align: top;
  }

  .hero__visual {
    display: none;
  }
}

@media (min-width: 768.5px) {
  .vis-m {
    display: none;
  }
}

.works {
  padding: 70px 0;
}

.works__title {
  margin-top: 0;
  /* 46px */
  margin-bottom: 0.719em;
  font-size: clamp(32px, 1.5385rem + 2.0513vw, 64px);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  justify-items: center;
  column-gap: 50px;
  row-gap: 100px;
}

.works__item {
  max-width: 488px;
  width: 100%;
}

.works__header {
  margin: 0;
  margin-bottom: 1.156em;
  padding: 0;
  font-size: clamp(24px, 1.1667rem + 0.6944vw, 32px);
  font-weight: 500;
}

.image-stack {
  position: relative;
  aspect-ratio: 488 / 773;
  width: 100%;
}

.image-stack img {
  display: block;
  max-width: fit-content;
  width: 64.96%;
  border-radius: 36px;
  /* filter: drop-shadow(0 4px 13px #632A8E); */
  box-shadow: 0 4px 13px 0 #632A8E;
}

.image-stack img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.image-stack img:nth-child(2) {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.image-stack--top img:nth-child(1) {
  top: unset;
  bottom: 0;
}

.image-stack--top img:nth-child(2) {
  top: 0;
  bottom: unset;
}

.image-stack--reverse img:nth-child(1) {
  z-index: 2;
}

.image-stack--reverse img:nth-child(2) {
  z-index: 1;
}

@media (max-width: 1539px) {
  .works__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 70px;
  }
}

@media (max-width: 1300px) {
  .works {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {

  .works {
    padding: 35px 0;
  }

  .works__title {
    margin-bottom: 24px;
  }

  .works__grid {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 50px;
  }

  .works__item {
    max-width: none;
  }

  .works__header {
    margin-bottom: 23px;
    font-size: clamp(14px, 0.3235rem + 2.451vw, 24px);
    text-align: center;
  }

  .image-stack {
    aspect-ratio: auto;
    display: flex;
    align-items: start;
    justify-content: space-between;
  }

  .image-stack img {
    aspect-ratio: 114 / 248;
    width: 42.7%;
    border-radius: 16px;
  }

  .image-stack img:nth-child(1),
  .image-stack img:nth-child(2) {
    position: static;
  }

  .image-stack img:nth-child(1) {
    margin-top: 0;
  }

  .image-stack img:nth-child(2) {
    margin-top: 15.33%;
  }

  .image-stack--top img:nth-child(1) {
    margin-top: 15.33%;
  }

  .image-stack--top img:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .works__grid {
    row-gap: 24px;
  }
}

.vacancies {
  padding: 70px 0;
}

.vacancies__title {
  margin-top: 0;
  /* 46px */
  margin-bottom: 0.719em;
  font-size: clamp(32px, 1.5385rem + 2.0513vw, 64px);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.vacancies__list {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.vacancies__item {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 570px;
  padding: 30px;
  color: #FFFFFF;
  background: #B160D4;
  background: linear-gradient(180deg, rgba(177, 96, 212, 1) 1%, rgba(0, 0, 64, 1) 100%);
  border-radius: 36px;
  /* filter: drop-shadow(0 4px 13px #632A8E); */
  box-shadow: 0 4px 13px 0 #632A8E;
}

.vacancies__item-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.vacancies__item-title {
  position: relative;
  margin-top: 0;
  /* 29px */
  margin-bottom: 0.906em;
  /* 166px */
  padding-top: 32.55%;
  font-size: clamp(24px, 1.3846rem + 0.5128vw, 32px);
  font-weight: 700;
}

.vacancies__item-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: auto;
  background-repeat: no-repeat;
  background-size: contain;
}

.vacancies__item:nth-child(1) .vacancies__item-title::after {
  width: 39.41%;
  aspect-ratio: 201 / 158;
  background-image: url('../images/vacancies1.webp');
}

.vacancies__item:nth-child(2) .vacancies__item-title::after {
  width: 54.12%;
  aspect-ratio: 276 / 158;
  background-image: url('../images/vacancies2.webp');
}

.vacancies__item:nth-child(3) .vacancies__item-title::after {
  width: 40.98%;
  aspect-ratio: 209 / 158;
  background-image: url('../images/vacancies3.webp');
}

.vacancies__item-description {
  margin-bottom: 39px;
}

.vacancies__item-description h3 {
  margin-top: 0;
  /* 30px */
  margin-bottom: 1.25em;
  font-size: clamp(20px, 1.1923rem + 0.2564vw, 24px);
  line-height: 1.2;
  font-weight: 700;
}

.vacancies__item-description ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.vacancies__item-description li {
  position: relative;
  padding-left: 15px;
  font-size: clamp(14px, 0.7308rem + 0.641vw, 24px);
  line-height: 1.2;
  font-weight: 400;
}

.vacancies__item-description li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #FFFFFF;
}

.vacancies__item-description li:not(:last-child) {
  /* 30px */
  margin-bottom: 1.25em;
}

.vacancies__item-link {
  align-self: start;
  display: inline-block;
  margin-top: auto;
  /* 8px 20px */
  padding: 0.333em 0.833em;
  color: #FFE5E5;
  font-size: clamp(14px, 0.7308rem + 0.641vw, 24px);
  font-weight: 400;
  text-decoration: none;
  border: 1px solid #FFE5E5;
  border-radius: 18px;
  /* filter: drop-shadow(0 4px 13px #FFE5E5); */
  box-shadow: 0 4px 13px 0 rgb(255, 229, 229, .2);
  transition: box-shadow 0.3s, opacity 0.3s;
}

.vacancies__item-link:hover,
.vacancies__item-link:focus-visible {
  opacity: 0.8;
  box-shadow: 0 0 13px 0 rgb(255, 229, 229, .5);
}

@media (max-width: 1539px) {
  .vacancies__list {
    flex-wrap: wrap;
  }
}

@media (max-width: 1300px) {
  .vacancies {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .vacancies {
    padding: 35px 0;
  }

  .vacancies__title {
    margin-bottom: 25px;
  }

  .vacancies__list {
    flex-direction: column;
    align-items: center;
    row-gap: 36px;
  }

  .vacancies__item {
    padding: 25px 13px 36px;
    border-radius: 24px;
  }

  .vacancies__item-title {
    margin-bottom: 29px;
    /* 134px */
    font-size: 24px;
  }

  .vacancies__item:nth-child(1) .vacancies__item-title::after {
    width: 36.95%;
  }

  .vacancies__item:nth-child(2) .vacancies__item-title::after {
    width: 50.74%;
  }

  .vacancies__item:nth-child(3) .vacancies__item-title::after {
    width: 38.42%;
  }

  .vacancies__item-description {
    margin-bottom: 28px;
  }

  .vacancies__item-description h3 {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .vacancies__item-description li {
    padding-left: 8px;
    font-size: 14px
  }

  .vacancies__item-description li:not(:last-child) {
    margin-bottom: 17px;
  }

  .vacancies__item-link {
    /* 8px 10px */
    padding: 0.571em 0.714em;
  }
}

@media (max-width: 576px) {
  .vacancies__item-title {
    padding-top: 134px;
  }

  .vacancies__item:nth-child(1) .vacancies__item-title::after {
    max-width: 165px;
    width: 100%;
    aspect-ratio: 165 / 130;
  }

  .vacancies__item:nth-child(2) .vacancies__item-title::after {
    max-width: 227px;
    width: 100%;
    aspect-ratio: 227 / 130;
  }

  .vacancies__item:nth-child(3) .vacancies__item-title::after {
    max-width: 172px;
    width: 100%;
    aspect-ratio: 172 / 130;
  }
}

.contacts {
  padding: 70px 0;
}

.contacts__title {
  margin-top: 0;
  /* 46px */
  margin-bottom: 0.719em;
  font-size: clamp(32px, 1.5385rem + 2.0513vw, 64px);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.contacts__block {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.contacts__content {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  max-width: 940px;
  width: 54%;
}

.contacts__content p {
  margin-top: 0;
  /* 37px */
  margin-bottom: 1.156em;
  font-size: clamp(14px, 0.6154rem + 1.1538vw, 32px);
  line-height: 1.2;
  font-weight: 500;
}

.contacts__content>p:last-of-type {
  margin-bottom: 0;
}

.contacts__btn-wrap {
  /* 128px */
  margin-top: 13.62%;
}

.contacts__btn {
  position: relative;
  display: inline-block;
  /* 18px 45px */
  padding: 0.327em 0.818em;
  font-size: clamp(28px, 1.3606rem + 1.7308vw, 55px);
  line-height: 1.2;
  font-weight: 400;
  color: #FFE5E5;
  text-decoration: none;
  background: #21327A;
  background: linear-gradient(90deg, rgba(33, 50, 122, 1) 0%, rgba(192, 77, 255, 1) 100%);
  border-radius: 50px;
  box-shadow: 0 4px 13px 0 rgb(255, 229, 229, .2);
  transition: box-shadow 0.3s;
  overflow: hidden;
}

.contacts__btn:hover {
  box-shadow: 0 0 13px 0 rgb(255, 229, 229, .5);
}

.contacts__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: none;
}

.contacts__btn:hover::before {
  animation: shimmer 0.6s ease-in-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.contacts__image {
  flex-grow: 1;
  position: relative;
  width: 46%;
  padding-top: calc(43.05% - 124px);
}

.contacts__team {
  position: absolute;
  top: -124px;
  right: -40px;
  width: 100%;
  max-width: 802px;
}

@media (max-width: 1539px) {
  .contacts__image {
    padding-top: calc(43.05% - 62px);
  }

  .contacts__team {
    top: -62px;
  }
}

@media (max-width: 1300px) {
  .contacts {
    padding: 50px 0;
  }

  .contacts__image {
    padding-top: calc(43.05% - 30px);
  }

  .contacts__team {
    top: -30px;
    right: -20px;
  }
}

@media (max-width: 1024px) {
  .contacts__image {
    padding-top: 43.05%;
  }

  .contacts__team {
    top: 0;
    right: 0;
  }
}

@media (max-width: 768px) {
  .contacts {
    padding: 35px 0;
  }

  .contacts__title {
    margin-bottom: 25px;
  }

  .contacts__block {
    flex-direction: column;
  }

  .contacts__content {
    max-width: none;
    width: 100%;
  }

  .contacts__content p {
    margin-bottom: 18px;
  }

  .contacts__btn-wrap {
    margin-top: 25px;
    text-align: center;
  }

  .contacts__btn {
    /* 10px 22px; */
    padding: 0.357em 0.786em;
  }

  .contacts__content .vis-m:has(img) {
    text-align: center;
  }

  .contacts__content .vis-m>img {
    max-width: 400px;
    width: 80%;
    vertical-align: top;
  }

  .contacts__image {
    display: none;
  }
}

.footer {
  padding: 15px 0;
  color: #fff;
  background-color: #632A8E;
}

.footer__logo {
  font-size: clamp(16px, 0.3942rem + 2.6923vw, 58px);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 768px) {
  .footer {
    padding: 10px 0;
  }
}