/* Complex v2 */
:root {
  --vj-complex-v2--theme-main-color: #b91220;
  --vj-complex-v2--theme-main-hover-color: #a9c79e;
}

.vj-complex-v2 ul {
  list-style-type: none;
}

.vj-complex-v2 input {
  outline: none;
}

.swiper-complex-v2 {
  width: 100%;
}

.vj-complex-v2 {
  position: relative;
  padding: 20px;
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.vj-complex-v2__header-logo {
  margin-bottom: 50px;
  padding-bottom: 80%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 100px 0 0 0;
  overflow: hidden;
}

.vj-complex-v2__header-logo img {
  aspect-ratio: 1;
  width: 100%;
}

.vj-complex-v2__header {
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: 90%;
  letter-spacing: -1px;
}

.vj-complex-v2__text {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin-top: 20px;
}

.vj-complex-v2__list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vj-complex-v2__list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -.36px;
}

.vj-complex-v2__list-img {
  display: block;
  width: 32px;
  height: 32px;
}

.vj-complex-v2__contacts-container {
  display: none;
}

.vj-complex-v2__contacts-container.mobile {
  display: block;
}

.vj-complex-v2__contacts-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: none;
  background-color: #c1a701;
  border-radius: 40px;
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 120%;
  font-weight: 500;
  transition: ease 300ms;
}

.vj-complex-v2__contacts-button:hover {
  background-color: #4b4c00;
  color: #ffffff;
}

.vj-complex-v2__contacts-button span {
  display: block;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
}

.vj-complex-v2__contacts-button:hover span {
  background-color: var(--vj-complex-v2--theme-main-color);
}

.vj-complex-v2__form {
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 80%;
}

.vj-complex-v2__contacts-container:has(.mobile) .vj-complex-v2__form > div > input {
  width: 100%;
}

.vj-complex-v2__form button {
  width: 100%;
}

.vj-complex-v2__tel {
  padding: 12px 20px;
  border: 1px solid var(--vj-complex-v2--theme-main-hover-color);
  border-radius: 40px;
  font-size: 16px;
  line-height: 120%;
  transition: ease 300ms;
}

.vj-complex-v2__tel:focus {
  border-color: var(--vj-complex-v2--theme-main-color);
}

.vj-complex-v2__contacts-promo {
  margin-top: 20px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.vj-complex-v2__contacts-holder {
  margin-top: 10px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid gray;
}

.vj-complex-v2__contacts-holder .tel {
  color: black;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -.4px;
  text-decoration: unset;
}

.vj-complex-v2__socials-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vj-complex-v2__socials-container img {
  height: 30px;
}

.vj-complex-v2__block {
  margin-top: 60px;
}

.vj-complex-v2__block.block2 {
  margin-top: 60px;
}

.block2 .vj-complex-v2__text {
  margin-top: 20px;
}

.vj-complex-v2__gallery {
  margin-top: 60px;
}

.swiper-complex-v2-gallery {
  margin-top: 30px;
}

.vj-complex-v2__gallery-navigation {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vj-complex-v2__gallery-pagination {
  width: max-content;
}

.vj-complex-v2__gallery-navigation-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--vj-complex-v2--theme-main-hover-color);
  border-radius: 50%;
  transition: ease 300ms;

}

.vj-complex-v2__gallery-navigation-button[aria-disabled="true"] {
  opacity: 0;
}

.vj-complex-v2__gallery-navigation-button:hover {
  background-color: var(--vj-complex-v2--theme-main-hover-color);
}


@media (min-width: 575px) {
  .vj-complex-v2__form {
    margin: 30px 0 0;
  }
}

@media (min-width: 768px) {
  .vj-complex-v2__header-logo {
    padding-bottom: 50%;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .fancybox__slide {
    padding: 20px;
  }

  .swiper-complex-v2-gallery .swiper-wrapper {
    height: unset;
  }

  .vj-complex-v2__gallery-pagination {
    display: none;
  }

  .vj-complex-v2 {
    padding: 50px;
    width: 100%;
    height: 100%;
    max-width: 1340px;
    overflow: hidden;
  }

  .vj-complex-v2-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0 30px;
    height: 100%;
    width: 100%;
  }

  .vj-complex-v2-inner > div:nth-child(1) {
    overflow-y: auto;
  }

  .vj-complex-v2__info {
    overflow-y: auto;
  }

  .vj-complex-v2__header-logo {
    padding-bottom: unset;
    aspect-ratio: 1.3;
    margin-bottom: 0;
    width: 100%;
  }

  .vj-complex-v2__gallery {
    display: grid;
    grid-template-areas:
        "header nav"
        "swiper swiper";
  }

  .vj-complex-v2__header {
    grid-area: header;
    align-self: center;
  }

  .swiper-complex-v2-gallery {
    grid-area: swiper;
  }

  .vj-complex-v2__gallery-navigation {
    margin-top: 0;
    grid-area: nav;
    justify-content: end;
    gap: 10px;
  }

  .vj-complex-v2__contacts-container {
    display: block;
  }

  .vj-complex-v2__contacts-container.mobile {
    display: none;
  }

  .vj-complex-v2__socials-container {
    justify-content: left;
    gap: 10px;
  }

  .vj-complex-v2__contacts-holder {
    padding-bottom: 0;
    flex-direction: column;
    align-items: unset;
    justify-content: center;
    gap: 10px;
    border: none;
  }

  .vj-complex-v2__form {
    margin-top: 15px;
    max-width: unset;
  }

  .quiz__last-screen_input-with-flag .input-holder > span,
  .vj-complex-v2 .quiz__last-screen_input .input-holder > span,
  .vj-complex-v2 .quiz__last-screen_input .input-holder input {
    height: 60px;
    min-height: unset;
  }

  .vj-complex-v2__main-text-container {
    padding-right: 5px;
  }
}

@media (min-width: 1100px) {
  .vj-complex-v2-inner {
    grid-template-columns: 1fr 3fr;
  }
}

@media (min-width: 1300px) {
  .vj-complex-v2__contacts-holder {
    flex-direction: row;
    align-items: center;
    justify-content: start;
  }
}

@media (min-width: 992px) and (max-height: 760px) {
  .vj-complex-v2 {
    padding: 20px 10px 20px 20px;
  }

  .vj-complex-v2__form {
    margin-top: 15px;
  }

  .vj-complex-v2__form .btn-block {
    width: 50px;
    height: 50px;
  }


  .vj-complex-v2__contacts-promo {
    margin-top: 10px;
  }

}