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

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

body {
  overflow-x: hidden;
  background: #030214;
  line-height: 1;
  font-family: Mulish, Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
}

body.no-scroll { overflow: hidden; }

.wrapper { overflow: hidden; padding-top: 59px; }

.container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 59px;
  box-sizing: border-box;
  background-color: #030213;
  display: flex;
  align-items: center;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 59px;
  margin: 0 auto;
  padding: 0 16px;
}

.header__logo {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.header__logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.header__nav { display: none; }
.header__menu-button { display: block; }

.header__menu-button {
  position: relative;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  padding: 0;
}

.header__menu-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
}

.header__menu-button img:nth-child(2) { opacity: 0; }
.header__menu-button.active img:nth-child(1) { opacity: 0; }
.header__menu-button.active img:nth-child(2) { opacity: 1; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9;
  padding: 80px 20px 40px;
  background-color: #030214;
  opacity: 0;
  transition: opacity 0.3s;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
}

.mobile-menu:not(.active) { pointer-events: none; }
.mobile-menu__nav { display: grid; gap: 20px; }
.mobile-menu a { color: #fff; font-size: 20px; line-height: 1.5; }


.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  height: 46px;
  padding: 0 12px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(180deg, #26d091 0, #1f9178 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.47;
  text-align: center;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #4bcb9c 0, #469c89 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.button span { position: relative; z-index: 1; }
.button:hover::after { opacity: 1; }

.button--bordered {
  background: transparent;
  border: 2px solid #469c89;
}

.button--bordered::after { display: none; }


.form {
  display: grid;
  gap: 20px;
  padding: 25px;
  border: 1px solid #26d091;
  border-radius: 15px;
  background-color: rgba(39, 37, 59, 0.8);
}

.form__field { position: relative; }

.form__field-input {
  width: 100%;
  min-height: 46px;
  padding: 3px 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: hsla(0, 0%, 100%, 0.2);
  color: #fff;
  font: inherit;
  transition: background-color 0.3s;
}

.form__field-input:hover { background-color: hsla(0, 0%, 100%, 0.3); }
.form__field-input:focus { outline: none; }
.form__field-input.error,
.form__select.error { border-color: #ff6b6b; }

.form__select {
  height: 50px;
  padding-left: 10px;
  cursor: pointer;
}

.form__select option { color: #000; }

.form__textarea {
  padding-top: 10px;
  min-height: 100px;
  resize: vertical;
}

.form__privacy {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.form__privacy-link { text-decoration: underline; }

.form__success {
  color: #1f9178;
  font-size: 1.5rem;
  text-align: center;
}

.form__field-error {
  display: block;
  margin-top: 6px;
  color: #ff6b6b;
  font-size: 13px;
}

.form .iti { width: 100%; display: block; }
.form .iti__selected-dial-code { color: #fff; margin-left: 6px; }
.form .iti__arrow { display: none !important; }
.form .iti__flag-container { pointer-events: none; }
.form .iti__selected-flag { cursor: default; background-color: rgba(0, 0, 0, 0.05); }
.form .iti__selected-flag { color: #fff; }

.form .iti__flag {
  background-image: url("../img/flags.png") !important;
  background-repeat: no-repeat !important;
  background-color: #dbdbdb !important;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .form .iti__flag {
    background-image: url("../img/flags@2x.png") !important;
    background-size: 5632px 15px !important;
  }
}

.form .iti__flag.iti__ca {
  height: 10px;
  background-position: -834px 0 !important;
}


.hero-section {
  position: relative;
  padding: 100px 0 50px;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #081430 0, rgba(8, 20, 48, 0.51) 50%, rgba(8, 20, 48, 0) 105%);
  pointer-events: none;
}

.hero-section .container { position: relative; z-index: 1; }
.hero-section__row { display: grid; gap: 30px; }

.hero-section__title {
  margin-bottom: 30px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-section__text {
  margin-bottom: 30px;
  color: #fff;
  font-family: "Bellota Text", Mulish, sans-serif;
  font-size: 15px;
  line-height: 1.37;
}

.hero-section__accent { margin-bottom: 15px; }

.hero-section__accent p {
  color: #1f9178;
  font-family: "Bellota Text", Mulish, sans-serif;
  font-size: 15px;
  line-height: 1.37;
}


.partenrs-section {
  position: relative;
  padding: 46px 0;
}

.partenrs-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(3, 2, 20, 0.9);
  pointer-events: none;
}

.partenrs-section .container { position: relative; z-index: 1; }

.partenrs-section__title {
  margin-bottom: 30px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.partenrs-section__list {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.partenrs-section__item {
  padding: 25px;
  border: 1px solid #26d091;
  border-radius: 15px;
  background-color: rgba(4, 12, 36, 0.7);
  text-align: center;
}

.partenrs-section__label {
  margin-bottom: 30px;
  color: #a1a1a1;
  font-family: "Bellota Text", Mulish, sans-serif;
  font-size: 22px;
  line-height: 1.37;
}

.partenrs-section__buttons { display: grid; gap: 20px; }


.about-section {
  position: relative;
  padding: 50px 0;
}

.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #030214 0, rgba(3, 2, 20, 0.3) 45%, rgba(3, 2, 20, 0) 105%);
  pointer-events: none;
}

.about-section .container { position: relative; z-index: 1; }

.about-section__img {
  display: flex;
  justify-content: center;
  aspect-ratio: 1;
}

.about-section__img img {
  width: auto;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.about-section__content {
  padding: 25px;
  border: 1px solid #26d091;
  background-color: #040c24;
}

.about-section__content h3 {
  margin-bottom: 20px;
  color: #26d091;
  font-size: 34px;
  font-weight: 700;
}

.about-section__content h4 {
  margin-bottom: 20px;
  color: #26d091;
  font-size: 30px;
}

.about-section__content p {
  color: #fff;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
}


.history-section { padding: 50px 0; }

.history-section__title {
  margin-bottom: 20px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.history-section__stats { display: grid; gap: 20px; }

.history-section__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  border: 1px solid #26d091;
  border-radius: 15px;
  background-color: #040c24;
}

.history-section__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.history-section__item-subtitle {
  margin-bottom: 15px;
  color: #26d091;
  font-family: "Bellota Text", Mulish, sans-serif;
  font-size: 22px;
  font-weight: 500;
}

.history-section__item-title {
  margin-bottom: 10px;
  color: #26d091;
  font-size: 30px;
}

.history-section__item-text {
  color: #a1a1a1;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}


.stages-section { padding: 50px 0; }

.stages-section__title {
  margin-bottom: 20px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.stages-section__list { display: grid; gap: 20px; }

.stages-section__item {
  padding: 15px;
  border: 1px solid #26d091;
  border-radius: 15px;
  color: #fff;
}

.stages-section__item img {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.stages-section__item-title {
  margin-bottom: 15px;
  color: #26d091;
  font-size: 22px;
  font-weight: 400;
}

.stages-section__item-text {
  color: #a1a1a1;
  font-size: 20px;
  line-height: 1.35;
}


.help-section { padding: 50px 0; }

.help-section__group-title {
  margin-bottom: 40px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.help-section__group.second .help-section__group-title { text-align: right; }

.help-section__list {
  position: relative;
  display: grid;
  gap: 20px;
}

.help-section__item {
  position: relative;
  z-index: 1;
  padding: 40px 25px;
  border: 1px solid #26d091;
  border-radius: 15px;
  background-color: rgba(28, 27, 43, 0.8);
  color: #a1a1a1;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 1px;
}

.help-section__deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  object-fit: contain;
}

.help-section__group.first .help-section__deco--check-1 {
  top: -40px;
  left: -40px;
  width: 90px;
  height: 90px;
  transform: rotate(335deg);
}

.help-section__group.first .help-section__deco--check-2 {
  right: -40px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  transform: rotate(35deg);
}

.help-section__group.second .help-section__deco--cancel-1 {
  top: -70px;
  left: -35px;
  width: 90px;
  height: 90px;
  transform: rotate(335deg);
}

.help-section__group.second .help-section__deco--cancel-2 {
  right: -185px;
  bottom: -70px;
  width: 245px;
  height: 245px;
  transform: rotate(35deg);
  display: none;
}

.help-section__row {
  display: grid;
  gap: 30px;
  margin: 70px 0;
}

.help-section__img {
  height: 280px;
  text-align: center;
}

.help-section__img img {
  width: auto;
  height: auto;
  max-height: 100%;
  margin: 0 auto;
}

.help-section__block {
  padding: 30px 25px;
  border: 1px solid #26d091;
  border-radius: 15px;
  background-color: rgba(28, 27, 43, 0.8);
  color: #26d091;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.help-section__block b { font-weight: 700; }


.back-section {
  position: relative;
  padding: 50px 0;
}

.back-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(3, 2, 20, 0.7);
  pointer-events: none;
}

.back-section .container { position: relative; z-index: 1; }

.back-section__title {
  margin-bottom: 30px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.back-section__text p {
  color: #a1a1a1;
  font-family: "Bellota Text", Mulish, sans-serif;
  font-size: 18px;
  line-height: 1.37;
  letter-spacing: 1px;
}

.back-section__text p:not(:last-child) { margin-bottom: 25px; }


.footer { padding: 45px 0; }

.footer__logo {
  display: block;
  width: 240px;
  margin: 0 auto 20px;
  text-align: center;
}

.footer__logo img { width: 150px; margin: 0 auto; }

.footer__copyright {
  margin-bottom: 20px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 1px;
}

.footer__link {
  display: block;
  color: #a1a1a1;
  font-size: 16px;
  text-align: center;
  text-decoration: underline;
}


@media (min-width: 1200px) {
  .wrapper { padding-top: 0; }

  .container { max-width: 1190px; }

  .header {
    height: 114.4px;
    justify-content: center;
  }

  .header__container {
    width: min(1520.8px, 100%);
    height: 114.4px;
    padding: 0 20px;
    justify-content: center;
    gap: 200px;
  }

  .header__logo { width: 72px; height: 72px; }
  .header__logo img { width: 72px; height: 72px; object-fit: contain; }
  .header__nav {
    display: flex;
    gap: 48px;
    transform: translateX(120px);
  }
  .header__nav a { font-size: 22px; }
  .header__menu-button { display: none; }

  .form { padding: 50px; }

  .footer { padding: 70px 0; }

  .hero-section {
    display: flex;
    align-items: flex-end;
    min-height: 780px;
    padding-top: 15%;
    padding-bottom: 70px;
  }

  .hero-section__row { grid-template-columns: repeat(2, 1fr); }
  .hero-section__title { font-size: 40px; }
  .hero-section__text,
  .hero-section__accent p { font-size: 20px; }

  .partenrs-section { padding: 70px 0; }
  .partenrs-section__title { font-size: 48px; margin-bottom: 50px; }
  .partenrs-section__list { grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 30px; }
  .partenrs-section__buttons { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  .about-section { padding: 70px 0; }
  .about-section .container { display: grid; grid-template-columns: repeat(2, 1fr); }
  .about-section__img { aspect-ratio: 1.2; }
  .about-section__content h3 { font-size: 48px; margin-bottom: 25px; }
  .about-section__content h4 { margin-bottom: 25px; }

  .history-section { padding: 70px 0; }
  .history-section__title { font-size: 48px; }
  .history-section__stats { grid-template-columns: repeat(3, 1fr); }

  .stages-section__title { font-size: 48px; margin-bottom: 40px; }
  .stages-section__list { gap: 30px; }
  .stages-section__item { padding: 25px; }

  .help-section { padding: 70px 0; }
  .help-section__group-title { font-size: 48px; padding-left: 155px; margin-bottom: 55px; }
  .help-section__list { grid-template-columns: repeat(3, 1fr); }
  .help-section__group.first .help-section__deco--check-1 { top: -120px; left: -180px; width: 245px; height: 245px; }
  .help-section__group.first .help-section__deco--check-2 { top: -180px; right: -160px; width: 245px; height: 245px; }
  .help-section__group.second .help-section__deco--cancel-1 { top: -180px; left: -180px; width: 245px; height: 245px; }
  .help-section__group.second .help-section__deco--cancel-2 { display: block; }
  .help-section__row { display: flex; flex-direction: row-reverse; margin: 100px 0; }
  .help-section__block { width: 610px; padding: 50px 60px 50px 50px; font-size: 36px; }
  .help-section__img { width: 510px; height: 400px; }

  .back-section { padding: 70px 0; }
  .back-section__title { font-size: 48px; }
  .back-section__text p { line-height: 1.5; }
}


@media (max-width: 1199px) {
  .header {
    height: 59px;
    justify-content: flex-start;
  }

  .header__container {
    width: 100%;
    height: 59px;
    padding: 0 16px;
    justify-content: space-between;
    gap: 0;
  }

  .header__logo { width: 48px; height: 48px; }
  .header__logo img { width: 48px; height: 48px; }
  .header__nav { display: none; }
  .header__menu-button { display: block; width: 36px; height: 36px; }

  .mobile-menu {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-section { padding: 90px 0 40px; }
  .hero-section__title { font-size: clamp(22px, 6vw, 28px); margin-bottom: 20px; }
  .hero-section__text,
  .hero-section__accent p { font-size: clamp(14px, 3.8vw, 16px); }

  .form { padding: 20px 16px; gap: 16px; }
  .form__field-input,
  .form__select { font-size: 16px; }

  .button {
    min-height: 48px;
    height: auto;
    font-size: 13px;
    line-height: 1.3;
  }

  .button span { white-space: normal; }

  .partenrs-section__title,
  .history-section__title,
  .stages-section__title,
  .back-section__title { font-size: clamp(26px, 7vw, 34px); }

  .about-section__content { padding: 20px 16px; }
  .about-section__content h3 { font-size: clamp(28px, 7vw, 34px); }
  .about-section__content h4 { font-size: clamp(22px, 5.5vw, 28px); }
  .about-section__content p { font-size: clamp(16px, 4.2vw, 20px); }

  .help-section .container { overflow: hidden; }
  .help-section__group-title { font-size: clamp(24px, 6.5vw, 34px); margin-bottom: 28px; padding-left: 0; }
  .help-section__group.second .help-section__group-title { text-align: left; }
  .help-section__group.first .help-section__deco--check-1 { top: -24px; left: -16px; width: 64px; height: 64px; }
  .help-section__group.first .help-section__deco--check-2 { right: -16px; bottom: -12px; width: 64px; height: 64px; }
  .help-section__group.second .help-section__deco--cancel-1 { top: -36px; left: -16px; width: 64px; height: 64px; }
  .help-section__row { margin: 48px 0; }
  .help-section__img { height: auto; max-height: 240px; }
  .help-section__block { padding: 24px 16px; font-size: clamp(18px, 5vw, 22px); }
  .help-section__item { padding: 28px 16px; font-size: 16px; }

  .history-section__item-title { font-size: clamp(24px, 6vw, 30px); }
  .stages-section__item-text { font-size: clamp(16px, 4vw, 18px); }
  .back-section__text p { font-size: clamp(16px, 4vw, 18px); }

  .footer__logo { width: 180px; }
  .footer__copyright,
  .footer__link { font-size: 14px; }
}

@media (max-width: 374px) {
  .container { padding: 0 14px; }
  .form { padding: 16px 12px; }

  .help-section__group.first .help-section__deco--check-1,
  .help-section__group.first .help-section__deco--check-2,
  .help-section__group.second .help-section__deco--cancel-1 {
    width: 48px;
    height: 48px;
  }
}
