* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background: none;
  background-color: transparent;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "Inter", serif;
  color: #fff;
  background: #010314;
  font-weight: 400;
  user-select: text;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

.highlight {
  box-shadow: 0 0 20px rgba(81, 23, 123, 1);
  transition: box-shadow 0.5s ease-in-out;
}

.header {
  position: fixed;
  width: 100%;
  background: #010314;
  overflow: hidden;
  z-index: 1000;
  transition: transform 0.4s ease;
}

.header--hidden {
  transform: translateY(-100%);
}

.header_wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 42px;

  color: #fff;
  font-size: 24px;
  line-height: 28px;

  @media (max-width: 1280px) {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;

    font-size: 16px;
    line-height: 24px;
  }
}

.header_list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;

  @media (max-width: 768px) {
    gap: 12px;
  }
}

.header_logo_wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;

  @media (max-width: 1024px) {
    width: 100%;
  }
}

.header_logo {
  position: absolute;
  left: 0;
  top: -20px;
  width: 70px;
}

.header_h2 {
  padding-left: 86px;
  padding-right: 16px;
  font-size: 28px;
  line-height: 36px;
  border-right: 1px solid #fff;

  @media (max-width: 1200px) {
    border-right: none;
  }
}

.header_ul {
  display: flex;
  gap: 16px;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 8px;
  }
}

.header_li {
  padding-right: 16px;
  font-size: 24px;
  line-height: 32px;
  transition: all 0.4s;
  white-space: nowrap;

  &:not(:last-child) {
    border-right: 1px solid #fff;
  }

  @media (max-width: 1440px) {
    font-size: 16px;
    line-height: 24px;
  }

  @media (max-width: 768px) {
    border-right: none !important;
  }

  a {
    color: #fff;
    transition: all 0.3s ease-in-out;
  }

  &:hover {
    @media (hover:hover) {
      a {
        cursor: pointer;
        color: #a54be5ce;
      }
    }
  }
}

.header_phone_wrap {
  display: flex;
  align-items: center;
  gap: 16px;

  @media (max-width: 1024px) {
    flex-direction: column;
    gap: 8px;
  }
}

.btn_bg,
.btn {
  width: fit-content;
  padding: 8px 16px;
  border-radius: 4%;
  transition: all 0.3s;
  white-space: nowrap;
  font-size: 18px;
  line-height: 24px;

  @media (max-width: 768px) {
    padding: 13px 21px;
    font-size: 16px;
    line-height: 24px;
  }
}

.btn_bg {
  background: #fff;
  color: #505050;
  transition: all 0.3s;

  &:hover {
    @media (hover: hover) {
      color: #fff;
      background: rgb(70, 34, 168);
      outline: 1px solid #fff;
    }
  }
}

.btn {
  color: #fff;
  outline: 1px solid #fff;
  transition: all 0.3s;

  &:hover {
    @media (hover: hover) {
      color: #505050;
      background: #fff;
    }
  }
}

.header_phone_header,
.header_phone {
  white-space: nowrap;
}

.header_phone_header {
  text-align: right;
  font-size: 13px;
  line-height: 18px;
}

.header_phone {
  color: #a54be5ce;
  font-size: 18px;
  line-height: 24px;
}

.main {
  background: radial-gradient(140% 107.13% at 50% 10%, #010314 37.41%, #63e 69.27%, #000 100%);
  margin: 0 25px 100px;
  border-radius: 0 0 20px 20px;

  @media (max-width: 768px) {
    margin-bottom: 0 16px 60px;
  }
}

.main_wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;

  @media (max-width: 768px) {
    padding: 40px 16px;
    gap: 24px;
  }
}

.main_bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.main_header,
.main_description {
  color: #fff;
}

.main_header {
  margin-bottom: 16px;
  font-size: 56px;
  line-height: 130%;
  letter-spacing: -.01em;

  @media (max-width: 1440px) {
    font-size: 44px;
  }

  @media (max-width: 768px) {
    font-size: 36px;
  }
}

.main_second_header {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
  background: radial-gradient(50% 150% at 50% 0, #fff 60%, hsla(0, 0%, 100%, .6) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main_description {
  max-width: 650px;
  margin-bottom: 32px;
  font-size: 20px;
  line-height: 30px;

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 22px;
  }
}

.img {
  margin: 0 auto;
  width: 50%;
  height: auto;
  object-fit: contain;
}

.about_us {
  position: relative;
  width: 100%;
  max-width: 1440px;
  padding: 120px 40px 40px;
  margin: 16px auto 60px;
  display: flex;
  gap: 32px;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 16px;
    padding: 80px 40px 40px;
    margin: 16px auto 40px;
  }

  &::after {
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: rotate(180deg);
    background: radial-gradient(140% 107.13% at 50% 20%, transparent 37.41%, #63e 69.27%, #fff 100%);
  }
}

.about_us_left {
  width: calc(50% - 16px);
  display: flex;
  gap: 16px;
  flex-direction: column;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.about_us_header {
  max-width: 560px;
  font-size: 52px;
  line-height: 130%;
  letter-spacing: -.02em;
  --x: 50%;
  --y: 50%;
  --width: 50%;
  padding-bottom: .1em;
  background: radial-gradient(50% 100% at 50% 50%, #fff 30%, hsla(0, 0%, 100%, .5) 100%);
  background: radial-gradient(var(--width) 100% at var(--x) var(--y), #fff 30%, hsla(0, 0%, 100%, .5) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  @media (max-width: 768px) {
    font-size: 2.25rem;
  }
}

.about_us_description {
  font-size: 16px;
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: 32px;

  @media (max-width: 768px) {
    margin-bottom: 16px;
  }
}

.about_us_list {
  display: flex;
  gap: 24px;
  justify-content: center;
  text-align: center;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.about_us_item {
  width: calc(25% - 12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 160px;
  padding: 10px;
  outline: 1px solid #63e;
  border-radius: 10px;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.about_us_item_header {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 110%;

  @media (max-width: 1024px) {
    font-size: 18px;
  }
}

.about_us_item_description {
  color: #babcd2;
  font-size: 16px;
  line-height: 110%;

  @media (max-width: 1024px) {
    font-size: 14px;
  }
}

.about_us_right {
  width: calc(50% - 16px);
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 768px) {
    width: 100%;
  }

  >img {
    max-height: 350px;
  }
}

.partners,
.advantages {
  width: 100%;
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 20px;

  @media (max-width: 768px) {
    margin: 60px 0;
  }
}

.advantages{
  text-align: center;
  margin-bottom: 180px;

  @media (max-width: 768px) {
    margin-bottom: 100px;
  }
}

.partners__container {
  width: 100%;
}

.partners_wrap {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;

  @media (max-width: 1024px) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.partners_card {
  width: 100%;
  padding: 24px;
  border-radius: 19px;
  box-shadow: -1px 9px 9px 4px rgba(0, 0, 0, 0.17);
  color: #fff;
  text-align: center;
}

.partners_card--hidden {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.partners_card--visible {
  display: block;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: showCard 1s ease forwards;
}

@keyframes showCard {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.card_img_wrap {
  display: flex;
  justify-content: center;
  transition: all 0.4s;
  height: 100px;
  margin-bottom: 20px;
}

.card_img {
  object-fit: contain;
  border-radius: 100px;
}

.card_header {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 120%;

  @media (max-width: 1024px) {
    font-size: 20px;
  }
}

.card_description {
  color: #DDDDDD;
  font-size: 18px;
  line-height: 110%;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

.partners_header {
  max-width: 400px;
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin: 2em auto 0;

  @media (max-width: 1024px) {
    font-size: 1.5em;
  }
}

.partners__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 18px;
  line-height: 24px;
  transition: all 0.3s;
}

.partners__toggle-icon {
  transition: transform 0.3s ease;
}

.partners__toggle-icon--rotated {
  transform: rotate(180deg);
}

.form {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 100px 50px 160px;
  display: flex;
  gap: 32px;
  border-radius: 12px;

  &::after {
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(140% 107.13% at 50% 20%, transparent 37.41%, #63e 69.27%, #fff 100%);
  }

  @media (max-width: 768px) {
    flex-direction: column;
    width: auto;
    margin: 0 16px 20px;
    padding: 50px 25px 20px;
  }

  >button {
    margin: 0 auto;
  }
}

.form_header {
  position: absolute;
  white-space: nowrap;
  top: 40px;
  left: 50%;
  transform: translate(-50%);
  font-size: 28px;
  line-height: 120%;
  color: #fff;

  @media (max-width: 768px) {
    text-align: center;
    white-space: wrap;
    top: -20px;
    font-size: 18px;
  }
}

.form_item {
  width: calc(50% - 16px);
  outline: 1px solid #fff;
  padding: 12px;
  border-radius: 12px;
  color: #505050;
  background: #fff;

  &:active {
    outline: 1px solid #FAFAFA;
  }

  @media (max-width: 768px) {
    width: 100%;
  }
}

.form_control {
  width: 100%;
  font-size: 24px;
  line-height: 32px;

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 24px;
  }
}

.footer_logo {
  margin-top: 60px;
  width: 180px;
  object-fit: contain;

  @media (max-width: 1024px) {
    width: 120px;
  }
}

.footer_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px 20px 0 0;

  @media (max-width: 1024px) {
    flex-direction: column;
    padding: 60px 16px 60px;
    gap: 24px;
  }
}

.footer_list {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;

  @media (max-width: 768px) {
    font-size: 18px;
    line-height: 32px;
  }

  &:nth-child(2) {
    &::after {
      content: '';
      position: absolute;
      top: 0;
      right: -64px;
      background: #fff;
      height: 100%;
      width: 1px;

      @media (max-width: 1024px) {
        display: none;
      }
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: -64px;
      background: #fff;
      height: 100%;
      width: 1px;

      @media (max-width: 1024px) {
        display: none;
      }
    }
  }
}

.footer_link {
  padding-right: 16px;
  font-size: 18px;
  line-height: 28px;
  transition: all 0.4s;
  white-space: nowrap;

  @media (max-width: 1440px) {
    font-size: 16px;
    line-height: 24px;
  }

  a {
    color: #fff;
    transition: all 0.3s ease-in-out;
  }

  &:hover {
    @media (hover:hover) {
      a {
        cursor: pointer;
        color: #a54be5ce;
      }
    }
  }
}

.footer_item {
  max-width: 340px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;

  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 18px;
  }

  a {
    color: #ffffffb5;
  }
}

.footer_copyright_wrap {
  padding: 16px 0;
  border-top: 1px solid #505050;
  color: #808080;
}

.footer_copyright {
  text-align: center;
}