@import url("./fonts/evolventa.css");
@import url("./select.css");

:root {
  font-family: Evolventa, system-ui, Helvetica, Arial, serif;
  line-height: 1.5;
  font-weight: 400;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 10px;
  margin: 0;
  padding: 0;
  background: #fff;
}

.mobile {
  display: none;
}

.button:active {
  transform: translate(2px, 2px);
}

.button {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  background: #f42468;
  border-radius: 8px;

  font-size: 20px;
  font-weight: 700;
  line-height: 16px;
  color: #fff;
  text-decoration: none;
}

body {
  font-family: "Evolventa", serif;
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
  overflow-x: hidden;

  background: #fff;
  color: #171717;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.header_top {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_image > img {
  width: 100%;
}

.header_contacts {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header_contacts > a {
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  color: #171717;
  text-decoration: none;
}

.header_banner {
  background: url(/static/images/activatebanner_back.png) no-repeat right bottom;
  background-size: 50%;
  padding-bottom: 144px;
  min-height: 460px;
  box-sizing: border-box;
}

.header_banner > .ttl {
  font-size: 60px;
  font-weight: 700;
  line-height: 66px;

  margin-top: 30px;
}

.header_banner > .dsc {
  font-size: 24px;
  font-weight: 700;
  line-height: 26.4px;
  display: flex;
  flex-direction: column;
  gap: 26px;

  margin: 53px 0 67px 0;
}

.header_banner > .dsc {
  font-size: 16px;
  font-weight: 400;
  line-height: 17.6px;

  gap: 14px;

  margin: 20px 0 40px 0;
}

.direction {
  padding: 60px 0;
}

.direction_top > span {
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
}

.direction_top {
  display: flex;
  justify-content: space-between;
}

.direction_buttons {
  display: flex;
  gap: 20px;
}

.direction_buttons > div {
  cursor: pointer;
}

.direction_buttons > div.swiper-button-disabled {
  opacity: 0.5;
}

.direction_buttons > div:active {
  transform: translate(2px, 2px);
}

.direction_buttons > div.swiper-button-disabled:active {
  transform: translate(0, 0);
}

.direction_swiper {
  margin-top: 50px;
  /*display: flex;
  gap: 20px; */
}

.direction_swiper .swiper-slide {
  width: 420px;
}

.direction_item {
  display: flex;
  flex-direction: column;
  width: 420px;
  background: #fafafb;
  border-radius: 20px 20px;
}

.direction_item .photo {
  height: 311px;
  background-color: #fee3ec;
  border-radius: 20px 20px 0 0;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.direction_item .description {
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 16px 30px 30px 30px;
  box-sizing: border-box;
  justify-content: space-between;
}

.direction_item .description .ttl {
  font-size: 30px;
  font-weight: 700;
  line-height: 37.5px;
}

.direction_item .description .text {
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  padding-top: 12px;
}

.direction_item .description .tag > span {
  background: #f0f0f0;
  color: #b2b2b2;
  font-size: 13px;
  font-weight: 400;
  line-height: 13px;

  height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;

  border-radius: 14px;
}

.presentation {
  height: 386px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 35px;

  background: url(/static/images/activationpdf_back.png) no-repeat right center;
  background-size: 45%;
}

.presentation > .ttl {
  font-size: 50px;
  font-weight: 700;
  line-height: 55px;
}

.form {
  background: #f42468;
  overflow: hidden;
}

.form > .container {
  background: url(/static/images/activage_bg1.svg) no-repeat right top;
}

.form_ttl {
  display: flex;
  padding-top: 46px;
}

.form_ttl > div {
  font-size: 55px;
  font-weight: 700;
  line-height: 63px;
  color: #fff;
}

.form_ttl .arrow {
  position: relative;
}

.form_ttl img {
  position: absolute;
  top: 50px;
  left: 20px;
}

.form_form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 5;
  margin-top: 30px;

  padding-bottom: 46px;
}

.form_form > input[type="text"],
.form_form > input[type="email"],
.form_form > input[type="tel"],
.form_form > input[type="number"],
.form_form > input[type="url"] {
  border: solid 2px #e2e2e3;
  border-radius: 8px;
  height: 56px;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;

  font-family: Evolventa;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.form_wrapper {
  display: grid;
  grid-template-columns: 500px 1fr;
}

.form_checkbox {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: #fff;
  display: flex;
  position: relative;
  gap: 11px;
}

.form_checkbox > input {
  position: absolute;
  opacity: 0;
}

.form_checkbox > input + div::after {
  content: "";
  width: 39px;
  height: 39px;
  background: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  border: solid 2px #fcc8d9;
  border-radius: 2px;
  display: block;
  cursor: pointer;
}

.form_checkbox > input:checked + div::after {
  background-image: url(/static/images/activatecheckbox.svg);
}

.form_button {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form_button > button {
  width: 100%;
  max-width: 100%;
  background: #fff;
  color: #171717;
  border: none;
}

.form_politic {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 15px;
}

.form_politic > a {
  color: #fff;
}

.form_image {
  position: relative;
}

.form_image > img {
  position: absolute;
  bottom: 0;
  right: -200px;
  z-index: 0;
}

.faq {
  padding: 45px 0;
}

.faq_title {
  font-size: 48px;
  font-weight: 700;
  line-height: 52.8px;
}

.faq_wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.faq_wrapper > label {
  border-top: solid 1px #f0f0f0;
  padding: 20px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.faq_wrapper > label:last-child {
  border-bottom: solid 1px #f0f0f0;
}

.faq_question {
  font-size: 24px;
  font-weight: 700;
  line-height: 28.8px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  position: relative;
}

.faq_question::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: url("/static/images/openclose.svg") no-repeat right top;
  transition: all 0.35s;
}

.faq_answer {
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  transition: all 0.35s;

  max-height: 0px;
  overflow: hidden;
  box-sizing: content-box;
}

.faq_wrapper > label > input {
  position: absolute;
  opacity: 0;
}

.faq_wrapper > label > input:checked + .faq_question + .faq_answer {
  max-height: 25rem;
}

.faq_wrapper > label > input:checked + .faq_question::after {
  transform: rotate(180deg);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  margin: 150px 0 50px 0;
  gap: 90px;
}

.footer_logo {
}

.footer_logo img {
  width: 212px;
}

.footer_first {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer_first > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer_first a {
  text-decoration: none;
  color: #171717;
  font-size: 13px;
  font-weight: 400;
  line-height: 14.95px;

  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.footer_first a:hover {
  text-decoration: underline;
}

.footer_second {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

.footer_second a {
  font-size: 13px;
  font-weight: 700;
  line-height: 14.95px;

  text-underline-position: from-font;
  text-decoration-skip-ink: none;

  color: #171717;
  text-decoration: none;
}

.footer_second a:hover {
  text-decoration: underline;
}

.footer_social {
  display: flex;
  gap: 13px;
}

.footer_last {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer_last > div {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #171717;
}

.footer_last > div > a {
  font-weight: 700;
  text-decoration: none;
  color: #171717;
}

.footer_copyright {
  grid-area: f;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;

  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #171717;
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .header_top > img {
    height: 30px;
  }

  .header_contacts {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .header_contacts > a {
    font-size: 14px;
    font-weight: 400;
    line-height: 15.4px;
  }

  .header_banner > .ttl {
    font-size: 40px;
    font-weight: 700;
    line-height: 46px;
    margin-top: 0px;
  }

  .header_banner {
    background: none;
    padding-bottom: 0;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .direction {
    padding: 50px 0;
  }

  .direction_top > span {
    font-size: 36px;
    font-weight: 700;
    line-height: 41.4px;
  }

  .direction_buttons {
    display: none;
  }

  .direction_swiper .swiper-slide {
    width: 310px;
  }

  .direction_item {
    width: 310px;
    max-width: calc(100vw - 40px);
  }

  .direction_item .photo {
    height: 222px;
  }

  .direction_item .description {
    min-height: 208px;
    padding: 20px;
  }

  .direction_item .description .ttl {
    font-size: 22px;
    font-weight: 700;
    line-height: 29.7px;
  }

  .direction_item .description .text {
    font-size: 16px;
    font-weight: 400;
    line-height: 23.2px;
  }

  .direction_item .description .tag > span {
    font-size: 11px;
    font-weight: 400;
    line-height: 113px;
  }

  .presentation {
    height: auto;
    gap: 20px;
    background: none;
    margin-bottom: 60px;
  }

  .presentation > .mobile > img {
    width: 100%;
  }

  .presentation > .ttl {
    font-size: 36px;
    font-weight: 700;
    line-height: 41.4px;
    text-align: center;
  }

  .form .container {
    background: none;
  }

  .form_ttl > div {
    font-size: 34px;
    font-weight: 700;
    line-height: 45.9px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .form_ttl img {
    display: none;
  }

  .form_wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c";
    gap: 20px;
    padding-bottom: 0;
  }

  .form_form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .form_certificate {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .form_certificate > div {
    width: 70%;
  }

  .form > .container {
    background: none;
  }

  .form_image {
    display: none;
  }

  .faq_title {
    font-size: 38px;
    font-weight: 700;
    line-height: 43.7px;
    letter-spacing: -0.025em;
  }
  .faq_question,
  .faq_question a {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
  }

  .faq_answer {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
  }

  footer {
    width: 100%;
    grid-template-columns: 1fr auto;
    margin: 50px 0 50px 0;
    gap: 30px;
  }
  .footer_logo img {
    width: 128px;
  }
  .footer_social {
    display: none;
  }
  .footer_second {
    justify-content: space-between;
  }
  .footer_second > a {
    font-size: 10px;
    font-weight: 700;
    line-height: 11.5px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }

  .footer_last > div {
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }

  .footer_last > .footer_social {
    display: flex;
    margin-top: 20px;
  }

  .footer_first a {
    font-size: 10px;
    font-weight: 400;
    line-height: 11.5px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }

  .footer_first {
    position: relative;
  }

  .footer_copyright {
    font-size: 9px;
    font-weight: 400;
    line-height: 11.7px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
}

.certificate_not_found {
  display: none;
  position: fixed;
  background: rgba(255, 255, 255, 0.8);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

.certificate_not_found > .dlg {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;

  background: #fff;
  width: 100%;
  max-width: 923px;
  color: #171717;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 20px;
  box-shadow: 10px 10px 30px 0px #0000001a;
}

.certificate_not_found > .dlg .ttl {
  font-size: 50px;
  font-weight: 700;
  line-height: 57.5px;
  text-align: center;
}

.certificate_not_found > .dlg .dsc {
  font-size: 30px;
  font-weight: 400;
  line-height: 37.5px;
  text-align: center;
}

.certificate_not_found > .dlg .phone {
  font-size: 45.94px;
  font-weight: 700;
  line-height: 1em;

  background: url(/static/images/activate_phone.svg) no-repeat left center;
  padding-left: 60px;
}

.certificate_not_found .dlg_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 33px;
  position: relative;

  padding: 0 80px;
  box-sizing: border-box;

  height: 554px;
  max-height: 100%;
}

.certificate_not_found .dlg_close {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.certificate_not_found .dlg_close > img {
  width: 40px;
}

@media (max-width: 1024px) {
  .certificate_not_found .dlg_wrapper {
    padding: 0 20px;
  }

  .certificate_not_found > .dlg .ttl {
    font-size: 34px;
    font-weight: 700;
    line-height: 39.1px;
  }

  .certificate_not_found > .dlg .dsc {
    font-size: 16px;
    font-weight: 400;
    line-height: 23.2px;
  }

  .certificate_not_found > .dlg .phone {
    font-size: 28px;
    font-weight: 700;
    line-height: 40.6px;

    padding-left: 30px;

    background-size: 28px;
  }
}
