:root {
  --white: #ffffff;
  --black: #000000;
  --gray: #30455D;
  --light: #F5F5F5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

textarea {
  resize: none;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

.modal__selection {
  width: 100%;
  padding: 5.25rem 0rem;
  border-radius: 12px;
  background: transparent;
  margin: 0 auto;
}

.modal__selection.active {
  display: block;
}

.selection__inhher {
  max-width: 51.3rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 3 колонки */
  gap: 20px 60px;
  margin: 0 auto 3.75rem;
}

.selection__inhher label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;

  color: #1C1C1C;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 150%;
}


input[type="radio"] {
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #A5082F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
}


input[type="radio"]:checked {

  background-color: #A5082F;
  box-shadow: inset 0 0 0 2px white;
}




.submit-button {
  display: block;
  max-width: 30.6rem;
  width: 100%;
  padding: 0.75rem 0rem;
  border-radius: 75.75rem;
  background: #9B9B9B;
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  /* 1.125rem */
  margin: 0 auto;
}

.submit-button.active {
  background: #A5082F;
  animation: puls 2s infinite;
}

@keyframes puls {
  0% {
    transform: scale(.95);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(.95);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fade-in {
  animation: fade-in 1s ease forwards;
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.fade-out {
  animation: fade-out 1s ease forwards;
}


@media(max-width: 768px) {
  .modal-company__subtitle {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 1.25rem;
  }

  .modal-company__inhher {
    flex-direction: column;
  }

  .modal__selection {
    padding: 1.5rem 0rem 2.5rem;
  }

  input[type="radio"] {
    flex: 0 0 auto;
    border: 1px solid #A5082F;
  }

  .chart__header-wrapper {
    align-items: start;
  }

  .chart__logo {
    padding: .5rem 0rem;
    max-width: 5rem;
    width: 100%;
  }

  .chart__logo img {
    width: 100%;
  }

  .chart__subtitle {
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
  }
}

@media(max-width: 480px) {
  .selection__inhher {
    display: flex;
    flex-direction: column;
  }
}

.about__map {
  margin: 0 auto;
  opacity: 1;
}

.about__loading {
  display: none;
  margin: 0 auto;
  animation: rotate 6s infinite linear;
}

.about__loading.fade-out {
  opacity: 0;
  transition: all .3s;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.modal {
  display: none;
  background: rgba(217, 217, 217, 0.10);
  backdrop-filter: blur(6px);
  padding: 120px 20px;
  z-index: 10;
}

body.hidden {
  overflow: hidden;
  touch-action: none;
  -ms-touch-action: none;
}

.modal.active {
  display: block;
  position: absolute;
  inset: 0;
  overflow-y: scroll;
}

.preview__wrapper,
.selection__wrapper,
.resources__wrapper,
.feedback__wrapper {
  max-width: 860px;
  border-radius: 12px;
  background: #fff;
  padding: 48px 12px;
  text-align: center;
}

.selection__title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 120%;
  color: #6C0116;
  margin-bottom: 24px;
}

.selection__text {
  color: #343639;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 56px;
  text-align: center;
  max-width: 504px;

  margin: 0 auto 56px;
}

.selection__inhher {
  padding: 0 20px;
}

.preview__region {
  height: 190px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.preview__region img {
  height: 100%;
}

.preview__title {
  color: #343639;
  font-size: 28px;
  font-weight: 700;
  line-height: 120%;
  text-align: center;
  margin-bottom: 20px;
}

.preview__text {
  color: #343639;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 40px;
}

.preview__button {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview__btn {
  border-radius: 1000px;
  color: #fff;
  background: #A5082F;
  width: 100%;
  padding: 13px 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
}

.resources__flag {
  max-width: 122px;
  margin: 0 auto 32px;
}

.resources__flag img {
  width: 100%;
}

.resources__title {
  color: #6C0116;
  font-size: 28px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.resources__text {
  color: #343639;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 40px;
}

.resources__items {
  width: calc(100% + 28px);
  margin-left: -12px;
  margin-right: -12px;
  padding: 20px 12px;
  display: flex;
  gap: 20px;
  align-items: stretch;
  overflow-x: scroll;
}

.resources__item {
  display: flex;
  flex-direction: column;
  min-width: 100%;
  padding: 40px 16px;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.25);
}

.resources__item-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 32px;
}

.resources__item-text {
  color: #929293;
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 16px;
  text-wrap: balance;
}

.resources__item-earn {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #101011;
  margin-top: auto;
  margin-bottom: 12px;
}

.resources__item-value {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  border-radius: 1000px;
  background: #F5F5F5;
  color: #101011;
  font-size: 28px;
  font-weight: 700;
  line-height: 150%;
  max-width: 350px;
  margin: 0 auto 28px;
}

.resources__btn {
  background: #A5082F;
  max-width: 350px;
  margin: 0 auto;
}

.feedback__title {
  color: #343639;
  margin-bottom: 40px;
  text-align: center;
  text-wrap: balance;
  font-size: 18px;
  line-height: 130%;
  font-weight: 400;
}

@media (min-width: 769px) {
  .head__title {
    max-width: 860px;
    font-size: 72px;
  }

  .about__inner {
    flex-direction: row;
    align-items: center;
  }

  .how {
    background-size: 40% auto;
    background-position: right center;
  }

  .how__inner {
    max-width: 50%;
    padding: 180px 0;
  }

  .advantages__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 20px;
  }

  .advantages__item {
    gap: 24px;
  }

  .footer__inner {
    flex-direction: row;
  }

  .footer__logo {
    margin-left: 0;
  }

  .preview__wrapper,
  .selection__wrapper,
  .resources__wrapper {
    padding: 72px 60px;
    margin: 0 auto;
  }

  .preview__button {
    flex-direction: row;
  }

  .selection__title {
    font-size: 36px;
  }

  .resources__wrapper {
    max-width: 1220px;
  }

  .resources__item {
    min-width: 300px;
    width: calc(100% / 3 - 10px);
  }

  .feedback__wrapper {
    max-width: 670px;
    padding: 72px 83px;
    margin: 0 auto;
  }
}

.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: var(--white);
  color: var(--black);
  font-size: 18px;
  line-height: 26px;
}

.main {
  padding-top: 166px;
}

@media screen and (max-width: 1023px) {
  .main {
    padding-top: 119px;
  }
}

.content {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

@media screen and (max-width: 1023px) {
  .content {
    padding: 0 16px;
  }
}

.header {
  width: 100%;
  padding: 20px 0;
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1023px) {
  .header {
    padding: 16px;
  }
}

.header.accent {
  background: var(--white);
  z-index: 11;
}

.header .content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1023px) {
  .header .content {
    /*justify-content: start;*/
  }
}

.header .logo img {
  max-width: 169px;
}

@media screen and (max-width: 1023px) {
  .header .logo img {
    width: 116px;
  }
}

.header .logo img {
  width: 100%;
}

.header.accent .logo {
  max-width: 169px;
  /*height: 74px;*/
}

.header.accent .logo span {
  font-size: 12px;
  line-height: 1.1;
}

.header .logo_light {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
}

.header.accent .logo_light {
  display: none;
}

.header .logo_dark {
  display: none;
}

.header.accent .logo_dark {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  color: #636363;
  font-size: 18px;
  font-weight: 800;
}

.footer {
  padding: 40px 0;
  background-color: var(--light);
}

@media screen and (max-width: 1023px) {
  .footer {
    padding: 60px 0 72px;
  }
}

.footer .row_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .footer .row_flex {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

.footer .logo img {
  max-width: 169px;
}

.footer .logo img {
  width: 100%;
}

.footer .logo .logo_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  color: #636363;
  font-size: 18px;
  font-weight: 800;
}

.footer h2 {
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
}

.footer address {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  display: flex;
  flex-direction: column;
}

.hero {
  width: 100%;
  height: 100vh;
  margin-top: -166px;
  padding: 225px 0;
  background-image: url("../images/hero_bg_desk.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 1023px) {
  .hero {
    margin-top: -119px;
    padding: 160px 0;
    background-image: url("../images/hero_bg_mob.webp");
  }
}

.hero .content {
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.hero .title {
  max-width: 800px;
  color: var(--white);
  font-weight: 700;
  font-size: 72px;
  line-height: 80px;
}

@media screen and (max-width: 1023px) {
  .hero .title {
    max-width: 370px;
    font-size: 32px;
    line-height: 40px;
  }
}

.section1 {
  padding: 250px 0;
}

@media screen and (max-width: 1023px) {
  .section1 {
    padding: 80px 0;
  }
}

.section1 .row_flex {
  display: flex;
  gap: 185px;
}

@media screen and (max-width: 1023px) {
  .section1 .row_flex {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  }
}

@media screen and (max-width: 1023px) {
  .section1 .block_text p {
    text-align: center;
  }
}

.section1 .block_img {
  flex-shrink: 0;
  width: 200px;
  height: 167px;
}

@media screen and (max-width: 1023px) {
  .section1 .block_img {
    width: 112px;
    height: 93px;
  }
}

.section1 .block_img img {
  width: 100%;
}

.section2 {
  background-color: var(--gray);
  color: var(--white);
}

.section2 .content {
  max-width: 1920px;
  padding: 0;
}

.section2 .row_grid {
  width: 100%;
  display: grid;
  grid-template-rows: 897px;
  grid-template-columns: 45% 55%;
}

@media screen and (max-width: 1439px) {
  .section2 .row_grid {
    grid-template-rows: 750px;
  }
}

@media screen and (max-width: 1023px) {
  .section2 .row_grid {
    grid-template-rows: 897px auto;
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .section2 .row_grid {
    grid-template-rows: 700px auto;
  }
}

@media screen and (max-width: 639px) {
  .section2 .row_grid {
    grid-template-rows: 550px auto;
  }
}

@media screen and (max-width: 479px) {
  .section2 .row_grid {
    grid-template-rows: 420px auto;
  }
}

.section2 .block_one {
  padding-left: 340px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1919px) {
  .section2 .block_one {
    padding: 32px 16px;
    justify-content: center;
  }
}

@media screen and (max-width: 1023px) {
  .section2 .block_one {
    grid-area: 2/1/3/2;
    padding: 60px 16px;
  }
}

@media screen and (max-width: 767px) {
  .section2 .block_one {
    padding: 32px 16px;
  }
}

.section2 .block_text {
  max-width: 370px;
}

.section2 h2 {
  margin-bottom: 50px;
  font-weight: 400;
  font-size: 40px;
  line-height: 48px;
}

@media screen and (max-width: 1023px) {
  .section2 h2 {
    margin-bottom: 24px;
    font-size: 32px;
    line-height: 40px;
  }
}

.section2 p {
  margin-top: 20px;
}

.section2 .block_img {
  background-image: url("../images/section2_photo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 1023px) {
  .section2 .block_img {
    grid-area: 1/1/2/2;
  }
}

.section3 {
  padding: 130px 0;
}

@media screen and (max-width: 1023px) {
  .section3 {
    padding: 80px 0 60px;
  }
}

.section3 .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px 300px;
}

@media screen and (max-width: 1439px) {
  .section3 .grid {
    -moz-column-gap: 200px;
    column-gap: 200px;
  }
}

@media screen and (max-width: 1279px) {
  .section3 .grid {
    -moz-column-gap: 100px;
    column-gap: 100px;
    row-gap: 60px;
  }
}

@media screen and (max-width: 1023px) {
  .section3 .grid {
    -moz-column-gap: 40px;
    column-gap: 40px;
  }
}

@media screen and (max-width: 767px) {
  .section3 .grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .section3 .grid_item {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .section3 .block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.section3 .block_img {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

@media screen and (max-width: 1023px) {
  .section3 .block_img {
    margin-bottom: 14px;
  }
}

.section3 .block_img img {
  width: 100%;
}

.section3 .block_text h2 {
  margin-bottom: 14px;
  font-weight: 500;
  font-size: 28px;
  line-height: 32px;
}

@media screen and (max-width: 767px) {
  .section3 .block_text h2 {
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .section3 .block_text p {
    text-align: center;
  }
}