*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  width: 100vw;
  overflow-x: hidden;
}

body {
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background-color: #1b233a;
  overflow-x: clip;
}

::selection {
  background-color: #b13fff;
  color: #fff;
}

input {
  outline: none;
  box-shadow: none;
}
input:focus, input:hover {
  outline: none;
}

body {
  font-weight: 400;
  line-height: 1;
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
}

img {
  vertical-align: middle;
}

a {
  text-decoration: none;
}

b {
  font-weight: 700;
}

button {
  outline: none;
  box-shadow: none;
  border: none;
}

fieldset {
  border: transparent;
}

.page-title {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.section-title {
  font-weight: 800;
  line-height: normal;
}
@media (max-width: 767px) {
  .section-title {
    font-size: 20px;
  }
}
@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
}

.wide-title {
  margin: auto;
  text-align: center;
  color: #fff;
}
@media (max-width: 767px) {
  .wide-title {
    max-width: 280px;
  }
}
@media (min-width: 768px) {
  .wide-title {
    max-width: 750px;
  }
}
@media (max-width: 767px) {
  .wide-title__box.wrap {
    margin-top: 72px;
    padding: 32px 0 40px;
  }
  .wide-title__box.wrap::before {
    position: absolute;
    top: 0;
    left: 25px;
    width: calc(100% - 50px);
    height: 1px;
    display: block;
    content: "";
    background-color: #fff;
  }
}
@media (min-width: 768px) {
  .wide-title__box.wrap {
    margin-top: 120px;
    padding: 64px 0 14px;
    border-top: 1px solid #fff;
  }
}

.link-to-project {
  position: relative;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  color: #b13fff;
  transition: 0.3s color;
}
.link-to-project::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  display: block;
  content: "";
  background: #b13fff;
  transition: 0.3s background;
}
.link-to-project:hover, .link-to-project:focus {
  color: #fff;
}
.link-to-project:hover::after, .link-to-project:focus::after {
  background: #fff;
}

.wrap {
  position: relative;
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .wrap {
    padding: 0 25px;
  }
}
@media (min-width: 768px) {
  .wrap {
    padding: 0 30px;
  }
}

.main {
  min-height: calc(100vh - 412px);
}

.wpcf7-not-valid {
  border-color: #ff0000 !important;
}

.screen-reader-text {
  display: none;
}

.btn {
  border: none;
  cursor: pointer;
}
.btn--primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 28.9px 0px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
@media (max-width: 767px) {
  .btn--primary {
    width: 120px;
    height: 32px;
    font-size: 12px;
  }
}
@media (min-width: 768px) {
  .btn--primary {
    width: 240px;
    height: 40px;
    font-size: 16px;
  }
}
.btn--primary:before {
  position: absolute;
  z-index: -1;
  inset: 0;
  height: 100%;
  display: block;
  content: "";
  background: linear-gradient(76deg, #292bf2 9.12%, #b13fff 95.19%);
  transform: none;
  transition: none;
}
@media (max-width: 767px) {
  .btn--primary:before {
    width: 120px;
    height: 32px;
  }
}
@media (min-width: 768px) {
  .btn--primary:before {
    width: 380px;
  }
}
.btn--primary:hover:before, .btn--primary:focus:before {
  transform: none;
}

@media (max-width: 767px) {
  .contact-form__box {
    padding: 72px 0 93px;
  }
}
@media (min-width: 768px) {
  .contact-form__box {
    padding: 72px 0 128px;
  }
}
.contact-form__box .section-title {
  color: #fff;
  text-align: center;
}
@media (max-width: 767px) {
  .contact-form__box .section-title {
    margin-bottom: 16px;
  }
}
@media (min-width: 768px) {
  .contact-form__box .section-title {
    margin-bottom: 32px;
  }
}
.contact-form__desc {
  max-width: 490px;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .contact-form__desc {
    margin: 0 auto 24px;
  }
}
@media (min-width: 768px) {
  .contact-form__desc {
    margin: 0 auto 32px;
  }
}
.contact-form .b24-form {
  max-width: 440px;
  margin: 0 auto;
}
.contact-form .b24-form-wrapper.b24-form-border-bottom {
  border: none;
  border-radius: 20px;
}
.contact-form .b24-form-btn {
  background: linear-gradient(0deg, #292bf2 9.12%, #b13fff 95.19%);
  border-radius: 10px;
}

/* Contact Form 7 styling (match the "white card" look previously provided by Bitrix embed) */
.contact-form__card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .contact-form__card {
    padding: 20px;
  }
}

.contact-form__card .wpcf7 {
  color: #1b233a;
}

/* CF7 often wraps fields in <p> tags. Normalize spacing. */
.contact-form__card .wpcf7 form p {
  margin: 0 0 12px 0;
}
.contact-form__card .wpcf7 form p:last-child {
  margin-bottom: 0;
}

.contact-form__card .wpcf7 input[type=text],
.contact-form__card .wpcf7 input[type=email],
.contact-form__card .wpcf7 input[type=tel],
.contact-form__card .wpcf7 input[type=url],
.contact-form__card .wpcf7 textarea,
.contact-form__card .wpcf7 select {
  width: 100%;
  display: block;
  padding: 14px 16px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #f3f3f3;
  font-size: 16px;
  line-height: 1.2;
  color: #1b233a;
  box-sizing: border-box;
}

.contact-form__card .wpcf7 input::placeholder,
.contact-form__card .wpcf7 textarea::placeholder {
  color: rgba(27, 35, 58, 0.55);
}

.contact-form__card .wpcf7 input:focus,
.contact-form__card .wpcf7 textarea:focus,
.contact-form__card .wpcf7 select:focus {
  outline: none;
  border-color: rgba(101, 52, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(101, 52, 248, 0.15);
  background: #ffffff;
}

.contact-form__card .wpcf7 .wpcf7-submit {
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(76.05deg, #292BF2 9.12%, #B13FFF 95.19%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 4px 28.9px rgba(0, 0, 0, 0.25);
}
.contact-form__card .wpcf7 .wpcf7-submit:hover,
.contact-form__card .wpcf7 .wpcf7-submit:focus {
  filter: brightness(1.05);
}

.contact-form__card .wpcf7 .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

/* CF7 form styling inside the contact section (applies to both RU and NO forms).
   NOTE: on some copies the wrapper is `.contact-form__box` (without `--form`), so we target both.
   Use !important to avoid being overridden by plugin/theme styles. */
.contact-form__box .contact-form .wpcf7,
.contact-form__box--form .contact-form .wpcf7 {
  max-width: 560px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 34px 34px 28px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25) !important;
  color: #1b233a !important;
  box-sizing: border-box !important;
}
@media (max-width: 520px) {
  .contact-form__box .contact-form .wpcf7,
  .contact-form__box--form .contact-form .wpcf7 {
    padding: 22px 18px 18px !important;
    border-radius: 18px !important;
  }
}

.contact-form__box .contact-form .wpcf7 form,
.contact-form__box--form .contact-form .wpcf7 form {
  margin: 0 !important;
}
.contact-form__box .contact-form .wpcf7 p,
.contact-form__box--form .contact-form .wpcf7 p {
  margin: 0 0 14px !important;
}
.contact-form__box .contact-form .wpcf7 p:last-of-type,
.contact-form__box--form .contact-form .wpcf7 p:last-of-type {
  margin-bottom: 0 !important;
}

.contact-form__box .contact-form .wpcf7 input[type=text],
.contact-form__box--form .contact-form .wpcf7 input[type=text],
.contact-form__box .contact-form .wpcf7 input[type=email],
.contact-form__box--form .contact-form .wpcf7 input[type=email],
.contact-form__box .contact-form .wpcf7 input[type=tel],
.contact-form__box--form .contact-form .wpcf7 input[type=tel],
.contact-form__box .contact-form .wpcf7 input[type=url],
.contact-form__box--form .contact-form .wpcf7 input[type=url],
.contact-form__box .contact-form .wpcf7 textarea,
.contact-form__box--form .contact-form .wpcf7 textarea,
.contact-form__box .contact-form .wpcf7 select,
.contact-form__box--form .contact-form .wpcf7 select {
  width: 100% !important;
  display: block !important;
  padding: 14px 16px !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 10px !important;
  background: #f3f3f3 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  color: #1b233a !important;
  box-sizing: border-box !important;
}

.contact-form__box .contact-form .wpcf7 input::placeholder,
.contact-form__box--form .contact-form .wpcf7 input::placeholder,
.contact-form__box .contact-form .wpcf7 textarea::placeholder,
.contact-form__box--form .contact-form .wpcf7 textarea::placeholder {
  color: rgba(27, 35, 58, 0.55) !important;
}

.contact-form__box .contact-form .wpcf7 input:focus,
.contact-form__box--form .contact-form .wpcf7 input:focus,
.contact-form__box .contact-form .wpcf7 textarea:focus,
.contact-form__box--form .contact-form .wpcf7 textarea:focus,
.contact-form__box .contact-form .wpcf7 select:focus,
.contact-form__box--form .contact-form .wpcf7 select:focus {
  outline: none !important;
  border-color: rgba(101, 52, 248, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(101, 52, 248, 0.15) !important;
  background: #ffffff !important;
}

.contact-form__box .contact-form .wpcf7 .wpcf7-submit,
.contact-form__box--form .contact-form .wpcf7 .wpcf7-submit {
  width: 100% !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(76.05deg, #292BF2 9.12%, #B13FFF 95.19%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  box-shadow: 0px 4px 28.9px rgba(0, 0, 0, 0.25) !important;
}
.contact-form__box .contact-form .wpcf7 .wpcf7-submit:hover,
.contact-form__box--form .contact-form .wpcf7 .wpcf7-submit:hover,
.contact-form__box .contact-form .wpcf7 .wpcf7-submit:focus,
.contact-form__box--form .contact-form .wpcf7 .wpcf7-submit:focus {
  filter: brightness(1.05) !important;
}

/* Tabs block (like switcher on merhebia.no) */
.dg-tabs {
  position: relative;
}
.dg-tabs__inner {
  margin-top: 24px;
}
.dg-tabs__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.dg-tabs__tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: 0.2s background-color, 0.2s border-color, 0.2s color;
}
.dg-tabs__tab[aria-selected=true] {
  background: #ffffff;
  color: #1b233a;
  border-color: rgba(27, 35, 58, 0.15);
}
.dg-tabs__panel {
  border-radius: 20px;
  background: #ffffff;
  color: #1b233a;
  padding: 20px;
  box-shadow: 0px 4px 28.9px rgba(0, 0, 0, 0.12);
}
@media (min-width: 768px) {
  .dg-tabs__panel {
    padding: 28px;
  }
}
.dg-tabs__content p:last-child {
  margin-bottom: 0;
}

.lang {
  position: absolute;
  z-index: 1;
  top: calc(100% + 10px);
  border-radius: 20px;
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(76deg, #292bf2 9.12%, #b13fff 95.19%);
  transition: 0.3s max-height;
}
@media (max-width: 768px) {
  .lang {
    right: 25px;
  }
}
@media (min-width: 768px) {
  .lang {
    right: 0;
  }
}
.lang--open {
  max-height: 200px;
}
.lang__container {
  width: 25px;
  height: 25px;
}
@media (max-width: 768px) {
  .lang__container {
    margin-left: auto;
  }
}
@media (min-width: 768px) {
  .lang__container {
    margin-left: 32px;
  }
}
.lang__btn {
  overflow: hidden;
  border-radius: 50%;
  cursor: pointer;
}
@media (max-width: 768px) {
  .lang__btn {
    width: 20px;
    height: 20px;
  }
  .lang__btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (min-width: 768px) {
  .lang__btn {
    width: 25px;
    height: 25px;
  }
}
.lang li {
  margin-left: 14px;
  margin-right: 14px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
}
.lang li:not(:last-child) {
  border-bottom: 1px solid #fff;
}
.lang li:first-child {
  margin-top: 10px;
}
.lang li:last-child {
  margin-bottom: 10px;
}
.lang li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  line-height: normal;
  color: #fff;
  text-transform: uppercase;
}
.lang li a:before {
  overflow: hidden;
  border-radius: 50%;
  background-color: #fff;
  content: "";
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 768px) {
  .lang li a:before {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 768px) {
  .lang li a:before {
    width: 25px;
    height: 25px;
  }
}
.lang li a[lang=nb-NO]::before {
  background-image: url("../img/flag-no.png");
}
.lang li a[lang=ru-RU]::before {
  background-image: url("../img/flag-ru.png");
}
.lang .trp-ls-language-name {
  margin-left: 15px;
}

.overlay {
  position: fixed;
  z-index: 10;
  top: 90px;
  left: 50vw;
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background-color: rgba(28, 35, 60, 0.9);
  content: "";
  opacity: 0;
  transform: scale(0);
  transition: 0.1s transform 0.3s, 0.3s opacity;
}
.overlay--active {
  opacity: 1;
  transform: scale(300);
  transition: 0.1s transform, 0.3s opacity 0.1s;
}

.rank-math-breadcrumb {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
@media (max-width: 767px) {
  .rank-math-breadcrumb {
    padding: 38px 0 60px;
    font-size: 11px;
  }
}
@media (min-width: 768px) {
  .rank-math-breadcrumb {
    padding: 60px 0 90px;
    font-size: 14px;
  }
}
.rank-math-breadcrumb a {
  padding: 6px 8px;
  color: #fff;
  transition: 0.3s color;
}
.rank-math-breadcrumb a:hover, .rank-math-breadcrumb a:focus {
  color: #b13fff;
}
.rank-math-breadcrumb span:not(.separator) {
  padding: 6px 8px;
}
.rank-math-breadcrumb .separator {
  background: linear-gradient(76deg, #292bf2 9.12%, #b13fff 95.19%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bottomnav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bottomnav > li {
  list-style-type: none;
}
.bottomnav > li > a {
  color: #fff;
  font-weight: 400;
  line-height: normal;
  opacity: 1;
  transition: 0.3s opacity;
}
@media (min-width: 768px) {
  .bottomnav > li > a {
    font-size: 14px;
  }
}
.bottomnav > li > a:hover, .bottomnav > li > a:focus {
  opacity: 0.6;
}

.footer {
  color: #fff;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(41, 43, 242, 0.22), rgba(0, 0, 0, 0) 60%), radial-gradient(900px 500px at 90% 0%, rgba(177, 63, 255, 0.18), rgba(0, 0, 0, 0) 55%), linear-gradient(180deg, #0b0b22 0%, #070718 100%);
}
.footer__wrap {
  padding: 56px 0 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 40px 80px;
  align-items: start;
}
@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.footer__top--single {
  grid-template-columns: 240px minmax(320px, 520px);
  gap: 40px 120px;
}
@media (max-width: 1024px) {
  .footer__top--single {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.footer__top--single .footer__company {
  justify-self: center;
  width: 100%;
  max-width: 520px;
}
.footer__logo {
  display: inline-flex;
  align-items: flex-start;
}
.footer__logo img {
  max-width: 180px;
  height: auto;
}
.footer__company-title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}
.footer__company-list {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.footer__company-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  margin: 0 0 6px;
}
.footer__company-row dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}
.footer__company-row dd {
  margin: 0;
}
.footer__divider {
  margin: 36px 0;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.14);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 80px;
}
@media (max-width: 1024px) {
  .footer__nav {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer__group:not(:last-child) {
  margin-bottom: 26px;
}
.footer__heading {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer__list li {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.footer__link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: 0.2s opacity, 0.2s color;
}
.footer__link:hover, .footer__link:focus {
  opacity: 0.9;
  color: #fff;
}
.footer__link-item {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.footer__link-item:hover, .footer__link-item:focus {
  color: #fff;
  opacity: 1;
}
.footer__social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 4px 0 12px;
}
.footer__social-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.footer__social-link:hover, .footer__social-link:focus {
  border-color: rgba(255, 255, 255, 0.28);
}
.footer__note {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  max-width: 420px;
}
.footer__bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 14px 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 1024px) {
  .footer__bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
.footer__copyright,
.footer__bottom-text {
  margin: 0;
}
.footer__bottom-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer__bottom-link:hover, .footer__bottom-link:focus {
  color: #fff;
}

.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 20px;
  background: linear-gradient(76deg, #292bf2 9.12%, #b13fff 95.19%);
  box-shadow: 0px 4px 28.9px 0px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
  .header {
    margin-top: 20px;
    padding: 20px;
  }
  .header .logo {
    width: 88px;
  }
  .header .logo img {
    width: 100%;
    height: auto;
  }
}
@media (min-width: 768px) {
  .header {
    position: relative;
    z-index: 11;
    margin-top: 20px;
    padding: 15px 40px;
  }
}

.topnav {
  display: flex;
}
@media (max-width: 768px) {
  .topnav {
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    width: 300px;
    min-height: 100vh;
    padding: 50px 35px;
    flex-direction: column;
    gap: 16px 0;
    background: linear-gradient(76deg, #292bf2 9.12%, #b13fff 95.19%);
    transform: translateX(-100%);
    transition: 0.3s transform;
  }
  .topnav--open {
    transform: translateX(0);
  }
}
@media (min-width: 768px) {
  .topnav {
    z-index: 1;
    margin: 0 auto;
    gap: 0 32px;
  }
}
.topnav li {
  list-style-type: none;
}
.topnav > li > a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  transition: 0.7s color;
}
.topnav > li > a:hover {
  color: #292bf2;
}
@media (max-width: 767px) {
  .topnav > li:has(ul.sub-menu) > a {
    display: none;
  }
}
.topnav > li > .sub-menu {
  display: flex;
}
@media (max-width: 767px) {
  .topnav > li > .sub-menu {
    flex-direction: column;
    gap: 16px 0;
  }
}
@media (min-width: 768px) {
  .topnav > li > .sub-menu {
    position: absolute;
    left: 0;
    top: 100px;
    width: 100vw;
    max-width: 100%;
    max-height: 0;
    align-items: stretch;
    justify-content: center;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s max-height;
  }
  .topnav > li > .sub-menu--open {
    max-height: 400px;
  }
  .topnav > li > .sub-menu::before, .topnav > li > .sub-menu::after {
    position: absolute;
    z-index: 1;
    top: 0;
    height: 100%;
    display: block;
    content: "";
  }
  .topnav > li > .sub-menu::before {
    left: 0;
    width: 363px;
    background: url("../img/bg-nav-left.svg") no-repeat top left transparent;
    background-size: cover;
  }
  .topnav > li > .sub-menu::after {
    right: 0;
    width: 363px;
    background: url("../img/bg-nav-right.svg") no-repeat top right transparent;
    background-size: cover;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .topnav > li > .sub-menu {
    padding-left: 12.6530612245vw;
    padding-right: 10.2040816327vw;
    gap: 0 12.2448979592vw;
  }
}
@media (min-width: 981px) {
  .topnav > li > .sub-menu {
    padding-left: 124px;
    padding-right: 100px;
    gap: 0 120px;
  }
}
.topnav > li > .sub-menu > li {
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .topnav > li > .sub-menu > li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 16px;
  }
}
@media (min-width: 768px) {
  .topnav > li > .sub-menu > li {
    margin-top: 45px;
    margin-bottom: 45px;
  }
}
@media (min-width: 768px) {
  .topnav > li > .sub-menu > li:not(:last-child):after {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #000;
    content: "";
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .topnav > li > .sub-menu > li:not(:last-child):after {
    transform: translateX(6.1224489796vw);
  }
}
@media (min-width: 981px) {
  .topnav > li > .sub-menu > li:not(:last-child):after {
    transform: translateX(60px);
  }
}
.topnav > li > .sub-menu > li > a {
  line-height: normal;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .topnav > li > .sub-menu > li > a {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
  }
}
@media (min-width: 768px) {
  .topnav > li > .sub-menu > li > a {
    margin-bottom: 24px;
    display: block;
    color: #000;
    font-size: 16px;
    font-weight: 700;
  }
}
.topnav > li > .sub-menu > li > .sub-menu {
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .topnav > li > .sub-menu > li > .sub-menu {
    order: 3;
    width: 100%;
    max-height: 0;
    padding-left: 35px;
    gap: 8px 0;
    overflow: hidden;
    transition: 0.3s max-height;
  }
  .topnav > li > .sub-menu > li > .sub-menu--open {
    max-height: 250px;
  }
  .topnav > li > .sub-menu > li > .sub-menu--open + .topnav__btn--toggle {
    transform: rotate(90deg);
  }
}
@media (min-width: 768px) {
  .topnav > li > .sub-menu > li > .sub-menu {
    gap: 16px 0;
  }
}
@media (max-width: 767px) {
  .topnav > li > .sub-menu > li > .sub-menu > li:first-child {
    margin-top: 16px;
  }
}
.topnav > li > .sub-menu > li > .sub-menu > li > a {
  line-height: normal;
  transition: 0.3s color;
}
@media (max-width: 767px) {
  .topnav > li > .sub-menu > li > .sub-menu > li > a {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
  }
}
@media (min-width: 768px) {
  .topnav > li > .sub-menu > li > .sub-menu > li > a {
    color: #1c233c;
    font-size: 16px;
    font-weight: 400;
  }
}
.topnav > li > .sub-menu > li > .sub-menu > li > a:hover, .topnav > li > .sub-menu > li > .sub-menu > li > a:focus {
  color: #292bf2;
}
.topnav__btn {
  width: 21px;
  height: 21px;
  margin-right: 17px;
  flex-shrink: 0;
  background: url("../img/menu-icon.svg");
}
@media (max-width: 767px) {
  .topnav__btn {
    display: flex;
  }
}
@media (min-width: 768px) {
  .topnav__btn {
    display: none;
  }
}
.topnav__btn--toggle {
  width: 7px;
  height: 11px;
  flex-shrink: 0;
  background: url("../img/arrow-icon.svg");
  transform: rotate(0);
  transition: 0.3s transform;
}

@media (max-width: 1024px) {
  .advantages .wrap {
    padding: 36px 25px 72px;
  }
  .advantages .wrap::before {
    position: absolute;
    top: 0;
    left: 25px;
    width: calc(100% - 50px);
    height: 1px;
    display: block;
    content: "";
    background-color: #fff;
  }
}
@media (min-width: 1025px) {
  .advantages .wrap {
    padding: 0 30px 112px;
    border-top: 1px solid #fff;
  }
}
@media (min-width: 1670px) {
  .advantages .wrap {
    min-height: 1280px;
  }
}
.advantages-header {
  max-width: 540px;
}
@media (max-width: 1669px) {
  .advantages-header {
    margin-bottom: 40px;
    color: #fff;
  }
}
@media (min-width: 768px) and (max-width: 1669px) {
  .advantages-header {
    margin-top: 40px;
  }
}
@media (min-width: 1670px) {
  .advantages-header {
    margin-top: 170px;
    margin-left: auto;
    margin-right: 250px;
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 4px 28.9px 0px rgba(0, 0, 0, 0.25);
    color: #1b233a;
  }
  /* Ensure section title doesn't stay white on the white card (otherwise it appears only on selection). */
  .advantages-header .section-title {
    color: #1b233a;
  }
}

/* White-background sections must explicitly set text color (otherwise it inherits #fff and looks "empty") */
.services-home,
.reasons {
  color: #1b233a;
}

.services-home .section-title,
.services-home__subtitle,
.services-home__desc,
.reasons .section-title,
.reasons__subtitle,
.reasons__desc {
  color: #1b233a;
}
.advantages-header__desc {
  font-weight: 400;
  line-height: 1.3;
}
.advantages-header__desc p {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .advantages .section-title {
    margin-bottom: 16px;
  }
}
@media (min-width: 768px) {
  .advantages .section-title {
    margin-bottom: 24px;
  }
}
@media (min-width: 700px) and (max-width: 1279px) {
  .advantages__box {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1280px) and (max-width: 1669px) {
  .advantages__box {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1669px) {
  .advantages__box {
    display: grid;
    gap: 33px;
  }
}
@media (min-width: 1670px) {
  .advantages__box {
    display: contents;
  }
}
.advantages__item {
  color: #fff;
}
@media (max-width: 1669px) {
  .advantages__item {
    max-width: 400px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
  }
}
@media (min-width: 1670px) {
  .advantages__item {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 235px;
  }
  .advantages__item:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
  }
  .advantages__item:first-child {
    transform: translate(100px, 67px);
  }
  .advantages__item:first-child::before {
    width: 460px;
    height: 200px;
    background: url("../img/connector-1.svg") no-repeat top;
    transform: translate(170px, 45px);
  }
  .advantages__item:nth-child(2) {
    transform: translate(0, 517px);
  }
  .advantages__item:nth-child(2)::before {
    width: 570px;
    height: 271px;
    background: url("../img/connector-2.svg") no-repeat top;
    transform: translate(170px, -210px);
  }
  .advantages__item:nth-child(3) {
    transform: translate(260px, 757px);
  }
  .advantages__item:nth-child(3)::before {
    width: 330px;
    height: 523px;
    background: url("../img/connector-3.svg") no-repeat top;
    transform: translate(170px, -450px);
  }
  .advantages__item:nth-child(4) {
    transform: translate(610px, 620px);
  }
  .advantages__item:nth-child(4)::before {
    width: 131px;
    height: 216px;
    background: url("../img/connector-4.svg") no-repeat top;
    transform: translate(170px, -160px);
  }
  .advantages__item:nth-child(5) {
    transform: translate(960px, 740px);
  }
  .advantages__item:nth-child(5)::before {
    width: 125px;
    height: 340px;
    background: url("../img/connector-5.svg") no-repeat top;
    transform: translate(95px, -285px);
  }
  .advantages__item:last-child {
    transform: translate(1360px, 487px);
  }
  .advantages__item:last-child::before {
    width: 310px;
    height: 230px;
    background: url("../img/connector-6.svg") no-repeat top;
    transform: translate(-80px, -170px);
  }
}
.advantages__image {
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
}
@media (max-width: 1669px) {
  .advantages__image {
    width: 80px;
    height: 80px;
  }
}
@media (min-width: 1670px) {
  .advantages__image {
    width: 100px;
    height: 100px;
  }
}
.advantages__image img {
  height: auto;
}
@media (max-width: 767px) {
  .advantages__image img {
    max-width: 55px;
  }
}
@media (min-width: 768px) {
  .advantages__image img {
    max-width: 60px;
  }
}
.advantages__subtitle {
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .advantages__subtitle {
    margin-bottom: 8px;
    font-size: 12px;
  }
}
@media (min-width: 1670px) {
  .advantages__subtitle {
    text-align: center;
  }
}
@media (min-width: 768px) {
  .advantages__subtitle {
    margin-bottom: 16px;
  }
}
.advantages__desc {
  font-weight: 400;
  line-height: 1.35;
}
@media (min-width: 1670px) {
  .advantages__desc {
    text-align: center;
  }
}
.advantages__desc p {
  margin-bottom: 0;
}

.clients {
  background-color: #fff;
}
@media (max-width: 767px) {
  .clients {
    padding: 24px 0 35px;
  }
}
@media (min-width: 768px) {
  .clients {
    padding: 112px 0;
  }
}
.clients .section-title {
  text-align: center;
}
@media (max-width: 767px) {
  .clients .section-title {
    max-width: 260px;
    margin: 0 auto 32px;
  }
}
@media (min-width: 768px) {
  .clients .section-title {
    max-width: 480px;
    margin: 0 auto 40px;
  }
}
.clients__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 820px) {
  .clients__box {
    gap: 20px 60px;
  }
}
.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 820px) {
  .clients__item {
    padding: 10px 20px;
  }
}
@media (min-width: 821px) {
  .clients__item {
    padding: 15px 40px;
  }
}
.clients__item img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .image-text {
    padding: 0 0 72px;
  }
}
@media (min-width: 768px) {
  .image-text {
    padding: 50px 0;
  }
}
@media (max-width: 767px) {
  .image-text:last-child {
    padding-bottom: 72px;
  }
}
@media (min-width: 768px) {
  .image-text:last-child {
    padding-bottom: 150px;
  }
}
.image-text .wrap {
  max-width: 1195px;
  display: flex;
}
@media (max-width: 969px) {
  .image-text .wrap {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
@media (min-width: 970px) {
  .image-text .wrap {
    align-items: center;
    justify-content: center;
    gap: 60px;
  }
}
.image-text__content {
  max-width: 495px;
  color: #fff;
}
@media (max-width: 767px) {
  .image-text__content {
    display: contents;
  }
}
@media (min-width: 768px) {
  .image-text .section-title {
    margin-bottom: 24px;
  }
}
@media (max-width: 767px) {
  .image-text__image {
    max-width: 100%;
    margin-top: 8px;
  }
  .image-text__image img {
    max-width: 100%;
    height: auto;
  }
}
@media (min-width: 768px) {
  .image-text__image--left {
    order: -1;
  }
}
.image-text__desc {
  font-weight: 400;
  line-height: normal;
}
@media (min-width: 768px) {
  .image-text__desc p {
    margin-bottom: 24px;
  }
}
@media (max-width: 767px) {
  .image-text .btn {
    order: 1;
    margin-top: 8px;
  }
}

.pagination {
  margin-top: 56px;
}
.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.pagination .nav-links > * {
  font-size: 16px;
}
.pagination .nav-links span.current {
  color: #b13fff;
}
.pagination .nav-links a {
  color: #fff;
  transition: 0.3s color;
}
.pagination .nav-links a:hover, .pagination .nav-links a:focus {
  color: #b13fff;
}

@media (max-width: 767px) {
  .primary {
    padding: 0 0 100px;
  }
}
@media (min-width: 768px) {
  .primary {
    padding: 0 0 112px;
  }
}
.primary .wrap {
  max-width: 1324px;
  display: flex;
}
@media (max-width: 1024px) {
  .primary .wrap {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
}
@media (min-width: 1025px) {
  .primary .wrap {
    align-items: flex-start;
    gap: 60px;
  }
}
.primary__text {
  color: #fff;
}
@media (min-width: 768px) {
  .primary__text {
    max-width: 590px;
    flex-shrink: 0;
  }
}
.primary__title {
  font-weight: 900;
  line-height: normal;
}
@media (max-width: 1024px) {
  .primary__title {
    margin-bottom: 16px;
    font-size: 24px;
  }
}
@media (min-width: 1025px) {
  .primary__title {
    margin-bottom: 32px;
    font-size: 42px;
  }
}
@media (max-width: 767px) {
  .primary__image img {
    max-width: 100%;
    height: auto;
  }
}
.primary__desc {
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .primary__desc {
    margin-bottom: 8px;
  }
}
@media (min-width: 768px) {
  .primary__desc {
    margin-bottom: 40px;
  }
}
@media (max-width: 767px) {
  .primary__desc p {
    margin-bottom: 8px;
  }
}
@media (min-width: 768px) {
  .primary__desc p {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .pricing {
    padding: 72px 0;
  }
}
@media (min-width: 768px) {
  .pricing {
    padding: 112px 0 96px;
  }
}
.pricing-label {
  width: max-content;
  padding: 0 17px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-weight: 700;
  line-height: normal;
  background-color: #1b233a;
}
@media (max-width: 767px) {
  .pricing-label {
    max-width: 80px;
    margin-bottom: 32px;
  }
}
@media (min-width: 768px) {
  .pricing-label {
    margin-bottom: 96px;
  }
}
.pricing-label__box {
  position: relative;
}
.pricing-label__box::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  width: 100%;
  height: 1px;
  display: block;
  background-color: #fff;
  content: "";
}
.pricing .section-title {
  max-width: 800px;
  text-align: center;
  color: #fff;
  text-wrap: balance;
}
@media (max-width: 767px) {
  .pricing .section-title {
    margin: 0 auto 26px;
  }
}
@media (min-width: 768px) {
  .pricing .section-title {
    margin: 0 auto 32px;
  }
}
.pricing__desc {
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}
@media (max-width: 767px) {
  .pricing__desc {
    margin-bottom: 32px;
  }
}
@media (min-width: 768px) {
  .pricing__desc {
    max-width: 760px;
    margin: 0 auto 64px;
  }
}
.pricing__box {
  display: grid;
  justify-items: center;
  gap: 32px 40px;
}
@media (max-width: 767px) {
  .pricing__box {
    max-width: 280px;
    margin: auto;
  }
}
@media (min-width: 768px) {
  .pricing__box {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .pricing__box {
    gap: 0 4.0816326531vw;
  }
}
.pricing__item {
  position: relative;
  max-width: 365px;
  text-align: center;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0px 4px 28.9px 0px rgba(0, 0, 0, 0.25);
}
@media (max-width: 767px) {
  .pricing__item {
    padding: 20px 20px 40px;
  }
}
@media (min-width: 768px) {
  .pricing__item {
    padding: 20px 40px 40px;
  }
}
.pricing__item:first-child {
  background-color: #392a91;
}
.pricing__item:nth-child(2) {
  background-color: #3a2a71;
}
.pricing__item:nth-child(3) {
  background-color: #1b233a;
}
.pricing-title {
  max-width: 120px;
  padding: 5px;
  text-transform: uppercase;
}
.pricing-title__box {
  position: absolute;
  top: 24px;
  left: 0;
  width: 140px;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 9px 4px;
  border-radius: 0px 20px 20px 0px;
  background: linear-gradient(76deg, #292bf2 9.12%, #b13fff 95.19%);
  box-shadow: 0px 4px 28.9px 0px rgba(0, 0, 0, 0.25);
}
@media (max-width: 1024px) {
  .pricing__image {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
  }
}
@media (min-width: 1025px) {
  .pricing__image {
    width: 205px;
    height: 205px;
    margin: 0 auto 24px;
  }
}
.pricing__image img {
  width: 100%;
  height: auto;
}
.pricing__price {
  font-weight: 900;
  line-height: normal;
}
@media (max-width: 1024px) {
  .pricing__price {
    margin-bottom: 16px;
    font-size: 24px;
  }
}
@media (min-width: 1025px) {
  .pricing__price {
    margin-bottom: 8px;
    font-size: 42px;
  }
}
.pricing__text {
  margin-bottom: 32px;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.pricing__details {
  border-top: 1px solid #fff;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .pricing__details {
    padding-top: 16px;
  }
}
@media (min-width: 768px) {
  .pricing__details {
    padding-top: 32px;
  }
}
.pricing__details p:not(:last-child) {
  margin-bottom: 16px;
}

.process {
  color: #fff;
  text-align: center;
}
@media (max-width: 767px) {
  .process {
    padding: 72px 0;
  }
}
@media (min-width: 768px) {
  .process {
    padding: 144px 0;
  }
}
.process .wrap {
  max-width: 1324px;
}
.process .section-title {
  text-align: center;
}
@media (max-width: 767px) {
  .process .section-title {
    margin-bottom: 26px;
  }
}
@media (min-width: 768px) {
  .process .section-title {
    margin-bottom: 32px;
  }
}
.process__box {
  display: grid;
}
@media (min-width: 1330px) {
  .process__box {
    grid-template-columns: repeat(2, 440px);
    justify-content: space-between;
  }
}
.process__item {
  position: relative;
}
@media (max-width: 767px) {
  .process__item {
    max-width: 420px;
    margin: 0 auto 12px;
  }
}
@media (min-width: 768px) and (max-width: 1329px) {
  .process__item {
    max-width: 860px;
    margin: 0 auto 24px;
  }
}
@media (min-width: 1330px) {
  .process__item {
    height: 310px;
  }
  .process__item:nth-child(even) {
    align-content: flex-end;
  }
}
@media (max-width: 1329px) {
  .process__item:not(:last-child)::after {
    width: 150px;
    height: 65px;
    margin: 12px auto 0;
    display: block;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
  }
  .process__item:not(:last-child):nth-child(odd)::after {
    background-image: url("../img/connector-left-mobile.svg");
  }
  .process__item:not(:last-child):nth-child(even)::after {
    background-image: url("../img/connector-right-mobile.svg");
  }
}
@media (min-width: 1330px) {
  .process__item:not(:last-child):nth-child(odd)::after {
    position: absolute;
    top: calc(50% - 80px);
    right: -355px;
    width: 333px;
    height: 195px;
    display: block;
    content: "";
    background: url("../img/connector-left.svg") no-repeat top right transparent;
  }
  .process__item:not(:last-child):nth-child(even)::before {
    position: absolute;
    top: calc(50% + 81px);
    height: 195px;
    left: -365px;
    width: 333px;
    display: block;
    content: "";
    background: url("../img/connector-right.svg") no-repeat top left transparent;
  }
}
.process__desc {
  max-width: 600px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .process__desc {
    margin: 0 auto 32px;
  }
}
@media (min-width: 768px) {
  .process__desc {
    margin: 0 auto 64px;
  }
}
.process__title {
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .process__title {
    margin-bottom: 8px;
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  .process__title {
    margin-bottom: 16px;
  }
}
.process__details {
  text-align: center;
  line-height: 1.3;
}

.reasons {
  position: relative;
  background-color: #fff;
}
@media (max-width: 767px) {
  .reasons {
    padding: 40px 0 56px;
  }
}
@media (min-width: 768px) {
  .reasons {
    padding: 112px 0;
  }
}
.reasons::before {
  position: absolute;
  z-index: 1;
  top: -20px;
  display: block;
  content: "";
}
@media (max-width: 1279px) {
  .reasons::before {
    left: -364px;
    width: 603px;
    height: 574px;
    background: url("../img/bg-lines-mobile--left.svg") no-repeat top;
  }
}
@media (min-width: 1280px) {
  .reasons::before {
    left: -220px;
    width: 577px;
    height: 462px;
    background: url("../img/bg-lines--left.svg") no-repeat top;
  }
}
.reasons::after {
  position: absolute;
  z-index: 1;
  bottom: -20px;
  display: block;
  content: "";
}
@media (max-width: 1279px) {
  .reasons::after {
    right: -316px;
    width: 604px;
    height: 538px;
    background: url("../img/bg-lines-mobile--right.svg") no-repeat top;
  }
}
@media (min-width: 1280px) {
  .reasons::after {
    right: -200px;
    width: 629px;
    height: 564px;
    background: url("../img/bg-lines--right.svg") no-repeat top;
  }
}
.reasons .section-title {
  text-align: center;
}
@media (max-width: 767px) {
  .reasons .section-title {
    max-width: 260px;
    margin: 0 auto 40px;
  }
}
@media (min-width: 768px) {
  .reasons .section-title {
    max-width: 820px;
    margin: 0 auto 64px;
  }
}
.reasons__box {
  display: grid;
}
@media (max-width: 767px) {
  .reasons__box {
    gap: 32px;
  }
}
@media (min-width: 768px) {
  .reasons__box {
    grid-template-columns: repeat(3, 1fr);
  }
}
.reasons__item {
  padding: 0 40px 12px;
}
@media (min-width: 768px) {
  .reasons__item:nth-child(2) {
    border-left: 1px solid #1c233c;
    border-right: 1px solid #1c233c;
  }
}
.reasons__image {
  margin: 0 auto;
  text-align: center;
}
.reasons__image img {
  max-width: 80px;
  height: auto;
}
.reasons__subtitle {
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 767px) {
  .reasons__subtitle {
    margin-bottom: 16px;
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  .reasons__subtitle {
    margin-bottom: 28px;
  }
}
.reasons__desc {
  margin: 16px auto 0;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
@media (max-width: 767px) {
  .reasons__desc {
    max-width: 260px;
  }
}
@media (min-width: 768px) {
  .reasons__desc {
    max-width: 360px;
  }
}
.reasons__desc p {
  margin-bottom: 0;
}

.services {
  position: relative;
  color: #fff;
}
@media (max-width: 767px) {
  .services {
    padding: 72px 0;
  }
}
@media (min-width: 768px) {
  .services {
    padding: 144px 0;
  }
}
.services .section-title {
  text-align: center;
}
@media (max-width: 768px) {
  .services .section-title {
    max-width: 340px;
    margin: 0 auto 24px;
    font-size: 15px;
  }
}
@media (min-width: 768px) {
  .services .section-title {
    max-width: 750px;
    margin: 0 auto 64px;
  }
}
.services__box {
  display: grid;
}
@media (max-width: 959px) {
  .services__box {
    gap: 33px;
  }
}
@media (min-width: 960px) {
  .services__box {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 40px;
  }
}
.services__item {
  display: grid;
  align-items: center;
}
@media (max-width: 767px) {
  .services__item {
    max-width: 440px;
    grid-template-columns: 80px 1fr;
    gap: 0 21px;
  }
}
@media (min-width: 768px) {
  .services__item {
    grid-template-columns: 150px 1fr;
    gap: 0 32px;
  }
}
@media (max-width: 959px) {
  .services__item {
    max-width: 520px;
    margin: auto;
  }
}
.services__image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  overflow: hidden;
}
@media (max-width: 767px) {
  .services__image {
    width: 80px;
    height: 80px;
    padding: 15px;
  }
}
@media (min-width: 768px) {
  .services__image {
    width: 150px;
    height: 150px;
    padding: 20px;
  }
}
.services__image img {
  width: 100%;
  height: auto;
}
.services__subtitle {
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .services__subtitle {
    margin-bottom: 8px;
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  .services__subtitle {
    margin-bottom: 16px;
  }
}
.services__desc {
  font-weight: 400;
  line-height: 1.5;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .services__desc {
    max-width: 440px;
  }
}
.services__desc p {
  margin-bottom: 0;
}

.services-home {
  position: relative;
  background-color: #fff;
}
@media (max-width: 767px) {
  .services-home {
    padding: 44px 0;
  }
}
@media (min-width: 768px) {
  .services-home {
    padding: 93px 0 130px;
  }
}
@media (min-width: 981px) {
  .services-home .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 53px 40px;
  }
}
@media (max-width: 768px) {
  .services-home .section-title {
    margin: 0 auto 24px;
    max-width: 140px;
    font-size: 15px;
  }
}
@media (max-width: 980px) {
  .services-home .section-title {
    margin-bottom: 24px;
    text-align: center;
  }
}
@media (min-width: 981px) {
  .services-home .section-title {
    align-self: center;
  }
}
@media (min-width: 541px) and (max-width: 767px) {
  .services-home__box {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .services-home__box {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 980px) {
  .services-home__box {
    display: grid;
    justify-content: center;
    gap: 24px 32px;
  }
}
@media (min-width: 981px) {
  .services-home__box {
    display: contents;
  }
}
@media (max-width: 980px) {
  .services-home__item {
    max-width: 280px;
    margin: auto;
  }
}
@media (min-width: 981px) {
  .services-home__item {
    max-width: 240px;
  }
}
.services-home__image {
  margin-bottom: 8px;
  text-align: center;
}
.services-home__image img {
  max-width: 80px;
  height: auto;
}
.services-home__subtitle {
  margin-bottom: 8px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 767px) {
  .services-home__subtitle {
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  .services-home__subtitle {
    min-height: 34px;
  }
}
.services-home__desc {
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}
.services-home__desc p {
  margin-bottom: 0;
}

.team {
  color: #fff;
}
@media (max-width: 767px) {
  .team .wrap {
    padding: 36px 25px 72px;
  }
  .team .wrap::before {
    position: absolute;
    top: 0;
    left: 25px;
    width: calc(100% - 50px);
    height: 1px;
    display: block;
    content: "";
    background-color: #fff;
  }
}
@media (min-width: 768px) {
  .team .wrap {
    padding: 96px 0 144px;
  }
}
@media (min-width: 768px) {
  .team .wrap {
    border-top: 1px solid #fff;
  }
}
.team .section-title {
  text-align: center;
}
@media (max-width: 767px) {
  .team .section-title {
    margin-bottom: 38px;
  }
}
@media (min-width: 768px) {
  .team .section-title {
    margin-bottom: 64px;
  }
}
.team__box {
  display: grid;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .team__box {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }
}
@media (min-width: 1025px) {
  .team__box {
    grid-template-columns: repeat(3, 1fr);
    gap: 100px 0;
  }
}
.team__item {
  display: flex;
  flex-direction: column;
  text-align: center;
}
@media (max-width: 767px) {
  .team__item {
    max-width: 120px;
    gap: 8px 0;
  }
}
@media (min-width: 768px) {
  .team__item {
    max-width: 220px;
    gap: 24px 0;
  }
}
.team__name {
  font-weight: 700;
  text-transform: uppercase;
  line-height: normal;
}
@media (max-width: 767px) {
  .team__name {
    font-size: 12px;
  }
}
.team__position {
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}
.team__image {
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}
@media (max-width: 767px) {
  .team__image {
    width: 120px;
    height: 120px;
  }
}
@media (min-width: 768px) {
  .team__image {
    width: 200px;
    height: 200px;
  }
}
.team__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials {
  position: relative;
  background-color: #fff;
}
@media (max-width: 767px) {
  .testimonials {
    min-height: 390px;
    padding: 28px 0 56px;
  }
}
@media (min-width: 768px) {
  .testimonials {
    min-height: 540px;
    padding: 112px 0;
  }
}
.testimonials::before {
  position: absolute;
  z-index: 1;
  display: block;
  content: "";
}
@media (max-width: 1279px) {
  .testimonials::before {
    top: -7px;
    left: 0px;
    width: 190px;
    height: 240px;
    background: url("../img/bg-lines-mobile-tm--left.svg") no-repeat top;
  }
}
@media (min-width: 1280px) {
  .testimonials::before {
    top: -7px;
    left: 0;
    width: 407px;
    height: 435px;
    background: url("../img/bg-lines-tm--left.svg") no-repeat top;
  }
}
.testimonials::after {
  position: absolute;
  z-index: 1;
  bottom: -20px;
  display: block;
  content: "";
}
@media (max-width: 1279px) {
  .testimonials::after {
    right: 0;
    width: 221px;
    height: 425px;
    background: url("../img/bg-lines-mobile-tm--right.svg") no-repeat top;
  }
}
@media (min-width: 1280px) {
  .testimonials::after {
    right: 0px;
    width: 385px;
    height: 564px;
    background: url("../img/bg-lines-tm--right.svg") no-repeat top;
  }
}
.testimonials .section-title {
  margin-bottom: 32px;
  text-align: center;
}
.testimonials__desc {
  font-weight: 400;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .testimonials__desc {
    max-width: 340px;
    margin: 0 auto 16px;
  }
}
@media (min-width: 768px) {
  .testimonials__desc {
    max-width: 830px;
    margin: 0 auto 32px;
  }
}
@media (max-width: 767px) {
  .testimonials__desc p {
    margin-bottom: 8px;
  }
}
@media (min-width: 768px) {
  .testimonials__desc p {
    margin-bottom: 24px;
  }
}

/* Testimonials (cards like the design) */
.testimonials__slider-wrap {
  position: relative;
  z-index: 2;
}
.testimonials__slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 365px;
  gap: 20px;
  overflow-x: auto;
  padding: 0 0 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.testimonials__slider::-webkit-scrollbar {
  height: 8px;
}
.testimonials__slider::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
}
@media (min-width: 1280px) {
  .testimonials__slider {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    overflow: hidden;
    padding-bottom: 0;
  }
}
.testimonial-card {
  background: #fff;
  border: 2px solid #222;
  border-radius: 20px;
  padding: 24px;
  scroll-snap-align: start;
}
.testimonial-card__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}
.testimonial-card__img {
  display: block;
  width: 100%;
  height: 217px;
  object-fit: cover;
}
.testimonial-card__img--placeholder {
  background: #e9edf5;
}
.testimonial-card__play {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.testimonial-card__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
}
.testimonial-card__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #222;
}
.testimonial-card__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #222;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.testimonial-card__role {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #9fa8bd;
  margin-bottom: 16px;
}
.testimonial-card__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.1;
  color: #666f82;
  margin-bottom: 16px;
}
.testimonial-card__link {
  display: inline-block;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #b13fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.testimonials__nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid #222;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.testimonials__nav-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #222;
  border-right: 2px solid #222;
  transform-origin: center;
}
button[data-testimonials-prev="1"]::after {
  transform: translate(-40%, -50%) rotate(-135deg);
}
button[data-testimonials-next="1"]::after {
  transform: translate(-60%, -50%) rotate(45deg);
}

.testimonials__video {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
}
.testimonials__video.is-open {
  display: block;
}
.testimonials__video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}
.testimonials__video-dialog {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 8vh auto;
  padding: 16px;
}
.testimonials__video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.testimonials__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.testimonials__video-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
  cursor: pointer;
}
.testimonials__video-close::before,
.testimonials__video-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  transform-origin: center;
}
.testimonials__video-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.testimonials__video-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.video .wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.video .wrap::before {
  position: absolute;
  top: 0;
  height: 1px;
  display: block;
  content: "";
  background-color: #fff;
}
@media (max-width: 970px) {
  .video .wrap {
    padding: 32px 25px 40px;
  }
  .video .wrap::before {
    left: 25px;
    width: calc(100% - 50px);
  }
}
@media (min-width: 971px) {
  .video .wrap {
    max-width: 1520px;
    padding: 112px 0;
  }
  .video .wrap::before {
    left: 30px;
    width: calc(100% - 60px);
  }
}
.video iframe {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  aspect-ratio: 16/9;
}

@media (max-width: 767px) {
  .vision {
    padding: 40px 0 100px;
  }
}
@media (min-width: 768px) {
  .vision {
    padding: 144px 0;
  }
}
@media (min-width: 768px) and (max-width: 900px) {
  .vision {
    min-height: 490px;
  }
}
@media (min-width: 900px) {
  .vision {
    min-height: 860px;
  }
}
.vision .wrap {
  max-width: 1134px;
  display: flex;
}
@media (max-width: 899px) {
  .vision .wrap {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
}
@media (min-width: 900px) {
  .vision .wrap {
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }
}
@media (min-width: 1200px) {
  .vision .wrap {
    padding: 0;
  }
}
.vision__content {
  color: #fff;
}
@media (min-width: 768px) {
  .vision__content {
    max-width: 480px;
    flex-shrink: 0;
  }
}
@media (max-width: 767px) {
  .vision .section-title {
    margin-bottom: 16px;
  }
}
@media (min-width: 768px) {
  .vision .section-title {
    margin-bottom: 32px;
  }
}
.vision__box {
  position: relative;
}
@media (max-width: 1199px) {
  .vision__box {
    width: 100%;
    max-width: 340px;
    height: 345px;
    margin: 0 auto;
  }
}
@media (min-width: 1200px) {
  .vision__box {
    margin-right: 80px;
    padding-top: 40px;
  }
}
.vision__image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}
.vision__image:not(:first-child) {
  position: absolute;
  top: 0;
  right: 0;
}
.vision__image:first-child {
  margin-left: auto;
}
@media (max-width: 389px) {
  .vision__image:first-child {
    width: 51.2820512821vw;
    height: 51.2820512821vw;
    padding: 5.1282051282vw;
  }
}
@media (min-width: 390px) and (max-width: 1199px) {
  .vision__image:first-child {
    width: 200px;
    height: 200px;
    padding: 20px;
  }
}
@media (min-width: 1200px) {
  .vision__image:first-child {
    width: 273px;
    height: 273px;
    padding: 30px;
  }
}
@media (max-width: 1199px) {
  .vision__image:nth-child(2) {
    width: 35.8974358974vw;
    height: 35.8974358974vw;
    padding: 5.1282051282vw;
    transform: translate(-51.2820512821vw, 42.3076923077vw);
  }
  .vision__image:nth-child(3) {
    width: 25.641025641vw;
    height: 25.641025641vw;
    padding: 4.358974359vw;
    transform: translate(-10.2564102564vw, 62.8205128205vw);
  }
}
@media (min-width: 390px) and (max-width: 1199px) {
  .vision__image:nth-child(2) {
    width: 140px;
    height: 140px;
    padding: 20px;
    transform: translate(-190px, 165px);
  }
  .vision__image:nth-child(3) {
    width: 100px;
    height: 100px;
    padding: 17px;
    transform: translate(-40px, 245px);
  }
}
@media (min-width: 1200px) {
  .vision__image:not(:first-child) {
    width: 164px;
    height: 164px;
    padding: 20px;
  }
  .vision__image:nth-child(2) {
    transform: translate(-330px, 304px);
  }
  .vision__image:nth-child(3) {
    transform: translate(-100px, 412px);
  }
}
.vision__image img {
  max-width: 100%;
  width: 100%;
  height: auto;
}
.vision__desc {
  font-weight: 400;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .vision__desc {
    margin-bottom: 8px;
  }
}
@media (max-width: 767px) {
  .vision__desc p {
    margin-bottom: 8px;
  }
}
@media (min-width: 768px) {
  .vision__desc p {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .blog {
    padding: 0 0 72px;
  }
}
@media (min-width: 768px) {
  .blog {
    padding: 0 0 128px;
  }
}
.blog-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  list-style-type: none;
}
.blog-nav li {
  min-height: 18px;
  padding: 3px 10px;
  border: 1px solid #fff;
  background-color: transparent;
  border-radius: 20px;
  transition: 0.3s all;
}
.blog-nav li a {
  display: block;
  color: #fff;
  font-weight: 400;
  transition: 0.3s color;
}
@media (max-width: 980px) {
  .blog-nav li a {
    font-size: 10px;
  }
}
@media (min-width: 981px) {
  .blog-nav li a {
    font-size: 16px;
  }
}
.blog-nav li::marker {
  display: none;
}
.blog-nav li:hover, .blog-nav li:focus, .blog-nav li.current-menu-item {
  background-color: #fff;
}
.blog-nav li:hover a, .blog-nav li:focus a, .blog-nav li.current-menu-item a {
  color: #292bf2;
}
.blog .page__title {
  text-align: center;
  font-weight: 900;
  color: #fff;
}
@media (max-width: 767px) {
  .blog .page__title {
    margin-bottom: 16px;
    font-size: 24px;
  }
}
@media (min-width: 768px) {
  .blog .page__title {
    margin-bottom: 32px;
    font-size: 42px;
  }
}
.blog__box {
  display: grid;
  padding: 64px 0 0;
}
@media (max-width: 767px) {
  .blog__box {
    gap: 32px 0;
  }
}
@media (min-width: 768px) {
  .blog__box {
    gap: 56px 20px;
  }
}
@media (min-width: 768px) and (max-width: 1399px) {
  .blog__box {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1400px) {
  .blog__box {
    grid-template-columns: repeat(3, 1fr);
  }
}
.blog__item {
  border-top: 1px solid #fff;
}
.blog__top {
  padding: 8px 0;
  display: grid;
  gap: 10px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
@media (max-width: 767px) {
  .blog__top {
    grid-template-columns: 80px 1fr;
  }
}
@media (min-width: 768px) {
  .blog__top {
    grid-template-columns: 80px 1fr;
  }
}
.blog__category {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px 12px;
  text-align: right;
}
.blog__category a {
  color: #fff;
  transition: 0.3s color;
}
.blog__category a:hover, .blog__category a:focus {
  color: #b13fff;
}
.blog__img {
  width: 100%;
  margin-bottom: 16px;
  display: block;
  overflow: hidden;
  border-radius: 20px;
}
@media (max-width: 767px) {
  .blog__img {
    height: 290px;
  }
}
@media (min-width: 768px) {
  .blog__img {
    height: 320px;
  }
}
.blog__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: 0.3s transform;
}
.blog__img:hover img, .blog__img:focus img {
  transform: scale(1.1);
}
.blog__title {
  margin-bottom: 8px;
  display: block;
  font-weight: 700;
  color: #fff;
  transition: 0.3s color;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .blog__title {
    font-size: 14px;
  }
}
.blog__title:hover, .blog__title:focus {
  color: #b13fff;
}
.blog__desc {
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
}
.blog__readmore {
  position: relative;
  font-weight: 500;
  text-transform: uppercase;
  color: #b13fff;
  transition: 0.3s color;
}
.blog__readmore::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  display: block;
  content: "";
  background: #b13fff;
  transition: 0.3s background;
}
.blog__readmore:hover, .blog__readmore:focus {
  color: #fff;
}
.blog__readmore:hover::after, .blog__readmore:focus::after {
  background: #fff;
}
.blog-single__box {
  margin: 18px 0 48px;
  display: grid;
  color: #fff;
}
@media (min-width: 768px) {
  .blog-single__box {
    grid-template-columns: 280px 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .blog-single__box {
    gap: 0 60px;
  }
}
@media (min-width: 1025px) {
  .blog-single__box {
    gap: 0 120px;
  }
}
.blog-single__date {
  font-weight: 600;
  font-size: 20px;
}
@media (max-width: 767px) {
  .blog-single__date {
    margin-bottom: 16px;
  }
}
.blog-single h2 {
  margin-bottom: 24px;
  font-weight: 800;
  font-size: 20px;
}
.blog-single h3 {
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 18px;
}
.blog-single__title {
  margin-bottom: 24px;
  font-weight: 900;
  font-size: 24px;
  line-height: 35px;
}
.blog-single__desc {
  font-weight: 400;
  line-height: 120%;
}
.blog-single__desc p {
    line-height: 35px;
}
@media (max-width: 767px) {
  .blog-single__desc {
    font-size: 15px;
  }
}
@media (min-width: 768px) {
  .blog-single__desc {
    font-size: 20px;
  }
}
.blog-single .image-wide {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .blog-single .image-wide {
    margin-bottom: 72px;
    height: 340px;
  }
}
@media (min-width: 768px) {
  .blog-single .image-wide {
    height: 720px;
    margin-bottom: 86px;
  }
}
.blog-single .image-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-single__text_image {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 767px) {
    .blog-single__text_image {
        grid-template-columns: none;
    }
}
.blog-single__image-text {
  display: grid;
}
@media (min-width: 768px) {
  .blog-single__image-text {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .blog-single__image-text, .blog-single__text_image  {
    gap: 0 60px;
  }
}
@media (min-width: 1025px) {
  .blog-single__image-text, .blog-single__text_image  {
    gap: 0 120px;
  }
}
.blog-single__image-text .image-text__image, .text-image__image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.text-image__image img {
    border-radius: 20px;
    width:100%;
    height: auto;
}
@media (max-width: 767px) {
  .blog-single__image-text .image-text__image {
    margin: 0 0 72px;
    height: 340px;
  }
}
@media (min-width: 768px) {
  .blog-single__image-text .image-text__image {
    height: 280px;
    order: -1;
  }
}
.blog-single__image-text .image-text__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-single__text a, .blog-text-image__text a, .portfolio-single-columns__desc a {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(76deg, #292bf2 9.12%, #b13fff 95.19%);
}
.blog-single__text, .blog-text-image__text {
  color: #fff;
  line-height: 35px;
}
.blog-text-image__text ul {
    margin-bottom:30px;
    padding-left: 40px;
}
@media (max-width: 767px) {
  .blog-single__text, .blog-text-image__text {
    margin-bottom: 32px;
    line-height: 35px;
  }
}
@media (min-width: 768px) {
  .blog-single__text, .blog-text-image__text {
    margin-bottom: 48px;
    line-height: 35px;
  }
}
@media (min-width: 1025px) {
  .blog-single__text, .blog-text-image__text {
    /*max-width: 520px;*/
    width: 100%;
    margin-left: auto;
    line-height: 35px;
  }
}
.blog-single__text p, .blog-text-image__text p {
  font-weight: 400;
  /*line-height: 1.3;*/
  line-height: 35px;
}
.blog-single__text p:not(:last-child), .blog-text-image__text p:not(:last-child) {
  margin-bottom: 16px;
  line-height: 35px;
}
.blog-single-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .blog-single-image {
    height: 340px;
  }
}
.blog-single-image__box {
  display: grid;
}
@media (max-width: 767px) {
  .blog-single-image__box {
    gap: 32px 0;
    margin-bottom: 72px;
  }
}
@media (min-width: 768px) {
  .blog-single-image__box {
    margin-bottom: 88px;
    grid-template-columns: 280px 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .blog-single-image__box {
    gap: 0 60px;
  }
}
@media (min-width: 1025px) {
  .blog-single-image__box {
    gap: 0 120px;
  }
}
@media (min-width: 768px) {
  .blog-single-image--small {
    height: 280px;
  }
}
@media (min-width: 768px) {
  .blog-single-image--big {
    height: 520px;
  }
}
.blog-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.error-page {
  display: flex;
}
.error-page .wrap {
  min-height: 100%;
}
.error-page__box {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.error-page__num {
  font-weight: 900;
  background: linear-gradient(76deg, #292bf2 9.12%, #b13fff 95.19%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 767px) {
  .error-page__num {
    font-size: 100px;
  }
}
@media (min-width: 768px) {
  .error-page__num {
    font-size: 240px;
  }
}
.error-page .page-title {
  color: #fff;
}
@media (max-width: 767px) {
  .error-page .page-title {
    font-size: 20px;
  }
}
@media (min-width: 768px) {
  .error-page .page-title {
    font-size: 32px;
  }
}
.error-page a {
  color: #fff;
  transition: 0.3s color;
}
.error-page a:hover, .error-page a:focus {
  color: #b13fff;
}

@media (max-width: 767px) {
  .home .image-text {
    padding: 50px 0;
  }
}
@media (min-width: 768px) {
  .home .image-text {
    padding: 114px 0 96px;
  }
}
.home .image-text + .image-text {
  padding-top: 0;
}
@media (max-width: 767px) {
  .home .image-text + .image-text .wrap {
    padding-top: 30px;
  }
  .home .image-text + .image-text .wrap::before {
    position: absolute;
    top: 0;
    left: 25px;
    width: calc(100% - 50px);
    height: 1px;
    display: block;
    content: "";
    background-color: #fff;
  }
}
@media (min-width: 768px) {
  .home .image-text + .image-text .wrap {
    padding-top: 96px;
    border-top: 1px solid #fff;
  }
}
@media (max-width: 767px) {
  .home .primary {
    padding: 40px 0 100px;
  }
}
@media (min-width: 768px) {
  .home .primary {
    padding: 112px 0 144px;
  }
}

@media (max-width: 767px) {
  .portfolio {
    padding: 0 0 72px;
  }
}
@media (min-width: 768px) {
  .portfolio {
    padding: 0 0 128px;
  }
}
.portfolio-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  list-style-type: none;
}
.portfolio-nav li {
  min-height: 18px;
  padding: 3px 10px;
  border: 1px solid #fff;
  background-color: transparent;
  border-radius: 20px;
  transition: 0.3s all;
}
.portfolio-nav li a {
  display: block;
  color: #fff;
  font-weight: 400;
  transition: 0.3s color;
}
@media (max-width: 980px) {
  .portfolio-nav li a {
    font-size: 10px;
  }
}
@media (min-width: 981px) {
  .portfolio-nav li a {
    font-size: 16px;
  }
}
.portfolio-nav li::marker {
  display: none;
}
.portfolio-nav li:hover, .portfolio-nav li:focus, .portfolio-nav li.current-menu-item {
  background-color: #fff;
}
.portfolio-nav li:hover a, .portfolio-nav li:focus a, .portfolio-nav li.current-menu-item a {
  color: #292bf2;
}
.portfolio .section-title {
  text-align: center;
  color: #fff;
}
@media (max-width: 767px) {
  .portfolio .section-title {
    margin-bottom: 16px;
  }
}
@media (min-width: 768px) {
  .portfolio .section-title {
    margin-bottom: 32px;
  }
}
.portfolio__box {
  display: grid;
  gap: 48px;
  padding: 64px 0 0;
}
.portfolio__cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.portfolio--home .portfolio__heading {
  text-align: center;
  color: #fff;
  margin-top: 16px;
  margin-bottom: 32px;
}
.portfolio--home .portfolio__grid {
  display: grid;
  gap: 20px;
  max-width: 1520px;
  margin: 0 auto;
}
@media (min-width: 1025px) {
  .portfolio--home .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .portfolio--home .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .portfolio--home .portfolio__grid {
    grid-template-columns: 1fr;
  }
}
.portfolio--home .portfolio-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0px 14px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: 0.25s transform, 0.25s box-shadow;
  text-decoration: none;
}
.portfolio--home .portfolio__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.portfolio--home .portfolio-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.portfolio--home .portfolio-card--lg {
  height: 432px;
}
.portfolio--home .portfolio-card--sm {
  height: 284px;
}
.portfolio--home .portfolio-card__title {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 48px 32px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .portfolio--home .portfolio-card__title {
    padding: 32px 24px;
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .portfolio--home .portfolio-card__title {
    padding: 24px 20px;
    font-size: 16px;
  }
  .portfolio--home .portfolio-card--lg,
  .portfolio--home .portfolio-card--sm {
    height: auto;
    aspect-ratio: 16/9;
  }
}
.portfolio--home .portfolio-card:hover, .portfolio--home .portfolio-card:focus {
  transform: translateY(-2px);
  box-shadow: 0px 18px 52px rgba(0, 0, 0, 0.45);
}
.portfolio--home .portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio--home .portfolio-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(41, 43, 242, 0.18), rgba(177, 63, 255, 0.14));
}
.portfolio__item {
  padding-top: 16px;
  border-top: 1px solid #fff;
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .portfolio__item {
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
  }
  .portfolio__item:nth-child(even) .portfolio__img {
    order: -1;
  }
}
.portfolio__img {
  width: 100%;
  margin-bottom: 16px;
  display: block;
  overflow: hidden;
  border-radius: 20px;
}
.portfolio__img img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: 0.3s transform;
}
.portfolio__img:hover img, .portfolio__img:focus img {
  transform: scale(1.1);
}
.portfolio__title {
  margin-bottom: 24px;
  display: block;
  font-weight: 800;
  color: #fff;
  transition: 0.3s color;
}
@media (max-width: 767px) {
  .portfolio__title {
    font-size: 20px;
  }
}
@media (min-width: 768px) {
  .portfolio__title {
    font-size: 36px;
  }
}
.portfolio__title:hover, .portfolio__title:focus {
  color: #b13fff;
}
.portfolio__desc {
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
@media (max-width: 767px) {
  .portfolio__desc {
    margin-bottom: 16px;
  }
}
@media (min-width: 768px) {
  .portfolio__desc {
    margin-bottom: 32px;
  }
}
.portfolio__desc p:not(:last-child) {
  margin-bottom: 24px;
}
.portfolio__desc ul {
  padding-left: 16px;
}
.portfolio__desc ul:not(:last-child) {
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .portfolio__desc ul li {
    margin-bottom: 8px;
  }
}
@media (min-width: 768px) {
  .portfolio__desc ul li {
    margin-bottom: 16px;
    font-size: 12px;
  }
}
.portfolio__desc ul li::marker {
  background-color: #292bf2;
  color: #292bf2;
}
.portfolio__readmore {
  position: relative;
  font-weight: 500;
  text-transform: uppercase;
  color: #b13fff;
  transition: 0.3s color;
}
.portfolio__readmore::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  display: block;
  content: "";
  background: #b13fff;
  transition: 0.3s background;
}
.portfolio__readmore:hover, .portfolio__readmore:focus {
  color: #fff;
}
.portfolio__readmore:hover::after, .portfolio__readmore:focus::after {
  background: #fff;
}
.portfolio-wide-title {
  width: max-content;
  padding: 0 17px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-weight: 700;
  line-height: normal;
  background-color: #1b233a;
}
@media (max-width: 767px) {
  .portfolio-wide-title {
    max-width: 80px;
    margin-bottom: 32px;
    font-size: 10px;
  }
}
@media (min-width: 768px) {
  .portfolio-wide-title {
    margin-bottom: 72px;
    font-size: 12px;
  }
}
.portfolio-wide-title__box {
  position: relative;
}
.portfolio-wide-title__box::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  width: 100%;
  height: 1px;
  display: block;
  background-color: #fff;
  content: "";
}
.portfolio-single .page-title {
  text-align: center;
  color: #fff;
}
@media (min-width: 768px) {
  .portfolio-single .page-title {
    font-size: 42px;
    margin-bottom: 32px;
  }
}
.portfolio-single .image-wide {
  width: 100%;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .portfolio-single .image-wide:not(:last-child) {
    margin-bottom: 32px;
  }
}
@media (min-width: 768px) {
  .portfolio-single .image-wide:not(:last-child) {
    margin-bottom: 72px;
  }
}
.portfolio-single .image-wide img {
  width: 100%;
  height: auto;
}
.portfolio-single__links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .portfolio-single__links {
    margin-bottom: 32px;
  }
}
@media (min-width: 768px) {
  .portfolio-single__links {
    top: -60px;
    margin-bottom: 50px;
  }
}
.portfolio-single__image-text {
  display: grid;
  line-height: normal;
}
@media (max-width: 767px) {
  .portfolio-single__image-text {
    margin-bottom: 32px;
    gap: 32px;
  }
}
@media (min-width: 768px) {
  .portfolio-single__image-text {
    margin-bottom: 72px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) and (min-width: 1025px) {
  .portfolio-single__image-text--wide {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .portfolio-single__image-text {
    gap: 0 60px;
  }
}
@media (min-width: 1025px) {
  .portfolio-single__image-text {
    gap: 0 40px;
  }
}
.portfolio-single__image-text .image-text__image {
  width: 100%;
}
@media (min-width: 1025px) {
  .portfolio-single__image-text .image-text__image--wide {
    grid-column: 2/4;
  }
}
@media (min-width: 768px) {
  .portfolio-single__image-text .image-text__image--left {
    order: -1;
  }
}
@media (min-width: 1025px) {
  .portfolio-single__image-text .image-text__image--left.image-text__image--wide {
    grid-column: 1/3;
  }
}
.portfolio-single__image-text .image-text__image img {
  width: 100%;
  height: auto;
}
.portfolio-single__image-text h2 {
  font-weight: 800;
  font-size: 20px;
}
.portfolio-single__image-text h2:not(.portfolio-wide-title) {
  margin-bottom: 24px;
}
.portfolio-single__image-text p {
  line-height: normal;
}
.portfolio-single__image-text p:not(:last-child) {
  margin-bottom: 16px;
}
.portfolio-single__image-text p + h2 {
  margin-top: 24px;
  margin-bottom: 24px;
}
.portfolio-single__image-text p + h3 {
  margin-top: 24px;
}
.portfolio-single__image-text a {
  text-decoration: underline;
  color: #fff;
}
.portfolio-single__image-text h3 {
  margin-bottom: 16px;
  font-weight: 800;
}
@media (min-width: 768px) {
  .portfolio-single__image-text h3 {
    font-size: 18px;
  }
}
@media (min-width: 768px) {
  .portfolio-single__image-text h3 {
    font-size: 32px;
  }
}
.portfolio-single-before-after {
  display: grid;
  color: #fff;
}
@media (max-width: 767px) {
  .portfolio-single-before-after {
    margin-bottom: 32px;
    gap: 32px 0;
  }
}
@media (min-width: 768px) {
  .portfolio-single-before-after {
    margin: 0 auto 72px;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
  }
}
.portfolio-single-before-after__text {
  margin-bottom: 24px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}
.portfolio-single-before-after__image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .portfolio-single-before-after__image {
    height: 340px;
  }
}
@media (min-width: 768px) {
  .portfolio-single-before-after__image {
    height: 280px;
  }
}
.portfolio-single-before-after__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-single-columns {
  display: grid;
  color: #fff;
}
@media (max-width: 767px) {
  .portfolio-single-columns {
    margin-bottom: 32px;
    gap: 32px 0;
  }
}
@media (min-width: 768px) {
  .portfolio-single-columns {
    max-width: 750px;
    margin: 0 auto 72px;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
  }
}
.portfolio-single-columns__title {
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .portfolio-single-columns__title {
    grid-column: 1/3;
  }
}
.portfolio-single-columns p {
  line-height: normal;
}
.portfolio-single-columns p:not(:last-child) {
  margin-bottom: 16px;
}
.portfolio-single-about {
  display: flex;
  justify-content: space-between;
  color: #fff;
}
@media (max-width: 420px) {
  .portfolio-single-about {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .portfolio-single-about {
    margin-bottom: 32px;
    gap: 32px 0;
  }
}
@media (min-width: 768px) {
  .portfolio-single-about {
    max-width: 750px;
    margin: 0 auto 72px;
  }
}
.portfolio-single-about__label {
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
}
.portfolio-single-pagenav {
  display: flex;
  align-items: center;
}
.portfolio-single-pagenav a {
  position: relative;
  font-weight: 500;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 0 5px;
  text-transform: uppercase;
  color: #b13fff;
  transition: 0.3s color;
}
.portfolio-single-pagenav a[rel=next] {
  margin-left: auto;
}
.portfolio-single-pagenav a[rel=next]::after {
  position: relative;
  width: 49px;
  height: 16px;
  display: block;
  content: "";
  background: url("../img/arrow.svg") no-repeat top left transparent;
  transform: rotate(180deg);
}
.portfolio-single-pagenav a[rel=prev]:before {
  position: relative;
  width: 49px;
  height: 16px;
  display: block;
  content: "";
  background: url("../img/arrow.svg") no-repeat top left transparent;
}

@media (max-width: 767px) {
  .single-page {
    padding: 28px 0 44px;
  }
}
@media (min-width: 768px) {
  .single-page {
    padding: 62px 0 130px;
  }
}
.single-page__title {
  font-weight: 900;
  line-height: normal;
  color: #fff;
}
@media (max-width: 767px) {
  .single-page__title {
    margin-bottom: 16px;
    font-size: 24px;
  }
}
@media (min-width: 768px) {
  .single-page__title {
    margin-bottom: 32px;
    font-size: 36px;
  }
}
.single-page__desc {
  color: #fff;
}
.single-page h2 {
  margin-bottom: 24px;
  font-weight: 800;
  font-size: 20px;
}
.single-page p {
  line-height: normal;
  line-height: 1.3;
}
.single-page p:not(:last-child) {
  margin-bottom: 16px;
}
.single-page p + h2 {
  margin-top: 24px;
  margin-bottom: 24px;
}
.single-page p + h3 {
  margin-top: 24px;
}
.single-page a {
  text-decoration: underline;
  color: #fff;
}
.single-page h3 {
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 18px;
}

.contact-form__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
    -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  max-width: 1264px;
  margin: 0 auto;
  -ms-flex-item-align: center;
      align-self: center;
  padding: 144px 0 144px 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 1300px) {
  .contact-form__box {
    padding: 28px 25px 60px 25px;
  }
}

.contact-form__box .quiz {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
          margin-bottom: 144px;
}
@media (max-width: 1300px) {
  .contact-form__box .quiz {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 20px;
    margin-bottom: 10px;
  }
}
.contact-form__box .quiz_a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  max-width: 493px;
}
@media (max-width: 1300px) {
  .contact-form__box .quiz_a {
    max-width: none;
    margin-bottom: 60px;
  }
}
.contact-form__box .head {
  font-weight: 800;
  font-size: 36px;
  line-height: 125%;
  color: #FFFFFF;
  margin-bottom: 24px;
}
.contact-form__box .subtitle {
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.contact-form__box .subtitle p {
  margin: 0;
  padding: 0;
}
.contact-form__box .subtitle span {
  color: #B13FFF;
}
.contact-form__box .description {
  font-weight: 400;
  font-size: 18px;
  line-height: 135%;
  color: #FFFFFF;
  margin-bottom: 32px;
}
.contact-form__box .description p {
  margin: 0;
  padding: 0;
}
.contact-form__box .openquiz {
  margin-top: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 237px;
  height: 50px;
  background: linear-gradient(76.05deg, #292BF2 9.12%, #B13FFF 95.19%);
  -webkit-box-shadow: 0px 4px 28.9px rgba(0, 0, 0, 0.25);
          box-shadow: 0px 4px 28.9px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
}
@media (max-width: 1300px) {
  .contact-form__box .openquiz {
    -ms-flex-item-align: center;
        align-self: center;
  }
}

/* When quiz CTA sits right before the contact form, reduce the perceived empty gap */
.contact-form__box--quiz {
  padding-bottom: 72px;
}
.contact-form__box--form {
  padding-top: 0;
}

/* Quiz modal (opens from .openquiz CTA) */
.dg-quiz-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: none;
}
.dg-quiz-modal.is-open {
  display: block;
}
.dg-quiz-modal__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.78);
}
.dg-quiz-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 5vh auto;
  padding: 24px;
}
@media (max-width: 767px) {
  .dg-quiz-modal__dialog {
    margin: 0;
    padding: 16px;
  }
}
.dg-quiz-modal__content {
  position: relative;
  border-radius: 20px;
  max-height: 90vh;
  overflow: auto;
  background-color: #1b233a;
  /* Background (phone) like in the quiz design */
  background-image:
    radial-gradient(70% 90% at 15% 30%, rgba(177, 63, 255, 0.18) 0%, rgba(27, 35, 58, 0) 60%),
    url("/wp-content/themes/quiz/assets/images/phone_quiz.png");
  background-repeat: no-repeat;
  background-position: 92% 20%;
  background-size: 380px auto;
}
.dg-quiz-modal__close {
  /* Keep close button always above modal content/background */
  position: absolute;
  top: 12px;
  right: 12px;
  width: 52px;
  height: 52px;
  border: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  cursor: pointer;
}
.dg-quiz-modal__close:hover,
.dg-quiz-modal__close:focus {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.35);
}
.dg-quiz-modal__close::before,
.dg-quiz-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  background: #fff;
  -webkit-transform-origin: center;
          transform-origin: center;
}
.dg-quiz-modal__close::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}
.dg-quiz-modal__close::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
.dg-quiz-open {
  overflow: hidden;
}

/* Override quiz page layout when shown in modal */
.dg-quiz-modal .wrap_quiz {
  height: auto;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.dg-quiz-modal .quiz-container {
  min-height: 0;
  /* Leave room for the background phone image on desktop */
  padding-right: 420px;
}

@media (max-width: 1024px) {
  .dg-quiz-modal__dialog {
    max-width: 900px;
  }
  .dg-quiz-modal__content {
    background-size: 300px auto;
    background-position: 92% 12%;
  }
  .dg-quiz-modal .quiz-container {
    padding-right: 340px;
  }
}

@media (max-width: 767px) {
  .dg-quiz-modal__content {
    background-image: radial-gradient(90% 90% at 15% 30%, rgba(177, 63, 255, 0.18) 0%, rgba(27, 35, 58, 0) 65%);
    background-size: auto;
  }
  .dg-quiz-modal .quiz-container {
    padding-right: 0;
  }
}
.contact-form__box .quiz_b {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.contact-form__box .quiz_b img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.contact-form__box .bonuses-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  margin-bottom: 5px;
}
.contact-form__box .gift {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 195px;
  height: 64px;
  position: relative;
  -webkit-box-shadow: 0.1875rem 0.125rem 0.3125rem 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0.1875rem 0.125rem 0.3125rem 0 rgba(0, 0, 0, 0.1);
  background: #d1d1d1;
  border-radius: 0.3125rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  gap: 10px;
  margin-bottom: 20px;
}
.contact-form__box .gift .lock {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  top: 0px;
  right: 0px;
  height: 1.562rem;
  width: 1.562rem;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  background-color: #8d8d8d;
  border: 0.25rem solid #fff;
  border-radius: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  z-index: 2;
  -webkit-box-shadow: 0 0.25rem 0.625rem 0 var(--color-bg-alpha2, rgba(0, 0, 0, 0.1));
          box-shadow: 0 0.25rem 0.625rem 0 var(--color-bg-alpha2, rgba(0, 0, 0, 0.1));
  -webkit-transform: translate(40%, -40%);
          transform: translate(40%, -40%);
}
.contact-form__box .gift .lock svg {
  z-index: 2;
  fill: #fff;
  height: 0.6875rem !important;
}
.contact-form__box .gift .giftimg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 44px;
  height: 44px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.contact-form__box .gift .giftimg img {
  display: block;
  width: 100%;
  height: auto;
}
.contact-form__box .gift .gift_text {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: #69748c;
  text-align: right;
}

/*# sourceMappingURL=main.css.map */
