/* Переменные */

:root {
    --index: calc(1vw + 1vh);
    --primary-color: #f2f8ff;
    --accent-color: #314AAF;
    --main-color: #061034;
    --second-color: #091950;
}

/* Общие свойства */

body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-color: var(--accent-color);
  scroll-behavior: smooth;
  background-color: var(--second-color);
}

body.lock {
  overflow: hidden;
}

.wrapper {
  inset: 0;
  display: flex;
  flex-direction: column;
}

.header {
  position: fixed;
  width: 100%;
  z-index: 100;
}

.header__container {
  max-width: 1250px;
  padding: 0 25px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 10vh;
}

@media (max-width: 932px) {
  .header__container {
    padding: 0 50px;
  }
}

.header__logo {
  z-index: 999;
  width: 208px !important;
  height: auto !important;
}

@media (max-width: 668px) {
  .header__logo {
    width: 160px !important;
    aspect-ratio: 208 / 30 !important;
  }
}

.menu__list > li {
  position: relative;
  margin: 0px 0px 0px 3vw;
}

.menu__link {
  font-family: "Neuropol X", sans-serif;
  color: var(--primary-color);
  font-size: calc(var(--index) * .55);
  text-decoration: none;
  transition: 0.4s;
  cursor: pointer;
}

@media (max-width: 932px) {
  .menu__link {
    font-size: calc(var(--index) * .7);
  }
}

.menu__link:hover {
  text-decoration: underline;
}

.menu__sublist {
  position: absolute;
  top: 100%;
  right: 0;
  text-align: right;
  padding: 15px 0 15px 0;
  min-width: 250px;
}

.menu__sublist li {
  margin: 0px 0px 1vh 0px;
}

.menu__sublist li:last-child{
  margin: 0;
}

.menu__sublink {
  font-family: "SFCompactText", sans-serif;
  color: var(--primary-color);
  font-size: calc(var(--index) * .7);
  text-decoration: none;
  transition: 0.4s;
  cursor: pointer;
}

.menu__sublink:hover {
  text-decoration: underline;
}

.menu__arrow {
  display: none;
}

/* ---------------------------- */

body.pc .menu__list > li:hover .menu__sublist {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, -15%);
  pointer-events: all;
}

body.touch .menu__list > li {
  display: flex;
  align-items: center;
}

body.touch .menu__link {
  flex: 1 1 auto;
}

body.touch .menu__arrow {
  display: block;
  width: 0;
  height: 0;
  margin: 0px 0px 0px 5px;
  transition: transform .4s ease;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 10px solid var(--primary-color);
}

body.touch .menu__list > li .menu__sublist {
  opacity: 0;
  visibility: hidden;
  pointer-events: all;
}

body.touch .menu__list > li.active .menu__sublist {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, -15%);
  pointer-events: all;
}

body.touch .menu__list > li.active .menu__arrow {
  transform: rotate(-180deg);
}

/* ---------------------------- */

@media (min-width: 767px) {
  .menu__list {
    display: flex;
    align-items: center;
  }
  .menu__list > li {
    padding: 10px 0;
  }
  .menu__sublist {
    transform: translate(0px, 10%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .4s ease;
  }
}

@media (max-width: 767px) {
  .menu__icon {
    display: block;
    position: relative;
    width: 30px;
    height: 18px;
    cursor: pointer;
    z-index: 150;
    @media ((max-width: 400px) and (orientation: portrait)) or ((max-width: 668px) and (orientation: landscape)) {
      width: 24px;
      height: 14px;
    }
  }

  .menu__icon span,
  .menu__icon::before,
  .menu__icon::after {
    left: 0;
    position: absolute;
    height: 10%;
    width: 100%;
    transition: all .4s ease;
    background-color: var(--primary-color);
  }
  .menu__icon::before,
  .menu__icon::after {
    content: "";
  }

  .menu__icon::before {
    top: 0;
  }

  .menu__icon::after {
    bottom: 0;
  }

  .menu__icon span {
    top: 50%;
    transform: scale(1) translate(0px, -50%);
  }

  .menu__icon.active span {
    transform: scale(0) translate(0px, -50%);
  }

  .menu__icon.active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0px, -50%);
  }

  .menu__icon.active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0px, 50%);
  }

  .menu__body {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(49, 74, 175, 0.4);
    -webkit-backdrop-filter:blur(15px);
    backdrop-filter:blur(15px);
    padding: 20vh 30px 30px 30px;
    transition: left .4s ease;
    overflow: auto;
  }

  .menu__body.active {
    left: 0;
  }

  .menu__list {
    text-align: center;
  }

  .menu__list > li {
    flex-wrap: wrap;
    margin-bottom: 2.5vh;
  }

  .menu__list > li.active .menu__sublist {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .menu__link {
    font-size: calc(var(--index));
  }

  .menu__sublist {
    position: relative;
    flex: 1 1 100%;
    text-align: center;
    transform: translate(0px, 10%);
    padding-top: 4vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .4s ease;
  }

  .menu__sublink {
    font-size: 18px;
  }
}

.fullscreen {
  position: fixed;
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.fullscreen__content {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 80%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 3;
  gap: 1vh;
}

.fullscreen__text {
  font-family: "SFCompactText", sans-serif;
  font-size: calc(var(--index));
  text-transform:lowercase;
  color: var(--accent-color);
  opacity: 0;
  transition: 1s ease .8s;
  @media ((max-width: 430px) and (orientation: portrait)) or ((max-width: 668px) and (orientation: landscape)) {
    font-size: 18px;
  }
}

.fullscreen__text.active {
  opacity: 1;
}

.fullscreen__title {
  font-family: "Neuropol X", sans-serif;
  font-size: calc(var(--index) * 1.6);
  color: var(--primary-color);
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transition: 2s ease;
}

.fullscreen__title.active {
  opacity: 1;
}

.fullscreen__image {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  z-index: 2;
}

.fullscreen__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	opacity: 40%;
  object-position: 50% 65%;
	filter: brightness(0.55) saturate(1.15);
}

.scroll-indicator {
  position: fixed;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
  transition: opacity 0.5s ease-in-out;
  z-index: 3;
}

.arrow {
  width: 3vw;
  aspect-ratio: 1 / 1;
  border: solid var(--primary-color);
  border-width: 0 4px 4px 0;
  display: inline-block;
  margin-top: 10px;
  transform: rotate(45deg);
  animation: arrowAnimation 1.5s infinite;
  @media (max-width: 430px) and (orientation: portrait) {
    width: 5vw;
    border-width: 0 2px 2px 0;
  }
}

@keyframes arrowAnimation {
  0% {
      opacity: 1;
  }
  50% {
      opacity: 0.3;
  }
  100% {
      opacity: 1;
  }
}

/* Контент о компании */

.wrapper_descrip {
  margin-top: 100vh;
}

.descrip_content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  width: 90%;
  height: 96vh;
  padding: 70vh 0 10vh 0;
  border-radius: 48px 48px 0 0;
  box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.24);
  background-color: rgb(49, 74, 175, .45);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter: blur(24px);
  gap: 10vh;
  z-index: 100;
  overflow-y: scroll;
  scroll-behavior: smooth;
  @media (orientation: portrait) {
    padding: 40vh 0 10vh 0;
    gap: 5vh;
  }
}

.descrip_content::-webkit-scrollbar {
  width: 0;
}

.content_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  width: 55%;
  margin: 0 auto;
  text-align: center;
  gap: 3vh;
  @media (orientation: portrait) {
    width: 65%;
  }
}

.content_container h2 {
  font-family: "Neuropol X", sans-serif;
  font-size: calc(var(--index));
  line-height: 1.55;
}

.content_container p {
  font-family: "SFCompactText", sans-serif;
  font-size: calc(var(--index) * .65);
}

.futter {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 80vw;
  min-height: 6vh;
  display: flex;
  justify-content: flex-end;
  text-align: end;
  align-items: center;
  background-color: var(--main-color);
  padding-right: 5%;
  z-index: 101;
  border-radius: 48px 0 0 0;
  box-shadow: 4px 1px 6px 6px rgba(0, 0, 0, 0.16);
}

.futter__text {
  font-family: "SFCompactText", sans-serif;
  font-size: clamp(8px, calc(var(--index) * .5), 16px);
  color: var(--primary-color);
  opacity: .5;
  @media (max-width: 411px) {
    width: 220px;
  }
}

.futter img {
  width: 0.8vw;
  height: auto;
  margin-right: 0.3vw;
  opacity: .5;
}
/* Контент Вопросы-Ответы */

.accordion {
  padding: 50vh 0 10vh 0;
  gap: 4.5vh;
}

.accordion-container {
  width: 55%;
  margin: 0 auto;
  color: var(--primary-color);
}

.accordion-title {
  font-family: "Neuropol X", sans-serif;
  font-size: calc(var(--index) / 1.2);
  padding-bottom: 1.3vh;
  cursor: pointer;
  line-height: 1.55;
}

.accordion-content {
  font-family: "SFCompactText", sans-serif;
  font-size: calc(var(--index) * .65);
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}



