html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
a {
  background-color: transparent;
}
b {
  font-weight: bolder;
}
img {
  border-style: none;
}
button {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button {
  overflow: visible;
}
button {
  text-transform: none;
}
button {
  -webkit-appearance: button;
}
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring {
  outline: ButtonText dotted 1px;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
.fancybox__container:fullscreen::backdrop {
  opacity: 0;
}
.fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(1) {
  display: none;
}
.fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(2) {
  display: block;
}
@supports ((width: -webkit-max-content) or (width: max-content)) and
  ((height: -webkit-max-content) or (height: max-content)) {
}
@supports (
  (width: -webkit-fit-content) or (width: -moz-fit-content) or
    (width: fit-content)
) {
}
.vanilla-calendar button:focus-visible {
  border-radius: 0.5rem;
  outline-style: solid;
  outline-width: 1px;
}
.vanilla-calendar-day:focus-visible .vanilla-calendar-day__popup {
  pointer-events: auto;
  opacity: 1;
}
.vanilla-calendar-time__hours input:focus-visible,
.vanilla-calendar-time__minutes input:focus-visible {
  outline-style: solid;
  outline-width: 1px;
}
.vanilla-calendar-time__keeping:focus-visible {
  outline-style: solid;
  outline-width: 1px;
}
[data-calendar-theme="light"].vanilla-calendar button:focus-visible {
  outline-color: #fdba74;
}
[data-calendar-theme="light"] .vanilla-calendar-time__hours input:focus-visible,
[data-calendar-theme="light"]
  .vanilla-calendar-time__minutes
  input:focus-visible {
  outline-color: #fdba74;
}
[data-calendar-theme="light"] .vanilla-calendar-time__keeping:focus-visible {
  outline-color: #fdba74;
}
[data-calendar-theme="light"]
  .vanilla-calendar-time__range
  input:focus-visible::-webkit-slider-thumb {
  border-color: #fdba74;
}
[data-calendar-theme="light"]
  .vanilla-calendar-time__range
  input:focus-visible::-moz-range-thumb {
  border-color: #fdba74;
}
[data-calendar-theme="dark"].vanilla-calendar button:focus-visible {
  outline-color: #fdba74;
}
[data-calendar-theme="dark"] .vanilla-calendar-time__hours input:focus-visible,
[data-calendar-theme="dark"]
  .vanilla-calendar-time__minutes
  input:focus-visible {
  outline-color: #fdba74;
}
[data-calendar-theme="dark"] .vanilla-calendar-time__keeping:focus-visible {
  outline-color: #fdba74;
}
[data-calendar-theme="dark"]
  .vanilla-calendar-time__range
  input:focus-visible::-webkit-slider-thumb {
  border-color: #fdba74;
}
[data-calendar-theme="dark"]
  .vanilla-calendar-time__range
  input:focus-visible::-moz-range-thumb {
  border-color: #fdba74;
}
@font-face {
  font-family: EuclidCircular;
  font-weight: 300;
  font-style: normal;
  src: url(../fonts/EuclidCircularA-Light.woff);
  font-display: swap;
}
@font-face {
  font-family: EuclidCircular;
  font-weight: 400;
  font-style: normal;
  src: url(../fonts/EuclidCircularA-Regular.woff);
  font-display: swap;
}
@font-face {
  font-family: EuclidCircular;
  font-weight: 500;
  font-style: normal;
  src: url(../fonts/EuclidCircularA-Medium.woff);
  font-display: swap;
}
@font-face {
  font-family: EuclidCircular;
  font-weight: 700;
  font-style: normal;
  src: url(../fonts/EuclidCircularA-Bold.woff);
  font-display: swap;
}
@font-face {
  font-family: Gordita;
  font-weight: 500;
  font-style: normal;
  src: url(../fonts/Gordita-Medium.woff);
  font-display: swap;
}
:root {
  --white: #fff;
  --dark: #000;
  --black: #202229;
  --blue: #0075ff;
  --gray: #767e8f;
  --gray-light: #f3f4f7;
  --sky-blue: #00c3ee;
}
*,
::after,
::before {
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 120%;
  font-weight: 400;
  font-family: EuclidCircular, Arial, sans-serif;
  color: var(--black);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}
h1,
h2 {
  line-height: 120%;
}
a {
  text-decoration: none;
  color: var(--black);
  transition: 0.5s;
}
a:hover {
  color: var(--blue);
}
img {
  max-width: 100%;
  height: auto;
}
.terra-btn {
  border-radius: 12px;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 10px;
  column-gap: 10px;
  font-family: Gordita;
  font-size: 14px;
  font-weight: 500;
}
.terra-btn--blue {
  background-color: var(--blue);
  color: var(--white);
  border: 1px solid transparent;
}
.terra-btn--blue svg {
  fill: transparent;
  stroke: var(--white);
  position: relative;
}
.terra-btn--blue:not([disabled]):focus,
.terra-btn--blue:not([disabled]):hover {
  background-color: var(--white);
  color: var(--blue);
  border-color: var(--blue);
}
.terra-btn--blue:not([disabled]):focus svg,
.terra-btn--blue:not([disabled]):hover svg {
  stroke: var(--blue);
}
.terra-btn--58 {
  height: 58px;
}
.terra-btn--334 {
  padding: 0 16px;
  justify-content: center;
  width: 100%;
  max-width: 334px;
}
.container {
  width: 100%;
  max-width: 1412px;
  padding: 0 20px;
  margin: 0 auto;
}
#footer,
#header {
  flex: 0 0 auto;
}
#content {
  flex: 1 0 auto;
}
.section--radius {
  border-radius: 40px 40px 0 0;
}
.section-gap {
  padding: 70px 0;
}
.section-gap-bottom {
  padding-bottom: 70px;
}
.section__header {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  position: relative;
  margin-bottom: clamp(1.875rem, 1.411rem + 1.9vw, 3.125rem);
}
.section__header-line {
  top: -25px;
  left: -40px;
  position: absolute;
}
.section__title {
  font-size: 36px;
  font-weight: 500;
  margin: 0;
  position: relative;
}
.section__title span {
  color: var(--blue);
}
.section__title span.skyblue {
  color: #44c2ea;
}
.section__description {
  color: var(--gray);
  position: relative;
}
.section__description--24 {
  font-size: clamp(1.125rem, 0.986rem + 0.57vw, 1.5rem);
  color: var(--black);
  line-height: 140%;
}
.section__half {
  display: grid;
  grid-template-columns: 395px 1fr;
  -moz-column-gap: 40px;
  column-gap: 40px;
}
.logo {
  display: flex;
}
.result {
  display: flex;
  flex-direction: column;
  padding: 36px 26px 26px;
  background-color: #bbf7d0;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}
.result svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
}
.result__inner {
  position: relative;
}
.result__number {
  display: block;
  margin-bottom: 22px;
  font-size: 38px;
  font-weight: 700;
  line-height: 0.8;
}
.result__descr {
  margin-top: 10px;
  max-width: 180px;
}
.result--blue-sky {
  background-color: #b9f6ff;
}
.result--blue {
  background-color: #cddeff;
}
.result--orange {
  background-color: #ffe6d8;
}
.result--red {
  background-color: #ffdcd6;
}
.header {
  padding: 50px 0 26px;
  margin-bottom: clamp(1.875rem, 1.55rem + 1.33vw, 2.75rem);
}
.header--absolute {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 333;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  row-gap: 20px;
}
.header__top {
  display: flex;
  align-items: center;
  width: 100%;
}
.header__logo {
  margin-right: 24px;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  display: flex;
  align-items: center;

  img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}
.header__top-right {
  display: flex;
  align-items: center;
  column-gap: 15px;
}
.header__contacts {
  display: flex;
  align-items: center;
  -moz-column-gap: 24px;
  column-gap: 24px;
}
.header__contact {
  display: flex;
  align-items: center;
  -moz-column-gap: 6px;
  column-gap: 6px;
  color: var(--blue);
}
.header__contact svg {
  flex-shrink: 0;
}
.intro {
  position: relative;
  padding-top: 180px;
  min-height: 830px;
  background-image: url(../images/intro-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  background-color: #f3f5ff;
}
.intro__inner {
  display: flex;
  -moz-column-gap: 100px;
  column-gap: 100px;
}
.intro__info {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  max-width: clamp(35rem, 27.116rem + 12.72vw, 42.375rem);
  flex-shrink: 0;
  width: 100%;
}
.intro__title {
  margin: 0;
  font-weight: 500;
  font-size: 38px;
  line-height: 104%;
}
.intro__title span {
  color: var(--sky-blue);
}
.intro__title span.blue {
  color: var(--blue);
}
.intro__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}
.intro__card-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 753px) {
  .intro__title {
    font-size: 24px;
    word-break: break-word;
  }
}
.results__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.results__footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: clamp(1.25rem, 0.786rem + 1.9vw, 2.5rem);
}
.step-card {
  background-color: var(--card-color, #fbe3ff);
  padding: clamp(1.5rem, 0.393rem + 1.79vw, 2rem)
    clamp(1rem, -0.107rem + 1.79vw, 1.5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  row-gap: 16px;
}
.step-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  row-gap: 8px;
}
.step-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-color, #fbe3ff);
  background-repeat: no-repeat;
  background-size: 19px;
  background-position: center;
}
.step-card__content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.step-card__title {
  font-size: clamp(1rem, 0.907rem + 0.38vw, 1.25rem);
  font-weight: 500;
  height: 50px;
  display: flex;
  align-items: flex-end;
  line-height: 130%;
}
.step-card__description {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-color, #000);
  max-width: 323px;
}
.steps {
  overflow: hidden;
}
.steps__cards {
  padding: 164px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.steps__cards--four {
  grid-template-columns: repeat(4, 1fr);
}
.steps__card {
  border-radius: 0;
}
.steps__card-header {
  position: absolute;
  left: 50%;
  top: -80%;
  transform: translate(-50%, -50%);
  flex-direction: column-reverse;
  min-width: 300px;
  z-index: -1;
}
.steps__card-icon::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 100px;
  border: 1px dashed var(--card-color, #fbe3ff);
  z-index: -1;
  top: 100%;
}
.steps__card:first-child {
  border-radius: 16px 0 0 16px;
}
.steps__card:last-child {
  border-radius: 0 16px 16px 0;
}
.steps__card:nth-child(2n) .steps__card-header {
  top: 100%;
  flex-direction: column;
  transform: translate(-50%, 50%);
}
.steps__card:nth-child(2n) .steps__card-title {
  align-items: flex-start;
}
.steps__card:nth-child(2n) .steps__card-icon::after {
  top: unset;
  bottom: 100%;
}
.steps__card:not(:last-child)::after {
  content: "";
  border-top: 37px solid transparent;
  border-left: 50px solid var(--card-color, #fbe3ff);
  border-bottom: 37px solid transparent;
  position: absolute;
  right: -18px;
  z-index: 1;
}
.steps__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px auto 0;
}
.course__intro {
  height: auto;
}
.course__intro-inner {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(400px, 708px) 1fr;
  -moz-column-gap: clamp(2.5rem, -66.723rem + 81.08vw, 6.25rem);
  column-gap: clamp(2.5rem, -66.723rem + 81.08vw, 6.25rem);
  row-gap: 30px;
}
.course__intro-info {
  max-width: 100%;
}
.course__intro-card {
  max-width: 565px;
  max-height: 573px;
}
.course__result-inner {
  grid-template-columns: 299px 1fr;
}
.course__result-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 0.786rem + 1.9vw, 2.5rem);
  align-items: center;
}
.course__result-item {
  background-color: var(--gray-light);
  padding: 20px 16px;
  border-radius: clamp(1.25rem, 1.018rem + 0.95vw, 1.875rem);
  font-size: clamp(1.25rem, 1.157rem + 0.38vw, 1.5rem);
  height: 100%;
  line-height: 120%;
}
.course__for-cards {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 0.786rem + 1.9vw, 2.5rem);
}
.course__for-card {
  background-color: var(--card-color, #9181ff);
  color: var(--text-color, #fff);
  border-radius: 24px;
  padding: clamp(1rem, 0.814rem + 0.76vw, 1.5rem);
  position: relative;
  overflow: hidden;
}
.course__for-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  row-gap: 24px;
  position: relative;
}
.course__for-card-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.course__for-card-bg--small {
  width: 75%;
  height: 75%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.course__for-card-img {
  width: 170px;
  height: 170px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
}
.course__for-card-title {
  font-size: clamp(1.5rem, 1.407rem + 0.38vw, 1.75rem);
  line-height: 120%;
  font-weight: 500;
}
.footer {
  background-color: var(--black);
  padding-top: 37px;
  color: var(--white);
  border-radius: 32px 32px 0 0;
}
.footer__top {
  margin-bottom: 40px;
}
.footer__logo {
  max-width: 146px;
  width: 100%;
  display: flex;
  align-items: center;
  color: #fff;
  -moz-column-gap: 10px;
  column-gap: 10px;
  font-size: 22px;
  font-weight: 500;

  img {
    width: 40px;
    height: 40px;
  }
}
.footer__bottom {
  display: flex;
  -moz-column-gap: 20px;
  column-gap: 20px;
  justify-content: space-between;
  padding-bottom: 50px;
}
.footer__item {
  width: 100%;
}
.footer__item--description {
  max-width: 374px;
}
.footer__item--contacts {
  max-width: 330px;
  display: flex;
  flex-direction: column;
  row-gap: 21px;
}
.footer__description {
  opacity: 0.6;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  row-gap: 21px;
  font-size: 14px;
}
.footer a.footer__contact {
  color: var(--white);
}
.footer a.footer__contact:hover {
  color: var(--blue);
}
.footer__contact {
  display: flex;
  align-items: center;
  -moz-column-gap: 12px;
  column-gap: 12px;
}
.footer__contact svg {
  flex-shrink: 0;
  fill: var(--white);
  width: 24px;
  height: 24px;
}
.footer__contact--address {
  align-items: flex-start;
}
.footer__copyright {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer__copyright-link {
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.6;
}
.footer__copyright-link:hover {
  opacity: 1;
}
@media (max-width: 1366px) {
  .course__intro-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .header__contacts:not(.header__contacts--mobile) {
    display: none;
  }
}
@media (max-width: 1170px) {
  .section__half {
    grid-template-columns: 310px 1fr;
  }
  .results__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .results__card:last-of-type {
    grid-column: span 2;
  }
}
@media (max-width: 992px) {
  .terra-btn--58 {
    height: clamp(2.75rem, 2.218rem + 2.27vw, 3.625rem);
  }
  .section__header {
    margin-bottom: clamp(1.875rem, 1.115rem + 3.24vw, 3.125rem);
  }
  .section__header-line {
    width: 205px;
    left: 0;
  }
  .section__title {
    font-size: clamp(1.688rem, 1.346rem + 1.46vw, 2.25rem);
  }
  .section__half {
    grid-template-columns: 1fr;
  }
  .header__contacts {
    flex-direction: column;
    font-size: 18px;
    align-items: flex-start;
    row-gap: 20px;
  }
  .intro {
    padding-top: 140px;
    padding-bottom: 50px;
    min-height: unset;
    height: auto;
  }
  .intro__info {
    max-width: 100%;
  }
  .footer__bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .steps__cards {
    gap: 16px;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
  }
  .steps__cards--four .steps__card:last-child {
    grid-column: auto;
  }
  .steps__card {
    border-radius: 16px;
  }
  .steps__card-header {
    position: static;
    transform: unset;
    z-index: auto;
    flex-direction: column;
  }
  .steps__card-title {
    height: auto;
    color: var(--text-color, #000);
  }
  .steps__card-icon::after {
    content: unset;
  }
  .steps__card:first-child,
  .steps__card:last-child {
    border-radius: 16px;
  }
  .steps__card:not(:last-child)::after {
    content: unset;
  }
  .steps__card:nth-child(2n) .steps__card-header {
    transform: unset;
  }
  .steps__card:last-child {
    grid-column: 1/-1;
  }
  .course__for-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .course__for-card:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 850px) {
  .section__header {
    row-gap: 12px;
  }
  .section-gap {
    padding: 40px 0;
  }
  .section-gap-bottom {
    padding-bottom: 40px;
  }
  .container {
    padding: 0 15px;
  }
}
@media (max-width: 753px) {
  .steps__cards {
    padding-top: 20px;
    grid-template-columns: 1fr;
  }
  .course__intro-inner {
    grid-template-columns: 1fr;
  }
  .course__intro-card {
    max-width: 100%;
  }
  .course__for-cards,
  .course__result-items {
    grid-template-columns: 1fr;
  }
  .footer__top {
    margin-bottom: 20px;
  }
  .footer__bottom {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 20px;
    padding-bottom: 30px;
  }
  .footer__item--contacts {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    padding-top: 32px;
  }
  .footer__item--description {
    max-width: 100%;
  }
  .footer__copyright {
    border-top: 0;
    flex-wrap: wrap;
    row-gap: 30px;
  }
}
@media (max-width: 576px) {
  .xs-stretch {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
  .results__inner {
    grid-template-columns: repeat(1, 1fr);
  }
  .results__card:last-of-type {
    grid-column: auto;
  }
}
@media (min-width: 1920px) {
  .intro {
    max-height: 900px;
  }
}

:root {
  --black: #202229;
  --white: #fff;
  --gray-line: #d6d6d6;
  --color: #44c2ea;
  --gray: #a6acb9;
  --gray-2: #767e8f;
  --blue: #0075ff;
  --green: #bbf7d0;
  --blue-lite: #e1f8ff;
  --gray-bg: #f3f4f7;
  --violet-bg: #9181ff;
  --blue-bg: #b9f6ff;
  --blue-2-bg: #cddeff;
  --pink-bg: #fbe3ff;
  --orange-bg: #ffe6d8;
  --red-bg: #ffdcd6;
}
.filter-form__button:has(> input:checked),
.blog__categories-link:has(> input:checked),
.case-cats__list-link:has(> input:checked) {
  background-color: var(--blue);
  color: var(--white);
}
.course__intro {
  min-height: unset;
  padding-bottom: 50px;
}
@media (min-width: 1920px) {
  .intro {
    max-height: unset;
  }
}
.intro {
  padding-top: 220px;
  padding-bottom: 50px;
}
.intro__card-img {
  width: 564px;
  height: 573px;
  object-position: top;
}
.online {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.online__tag {
  padding: 6px 10px;
  background-color: #fff;
  border-radius: 100px;
  font-weight: 500;
  font-size: 13px;
  color: #f50;
  opacity: 0.9;
}
@media (max-width: 640px) {
  body {
    padding-top: 44px;
  }
}
.header__contacts {
  column-gap: 7px;
  font-size: 14px;
}
.header__contact {
  white-space: nowrap;
}
.mail-wrapper {
  display: flex;
  align-items: center;
  flex-direction: row !important;
  gap: 5px;
}
.email-copy__wrapper {
  width: 10px;
  height: 10px;
  cursor: pointer;
  display: flex;
  position: relative;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 32px;
  background-color: #0000005b;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-inner {
  max-width: 450px;
  width: 100%;
  border-radius: 16px;
  padding: 20px;
  background-color: #fff;
  position: relative;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#close {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.timer-time {
  font-size: 18px;
  color: var(--blue);
}
