@font-face {
  font-family: "Lato";
  src: url("/fonts/4118-font.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-weight: 600;
}

#open_preferences_center {
  display: none;
}

body {
  font-family: "Lato", sans-serif;
  /* overflow: hidden; */
}

.mobile-text {
  display: none;
}

header {
  position: relative;
  width: 100%;
  padding-bottom: 56.2%;
  /* max-height: 800px; */
  /* background-color: #000; */
  z-index: 10;
  overflow: hidden;
  /* color: #000; */
  z-index: 1;
}

@media (min-width: 992px) {
  header {
    height: 100vh;
    padding-bottom: 0;
  }
}

.stiky-mobile-header {
  text-align: center;
  text-transform: uppercase;
  font-size: min(max(12px, 1.8vw), 16px);
  padding: 0.5rem 0.1rem;
  background: #42803c;
  color: #fff;
  display: block;
  position: sticky !important;
  top: 0 !important;
  z-index: 10;
  display: none;
}

header > .backgraund-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
}

header > .backgraund-wrapper > .background-image,
header > .backgraund-wrapper > .background-image-mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header > .backgraund-wrapper > .background-image-mobile {
  display: none;
}

.header-content {
  display: flex;
  /* width: 80%; */
  margin: 0 auto;
  position: absolute;
  /* max-width: 82rem; */
  inset: 0;
  align-items: center;
  justify-content: space-between;
}

.header-content > article:nth-of-type(1) {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  /* gap:2rem; */
  /* height: 70%; */
  width: 83%;
}
.header-content > article:nth-of-type(1) a {
  color: #fff;
  background: #42803c;
  width: 50%;
  text-align: center;
  display: block;
  padding: 2%;
  border-radius: 3rem;
  margin-left: 3%;
  margin-top: 21%;
  text-decoration: none;
  transition: 0.5s;
  max-width: 37rem;
  border: 1px solid #42803c;
  font-size: min(max(15px, 1.8vw), 24px);
  min-width: 19rem;
}
.header-content > article:nth-of-type(1) a:hover {
  transform: scale(1.02);
  background: #fff;
  color: #42803c;
}

.header-content > article:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  align-self: flex-end !important;
  z-index: 2;
  width: 17%;
  padding: 1rem;
}
.header-content > article:nth-of-type(2) > div,
.header-content > article:nth-of-type(2) > div > img {
  width: 100%;
}

.header-content > article:nth-of-type(1) > div:nth-of-type(1) {
  max-width: 23rem;
  width: 35%;
  margin-left: 3.7%;
  margin-bottom: -1.9%;
}

.header-content > article:nth-of-type(1) > div:nth-of-type(1) > img {
  width: 100%;
}

.header-content > article:nth-of-type(1) > h1 {
  color: #685d97;
  font-size: min(max(20px, 3vw), 45px);
  margin-left: 3.7%;
  font-weight: 800;
}

.header-content > article:nth-of-type(1) > h1 > span {
  font-weight: 200;
}
.header-content > article:nth-of-type(1) > p {
  margin-left: 3.7%;
  font-size: min(max(13px, 1.8vw), 27px);
  /* font-style: italic; */
  margin-top: 4%;
}
.header-content > article:nth-of-type(1) > p > span {
  font-weight: 600;
}

.header-content-purple {
  margin-top: 10%;
  position: relative;
}
.header-content-purple p {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: min(max(12px, 1.7vw), 20px);
}

.header-content-purple img {
  width: 110%;
  z-index: 1;
}

/* MAIN */

.first-section > article {
  position: relative;
  display: flex;
  flex-direction: column;
}
.first-section > article > img {
  width: 100%;
}

.first-section > article:nth-of-type(1) > div {
  position: absolute;
  right: 0%;
  top: 50%;
  transform: translate(-10%, -50%);
}
.first-section > article:nth-of-type(1) > div > p {
  font-size: min(max(13px, 1.7vw), 25px);
  color: #45395d;
  font-style: italic;
}
.first-section > article:nth-of-type(1) > div > p > span {
  font-weight: 600;
}

.sing-up-img {
  width: 80% !important;
  /* position: absolute; */
  margin-top: -5%;
  align-self: flex-end;
}

.first-section > article:nth-of-type(2) {
  font-size: min(max(14px, 1.7vw), 26px);
  align-items: center;
  padding: 2.5rem;
}
.first-section > article:nth-of-type(2) > p {
  font-size: min(max(15px, 1.7vw), 26px);
}
.first-section > article:nth-of-type(2) > div {
  text-align: center;
  background: #c1bbdf;
  padding: 2rem 5rem;
  border-radius: 10rem;
  margin: 1.8% auto;
  /* font-style: italic; */
}
.first-section > article:nth-of-type(2) > div > p:nth-of-type(1),
.first-section > article:nth-of-type(2) > div > p:nth-of-type(2) {
  margin-bottom: 3%;
}

.first-section > article:nth-of-type(2) > p:last-of-type {
  color: #685d97;
}

/* ABOUT US */

.about-us-title {
  position: relative;
}
.about-us-title img {
  width: 90%;
  margin-bottom: -0.2%;
}

.about-us-title p {
  color: #fff;
  position: absolute;
  left: 15%;
  top: 50%;
  font-size: min(max(15px, 1.7vw), 26px);
  transform: translate(-50%, -50%);
}

.about-us-image {
  position: relative;
}

.about-us-image img {
  width: 100%;
}
.about-us-image img:nth-of-type(2) {
 display: none;
}

.about-us-image-logo {
  position: absolute;
  /* width: 150px !important; */
  max-width: 200px;
  width: 15% !important;
  right: 0;
  bottom: 0;
}

.about-us > p {
  color: #486ca6;
  font-size: min(max(14px, 1.7vw), 19px);
  padding: 1.5rem 4rem;
  font-weight: 600;
  line-height: 2.2rem;
}

/* SERVICES */

.services-img-wrapper {
  display: flex;
  gap: 0.5rem;
}

.services-img-wrapper > div {
  width: 25%;
}
.services-img-wrapper > div > img {
  width: 100%;
}

@media (max-width: 767px) {
  .services-img-wrapper {
    padding: 0 10px;
    justify-content: center;
  }
}

.services-list {
  padding: 1.5rem 3rem;
  color: #486ca6;
  font-size: min(max(14px, 1.7vw), 18px);
}
.services-list > ul {
  padding: 1.5rem;
  color: #486ca6;
  font-size: min(max(14px, 1.7vw), 18px);
}
.services-list > ul > li {
  margin-bottom: 0.7rem;
}
.services-list > p {
  font-weight: 600;
}

/* FAQ */
.faq > div {
  position: relative;
}
.faq > div > p {
  color: #fff;
  font-size: min(max(13px, 1.7vw), 25px);
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  font-style: italic;
}
.faq > div > img {
  width: 100%;
}
.faq > div > img:nth-of-type(2) {
  display: none;
}

.faq > article {
  padding: 1rem 0;
}

.faq > article > details {
  /* background: green; */
  font-size: 20px;
}
.faq > article > details > summary {
  font-size: min(max(13px, 1.7vw), 20px);
  background: #dbd1ea;
  /* width: 33rem; */
  /* display: block; */
  padding: 0.8rem;
  position: relative;
  margin: 0.5rem 0;
  overflow: hidden;
  max-width: 1000px;
}

.faq > article > details > summary {
  list-style: none;
}
.faq > article > details > summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "+ ";
}
details[open] summary:before {
  content: "- ";
}

.faq > article > details > summary::after {
  display: inline-block;
  content: "";
  position: absolute;
  transform: rotate(45deg);
  width: 600px;
  top: -165px;
  height: 500px;
  margin-left: 10.5rem;
  background: #fff;
  /* right: 0; */
}
.faq > article > details > p {
  font-size: min(max(13px, 1.7vw), 20px);
  display: flex;
  max-width: 70rem;
  padding: 1.5rem 3rem;
  border: 1px solid #dbd1ea;
  margin: 2rem 1rem 1rem 1rem;
  /* border-top-right-radius: 50px */
  /* background: #dbd1ea; */
  border-radius: 0 50px 50px 50px;
}

/* CONTACTS */
.contacts {
  position: relative;
}

.contacts-background {
  width: 100%;
}

.contacts-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 1.2rem 3.5rem;
}

.contacts-wrapper-logo {
  max-width: 20rem;
}

.contacts-wrapper form {
  display: flex;
  flex-direction: column;
  background: transparent;
  backdrop-filter: blur(12px);
  width: 65%;
  /* border: 2px solid linear-gradient(90deg, rgba(176,174,187,1) 0%, rgba(255,255,255,1) 100%); */
  border-width: 3px;
  border-style: solid;
  border-color: #fff;
  /* border-image: linear-gradient(90deg, rgba(176,174,187,1) 0%, rgba(255,255,255,1) 100%);; */
  /* border-image-source: linear-gradient(to left, #fff, #b0aebb); */
  border-image-slice: 1;
  padding: 5.5rem 2.5rem;
  border-radius: 1.8em;
  box-sizing: border-box;
  margin-left: 2.2%;
  margin-top: -6rem;
  gap: 0.9rem;
}
.contacts-wrapper form > h3 {
  color: #fff;
  font-size: min(max(15px, 1.7vw), 28px);
}

.contacts-wrapper form > label {
  width: 100%;
}
.contacts-wrapper form > label > input {
  width: 100%;
  background: transparent;
  border: 3px solid #fff;
  height: 3.75rem;
  border-radius: 1em;
  padding: 0 1rem;
  font-size: min(max(13px, 1.7vw), 20px);
}
.contacts-wrapper form > label > input::placeholder {
  color: #695d97;
  font-weight: 600;
  font-size: min(max(13px, 1.7vw), 20px);
}
.contacts-wrapper form > button {
  background: #695d97;
  color: #fff;
  border-radius: 1rem;
  border: none;
  height: 3.75rem;
  font-size: min(max(13px, 1.7vw), 20px);
  cursor: pointer;
  font-weight: 600;
  transition: 0.5s;
}
.contacts-wrapper form > button:hover {
  background: #fff;
  color: #695d97;
  transform: scale(1.02);
}

.contacts-phone {
  position: absolute;
  bottom: 5%;
  left: 1%;
  font-size: min(max(13px, 1.7vw), 16px);
}
.contacts-phone a {
  color: #000;
  text-decoration: none;
}

.input-required {
  text-align: center;
  color: rgb(153, 20, 20);
  font-size: 0.95rem;
}

.hide {
  display: none;
}

.success-message,
.not-ready {
  width: 100%;
  max-width: 460px;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: fixed;
  bottom: -10%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.success-message {
  background: #ebf7ed;
  border: 2px solid #cae5d6;
}

.not-ready {
  background: #fbeee8;
  border: 2px solid #e2ccc6;
}

.success-message {
  width: 100%;
  max-width: 460px;
  padding: 15px;
  margin-bottom: 15px;
  background: #ebf7ed;
  border-radius: 15px;
  border: 2px solid #cae5d6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.success-message > i,
.not-ready > i {
  font-size: 30px;
  margin-bottom: 8px;
}

.success-message > i {
  color: green;
}

.not-ready > i {
  color: #e94f2b;
}

.disabled {
  background: #000;
}

/* FOOTER */

footer {
  display: flex;
  padding: 2rem 0 2rem 5rem;
  font-size: min(max(13px, 2vw), 18px);
}

.footer-logo-section {
  width: 25%;
  display: flex;
  flex-direction: column;
}
.footer-logo-section img {
  width: 80%;
  max-width: 20rem;
}
.footer-logo-section p {
  margin-left: 2rem;
  margin-bottom: 0.3rem;
}

.footer-worktime-section {
  width: 15%;
}
.footer-worktime-section p {
  margin-bottom: 0.5rem;
}
.footer-worktime-section>div {
  display: none;
  text-align: center;
}

.footer-worktime-section-mobile{
  text-align: center;
  display: none;
}

.footer-map-section {
  width: 60%;
}
.footer-map-section iframe {
  width: 100%;
  max-height: 15rem;
}

@media (max-width: 1600px) {
  .header-content-purple p {
    left: 19%;
  }
}
@media (max-width: 1500px) {
  .contacts-wrapper form {
    padding: 2%;
  }
  .contacts-wrapper-logo {
    width: 20%;
  }
}

@media (max-width: 1350px) {
  .header-content-purple p {
    left: 20%;
  }

  .contacts-wrapper form {
    margin-top: -50px;
  }
  footer {
    padding: 1rem;
  }
}
@media (max-width: 1200px) {
  .contacts-wrapper form {
    margin-top: -40px;
    margin-bottom: 1rem;
  }
  .contacts-wrapper form > button {
    height: 2.8rem;
  }

  .contacts-wrapper form > label > input {
    height: 2.8rem;
  }
}
@media (max-width: 1024px) {
}

@media (max-width: 980px) {
  .first-section > article:nth-of-type(2) {
    padding: 2.5rem 1rem;
  }
  .first-section > article:nth-of-type(2) p {
    text-align: center;
  }
  .first-section > article:nth-of-type(2) div {
    width: 100%;
    padding: 1rem;
  }
  .contacts-wrapper-logo {
    margin-top: -3%;
  }

  .contacts-wrapper form {
    margin-top: -30px;
    padding-bottom: 0.1rem;
  }

  .contacts-wrapper form > label > input,
  .contacts-wrapper form > button {
    height: 2.4rem;
  }

  footer {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .footer-logo-section,
  .footer-worktime-section {
    width: 50%;
  }

  .footer-map-section {
    width: 100%;
  }
}
@media (max-width: 768px) {
  header {
    position: relative;
    width: 100%;
    padding-bottom: 162%;
    /* max-height: 800px; */
    /* background-color: #000; */
    z-index: 10;
    overflow: hidden;
    /* color: #000; */
    z-index: 1;
  }

  .stiky-mobile-header {
    display: block;
  }

  .background-image {
    display: none;
  }

  .background-image-mobile {
    display: block !important;
  }
  .header-content > article:nth-of-type(2) {
    display: none;
  }
  .header-content > article:nth-of-type(1) {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 1rem 1rem;
    height: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .header-content > article:nth-of-type(1) > div:nth-of-type(1) {
    width: 45%;
    min-width: 11rem;
    margin: 0;
  }
  .header-content > article:nth-of-type(1) > div:nth-of-type(1) > img {
    width: 100%;
  }
  .header-content > article:nth-of-type(1) > p {
    display: none;
  }

  .header-content-purple {
    display: none;
  }

  /* .header-content-purple {
    margin-top: 60%;
  }

  .header-content-purple img {
    width: 150%;
  }
  .header-content-purple p {
    left: 27%;
  } */

  .header-content > article:nth-of-type(1) > h1 {
    /* position: absolute; */
    /* left: 26%; */
    margin-top: -125%;
    text-align: center;
    color: #9561a9;
    font-weight: 800 !important;
    text-shadow: 2px 2px 5px #fff;
  }
  .header-content > article:nth-of-type(1) > h1 span {
    font-weight: 800 !important;
  }

  .header-content > article:nth-of-type(1) a {
    margin: 0 !important;
    padding: 0.75rem 0.5rem;
  }

  .mobile-text {
    display: block;
    text-align: right;
  }

  .desk-text {
    display: none;
  }

  .first-section > article:nth-of-type(1) > img:nth-of-type(1) {
    height: 250px;
    object-fit: cover;
  }
  .first-section > article:nth-of-type(1) > div {
    top: 50%;
    right: -3% !important;
  }

  .first-section > article:nth-of-type(2) {
    padding: 1.5rem 0;
  }

  .first-section > article:nth-of-type(2) div {
    color: #fff;
    border-radius: 0;
    background: #695d97;
  }

  .sing-up-img {
    margin-top: -12.25%;
    width: 150% !important;
    margin-left: -50%;
  }

  .about-us-image img:nth-of-type(1) {
    display: none;
   }
  .about-us-image img:nth-of-type(2) {
    display: block;
   }

  .faq > div > img:nth-of-type(1) {
    display: none;
  }
  .faq > div > img:nth-of-type(2) {
    display: block;
  }

  .contacts-wrapper-logo {
    width: 20%;
    visibility: hidden;
  }

  .contacts-phone {
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: center;
    color: #fff;
    background: #695d97;
    padding: 1rem;
    /* margin-left: -5%; */
  }
  .contacts-phone a {
    color: #fff;
  }

  .contacts-wrapper {
    padding: 0;
  }

  .contacts-wrapper-bottom-img {
    visibility: hidden;
  }

  .contacts-wrapper form {
    gap: 0.5rem;
    border-width: 2px;
    padding: 0.5rem 2rem;
    width: 70%;
  }
  .contacts-wrapper input {
    border-width: 2px !important;
  }

  .contacts-wrapper form > label > input,
  .contacts-wrapper form > button {
    height: 2rem;
  }
  .about-us > p {
    padding: 0.7rem;
    text-align: center !important;
    line-height: 1.2rem;
  }
  .services-list {
    text-align: justify;
    padding: 0.5rem;
  }

  .services-img-wrapper {
    flex-wrap: wrap;
  }
  .services-img-wrapper div {
    width: 48%;
  }

  details > p {
    border: none !important;
    padding: 0 !important;
  }

  footer {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .footer-logo-section{
   min-width: 14rem;
  }
  .footer-logo-section > img {
    width: 100%;
  }

  .footer-logo-section > p {
    display: none;
  }

  .footer-worktime-section{
    width: 100%;
  }
  .footer-worktime-section>p{
    display: none;
  }

  .footer-worktime-section>div{
    display: block;
    margin-bottom: 2rem;
    width: 100%;
  }

  .footer-worktime-section-mobile{
    display: block;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 650px) {
  .first-section > article:nth-of-type(1) > img:nth-of-type(1) {
    height: 200px;
  }
  .contacts {
    position: relative;
    height: 450px;
    overflow: hidden;
  }

  .contacts-background {
    height: 100%;
    object-fit: cover;
  }

  .services-list > p {
    margin-bottom: 0rem;
    text-align: center;
  }
  .services-list > ul {
    padding: 0.75rem;
    line-height: 1.5rem;
  }

  .services-list > ul > li {
    margin-bottom: 0.2rem;
  }
  .services-list > ul > li > p {
    line-height: 1.25rem;
  }
}
@media (max-width: 500px) {
  .header-content-purple p {
    left: 32%;
  }

  .header-content-purple img {
    width: 170%;
  }

  .header-content-purple {
    margin-top: 57%;
  }
  .about-us {
    overflow: hidden;
  }

  .about-us-title img {
    width: 110%;
  }
  .about-us-title p {
    left: 21%;
  }

  .about-us > p {
    padding: 0.7rem;
    text-align: justify;
    line-height: 1.2rem;
  }

  .faq > div > p {
    left: 19.5%;
    font-size: min(max(12px, 1.7vw), 25px);
  }

  .faq > article {
    padding-top: 0;
  }
  .faq > article > details > summary {
    margin: 0.1rem 0;
  }
  .faq > article > details > summary::after {
    display: none;
  }

  .contacts {
    height: 400px;
  }

  .contacts-wrapper form {
    width: 75%;
  }

  .contacts-wrapper-bottom-img {
    width: 130%;
    margin-left: -30%;
  }
}

@media (max-width: 400px) {
  .header-content > article:nth-of-type(1) {
    padding: 1rem 0;
  }
  .header-content > article:nth-of-type(1) > div:nth-of-type(1) {
    margin-left: 2%;
    margin-bottom: -0.9%;
  }
  .header-content > article:nth-of-type(1) > h1 {
    /* left: 23%; */
    margin-top: -112%;
  }

  .header-content-purple img {
    width: 175.5%;
  }

  .first-section > article:nth-of-type(1) > img:nth-of-type(1) {
    height: 180px !important;
  }

  .contacts {
    height: 450px;
  }

  .contacts-wrapper form {
    width: 95%;
    margin-top: -3%;
  }

  .contacts-wrapper-logo {
    width: 30%;
  }

  .contacts-wrapper form > label > input::placeholder {
    /* color: #695d97; */
    color: #fff;
  }
  
  .faq > div > p {
    left: 10px;
    transform: translate(0, -50%);
  }

}
@media (max-width: 360px) {
  .header-content > article:nth-of-type(1) > h1 {
    /* font-size: 14px !important; */
  }
}
