:root {
  --font-family: "Montserrat", sans-serif;
  --content-width: 1170px;
  --container-offset: 16px;
  --container-width: calc(var(--content-width) + (var(--container-offset) * 2));
  --light-color: #fff;
  --dark-color: #000;
  --acent-color: #6F61C1;
  --soft-light: #eaecf8;
  --bg-color: #F8F9FA;
}

/* stylelint-disable */
/* stylelint-disable */
/* stylelint-disable */
.custom-checkbox__field:checked + .custom-checkbox__content::after {
  opacity: 1;
}

.custom-checkbox__field:focus + .custom-checkbox__content::before {
  outline: 2px solid #f00;
  outline-offset: 2px;
}

.custom-checkbox__field:disabled + .custom-checkbox__content {
  opacity: 0.4;
  pointer-events: none;
}

/* stylelint-disable */
/* stylelint-disable */
/* stylelint-disable value-keyword-case */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

::-moz-selection {
  background-color: var(--acent-color);
  color: var(--light-color);
  text-shadow: none;
}

::selection {
  background-color: var(--acent-color);
  color: var(--light-color);
  text-shadow: none;
}

::-moz-selection {
  background-color: var(--acent-color);
  color: var(--light-color);
  text-shadow: none;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #F0F0F0;
}

::-webkit-scrollbar-thumb {
  background-color: var(--acent-color);
  border-radius: 10px;
}

.page {
  height: 100%;
  font-family: var(--font-family, sans-serif);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

.page__body {
  margin: 0;
  min-width: 375px;
  min-height: 100%;
  font-size: 16px;
}

img {
  height: auto;
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

a {
  text-decoration: none;
}

.site-container {
  overflow: hidden;
}

.is-hidden {
  display: none !important; /* stylelint-disable-line declaration-no-important */
}

.btn-reset {
  border: none;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
}

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.input-reset {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  background-color: #fff;
}
.input-reset::-webkit-search-decoration, .input-reset::-webkit-search-cancel-button, .input-reset::-webkit-search-results-button, .input-reset::-webkit-search-results-decoration {
  display: none;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  margin: -1px;
  border: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.container {
  margin: 0 auto;
  padding: 0 var(--container-offset);
  max-width: var(--container-width);
}

.centered {
  text-align: center;
}

.dis-scroll {
  position: fixed;
  left: 0;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  -ms-scroll-chaining: none;
  overscroll-behavior: none;
}

.page--ios .dis-scroll {
  position: relative;
}

.logo {
  font-weight: 600;
  font-size: 28px;
  color: var(--dark-color);
  -webkit-transition: color 0.3s ease-in;
  transition: color 0.3s ease-in;
}
.logo:hover {
  color: var(--acent-color);
}
@media (max-width: 576px) {
  .logo {
    font-size: 26px;
  }
}

.btn {
  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;
  padding: 0 24px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 56px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  line-height: 144%;
  text-align: center;
  color: var(--light-color);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.btn:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .btn {
    height: 50px;
  }
}

.section-title {
  margin: 0;
  margin-bottom: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 28px;
}
@media (max-width: 768px) {
  .section-title {
    margin-bottom: 24px;
    font-size: 24px;
  }
}

.section-subtitle {
  margin: 0 auto;
  margin-bottom: 32px;
  text-align: center;
  max-width: 600px;
}
@media (max-width: 768px) {
  .section-subtitle {
    margin-bottom: 24px;
  }
}

.swiper-button-next,
.swiper-button-prev {
  margin: 0;
  padding: 0;
  position: relative;
  top: unset;
  left: unset;
  right: unset;
  bottom: unset;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 100%;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.swiper-button-next svg,
.swiper-button-prev svg {
  width: 20px;
  height: 20px;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 12px;
}
.social__link {
  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;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.social__link:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
.social__btn {
  height: 50px;
}

.f-html {
  margin: 0;
  padding: 0;
  color: var(--dark-color);
  background-color: inherit;
}

.fancybox__slide.has-html {
  padding: 8px 0;
}

.checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  visibility: hidden;
}
.checkbox__checkmark {
  outline: none;
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--acent-color);
  border-radius: 2px;
  margin-right: 16px;
  background-color: var(--acent-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.checkbox__checkmark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background-image: url("../img/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.checkbox__text {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-color);
  line-height: 130%;
}
.checkbox__text a {
  color: var(--acent-color);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.checkbox__text a:hover {
  color: var(--yellow-color);
}
.checkbox input:checked + .checkbox__checkmark {
  background: var(--acent-color);
  border-color: var(--acent-color);
}
.checkbox input:checked + .checkbox__checkmark::after {
  opacity: 1;
}
.checkbox:hover input:not(:checked) + .checkbox__checkmark {
  border-color: var(--acent-color);
}

.animate__animated {
  opacity: 0;
}

.header {
  padding: 12px 0;
  position: fixed;
  width: calc(100% - 16px);
  top: 10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 50px;
}
@media (max-width: 576px) {
  .header .container {
    padding: 0 16px 0 8px;
  }
}
.header__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
@media (max-width: 1140px) {
  .header__social {
    display: none;
  }
}
@media (max-width: 1024px) {
  .header__social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
@media (max-width: 576px) {
  .header__btn {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    padding: 48px 24px;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
  }
}
.nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 24px;
}
@media (max-width: 1140px) {
  .nav__list {
    gap: 12px;
  }
}
@media (max-width: 1024px) {
  .nav__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}
.nav__link {
  font-weight: 500;
  font-size: 16px;
  color: var(--dark-color);
  -webkit-transition: color 0.3s ease-in;
  transition: color 0.3s ease-in;
}
@media (max-width: 1024px) {
  .nav__link {
    font-size: 20px;
    color: var(--light-color);
  }
}
.nav__link::after, .nav__link::before {
  opacity: 0;
  color: var(--acent-color);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.nav__link::before {
  content: "{";
}
.nav__link::after {
  content: "}";
}
.nav__link:hover {
  color: var(--acent-color);
}
.nav__link:hover::after, .nav__link:hover::before {
  opacity: 1;
}

.burger-wrapper {
  display: none;
  width: 50px;
  height: 50px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
@media (max-width: 1024px) {
  .burger-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
@media (max-width: 576px) {
  .burger-wrapper {
    width: 40px;
    height: 40px;
  }
}

.burger {
  --burger-width: 30px;
  --burger-height: 20px;
  --burger-line-height: 2px;
}
@media (max-width: 576px) {
  .burger {
    --burger-width: 25px;
    --burger-height: 18px;
  }
}
.burger {
  position: relative;
  border: none;
  padding: 0;
  width: var(--burger-width);
  height: var(--burger-height);
  color: var(--light-color);
  background-color: transparent;
  cursor: pointer;
}
.burger::before, .burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--burger-line-height);
  background-color: currentColor;
  -webkit-transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger::before {
  top: 0;
}
.burger::after {
  top: calc(100% - var(--burger-line-height));
}
.burger__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: var(--burger-line-height);
  background-color: currentColor;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger--active::before {
  top: 50%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger--active::after {
  top: 50%;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger--active .burger__line {
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger {
  z-index: 1111;
  display: none;
}
@media (max-width: 1024px) {
  .burger {
    display: block;
  }
}

@media (max-width: 1024px) {
  .menu--active {
    display: block;
    position: fixed;
    opacity: 1;
    visibility: visible;
    top: calc(100% + 10px);
    z-index: 1000;
  }
}
.hero {
  padding-top: 120px;
  padding-bottom: 60px;
  border-radius: 0 0 30px 30px;
  position: relative;
}
.hero::before {
  content: "";
  display: block;
  width: 328px;
  height: 415px;
  background-image: url("../img/bg1.png");
  background-size: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 1024px) {
  .hero::before {
    width: 200px;
    height: 253px;
  }
}
@media (max-width: 576px) {
  .hero {
    padding-bottom: 40px;
  }
}
.hero__container {
  padding-left: calc((100% - 1200px) / 2);
}
@media (max-width: 1024px) {
  .hero__container {
    padding-left: 16px;
  }
}
@media (max-width: 768px) {
  .hero__container {
    padding: 0 16px;
  }
}
.hero__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 32px;
}
@media (max-width: 1024px) {
  .hero__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }
}
@media (max-width: 768px) {
  .hero__wrapper {
    gap: 32px;
  }
}
.hero__left {
  padding-top: 50px;
  max-width: 540px;
}
@media (max-width: 1300px) {
  .hero__left {
    padding-left: 16px;
  }
}
@media (max-width: 1024px) {
  .hero__left {
    padding-top: 0;
    max-width: unset;
    padding-right: 16px;
  }
}
@media (max-width: 768px) {
  .hero__left {
    padding-right: 0;
  }
}
@media (max-width: 576px) {
  .hero__left {
    max-width: 100%;
    padding: 0;
  }
}
.hero__title {
  margin: 0;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 32px;
}
@media (max-width: 768px) {
  .hero__title {
    margin-bottom: 24px;
    font-size: 26px;
  }
}
.hero__text {
  margin: 0;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .hero__text {
    margin-bottom: 0;
  }
}
.hero__img {
  height: 538px;
}
@media (max-width: 1300px) {
  .hero__img {
    height: 430px;
  }
}
@media (max-width: 1200px) {
  .hero__img {
    height: 400px;
  }
}
@media (max-width: 1100px) {
  .hero__img {
    height: 360px;
  }
}
@media (max-width: 1024px) {
  .hero__img {
    height: 450px;
  }
}
@media (max-width: 768px) {
  .hero__img {
    height: auto;
  }
}
@media (max-width: 576px) {
  .hero__btn {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .hero__btn {
    display: none;
  }
}
.hero__btn--mobile {
  display: none;
}
@media (max-width: 768px) {
  .hero__btn--mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.history {
  padding: 60px 0;
  background-color: var(--bg-color);
  border-radius: 30px;
  --animate-delay: .3s;
}
@media (max-width: 576px) {
  .history {
    padding: 40px 0;
  }
}
.history__wrapper {
  margin-bottom: 20px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[12];
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}
@media (max-width: 1200px) {
  .history__wrapper {
    gap: 12px;
  }
}
.history__slider-wrapper {
  -ms-grid-column-span: 8;
  grid-column: 8 span;
  position: relative;
}
@media (max-width: 1200px) {
  .history__slider-wrapper {
    margin: 0 auto;
    max-width: 740px;
    -ms-grid-column-span: 12;
    grid-column: 12 span;
  }
}
@media (max-width: 768px) {
  .history__slider-wrapper {
    max-width: 100%;
  }
}
.history__slider {
  width: 100%;
}
.history__slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 40px;
}
@media (max-width: 1200px) {
  .history__slide {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .history__slide {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}
.history__img {
  display: block;
  border-radius: 24px;
  width: 100%;
  height: 340px;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
.history__tg {
  display: block;
  width: 100%;
  height: 426px;
  border-radius: 24px;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
.history__doc {
  -ms-grid-column-span: 4;
  grid-column: 4 span;
  display: block;
  width: 100%;
  height: 426px;
  border-radius: 24px;
  cursor: pointer;
}
@media (max-width: 1200px) {
  .history__doc {
    margin: 0 auto;
    width: auto;
    -ms-grid-column-span: 12;
    grid-column: 12 span;
  }
}
@media (max-width: 576px) {
  .history__doc {
    width: 100%;
    height: auto;
  }
}
.history__btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .history__btns {
    display: none;
  }
}
.history__prev, .history__next {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
}
.history__prev {
  left: 24px;
}
.history__next {
  right: 24px;
}
.history__pagination {
  display: none;
}
@media (max-width: 768px) {
  .history__pagination {
    display: block;
  }
  .history__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--light-color);
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    opacity: 1;
  }
  .history__pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
}
.history__copy {
  margin: 0;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  color: #adadad;
}

.problems {
  padding: 60px 0;
  border-radius: 30px;
  position: relative;
  --animate-delay: .3s;
}
@media (max-width: 576px) {
  .problems {
    padding: 40px 0;
  }
}
.problems::before {
  content: "";
  display: block;
  width: 328px;
  height: 415px;
  background-image: url("../img/bg1.png");
  background-size: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 1024px) {
  .problems::before {
    width: 200px;
    height: 253px;
  }
}
@media (max-width: 768px) {
  .problems::before {
    display: none;
  }
}
.problems::after {
  content: "";
  display: block;
  width: 361px;
  height: 304px;
  background-image: url("../img/bg2.png");
  background-size: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}
@media (max-width: 1024px) {
  .problems::after {
    width: 200px;
    height: 169px;
  }
}
.problems__title {
  margin: 0 auto;
  margin-bottom: 32px;
  max-width: 660px;
}
.problems__img {
  margin-bottom: 24px;
  display: block;
  border-radius: 24px;
}
.problems__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .problems__grid {
    gap: 12px;
  }
}
@media (max-width: 576px) {
  .problems__grid {
    gap: 8px;
  }
}
.problems__text {
  margin: 0;
}
@media (max-width: 576px) {
  .problems__text {
    font-size: 14px;
  }
}

.contingent {
  padding: 60px 0;
  background-color: var(--bg-color);
  border-radius: 30px 30px 0 0;
  --animate-delay: .3s;
}
@media (max-width: 576px) {
  .contingent {
    padding: 40px 0;
  }
}
.contingent__subtitle {
  margin: 0;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .contingent__subtitle {
    margin-bottom: 16px;
    text-align: center;
  }
}
.contingent__grid {
  margin-bottom: 32px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .contingent__grid {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .contingent__grid {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
}
.contingent__item {
  padding: 24px;
  background-color: var(--light-color);
  border-radius: 24px;
}
@media (max-width: 1024px) {
  .contingent__item--last {
    -ms-grid-column-span: 2;
    grid-column: 2 span;
  }
}
@media (max-width: 768px) {
  .contingent__item--last {
    -ms-grid-column-span: 1;
    grid-column: 1 span;
  }
}
.contingent__img {
  margin: 0 auto;
  margin-bottom: 12px;
  max-height: 180px;
  display: block;
}
@media (max-width: 576px) {
  .contingent__img {
    max-height: 120px;
  }
}
.contingent__name {
  margin: 0;
  margin-bottom: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.contingent__text {
  margin: 0;
  text-align: center;
}
.contingent__wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .contingent__wrapper {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
}

.security {
  padding: 60px 0;
  background-color: var(--bg-color);
  border-radius: 0 0 30px 30px;
}
@media (max-width: 576px) {
  .security {
    padding: 40px 0;
  }
}
.security__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-left: 24px;
  background-color: var(--light-color);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  height: 380px;
}
@media (max-width: 1024px) {
  .security__wrapper {
    padding: 0;
    height: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 576px) {
  .security__wrapper {
    gap: 12px;
  }
}
.security__left {
  max-width: 570px;
}
@media (max-width: 1024px) {
  .security__left {
    padding: 24px 24px 0 24px;
    max-width: unset;
  }
}
@media (max-width: 576px) {
  .security__left {
    padding: 12px 12px 0 12px;
  }
}
.security__title {
  text-align: left;
}
.security__text {
  margin: 0;
}

.integration {
  padding: 60px 0;
  position: relative;
  --animate-delay: .3s;
}
@media (max-width: 576px) {
  .integration {
    padding: 40px 0;
  }
}
.integration::before {
  content: "";
  display: block;
  width: 328px;
  height: 415px;
  background-image: url("../img/bg1.png");
  background-size: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 1024px) {
  .integration::before {
    width: 200px;
    height: 253px;
  }
}
@media (max-width: 576px) {
  .integration::before {
    width: 150px;
    height: 190px;
  }
}
.integration::after {
  content: "";
  display: block;
  width: 361px;
  height: 304px;
  background-image: url("../img/bg2.png");
  background-size: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}
.integration__img {
  margin-bottom: 24px;
  display: block;
}
.integration__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .integration__grid {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .integration__grid {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
}
.integration__item {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background-color: var(--soft-light);
}
.integration__number {
  position: absolute;
  bottom: -20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  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;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 100%;
  font-size: 18px;
  font-weight: 800;
  color: var(--light-color);
}
@media (max-width: 576px) {
  .integration__number {
    z-index: 10;
  }
}
.integration__title {
  margin: 0;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}
.integration__text {
  margin: 0;
}

.work-steps {
  text-align: center;
  padding: 40px 20px;
}

.steps-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.step {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.step-number {
  font-size: 2em;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
}

.objections {
  padding: 60px 0;
  background-color: var(--bg-color);
  border-radius: 30px;
  --animate-delay: .3s;
}
@media (max-width: 576px) {
  .objections {
    padding: 40px 0;
  }
}
.objections__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .objections__grid {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
}
.objections__item {
  padding: 24px;
  border: 2px solid var(--soft-light);
  border-radius: 24px;
}
@media (max-width: 576px) {
  .objections__item {
    padding: 12px;
  }
}
.objections__title {
  margin: 0;
  margin-bottom: 24px;
  font-size: 22px;
}
@media (max-width: 768px) {
  .objections__title {
    font-size: 20px;
  }
}
@media (max-width: 576px) {
  .objections__title {
    font-size: 18px;
  }
}
.objections__img {
  display: block;
}
.objections__text {
  margin: 0;
  margin-top: 24px;
}
@media (max-width: 576px) {
  .objections__text {
    margin-top: 12px;
    font-size: 14px;
  }
}

.candidates {
  padding: 60px 0;
  position: relative;
  --animate-delay: .3s;
}
@media (max-width: 576px) {
  .candidates {
    padding: 40px 0;
  }
}
.candidates::before {
  content: "";
  display: block;
  width: 328px;
  height: 415px;
  background-image: url("../img/bg1.png");
  background-size: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 576px) {
  .candidates::before {
    width: 150px;
    height: 190px;
  }
}
.candidates::after {
  content: "";
  display: block;
  width: 361px;
  height: 304px;
  background-image: url("../img/bg2.png");
  background-size: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -2;
}
@media (max-width: 1024px) {
  .candidates .container {
    padding: 0 32px;
  }
}
.candidates__title {
  margin-bottom: 42px;
}
.candidates__grid {
  margin: 0 auto;
  max-width: 800px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
@media (max-width: 768px) {
  .candidates__grid {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
    gap: 48px;
  }
}
.candidates__item {
  padding: 24px;
  position: relative;
  border-radius: 24px;
  background-color: var(--light-color);
  background-image: url("../img/card-bg.png");
  background-size: 100% 100%;
  -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.candidates__item::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -20px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 24px;
  width: 100%;
  height: calc(100% + 40px);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  pointer-events: none;
}
.candidates__item:last-of-type::before {
  left: unset;
  right: -20px;
}
.candidates__item:last-of-type .candidates__text {
  text-align: right;
}
.candidates__img {
  display: block;
  margin: 0 auto;
  margin-bottom: 24px;
  height: 220px;
}
.candidates__text {
  margin: 0;
}

.start {
  padding: 60px 0;
  background-color: var(--bg-color);
  border-radius: 30px;
  --animate-delay: .3s;
}
@media (max-width: 576px) {
  .start {
    padding: 40px 0;
  }
}
.start__title {
  text-align: left;
}
.start__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 24px;
}
.start__list {
  margin-bottom: 24px;
  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-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 12px;
}
.start__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}
.start__icon {
  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;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 100%;
}
.start__icon svg {
  width: 18px;
  height: 18px;
}
.start__btn {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.quiz-wrapper {
  background-color: var(--light-color);
  width: 100%;
  border-radius: 12px;
  -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
}
@media (max-width: 768px) {
  .quiz-wrapper {
    padding: 24px;
  }
}

.progress-container {
  margin-bottom: 25px;
}

.progress-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.progress-bar-bg {
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  width: 0%;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
}

.question-block {
  display: block;
}

h2.question-title {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 22px;
  color: #333;
  line-height: 1.4;
}

.options-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  background-color: #fff;
  border: 2px solid #e0e0e0;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  color: #333;
}
.option-btn span {
  font-weight: 700;
}

.option-btn.selected {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: white;
}

.form-block {
  display: none;
  text-align: center;
}

.form-block h2 {
  margin-bottom: 10px;
  color: #333;
}

.form-block p {
  color: #666;
  margin-bottom: 25px;
}

.input-group {
  width: 100%;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #555;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.submit-btn {
  width: 100%;
  cursor: pointer;
}

.success-message {
  display: none;
  text-align: center;
}

.success-icon {
  font-size: 50px;
  color: #4CAF50;
  margin-bottom: 15px;
}

.footer {
  padding: 40px 0;
}
.footer__wrapper {
  padding-bottom: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
@media (max-width: 576px) {
  .footer__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
  }
}
.footer__logo {
  display: block;
  margin-bottom: 24px;
}
.footer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 32px;
}
@media (max-width: 1024px) {
  .footer__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 12px;
  }
}
.footer__link {
  font-weight: 500;
  font-size: 16px;
  color: var(--dark-color);
  -webkit-transition: color 0.3s ease-in;
  transition: color 0.3s ease-in;
}
.footer__link::after, .footer__link::before {
  opacity: 0;
  color: var(--acent-color);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.footer__link::before {
  content: "{";
}
.footer__link::after {
  content: "}";
}
.footer__link:hover {
  color: var(--acent-color);
}
.footer__link:hover::after, .footer__link:hover::before {
  opacity: 1;
}
@media (max-width: 576px) {
  .footer__right {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    gap: 8px;
  }
}
.footer__bottom {
  border-top: 1px solid #adadad;
  padding-top: 24px;
}
.footer__copy {
  margin: 0;
  font-size: 14px;
  color: #adadad;
}

.modal {
  display: none;
  position: relative;
  max-width: 544px;
  border-radius: 20px;
  padding: 24px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  background-color: var(--light-color);
}
@media (max-width: 768px) {
  .modal {
    margin: 0 15px;
    padding: 16px;
  }
}
.modal__row {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 12px;
}
.modal__close {
  width: 54px;
  height: 54px;
  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;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background-color: var(--light-color);
  border: 2px solid var(--acent-color);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.modal__close svg path {
  -webkit-transition: stroke 0.3s ease-in-out;
  transition: stroke 0.3s ease-in-out;
}
.modal__close:hover {
  background-color: var(--acent-color);
}
.modal__close:hover svg path {
  stroke: var(--light-color);
}
.modal__title {
  margin: 0;
  margin-bottom: 28px;
  font-weight: 700;
  font-size: 28px;
  color: var(--dark-color);
}
.modal__title span {
  color: var(--acent-color);
}
@media (max-width: 768px) {
  .modal__title {
    margin-bottom: 16px;
    font-size: 26px;
  }
}
.modal__text {
  margin: 0;
  line-height: 150%;
}

.form {
  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-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
}
@media (max-width: 576px) {
  .form {
    gap: 12px;
  }
}
.form__input {
  width: 100%;
  height: 56px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  outline: none;
  border: 2px solid var(--acent-color);
  border-radius: 12px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-color);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
@media (max-width: 576px) {
  .form__input {
    font-size: 11px;
    padding: 11px 30px;
  }
}
.form__input:focus {
  border-color: var(--yellow-color);
}
.form__input::-webkit-input-placeholder {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
}
.form__input::-moz-placeholder {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
}
.form__input:-ms-input-placeholder {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
}
.form__input::-ms-input-placeholder {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
}
.form__input::placeholder {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
}
.form__btn {
  width: 100%;
  height: 60px;
}


/* Добавляем отступ для всех секций, на которые ведут якорные ссылки */
#history, #problems, #contingent, #security, #integration, #candidates, #start, #hero {
    scroll-margin-top: 50px; /* Отступ сверху при скролле к якорю */
}

/* Для мобильных устройств можно сделать меньше отступ */
@media (max-width: 768px) {
    #history, #problems, #contingent, #security, #integration, #candidates, #start, #hero {
        scroll-margin-top: 50px;
    }
}