@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}



html,
body {
  margin: 0px;
  height: 100%;
  background-color: #1E1E1E;
}

/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

@font-face {
  font-family: "Cygre Medium-Medium";
  /* Произвольное имя шрифта */
  src: url("./fonts/cygre-medium.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  /* Опционально: улучшает отображение при загрузке */
}


/* -------------------------- HEADER ------------------------- */
.adaptive_wrapper {
  width: 100%;
  max-width: 1680px;
  margin: auto;
}

header {
  height: 90px;
}

.header_wrap_container {
  display: flex;
  margin: auto;
  justify-content: space-between;
  width: 100%;
  max-width: 1680px;
  z-index: 95;
  position: fixed;
  margin-top: 22px;
  left: 50%;
  transform: translate(-50%, 0);
  background: #2020201f;
  backdrop-filter: blur(8px);
}

.header_logo {
  height: 87px;
}

.header_logo .path {
  position: absolute;
  width: 79px;
  height: 22px;
  top: 0;
  left: 52px;
}

.header_logo .img {
  position: relative;
  width: 121px;
  height: 81px;
  top: 6px;
  left: 0;
}

.header_logo .path-2 {
  position: absolute;
  width: 56px;
  height: 5px;
  top: 23px;
  left: 75px;
}

#menu-toggle {
  display: none;
}

.phone-number_mobile {
  display: none;
}

.header_menu {
  display: flex;
  align-items: center;
  position: relative;
}

.header_menu .navigation-container {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 942px;
  width: 100%;
}

.header_menu .navigation-container .rectangle {
  position: absolute;
  right: 50px;
  z-index: -1;
}

header .navigation-link {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: -0.48px;
  line-height: normal;
}

.header_rectangle {
  position: absolute;
  z-index: -1;
  right: 28px;
}

header .phone-number {
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.40px;
  line-height: normal;
  align-content: center;
}

header .phone-number a {
  text-decoration: none;
  color: #ffffff;
}


/* //-------------------------- HEADER ------------------------- */

/* //-------------------------- FOOTER ------------------------- */

.footer_screen {
  position: relative;
  width: 100%;
  background-color: #1e1e1e;
}

.footer_screen__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1680px;
  margin: auto;
  position: relative;
  padding-top: 22px;
}

.footer_screen_logo {
  position: relative;
  width: 108.65px;
  height: 68.82px;
  background-image: url(/img/main_logo.svg);
  background-size: 100% 100%;
}

.footer_container {
  position: relative;
}

.footer_rectangle {
  position: absolute;
  width: 37px;
  top: -4px;
  right: 34px;
}

.footer_screen .navbar {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer_screen .navigation-link {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: -0.32px;
  line-height: normal;
}

.footer_screen .phone-number {
  position: relative;
  width: fit-content;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.40px;
  line-height: normal;
}

.footer_screen .element {
  width: 100%;
  max-width: 1680px;
  height: 350px;
  margin-top: 113px;
  aspect-ratio: 7.64;
}

.footer_screen .frame {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1680px;
  margin: 20px auto 0 auto;
  justify-content: space-between;
}

.footer_screen .frame-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  flex: 0 0 auto;
}

.footer_screen .phone-number {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.40px;
  line-height: normal;
}

.footer_screen .frame-3 {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.footer_screen .frame-4 {
  display: flex;
  flex-direction: column;
  width: 310px;
  align-items: flex-start;
  gap: 8px;
  position: relative;
}

.footer_screen .text-wrapper-2 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  color: #ffffff80;
  font-size: 14px;
  letter-spacing: -0.28px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  line-height: normal;
}

.footer_screen .text-wrapper-3 {
  position: relative;
  align-self: stretch;
  color: #ffffff80;
  font-size: 14px;
  letter-spacing: -0.28px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  line-height: normal;
}

.footer_screen .frame-5 {
  display: flex;
  flex-direction: column;
  width: 325px;
  align-items: flex-start;
  gap: 8px;
  position: relative;
}

.footer_screen .frame-6 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.footer_screen .text-wrapper-4 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: -0.28px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  line-height: normal;
}

.footer_screen .text-wrapper-5 {
  position: relative;
  width: fit-content;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: -0.28px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  line-height: normal;
}

.footer_screen .frame-7 {
  display: flex;
  flex-direction: column;
  width: 286px;
  align-items: flex-end;
  gap: 18px;
  position: relative;
}

.footer_screen .frame-8 {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  flex: 0 0 auto;
}

.footer_screen .img {
  position: relative;
  width: 28px;
  height: 28px;
  aspect-ratio: 1;
}

.footer_screen .group {
  position: relative;
  width: 28px;
  height: 28px;
  aspect-ratio: 1;
  background-image: url(/img/vector.svg);
  background-size: 100% 100%;
}

.footer_screen .vector {
  position: absolute;
  width: 21px;
  height: 14px;
  top: 7px;
  left: 4px;
}

.footer_screen .frame-9 {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.footer_screen .appstore {
  position: relative;
  width: 135px;
  height: 39px;
}

.footer_screen .googleplay {
  position: relative;
  width: 134.81px;
  height: 39px;
}

.footer_screen .more-info-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 44px;
  background: linear-gradient(90deg,
      rgba(215, 69, 72, 1) 0%,
      rgba(200, 54, 112, 1) 25%,
      rgba(169, 56, 144, 1) 50%,
      rgba(127, 56, 140, 1) 75%,
      rgba(82, 54, 113, 1) 100%);
}

.footer_screen .more-info-text {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.40px;
  line-height: normal;
}

.footer_screen .more-info-text-wrapper {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 44px;
  background: linear-gradient(90deg,
      rgba(215, 69, 72, 1) 0%,
      rgba(200, 54, 112, 1) 25%,
      rgba(169, 56, 144, 1) 50%,
      rgba(127, 56, 140, 1) 75%,
      rgba(82, 54, 113, 1) 100%);
}

.footer_screen .layer-wrapper {
  width: 292px;
  height: 197px;
  overflow: hidden;
}

.footer_screen .layer {
  width: 291px;
  height: 197px;
}

.footer_screen .overlap-group-2 {
  position: relative;
  height: 197px;
}

.footer_screen .path {
  position: absolute;
  width: 176px;
  height: 50px;
  top: 0;
  left: 116px;
}

.footer_screen .path-2 {
  position: absolute;
  width: 268px;
  height: 184px;
  top: 13px;
  left: 0;
}

.footer_screen .path-3 {
  position: absolute;
  width: 125px;
  height: 11px;
  top: 52px;
  left: 167px;
}

.ymaps-b-zoom {
  position: relative;
  bottom: 63px;
}

.ymaps-map.ymaps-i-ua_js_yes {
  filter: grayscale(100%) brightness(0.8);
}

.footer-bot .element-wrapper {
  position: relative;
  width: 100%;
  margin: 27px auto 0 auto;
  padding: 16px 7%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bot .p {
  position: relative;
  color: #ffffff80;
  font-size: 10px;
  text-align: center;
  letter-spacing: -0.20px;
  font-family: "Cygre Medium-Medium", Helvetica;
  font-weight: 500;
  line-height: normal;
}

.footer_buttons_wrap {
  display: flex;
  justify-content: space-between;
  max-width: 1680px;
  margin: 126px auto 50px auto;
  align-items: center;
}

/* //-------------------------- FOOTER ------------------------- */

/* //-------------------------- PRELOADER ------------------------- */
.preloader {
  margin: 0;
  overflow: hidden;
  background: #000;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999999999;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  top: 0;
  /* чтобы не мешал кликам */
}

/* Прелоадер показывается только после 500 мс */
.preloader.show {
  opacity: 1;
}

.preloader_container {
  position: relative;
  width: 66px;
  height: 46px;
  transform-origin: center center;
  /* Анимации будут добавлены динамически */
}

.preloader_text-container {
  position: absolute;
  top: -30px;
  right: -200px;
  opacity: 0;
}

.text-mask {
  position: absolute;
  top: 0;
  left: -50%;
  width: 150%;
  height: 110%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 1) 80%);
  animation: textReveal 2s infinite linear;
  /* бесконечная анимация */
}

.tablet_menu {
  display: none;
}

/* Анимации */
@keyframes zoomPhase1 {
  0% {
    width: 66px;
    height: 46px;
    transform: translate(-50%, -50%) scale(1);
    left: 50%;
    top: 50%;
    position: absolute;
  }

  100% {
    width: 395px;
    height: 271px;
    transform: translate(-50%, -50%) scale(1);
    left: 50%;
    top: 50%;
    position: absolute;
  }
}

@keyframes zoomPhase2 {
  0% {
    width: 395px;
    height: 271px;
    transform: translate(-50%, -50%) scale(1);
    left: 50%;
    top: 50%;
  }

  100% {
    transform: translate(-50%, -50%) scale(75);
    left: 1%;
    top: 150%;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes textReveal {
  0% {
    left: -50%;
  }

  100% {
    left: 150%;
  }
}

@keyframes moveWithZoom {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(1000px, -500px) scale(0.1);
  }
}


/* ------------------------------- АДАПТИВ ------------------------------------ */
/* ------------------------------- АДАПТИВ ------------------------------------ */
/* ------------------------------- АДАПТИВ ------------------------------------ */
/* ------------------------------- АДАПТИВ ------------------------------------ */
/* ------------------------------- АДАПТИВ ------------------------------------ */
/* ------------------------------- АДАПТИВ ------------------------------------ */

@media screen and (max-width: 1400px) {
  .footer_screen .frame {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer_screen .frame-7 {
    margin-top: 20px;
    align-items: center;
  }
}

@media screen and (max-width: 1250px) {

  .header_menu .navigation-container {
    max-width: 590px;
    justify-content: center;
  }

  .header_menu .navigation-container .rectangle {
    right: 200px;
    bottom: 0;
  }

  header .phone-number {
    font-size: 1rem;
  }

  .footer_screen .frame {
    align-items: flex-start;
    max-width: 734px;
    flex-direction: column;
  }

  .footer_screen .frame-3 {
    flex-wrap: wrap;
  }

  .footer_screen .frame-7 {
    margin-top: 32px;
    align-items: flex-start;
  }

  .footer_buttons_wrap {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 734px;
    gap: 16px;
  }

  .footer_screen .layer-wrapper {
    order: 3;
  }

  .footer_screen .more-info-text-wrapper,
  .footer_screen .more-info-container {
    width: 48%;
    padding: 20px 0;
  }

  .footer_screen .more-info-text {
    text-align: center;
    width: 100%;
  }

}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 840px) {

  .header_menu {}

  .mobile_menu {
    display: flex;
  }

  .tablet_menu {
    display: flex;
    margin-top: 56px;
    right: 50px;
    position: fixed;
    z-index: 100;
    background: #00000066;
    border-radius: 8px;
    backdrop-filter: blur(8px);
  }

  .tablet_menu .navigation-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: flex-start;
    column-gap: 56px;
    row-gap: 10px;
    position: relative;
    z-index: 120;
    left: 0;
    height: auto;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.35s ease;
    transform: translateY(-12px);
  }

  .tablet_menu .navigation-container.is-open {
    max-height: 70dvh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: auto;
    transform: translateY(0);
  }

  .tablet_menu #navigation-container li ul {
    left: auto;
    top: auto;
    right: auto;
    background-color: transparent;
    position: relative;
    width: 100%;
    margin-top: 6px;
    padding-left: 16px;
    display: block;
  }

  .tablet_menu #navigation-container li ul::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: #000000c7;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
    border-radius: 8px;
  }

  .tablet_menu .rectangle {
    top: 380px;
    left: unset;
    right: 80px;
  }

  .tablet_menu #navigation-container li {
    width: 100%;
    position: relative;
  }

  .tablet_menu #navigation-container li.has-submenu {
    padding-right: 40px;
  }

  .tablet_menu #navigation-container li.has-submenu>ul {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.3s ease;
  }

  .tablet_menu #navigation-container li.has-submenu.submenu-open>ul {
    opacity: 1;
    transform: translateY(0);
    top: 0;
  }

  .tablet_menu #navigation-container li>.mobile-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 100%;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tablet_menu #navigation-container li>.mobile-submenu-toggle::before {
    content: "▾";
    transition: transform 0.3s ease;
  }

  .tablet_menu #navigation-container li.submenu-open>.mobile-submenu-toggle::before {
    transform: rotate(180deg);
  }

  .adaptive_wrapper {
    max-width: 730px;
  }

  header .phone-number {
    display: none;
  }

  .phone-number_mobile .phone-number {
    display: block;
    color: #ffffff;
  }

  .header_logo_wrap {
    position: relative;
    display: block;
    height: 40px;
    margin-left: 12px;
    margin-top: 2px;
  }

  .header_logo {
    height: auto;
  }

  .header_logo .path {
    width: 29px;
    height: 8px;
    left: 19px;
  }

  .header_logo .img {
    width: 48px;
    height: 29px;
  }

  .header_logo .path-2 {
    top: 6px;
    left: 28px;
  }

  .header_wrap_container {
    position: fixed;
    max-width: 730px;
    height: 40px;
    padding: unset;
    margin: 12px auto;
    background-color: #FFFFFF1A;
    z-index: 100;
    border-radius: 8px;
    backdrop-filter: blur(8px);
  }

  .header_menu {
    display: none;
  }

  /* .header_menu {
    display: flex;
    margin-top: 56px;
    right: 50px;
    position: fixed;
    z-index: 100;
    background: #00000066;
    border-radius: 8px;
    backdrop-filter: blur(8px);
  }

  .header_menu .navigation-container {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: flex-start;
    column-gap: 56px;
    row-gap: 10px;
    position: relative;
    overflow: auto;
    z-index: 120;
    left: 0;
    height: 70dvh;
  }

  .header_menu .navigation-container.is-open {
    display: flex;
    max-height: 70dvh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: auto;
    transform: translateY(0);
  }

  .header_menu #navigation-container::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0px;
    right: 0px;
    bottom: -100px;
    background: #000000c7;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
  }

  .header_menu #navigation-container li ul {
    left: unset;
    top: 20px;
    right: 180px;
    background-color: #00000066;
    position: fixed;
    height: fit-content;
  }

  .header_menu #navigation-container li ul::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: #000000c7;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
  }

  .header_menu .rectangle {
    top: 380px;
    left: unset;
    right: 80px;
  } */

  #menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-self: end;
  }

  #menu-icon {
    transition: all 0.2s ease;
  }

  #top-line,
  #bottom-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .navigation-container {
    row-gap: 0;
  }

  .navigation-container li {
    margin: 0;
    z-index: 1;
  }

  .navigation-container a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-family: Arial, sans-serif;
  }

  .navigation-container a:hover {
    background: #ddd;
  }

  /* Вложенные списки */
  .navigation-container ul {
    list-style: none;
    padding: 0;
    display: none;
  }

  .navigation-container .navigation-link:hover>ul {
    display: block;
  }

  .rectangle {
    top: unset;
    bottom: 0;
    right: 120px;
  }

  #navigation-container li ul {
    left: 0;
    bottom: 35px;
  }

  #navigation-container li:last-of-type ul {
    bottom: 70px;
  }

  .header_menu #navigation-container li:last-of-type ul {
    bottom: 20px;
    top: unset;
  }

  .news_content__item {
    width: 355px;
  }

  .news_content__item h4 {
    font-size: 18px;
  }


  .preloader_container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .preloader_img-container svg {
    width: 350px;
    height: 280px;
    max-width: none;
    max-height: none;
  }

  .preloader_img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .preloader_text-container {
    right: unset;
    z-index: 0;
    position: absolute;
    bottom: 30%;
    left: 60%;
    transform: translateX(-50%);
  }

  .preloader_text-container svg {
    z-index: 1;
  }

  .footer_screen .frame-2 {
    margin: 0 auto;
  }
}

@media screen and (max-width: 730px) {

  .adaptive_wrapper {
    max-width: 355px;
  }

  .header_wrap_container {
    max-width: 355px;
  }

  .header_menu {
    width: 100%;
    max-width: 355px;
    justify-content: flex-start;
    right: unset;
  }

  .preloader_container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .preloader_img-container svg {
    width: 350px;
    height: 280px;
    max-width: none;
    max-height: none;
  }

  .preloader_img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .preloader_text-container {
    right: unset;
    z-index: 0;
    position: absolute;
    bottom: 30%;
    left: 60%;
    transform: translateX(-50%);
  }

  .preloader_text-container svg {
    z-index: 1;
  }

  .phone-number_mobile {
    display: block;
  }

  #menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-self: end;
  }

  #menu-icon {
    transition: all 0.2s ease;
  }

  #top-line,
  #bottom-line,
  #middle-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .navigation-container {
    display: none;
  }

  .navigation-container li {
    margin: 0;
    z-index: 1;
  }

  .navigation-container a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-family: Arial, sans-serif;
  }

  .navigation-container a:hover {
    background: #ddd;
  }

  /* Вложенные списки */
  .navigation-container ul {
    list-style: none;
    padding: 0;
    display: none;
  }

  .navigation-container .navigation-link:hover>ul {
    display: block;
  }

  .rectangle {
    top: unset;
    bottom: 65px;
    left: 100px;
  }

  #navigation-container li ul {
    left: 150px;
  }

  #navigation-container li:last-of-type ul {
    bottom: 0;
  }

  .more-info-text-wrapper {
    width: 100%;
  }

  .footer_screen .more-info-container,
  .footer_screen .more-info-text-wrapper {
    width: 100%;
  }

  .footer_screen .more-info-text {
    font-size: 15px;
    justify-self: center;
  }

}