/* Normalize.css */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
*, *::before, *::after{
  box-sizing: border-box;
}
:root {
  --width-base: 1920;
  --width-current: 100vw;
  --width-multiplier: var(--width-current) / var(--width-base);
  --theme-color: #1B4638;
  --active-color: #5DC397;
  --darked-color: #153C2F;
}
@media (min-width: 320px) {
  :root {
    --width-base: 320;
  }
}
@media (min-width: 768px) {
  :root {
    --width-base: 768;
  }
}
@media (min-width: 1280px) {
  :root {
    --width-base: 1920;
  }
}
a {
  text-decoration: none;
}
.container {
  max-width: calc(1550 * var(--width-multiplier));
  width: 100%;
  margin: 0 auto;
  padding: 0 calc(15 * var(--width-multiplier));
}
@media (max-width: 1279px) {
  .container {
    padding: 0 calc(20 * var(--width-multiplier));
  }
}
@media (max-width: 767px) {
  .container {
    padding: 0 calc(12 * var(--width-multiplier));
  }
}


.swiper picture,
.swiper img {
  display: block;
  font-size: 0;
  line-height: 0;
}
.swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.swiper-button-prev, .swiper-button-next {
  /*width: calc(24 * var(--width-multiplier));*/
  /*height: calc(24 * var(--width-multiplier));*/
  width: 40px;
  height: 40px;
}
.swiper-button-prev:after, .swiper-button-next:after {
  display: none;
}

.swiper-pagination-bullet {
  margin: 0 calc(8 * var(--width-multiplier)) !important;
  width: calc(10 * var(--width-multiplier));
  height: calc(10 * var(--width-multiplier));
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 5.33636px rgba(27, 27, 27, 0.05);
}
.swiper-pagination-bullet-active {
  background: #fff;
}
@media (max-width: 1279px) {
  .swiper-pagination-bullet {
    width: calc(8 * var(--width-multiplier));
    height: calc(8 * var(--width-multiplier));
  }
}
@media (max-width: 767px) {
  .swiper-pagination-bullet {
    width: calc(5 * var(--width-multiplier));
    height: calc(5 * var(--width-multiplier));
  }
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* Fonts.css */
@font-face {
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  src: url(../fonts/SharpGroteskDBCyrMedium22/sharp-grotesk-db-cyr-medium-22-regular.woff2) format('woff2'),
    url(../fonts/SharpGroteskDBCyrMedium22/sharp-grotesk-db-cyr-medium-22-regular.woff) format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  src: url(../fonts/SharpGroteskDBCyrBook20/sharp-grotesk-db-cyr-book-20-regular.woff2) format('woff2'),
    url(../fonts/SharpGroteskDBCyrBook20/sharp-grotesk-db-cyr-book-20-regular.woff) format('woff');
  font-weight: 400;
}

/*@font-face {*/
/*  font-family: 'Inter';*/
/*  src: url(../fonts/Inter/inter-regular.woff2) format('woff2'),*/
/*    url(../fonts/Inter/inter-regular.woff) format('woff');*/
/*  font-weight: 400;*/
/*}*/

/* Блок Intro */
.main-page.intro {
  box-sizing: border-box;
  padding-top: 62px;
  margin: 0 auto;
  max-width: 1800px;
}

.main-page .intro__title {
  margin-top: 0;
  margin-bottom: 24px;
  max-width: 1635px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 80px;
  line-height: 80px;
  color: var(--theme-color);
}

.main-page .intro__text {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 1264px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--theme-color);
}

.main-page .intro__another-text {
  display: none;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 718px;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: var(--theme-color);
}

@media screen and (max-width: 1920px) {
  .main-page.intro {
    padding-left: 60px;
    padding-right: 60px;
    max-width: 1920px;
  }
}

@media screen and (max-width: 1479px) {
  .main-page .intro__title {
    margin-bottom: 13px;
    max-width: 980px;
    font-size: 70px;
  }

  .main-page .intro__text {
    max-width: 890px;
    font-size: 18px;
  }
}

@media screen and (max-width: 1200px) {
  .main-page .intro__title {
    max-width: 580px;
    font-size: 50px;
    line-height: 60px;
  }

  .main-page .intro__text {
    font-family: 'Inter';
  }
}

@media screen and (max-width: 880px) {
  .main-page.intro {
    padding-left: 30px;
    padding-right: 30px;
    max-width: 880px;
  }
}

@media screen and (max-width: 768px) {
  .main-page.intro {
    padding: 40px 20px 0;
    max-width: 768px;
  }

  .main-page .intro__title {
    margin-bottom: 16px;
    max-width: 563px;
    font-size: 40px;
    line-height: 55px;
  }

  .main-page .intro__text {
    display: none;
  }

  .main-page .intro__another-text {
    display: block;
  }
}

@media screen and (max-width: 460px) {
  .main-page .intro__title {
    font-size: 30px;
    line-height: 45px;
  }

  .main-page .intro__another-text {
    font-size: 14px;
    line-height: 20px;
  }
}

@media screen and (max-width: 320px) {
  .main-page.intro {
    padding: 18px 12px 0;
  }

  .main-page .intro__title {
    margin-bottom: 0;
    max-width: 278px;
    font-size: 24px;
    line-height: 32px;
  }

  .main-page .intro__another-text {
    display: none;
  }
}

/* Блок Cards */
.main-page .front,
.main-page .back {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: 0.35s;
}

.main-page .back {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.main-page .animated:hover .back {
  opacity: 1;
  visibility: visible;
}

.main-page.cards {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding-top: 35px;
  max-width: 1800px;
}

.main-page .cards-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1800px;
  width: 100%;
}

.main-page .edit-helper>div {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1800px;
  width: 100%;
}

.main-page .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
  line-height: 0;
  border-radius: 4px;
}

.main-page .card-container {
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main-page .card-xs {
  box-sizing: border-box;
  position: relative;
  margin-right: 20px;
  margin-bottom: 17px;
  width: calc(25% - 15px);
  height: 500px;
}

.main-page .card-xs_last {
  margin-right: 0;
}

.main-page .card-xs .front {
  border-radius: 4px;
}

.main-page .card-xs__container {
  padding: 80px 24px 34px;
}

.main-page .card-xs .back {
  border-radius: 4px;
}

.main-page .back .card-xs__picture {
  display: block;
}

.main-page .back .card-xs__picture::before,
.main-page .back .card-xs__picture::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
}

.main-page .back .card-xs__picture::before {
  height: 100%;
  background: rgba(22, 10, 10, 0.1);
}

.main-page .back .card-xs__picture::after {
  height: 83%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.main-page .card-xs__back-container {
  padding: 46px 30px 34px;
}

.main-page .card-xs__link {
  position: absolute;
  display: block;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: url(../images/cards/icons/link-icon.svg) center no-repeat;
  background-size: cover;
}

.main-page .card-xs__label {
  box-sizing: border-box;
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 1px 8px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  background-color: #5dc397;
  border-radius: 19px;
}

.main-page .card-xs__review-stars {
  display: block;
  margin-bottom: 24px;
  width: 88px;
  height: 16px;
}

.main-page .card-xs__review-text-block {
  color: #000;
}

.main-page .card-xs__review-text {
  margin-top: 0;
  margin-bottom: 0;
}

.main-page .card-xs__answer-container {
  margin-bottom: 30px;
  display: flex;
}

.main-page .card-xs__answer-image {
  display: block;
  line-height: 0;
}

.main-page .card-xs__answer-description {
  margin-left: 24px;
  padding-top: 20px;
}

.main-page .card-xs__answer-name {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 24px;
  line-height: 27.5px;
  color: var(--theme-color);
}

.main-page .card-xs__answer-about {
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  color: #4c7a6b;
}

.main-page .card-xs__answer-text-block {
  color: #000;
}

.main-page .card-xs__answer-text {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 20px;
  line-height: 27px;
}

.main-page .card-xs__prod-image {
  display: block;
  line-height: 0;
}

.main-page .card-xs__review-name {
  margin-top: 0;
}

.main-page .card-xs__decorative-image {
  display: block;
  line-height: 0;
  border-radius: 4px;
}

.main-page .card-xs__text-block {
  color: #000;
}

.main-page .card-xs__text-block>p,
.main-page .card-xs__text {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}

.main-page .card-xs__text-block>p:last-of-type,
.main-page .card-xs__text_last {
  margin-bottom: 0;
}

.main-page .card-xs__back-text-block {
  margin-bottom: 36px;
  color: #fff;
}

.main-page .card-xs__back-text-block_last {
  margin-bottom: 0;
}

.main-page .card-xs__back-text-block>p,
.main-page .card-xs__back-text {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.38px;
}

.main-page .card-xs__back-text-block>p:last-of-type,
.main-page .card-xs__back-text_last {
  margin-bottom: 0;
}

.main-page .card-xs__button {
  padding: 11px 20px;
  max-width: 371px;
  min-height: 54px;
  width: 100%;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background-color: #5dc397;
  cursor: pointer;
  transition: .2s;
}

.main-page .card-xs__button:hover {
  color: var(--theme-color);
  background-color: #fff;
}

.main-page .card-sm {
  box-sizing: border-box;
  position: relative;
  margin-bottom: 17px;
  width: calc(33.333% - 13.33px);
  height: 500px;
  margin-right: 20px;
  margin-bottom: 17px;
}

.main-page .card-sm_last {
  margin-right: 0;
}

.main-page .card-sm .front {
  border-radius: 4px;
}

.main-page .card-sm .back {
  border-radius: 4px;
}

.main-page .back .card-sm__picture {
  display: block;
}

.main-page .back .card-sm__picture::before,
.main-page .back .card-sm__picture::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
}

.main-page .back .card-sm__picture::before {
  height: 100%;
  background: rgba(22, 10, 10, 0.1);
}

.main-page .back .card-sm__picture::after {
  height: 83%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.main-page .card-sm__container {
  padding: 50px 20px 40px;
}

.main-page .card-sm__back-container {
  padding: 70px 48px 48px;
}

.main-page .card-sm__link {
  position: absolute;
  display: block;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: url(../images/cards/icons/link-icon.svg) center no-repeat;
  background-size: cover;
}

.main-page .card-sm__label {
  box-sizing: border-box;
  position: absolute;
  top: 23px;
  left: 21px;
  padding: 1px 8px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--darked-color);
  background-color: #5dc397;
  border-radius: 19px;
}

.main-page .card-sm__prod-image {
  display: block;
  line-height: 0;
  margin-bottom: 32px;
  width: 77px;
  height: 203px;
  object-fit: contain;
}

.main-page .card-sm__title {
  margin-top: 0;
  margin-bottom: 24px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 42px;
  line-height: 48px;
  color: #fff;
  text-align: left;
}

.main-page .card-sm__tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  max-width: 420px;
  list-style-type: none;
}

.main-page .card-sm__tags-item {
  padding: 1px 8px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  border-radius: 19px;
  color: #000;
  background-color: #fff;
}

.main-page .card-sm__text-block>p,
.main-page .card-sm__text {
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}

.main-page .card-sm__text-block>p:last-of-type,
.main-page .card-sm__text_last {
  margin-bottom: 0;
}

.main-page .card-sm__button {
  padding: 11px 20px;
  max-width: 263px;
  min-height: 54px;
  width: 100%;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background-color: #5dc397;
  cursor: pointer;
  transition: .2s;
}

.main-page .card-sm__button:hover {
  color: var(--theme-color);
  background-color: #fff;
}

.main-page .card-sm__back-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 42px;
  line-height: 48px;
  color: #fff;
}

.main-page .card-sm__back-text-block {
  color: #fff;
}

.main-page .card-sm__back-text-block>p,
.main-page .card-sm__back-text {
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}

.main-page .card-sm__back-text-block>p:last-of-type,
.main-page .card-sm__back-text_last {
  margin-bottom: 0;
}

.main-page .card-smd {
  box-sizing: border-box;
  position: relative;
  margin-right: 20px;
  margin-bottom: 17px;
  width: calc(42% - 10px);
  height: 543px;
}

.main-page .card-smd__description {
  margin-top: 0;
  margin-bottom: 33px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #fff;
}

.main-page .card-smd__title {
  margin-top: 0;
  margin-bottom: 37px;
  max-width: 355px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 56px;
  line-height: 62px;
  text-align: center;
  color: #5dc397;
}

.main-page .card-smd__button {
  max-width: 334px;
  width: 100%;
  height: 54px;
  background: url(../images/cards/temp-button.jpg) no-repeat;
  border: none;
  border-radius: 34px;
}

.main-page .card-smd__tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}

.main-page .card-smd__tags-item {
  padding: 1px 8px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  border-radius: 19px;
}

.main-page .card-smd .front {
  background-color: var(--theme-color);
  border-radius: 4px;
}

.main-page .card-smd__container {
  padding: 132px 30px 30px;
}

.main-page .card-smd .back {
  background-color: grey;
  border-radius: 4px;
}

.main-page .card-smd__back-container {
  padding: 132px 30px 30px;
}

.main-page .card-lg {
  box-sizing: border-box;
  position: relative;
  margin-bottom: 17px;
  width: calc(58% - 10px);
  height: 543px;
}

.main-page .card-lg__image {
  object-fit: cover;
  object-position: center;
}

.main-page .card-lg__tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}

.main-page .card-lg__tags-item {
  padding: 1px 8px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  border-radius: 19px;
}

.main-page .card-md {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
  margin-bottom: 17px;
  width: calc(50% - 10px);
  height: 544px;
}

.main-page .card-md_size-lg {
  height: 890px;
}

.main-page .card-md_last {
  margin-right: 0;
}

.main-page .card-md .front {
  border-radius: 4px;
}

.main-page .card-md__container {
  padding: 120px 70px 70px;
}

.main-page .card-md .back {
  border-radius: 4px;
}

.main-page .back .card-md__picture {
  display: block;
}

.main-page .back .card-md__picture::before,
.main-page .back .card-md__picture::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
}

.main-page .back .card-md__picture::before {
  height: 100%;
  background: rgba(22, 10, 10, 0.1);
}

.main-page .back .card-md__picture::after {
  height: 83%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.main-page .card-md__back-container {
  padding: 120px 48px 48px;
}

.main-page .card-md__link {
  position: absolute;
  display: block;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: url(../images/cards/icons/link-icon.svg) center no-repeat;
  background-size: cover;
}

.main-page .card-md__label {
  box-sizing: border-box;
  position: absolute;
  top: 23px;
  left: 21px;
  padding: 1px 8px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--darked-color);
  background-color: #5dc397;
  border-radius: 19px;
}

.main-page .card-md__title {
  margin-top: 0;
  margin-bottom: 40px;
  max-width: 514px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 42px;
  line-height: 48px;
  text-align: center;
  color: #fff;
}

.main-page .card-md__title-lg {
  font-size: 88px;
  line-height: 87px;
}

.main-page .card-md__back-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 42px;
  line-height: 48px;
  color: #fff;
}

.main-page .card-md__back-subtitle {
  margin-top: 0;
  margin-bottom: 6px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  color: #fff;
}

.main-page .card-md__text-block {
  margin-bottom: 40px;
  color: #fff;
}

.main-page .card-md__text {
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}

.main-page .card-md__back-text-block {
  margin-bottom: 30px;
  color: #fff;
}

.main-page .card-md__back-text-block_last {
  margin-bottom: 0;
}

.main-page .card-md__back-text-block>p,
.main-page .card-md__back-text {
  margin-top: 0;
  margin-bottom: 12px;
  max-width: 729px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 20px;
  line-height: 25.5px;
}

.main-page .card-md__back-text-block>p:last-of-type,
.main-page .card-md__back-text_last {
  margin-bottom: 0;
}

.main-page .card-md__tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  max-width: 360px;
  height: 54px;
  list-style-type: none;
  overflow: hidden;
}

.main-page .card-md__tags-item {
  padding: 1px 8px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  border-radius: 19px;
  color: #000;
  background-color: #fff;
}

.main-page .card-md__button {
  padding: 11px 20px;
  max-width: 263px;
  min-height: 54px;
  width: 100%;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background-color: #5dc397;
  cursor: pointer;
  transition: .2s;
}

.main-page .card-md__button:hover {
  color: var(--theme-color);
  background-color: #fff;
}

.main-page .card-lg .front {
  border-radius: 4px;
}

.main-page .card-xl {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 543px;
  margin-bottom: 17px;
}

.main-page .card-xl .front {
  border-radius: 4px;
}

.main-page .card-xl .back {
  border-radius: 4px;
}

.main-page .back .card-xl__picture {
  display: block;
}

.main-page .back .card-xl__picture::before,
.main-page .back .card-xl__picture::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
}

/* .main-page .back .card-xl__picture::before {
  height: 100%;
  background: rgba(22, 10, 10, 0.05);
} */

.main-page .back .card-xl__picture::after {
  height: 35%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.main-page .card-xl__container {
  padding: 130px 200px;
}

.main-page .card-xl__back-container {
  padding: 48px 48px;
}

.main-page .card-xl__link {
  position: absolute;
  display: block;
  top: 14px;
  right: 12px;
  width: 50px;
  height: 50px;
  background: url(../images/cards/icons/card-seventeen-link-icon.svg) center no-repeat;
  background-size: cover;
}

.main-page .card-xl__description {
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 360px;
  width: 100%;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #000;
}

.main-page .card-xl__back-description {
  margin-top: 0;
  margin-bottom: 147px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000;
}

.main-page .card-xl__title {
  margin-top: 0;
  margin-bottom: 40px;
  max-width: 360px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 67px;
  line-height: 60px;
  text-align: center;
  color: #000;
}

.main-page .card-xl__back-info {
  max-width: 880px;
  display: flex;
  flex-direction: column;
}

.main-page .card-xl__back-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 42px;
  line-height: 48px;
  color: #000;
}

.main-page .card-xl__text-block {
  color: var(--theme-color);
}

.main-page .card-xl__text-block>p,
.main-page .card-xl__text {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 1454px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
}

.main-page .card-xl__text-block>p:last-of-type,
.main-page .card-xl__text_last {
  margin-bottom: 0;
}

.main-page .card-xl__back-text-block {
  margin-bottom: 30px;
  color: #000;
}

.main-page .card-xl__back-text-block>p,
.main-page .card-xl__back-text {
  margin-top: 0;
  margin-bottom: 12px;
  max-width: 769px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 20px;
  line-height: 25.5px;
}

.main-page .card-xl__back-text-block>p:last-of-type,
.main-page .card-xl__back-text_last {
  margin-bottom: 0;
}

.main-page .card-xl__tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  max-width: 360px;
  height: 54px;
  overflow: hidden;
  list-style-type: none;
}

.main-page .card-xl__tags-item {
  padding: 1px 8px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  border-radius: 19px;
  color: #fff;
  background-color: #000;
}

.main-page .card-xl__button {
  padding: 11px 20px;
  max-width: 374px;
  min-height: 54px;
  width: 100%;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background-color: #5dc397;
  cursor: pointer;
  transition: .2s;
}

.main-page .card-xl__button:hover {
  color: var(--theme-color);
  background-color: #fff;
}

.main-page .card-six__title {
  margin-bottom: 0;
  max-width: 487px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 42px;
  line-height: 48px;
  text-align: left;
  color: #5dc397;
}

.main-page .card-sm__text {
  display: none;
  max-width: 585px;
  color: #e7f2f1;
}

.main-page .card-sm__text_hidden {
  display: none;
}

.main-page .card-md__advantages-list {
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 30px;
  max-width: 620px;
  color: #e7f2f1;
}

.main-page .card-md__advantages-item {
  margin-bottom: 6px;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  color: #e7f2f1;
}

.main-page .card-md__advantages-item_last {
  margin-bottom: 0;
}

.main-page .card-md__another-text {
  display: none;
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 12px;
  line-height: 13px;
  color: #e7f2f1;
}

.main-page .card-xs__review-name {
  margin-bottom: 7px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--darked-color);
}

.main-page .card-xs__review-text {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
}

.main-page .card-xs__another-review-text {
  margin-top: 0;
  margin-bottom: 0;
  display: none;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-size: 12px;
  line-height: 18px;
}

.main-page .card-xs__answer-image {
  width: 176px;
  height: 237px;
  border-radius: 4px;
}

.main-page .card-xs__title {
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 355px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 42px;
  line-height: 48px;
  text-align: center;
  color: #fff;
}

.main-page .card-xs__title-md {
  font-size: 24px;
  line-height: 32px;
  text-align: left;
}

.main-page .card-xs__another-text {
  display: none;
}

.main-page .card-xs__meditations-list {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 23px;
}

.main-page .card-xs__meditations-item {
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: -0.418px;
  color: #fff;
}

.main-page .card-investing {
  margin-bottom: 21px;
}

.main-page .card-investing__image {
  border: 1px solid #e1eeee;
  border-radius: 4px;
}

.main-page .card-investing__container {
  padding-top: 142px;
  padding-left: 40px;
  padding-right: 40px;
}

.main-page .card-investing__back-container {
  padding: 0 48px 48px 48px;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.main-page .card-investing__description {
  margin-bottom: 23px;
  font-size: 20px;
  line-height: 24px;
  color: #5dc397;
}

.main-page .card-investing__title {
  margin-bottom: 30px;
  max-width: 673px;
  font-size: 56px;
  line-height: 61px;
  color: var(--theme-color);
}

.main-page .card-investing__back-title {
  margin-bottom: 24px;
  max-width: 700px;
  font-size: 42px;
  line-height: 61px;
  text-align: left;
  color: var(--theme-color);
}

.main-page .card-investing__back-text-block>p,
.main-page .card-investing__back-text {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 150%;
  text-align: left;
  letter-spacing: -0.242px;
  color: var(--theme-color);
}

.main-page .card-investing .card-xl__back-text_last {
  margin-bottom: 0;
}

.main-page .items-left {
  align-items: flex-start;
}

.main-page .items-horizontal-center {
  align-items: center;
}

.main-page .items-right {
  align-items: flex-end;
}

.main-page .items-top {
  justify-content: flex-start;
}

.main-page .items-vertical-center {
  justify-content: center;
}

.main-page .items-bottom {
  justify-content: flex-end;
}
@media screen and (min-width: 1551px) {
  .main-page .items-top {
    justify-content: space-between;
    align-items: flex-start;
  }
  .main-page .items-bottom {
    justify-content: space-between;
    align-items: end;
  }
}

@media screen and (max-width: 1920px) {
  .main-page.cards {
    padding-left: 60px;
    padding-right: 60px;
    max-width: 1920px;
  }
}

@media screen and (max-width: 1850px) {
  .main-page .card-xs__answer-name {
    font-size: 20px;
    line-height: 25px;
  }

  .main-page .card-xs__answer-about {
    font-size: 15px;
    line-height: 18px;
  }
}

@media screen and (max-width: 1800px) {
  .main-page .card-xs__answer-text_hidden-xl {
    display: none;
  }

  .main-page .card-xs__answer-container {
    flex-direction: column;
  }

  .main-page .card-xs__answer-image {
    width: 148px;
    height: 200px;
  }

  .main-page .card-xs__answer-description {
    margin-left: 0;
  }

  .main-page .card-xs__review-text {
    font-size: 14px;
    line-height: 23px;
  }
}

@media screen and (max-width: 1700px) {
  .main-page .card-xs__button-text_hidden-xl {
    display: none;
  }

  .main-page .card-xl__back-text-block>p,
  .main-page .card-xl__back-text {
    max-width: 680px;
    font-size: 18px;
    line-height: 22px;
  }

  .main-page .card-xs__answer-text {
    font-size: 18px;
    line-height: 24px;
  }

  .main-page .card-xs__meditations-item {
    font-size: 20px;
    line-height: 30px;
  }

  .main-page .card-investing__back-text-block>p,
  .main-page .card-investing__back-text {
    max-width: 100%;
    font-size: 22px;
    line-height: 150%;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 1550px) {
  .main-page .card-xl__container {
    padding: 100px 130px;
  }

  .main-page .card-investing__back-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .main-page .card-investing .card-xl__back-text_last {
    margin-bottom: 20px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 1510px) {
  .main-page .card-md__back-subtitle {
    font-size: 22px;
  }
}

@media screen and (max-width: 1479px) {
  .main-page .card-xs-sm {
    width: calc(33.33% - 13.33px);
  }

  .main-page .card-sm-md {
    width: calc(50% - 10px);
  }

  .main-page .card-sm-sm {
    width: calc(33% - 10px);
  }

  .main-page .card-md__back-text_hidden-lg {
    display: none;
  }

  .main-page .card-smd {
    height: 500px;
  }

  .main-page .card-smd__description {
    margin-bottom: 23px;
    font-size: 16px;
  }

  .main-page .card-smd__title {
    margin-bottom: 45px;
    font-size: 42px;
    line-height: 48px;
  }

  .main-page .card-smd__container {
    padding-top: 115px;
  }

  .main-page .card-lg {
    height: 500px;
  }

  .main-page .card-md_size-lg {
    height: 700px;
  }

  .main-page .card-md__title-lg {
    margin-bottom: 25px;
    max-width: 318px;
    font-size: 75px;
    line-height: 64px;
  }

  .main-page .card-md__back-text {
    font-size: 18px;
    line-height: 24px;
  }

  .main-page .card-xl {
    height: 500px;
  }

  .main-page .card-xl__description {
    margin-bottom: 23px;
  }

  .main-page .card-xl__back-description {
    margin-bottom: 130px;
  }

  .main-page .card-xl__back-text-block>p,
  .main-page .card-xl__back-text {
    max-width: 500px;
    font-size: 16px;
    line-height: 20px;
  }

  .main-page .card-ten__back-subtitle {
    font-size: 24px;
  }

  .main-page .card-md__advantages-item {
    font-size: 16px;
  }

  .main-page .card-xs__review-text {
    font-size: 16px;
    line-height: 28px;
  }

  .main-page .card-investing__container {
    padding-top: 99px;
  }

  .main-page .card-investing__back-text-block>p,
  .main-page .card-investing__back-text {
    max-width: 100%;
    font-size: 22px;
    line-height: 150%;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 1380px) {
  .main-page .card-md__back-title {
    font-size: 36px;
    line-height: 42px;
  }

  .main-page .card-xs__review-text {
    font-size: 15px;
    line-height: 24px;
  }
}

@media screen and (max-width: 1200px) {
  .main-page .card-xs__button-text_hidden-xl {
    display: inline;
  }

  .main-page .card-xs-md {
    width: calc(50% - 10px);
  }

  .main-page .card-sm-md {
    width: calc(50% - 10px);
  }

  .main-page .card-smd {
    height: 350px;
  }

  .main-page .card-smd__container {
    padding-top: 70px;
  }

  .main-page .card-smd .back {
    padding-top: 70px;
  }

  .main-page .card-smd {
    margin-right: 0;
    width: 100%;
  }

  .main-page .card-smd__title {
    max-width: 450px;
  }

  .main-page .card-md {
    height: 500px;
  }

  .main-page .card-md__container {
    padding: 70px 30px;
  }

  .main-page .card-md__back-text {
    font-family: 'Inter';
    font-size: 16px;
    line-height: 20px;
  }

  .main-page .card-md__back-text-block {
    margin-bottom: 20px;
  }

  .main-page .card-md__back-text-block_last {
    margin-bottom: 0;
  }

  .main-page .card-md__back-text-block>p,
  .main-page .card-md__back-text {
    font-family: 'Inter';
    font-size: 16px;
    line-height: 20px;
  }

  .main-page .card-md__button {
    max-width: 220px;
    font-size: 14px;
    line-height: 28px;
  }

  .main-page .card-xl__container {
    padding: 100px 70px;
  }

  .main-page .card-xl__title {
    font-size: 55px;
    line-height: 50px;
  }

  .main-page .card-xl__back-text-block>p,
  .main-page .card-xl__back-text {
    max-width: 420px;
    font-size: 14px;
    line-height: 18px;
  }

  .main-page .card-md__back-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .main-page .card-lg {
    width: 100%;
  }

  .main-page .card-xs__review-text {
    font-size: 16px;
    line-height: 28px
  }

  .main-page .card-xs__answer-name {
    font-size: 24px;
    line-height: 27.5px;
  }

  .main-page .card-xs__answer-about {
    font-size: 16px;
    line-height: 20px;
    max-width: 220px;
  }

  .main-page .card-xs__meditations-item {
    font-size: 22px;
    line-height: 30px;
  }

  .main-page .card-investing__text-block>p,
  .main-page .card-investing__text {
    font-size: 22px;
    line-height: 28px;
  }

  .main-page .card-investing__back-title {
    font-size: 36px;
    line-height: 46px;
  }

  .main-page .card-investing__back-text-block>p,
  .main-page .card-investing__back-text {
    max-width: 100%;
    font-size: 20px;
    line-height: 26px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 1024px) {
  .main-page .card-md__back-title {
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 40px;
  }

  .main-page .card-md__back-text {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 18px;
  }

  .main-page .card-md__back-text_no-margin-bottom {
    margin-bottom: 0;
  }

  .main-page .card-md__back-text-block {
    margin-bottom: 15px;
  }

  .main-page .card-md__back-text-block_last {
    margin-bottom: 0;
  }

  .main-page .card-md__back-text-block>p,
  .main-page .card-md__back-text {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 18px;
  }

  .main-page .card-md__button {
    max-width: 180px;
    min-height: 44px;
    font-size: 13px;
    line-height: 22px;
  }

  .main-page .card-xl__back-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .main-page .card-investing__back-container {
    padding-left: 35px;
    padding-right: 25px;
  }

  .main-page .card-investing__back-text-block>p,
  .main-page .card-investing__back-text {
    font-size: 18px;
    line-height: 24px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 960px) {
  .main-page .card-xs__button-text_hidden-xl {
    display: none;
  }

  .main-page .card-sm__tags-item {
    font-size: 12px;
    line-height: 22px;
  }

  .main-page .card-md__title {
    font-size: 38px;
    line-height: 48px;
  }

  .main-page .card-md__tags-item {
    font-size: 12px;
    line-height: 22px;
  }

  .main-page .card-md__back-container {
    padding-bottom: 30px;
  }

  .main-page .card-xl__back-description {
    font-size: 14px;
    line-height: 24px;
  }

  .main-page .card-xl__back-title {
    font-size: 36px;
    line-height: 40px;
  }

  .main-page .card-xl__back-text-block>p,
  .main-page .card-xl__back-text {
    max-width: 390px;
    font-size: 13px;
    line-height: 18px;
  }

  .main-page .card-md__title-lg {
    font-size: 67px;
    line-height: 64px;
  }

  .main-page .card-md__tags-list {
    max-width: 320px;
  }

  .main-page .card-six__title {
    max-width: 340px;
    font-size: 34px;
    line-height: 38px;
  }

  .main-page .card-sm__text {
    font-size: 16px;
    line-height: 22px;
  }

  .main-page .card-xs__review-text {
    font-size: 16px;
    line-height: 24px;
  }

  .main-page .card-xs__meditations-item {
    font-size: 21px;
    line-height: 28px;
  }

  .main-page .card-investing__container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .main-page .card-investing__title {
    max-width: 550px;
    font-size: 48px;
    line-height: 53px;
  }

  .main-page .card-investing__text-block>p,
  .main-page .card-investing__text {
    font-size: 20px;
    line-height: 26px;
  }

  .main-page .card-investing__back-container {
    padding-left: 35px;
    padding-right: 25px;
  }

  .main-page .card-investing__back-text-block>p,
  .main-page .card-investing__back-text {
    max-width: 100%;
    font-size: 18px;
    line-height: 24px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 880px) {
  .main-page.cards {
    padding-left: 30px;
    padding-right: 30px;
    max-width: 880px;
  }

  .main-page .card-xs__back-text-block_last {
    margin-bottom: 30px;
  }

  .main-page .card-xs__button {
    font-size: 15px;
  }

  .main-page .card-xl__back-text-block>p,
  .main-page .card-xl__back-text {
    max-width: 380px;
    font-size: 12px;
    line-height: 18px;
  }

  .main-page .card-sm__text {
    font-size: 14px;
    line-height: 22px;
  }

  .main-page .card-sm__prod-image {
    height: 180px;
  }

  .main-page .card-ten__back-subtitle {
    font-size: 22px;
  }

  .main-page .card-xs__review-text {
    font-size: 15px;
    line-height: 23px;
  }

  .main-page .card-md__title {
    margin-bottom: 25px;
    font-size: 34px;
    line-height: 40px;
  }

  .main-page .card-md__title-lg {
    font-size: 67px;
    line-height: 64px;
  }

  .main-page .card-investing__back-text-block>p,
  .main-page .card-investing__back-text {
    max-width: 100%;
    font-size: 17px;
    line-height: 22px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 768px) {

  .main-page .card-sm__title {
    font-size: 20px;
    line-height: 30px;
  }

  .main-page .front,
  .main-page .back {
    transition: none;
  }

  .main-page .animated:hover .back {
    opacity: 0;
    visibility: hidden;
  }

  .main-page.cards {
    padding: 26px 20px 0;
  }

  .main-page .card-xs__answer-container {
    margin-bottom: 15px;
  }

  .main-page .card-xs__answer-name {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 24px;
  }

  .main-page .card-xs__answer-about {
    font-size: 15px;
    line-height: 18px;
  }

  .main-page .card-smd {
    margin-bottom: 12px;
    height: 267px;
  }

  .main-page .card-smd__container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .main-page .card-smd .back {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .main-page .card-smd__description {
    margin-bottom: 13px;
  }

  .main-page .card-smd__title {
    margin-bottom: 43px;
    max-width: 399px;
    font-size: 38px;
    line-height: 46px;
  }

  .main-page .card-lg {
    height: 403px;
  }

  .main-page .card-xs-md {
    width: calc(50% - 6px);
    height: 372px;
  }

  .main-page .card-sm-md {
    width: 100%;
    height: 372px;
    margin-right: 0;
  }

  .main-page .card-md {
    margin-right: 0;
    margin-bottom: 12px;
    width: calc(50% - 6px);
    height: 372px;
  }

  .main-page .card-md__tags-item_hidden-md {
    display: none;
  }

  .main-page .card-md_last {
    margin-right: 0;
  }

  .main-page .card-md__container {
    padding: 60px 50px 50px;
  }

  .main-page .card-md__title-lg {
    max-width: 284px;
    font-size: 48px;
    line-height: 49px;
  }

  .main-page .card-md__back-text_hidden-md {
    display: none;
  }

  .main-page .card-md-xl {
    width: 100%;
  }

  .main-page .card-xl__container {
    padding: 80px 30px;
  }

  .main-page .card-xl__back-description {
    margin-bottom: 94px;
  }

  .main-page .card-xl__tags-item {
    font-size: 12px;
    line-height: 22px;
  }

  .main-page .card-xl {
    height: 403px;
  }

  .main-page .card-six__title {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 46px;
  }

  .main-page .card-sm__text {
    display: block;
    font-size: 16px;
    line-height: 22px;
  }

  .main-page .card-sm__prod-image {
    height: 169px;
  }

  .main-page .card-md__advantages-item {
    line-height: 20px;
  }

  .main-page .card-xs__review-text {
    font-size: 14px;
    line-height: 22.5px;
  }

  .main-page .card-xs__meditations-item {
    font-size: 20px;
    line-height: 26px;
  }

  .main-page .card-investing {
    margin-bottom: 97px;
    height: 403px;
  }

  .main-page .card-investing__container {
    padding: 93px 20px 0;
  }

  .main-page .card-investing__description {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 24px;
  }

  .main-page .card-investing__title {
    margin-bottom: 15px;
    max-width: 511px;
    font-size: 42px;
    line-height: 48px;
  }

  .main-page .card-investing__text-block>p,
  .main-page .card-investing__text {
    max-width: 690px;
    font-size: 16px;
    line-height: 24px;
  }

  .main-page .card-investing__back-container {
    padding: 0 30px 30px 30px;
  }

  .order-md-1 {
    order: 1;
  }

  .order-md-2 {
    order: 2;
  }

  .order-md-3 {
    order: 3;
  }

  .order-md-4 {
    order: 4;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 750px) {
  .main-page .card-md__tags-list {
    max-width: 275px;
  }

  .main-page .card-xs__review-text {
    font-size: 12px;
    line-height: 21px;
  }
}

@media screen and (max-width: 668px) {
  .main-page .card-xs__review-stars {
    margin-bottom: 14px;
  }

  .main-page .card-sm__tags-list {
    display: none;
  }

  .main-page .card-md__tags-list {
    display: none;
  }

  .main-page .card-lg {
    height: 350px;
  }

  .main-page .card-md__text {
    display: none;
  }

  .main-page .card-six__title {
    font-size: 27px;
    line-height: 30px;
  }

  .main-page .card-sm__text {
    display: none;
  }

  .main-page .card-md__advantages-item {
    font-size: 14px;
    line-height: 18px;
  }

  .main-page .card-xs__review-name {
    font-size: 20px;
    line-height: 28px;
  }

  .main-page .card-xs__review-text {
    font-size: 12px;
    line-height: 18px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 560px) {
  .main-page .card-xs__label {
    top: 20px;
    left: 20px;
  }

  .main-page .card-investing {
    height: 360px;
  }

  .main-page .card-md__advantages-item {
    line-height: 16px;
  }

  .main-page .card-investing {
    height: 360px;
  }

  .main-page .card-investing__container {
    padding-top: 63px;
  }

  .main-page .card-investing__title {
    max-width: 440px;
    font-size: 32px;
    line-height: 38px;
  }

  .main-page .card-investing__text-block>p,
  .main-page .card-investing__text {
    font-size: 14px;
    line-height: 22px;
  }
}

@media screen and (max-width: 520px) {
  .main-page .card-xs-md {
    height: 250px;
  }

  .main-page .card-xs-lg {
    width: 100%;
    height: 394px;
  }

  .main-page .card-sm-md {
    height: 250px;
  }

  .main-page .card-md {
    height: 250px;
  }

  .main-page .card-md__title-lg {
    font-size: 32px;
    line-height: 30px;
  }

  .main-page .card-lg {
    height: 300px;
  }

  .main-page .card-six__title {
    font-size: 22px;
    line-height: 30px;
  }

  .main-page .card-sm__prod-image {
    height: 90px;
  }

  .main-page .card-md__advantages-list {
    display: none;
  }

  .main-page .card-md__another-text {
    display: block;
  }

  .main-page .card-xs__review-text {
    font-size: 14px;
    line-height: 22px;
  }

  .main-page .card-xs__another-text {
    display: block;
    line-height: 24px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 460px) {
  .main-page .card-smd {
    height: 220px;
  }

  .main-page .card-smd__container {
    padding-bottom: 20px;
  }

  .main-page .card-smd .back {
    padding-bottom: 20px;
  }

  .main-page .card-smd__description {
    display: none;
  }

  .main-page .card-smd__title {
    margin-bottom: 25px;
    font-size: 25px;
    line-height: 32px;
  }

  .main-page .card-lg {
    height: 250px;
  }

  .main-page .card-xl {
    height: 250px;
  }

  .main-page .card-xl__container {
    padding: 10px 12px;
  }

  .main-page .card-xl__title {
    margin-bottom: 60px;
    max-width: 220px;
    font-size: 34px;
    line-height: 34px;
    text-align: left;
  }

  .main-page .card-xl__description {
    margin-bottom: 10px;
    max-width: 220px;
    text-align: left;
  }

  .main-page .card-xl__tags-list {
    justify-content: flex-start;
    max-width: 315px;
  }

  .main-page .card-investing {
    height: 360px;
  }

  .main-page .card-investing__container {
    padding-top: 73px;
  }

  .main-page .card-investing__description {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .main-page .card-investing__title {
    margin-bottom: 15px;
    max-width: 340px;
    font-size: 26px;
    line-height: 32px;
    text-align: center;
  }

  .main-page .card-investing__text-block>p,
  .main-page .card-investing__text {
    font-size: 13px;
    line-height: 20px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 390px) {
  .order-sm-1 {
    order: 1;
  }

  .order-sm-2 {
    order: 2;
  }

  .order-sm-3 {
    order: 3;
  }

  .order-sm-4 {
    order: 4;
  }

  .order-sm-5 {
    order: 5;
  }

  .order-sm-6 {
    order: 6;
  }

  .main-page .card-xs__label {
    top: 14px;
    left: 12px;
    font-size: 12px;
    line-height: 22px;
  }

  .main-page .card-xs-md {
    height: 200px;
  }

  .main-page .card-xs-lg {
    height: 394px;
  }

  .main-page .card-sm-md {
    height: 200px;
  }

  .main-page .card-md {
    height: 200px;
  }

  .main-page .card-md {
    width: 100%;
  }

  .main-page .card-xs__link {
    display: none;
  }

  .main-page .card-sm__link {
    display: none;
  }

  .main-page .card-md__link {
    display: none;
  }

  .main-page .card-md__label {
    display: none;
  }

  .main-page .card-md__title-lg {
    margin-bottom: 0;
  }

  .main-page .card-lg {
    height: 200px;
  }

  .main-page .card-xl {
    height: 240px;
  }

  .main-page .card-xl__title {
    margin-bottom: 103px;
    max-width: 130px;
    font-size: 22px;
    line-height: 21px;
  }

  .main-page .card-xl__description {
    margin-bottom: 6px;
    font-size: 10px;
    line-height: 11.5px;
  }

  .main-page .card-xl__tags-list {
    max-width: 270px;
    height: 46px;
  }

  .main-page .card-xl__tags-item {
    font-size: 10px;
    line-height: 18px;
  }

  .main-page .card-investing {
    height: 360px;
  }

  .main-page .card-six__title {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 26px;
  }

  .main-page .card-sm__prod-image {
    height: 68px;
  }

  .main-page .card-xs__review-name {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 32px;
  }

  .main-page .card-xs__review-text {
    display: none;
  }

  .main-page .card-xs__another-review-text {
    display: block;
  }

  .main-page .card-xs__review-text {
    font-size: 13px;
    line-height: 18px;
  }

  .main-page .card-xs__another-text {
    font-size: 12px;
    line-height: 15px;
  }

  .main-page .card-investing__container {
    padding-top: 53px;
  }

  .main-page .card-investing__description {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .main-page .card-investing__title {
    margin-bottom: 15px;
    max-width: 280px;
    font-size: 22px;
    line-height: 32px;
  }

  .main-page .card-investing__text-block>p,
  .main-page .card-investing__text {
    font-size: 12px;
    line-height: 18px;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 320px) {
  .main-page.cards {
    padding: 20px 12px 0;
  }

  .main-page .card-xs__label {
    top: 10px;
    left: 10px;
    font-size: 12px;
    line-height: 22px;
  }

  .main-page .card-xs__review-stars {
    margin-bottom: 14px;
  }

  .main-page .card-smd {
    height: 121px;
  }

  .main-page .card-smd__container {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .main-page .card-smd .back {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .main-page .card-smd__description {
    display: none;
  }

  .main-page .card-smd__title {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 21px;
  }

  .main-page .card-smd__button {
    max-width: 249px;
    height: 40px;
    background: url(../images/cards/temp-button-320.jpg) no-repeat;
  }

  .main-page .card-xs-md {
    height: 148px;
  }

  .main-page .card-xs-lg {
    height: 240px;
  }

  .main-page .card-sm-md {
    height: 148px;
  }

  .main-page .card-md {
    height: 148px;
  }

  .main-page .card-md__link {
    display: none;
  }

  .main-page .card-sm__label {
    top: 10px;
    left: 10px;
    font-size: 12px;
    line-height: 22px;
  }

  .main-page .card-md__label {
    top: 10px;
    left: 10px;
    font-size: 12px;
    line-height: 22px;
  }

  .main-page .card-md {
    margin-right: 0;
    height: 240px;
  }

  .main-page .card-lg {
    height: 163px;
  }

  .main-page .card-xl__link {
    display: none;
  }

  .main-page .card-sm__container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .main-page .card-six__title {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 16px;
  }

  .main-page .card-sm__text_hidden {
    max-width: 110px;
    display: block;
    font-family: 'Sharp Grotesk DB Cyr Book 20';
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
  }

  .main-page .card-sm__text-block {
    display: block;
  }

  .main-page .card-sm__prod-image {
    margin-bottom: 12px;
  }

  .main-page .card-xs__review-name {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 32px;
  }

  .main-page .card-xs__review-stars {
    margin-bottom: 16px;
  }

  .main-page .card-xs__review-text {
    max-width: 254px;
    font-size: 12px;
    line-height: 21.5px;
  }

  .main-page .card-investing {
    margin-bottom: 41px;
    height: 240px;
  }

  .main-page .card-investing__container {
    align-items: flex-start;
    padding-top: 16px;
    padding-left: 12px;
    padding-right: 5px;
  }

  .main-page .card-investing__description {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 15px;
    text-align: left;
  }

  .main-page .card-investing__title {
    margin-bottom: 29px;
    max-width: 262px;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
  }

  .main-page .card-investing__text-block>p,
  .main-page .card-investing__text {
    font-size: 12px;
    line-height: 18px;
    text-align: left;
  }

  .items-left {
    align-items: flex-start;
  }

  .items-horizontal-center {
    align-items: center;
  }

  .items-right {
    align-items: flex-end;
  }

  .items-top {
    justify-content: flex-start;
  }

  .items-vertical-center {
    justify-content: center;
  }

  .items-bottom {
    justify-content: flex-end;
  }
}

/* Блок Popup */
.popup {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s linear;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.popup_opened {
  visibility: visible;
  opacity: 1;
}

.popup__container {
  box-sizing: border-box;
  position: relative;
  max-width: 622px;
  width: 100%;
  min-height: 608px;
  background-color: #fff;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  cursor: default;
  overflow: hidden;
}

.popup__close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: url(../images/popup/close-button.svg) no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  transition: .2s;
}

.popup__close-button:hover {
  opacity: 0.8;
}

.popup__image {
  display: block;
  width: 100%;
  line-height: 0;
}

.popup__info {
  display: none;
  padding: 29px 32px 31px;
}

.popup__info_active {
  display: block;
}

.popup__title {
  margin-top: 0;
  margin-bottom: 23px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #153c2f;
}

.popup__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 50px;
  gap: 16px 18px;
}

.popup__field {
  box-sizing: border-box;
  position: relative;
  width: 100%;
}

.popup__field::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 16px;
  display: block;
  width: 16px;
  height: 16px;
  background: url(../images/popup/dates-icon.svg) no-repeat;
  background-size: contain;
  cursor: pointer;
}

.popup__field:hover::after {
  opacity: 0.8;
}

.popup__input {
  box-sizing: border-box;
  display: block;
  padding: 0px 12px;
  width: 100%;
  height: 50px;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #50776a;
  border: 1px solid #50776a;
  border-radius: 4px;
  outline: none;
}

.popup__input::placeholder {
  color: #50776a;
}

.popup__button {
  box-sizing: border-box;
  padding: 17px 28px;
  width: 100%;
  min-height: 50px;
  font-family: 'Sharp Grotesk DB Cyr Medium 22';
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background-color: #5dc397;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: .2s;
}

.popup__button:hover {
  background: #1b4638;
  color: #fff;
}

.popup__policy {
  grid-column-start: 1;
  grid-column-end: 3;
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 11px;
  line-height: 13px;
  color: #50776a;
}

.popup__policy-link {
  color: #50776a;
}

.popup__message {
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
}

.popup__message_active {
  display: flex;
}

.popup__icon {
  margin-bottom: 15px;
  display: block;
  width: 28px;
  height: 28px;
  line-height: 0;
}

.popup__title_type_message {
  margin-bottom: 8px;
}

.popup__text {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 460px;
  font-family: 'Sharp Grotesk DB Cyr Book 20';
  font-weight: 400;
  font-size: 20px;
  line-height: 27px;
  text-align: center;
  color: #50776a;
}
.section--infrastructure-map .infrastructure-map img {
  width: 100%;
  min-height: 200px;
}

.f-custom-controls {
  position: absolute;
  right: 20px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}
.f-custom-controls button {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.f-custom-controls svg {
  pointer-events: none;
  width: 18px;
  height: 18px;
  stroke: #000;
  stroke-width: 2;
}
.f-custom-controls button[disabled] {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .popup {
    padding-left: 50px;
    padding-right: 50px;
  }

  .popup__close-button {
    top: 20px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: url(../images/popup/close-button-768.svg) center no-repeat;
  }

  .popup__container {
    min-height: unset;
  }

  .popup__info {
    padding: 25px 32px 27px;
  }

  .popup__title {
    margin-bottom: 11px;
    font-size: 18px;
  }

  .popup__message {
    padding: 54px 20px 63px;
  }

  .popup__icon {
    margin-bottom: 15px;
  }

  .popup__title_type_message {
    margin-bottom: 4px;
  }

  .popup__text {
    max-width: 334px;
    font-size: 14px;
    line-height: 22px;
  }
}

@media screen and (max-width: 560px) {
  .popup {
    padding-left: 30px;
    padding-right: 30px;
  }

  .popup__form {
    grid-template-rows: 44px;
  }

  .popup__field::after {
    top: 14px;
    right: 12px;
  }

  .popup__input {
    margin-bottom: 0;
    padding: 11px 11px;
    height: 44px;
    font-size: 12px;
  }

  .popup__button {
    padding: 11px 12px;
    min-height: 44px;
    font-size: 12px;
  }

  .popup__policy {
    font-size: 10px;
    line-height: 14px;
  }
}

@media screen and (max-width: 440px) {
  .popup__close-button {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: url(../images/popup/close-button-320.svg) center no-repeat;
  }

  .popup__title {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 20px;
  }

  .popup__form {
    grid-template-columns: 1fr;
    grid-template-rows: 44px;
    row-gap: 8px;
  }

  .popup__policy {
    margin-top: 5px;
    grid-column-start: 1;
    grid-column-end: 1;
  }
}

@media screen and (max-width: 360px) {
  .popup__info {
    padding: 25px 15px 27px;
  }
}

@media screen and (max-width: 320px) {
  .popup {
    padding-left: 12px;
    padding-right: 12px;
  }

  .popup__container {
    max-width: 296px;
    min-height: 448px;
  }

  .popup__info {
    padding: 13px 12px 23px;
  }

  .popup__title {
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 32px;
  }

  .popup__form {
    grid-template-columns: 1fr;
    grid-template-rows: 44px;
    row-gap: 8px;
  }

  .popup__field::after {
    top: 14px;
    right: 12px;
  }

  .popup__input {
    margin-bottom: 0;
    padding: 11px 11px;
    height: 44px;
    font-size: 12px;
  }

  .popup__button {
    padding-top: 11px;
    padding-bottom: 11px;
    min-height: 36px;
    font-size: 12px;
    line-height: 14px;
  }

  .popup__policy {
    margin-top: 5px;
    grid-column-start: 1;
    grid-column-end: 1;
    font-size: 10px;
    line-height: 14px;
  }

  .popup__policy-link {
    display: block;
  }

  .popup__message {
    padding-top: 92px;
  }

  .popup__icon {
    margin-bottom: 11px;
  }

  .popup__title_type_message {
    margin-bottom: 0;
  }

  .popup__text {
    margin-top: -1px;
    max-width: 281px;
    font-size: 12px;
    line-height: 17.5px;
  }
}

.section--reserve {
  margin-bottom: 140px;
}
.section--reserve .section__form:not(:last-child) {
  margin-bottom: calc(20 * var(--width-multiplier));
}
.section__form .sf-top-block,
.section__form .sf-controls-wrapper .sf-submit-button-container input,
.section__form .sf-controls-wrapper .sf-field-container input {
  font-family: "Sharp Grotesk DB Cyr Medium 22", sans-serif !important;
}


@media (max-width: 1279px) {
  .section--reserve .section__form:not(:last-child) {
    margin-bottom: calc(12 * var(--width-multiplier));
  }
  .section .container .section__form {
    margin: 0 calc(-20 * var(--width-multiplier));
  }
}
@media (max-width: 767px) {
  .section .container .section__form {
    margin: 0 calc(-12 * var(--width-multiplier));
  }
}
.section__form .form {
  padding: calc(27 * var(--width-multiplier)) calc(36 * var(--width-multiplier)) calc(28 * var(--width-multiplier));
  background: #153C2F;
}
.section__form .form__wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}
.section__form .form__title {
  flex: 0 0 calc(423 * var(--width-multiplier));
  margin-right: calc(25 * var(--width-multiplier));
  font-family: "Medium22", sans-serif;
  font-size: calc(20 * var(--width-multiplier));
  line-height: calc(32 * var(--width-multiplier));
  color: #5DC397;
}
@media (max-width: 1279px) {
  .section__form .form__title {
    font-size: calc(14 * var(--width-multiplier));
    line-height: calc(17 * var(--width-multiplier));
  }
}
.section__form .form__controls {
  flex: 0 0 calc(618 * var(--width-multiplier));
  margin-right: calc(57 * var(--width-multiplier));
}
.section__form .form__btn {
  margin-left: auto;
}
.section__form .form__btn .button {
  min-width: calc(250 * var(--width-multiplier));
}
@media (max-width: 1279px) {
  .section__form .form {
    padding: calc(16 * var(--width-multiplier)) calc(20 * var(--width-multiplier));
  }
  .section__form .form__title {
    flex: 0 0 calc(142 * var(--width-multiplier));
    margin-right: calc(33 * var(--width-multiplier));
  }
  .section__form .form__controls {
    flex: 0 0 calc(356 * var(--width-multiplier));
    margin-right: calc(17 * var(--width-multiplier));
  }
  .section__form .form__btn {
    margin-left: auto;
  }
  .section__form .form__btn .button {
    min-width: calc(180 * var(--width-multiplier));
  }
}
@media (max-width: 767px) {
  .section__form .form {
    padding: calc(14 * var(--width-multiplier)) calc(12 * var(--width-multiplier)) calc(16 * var(--width-multiplier));
  }
  .section__form .form__wrapper {
    flex-wrap: wrap;
  }
  .section__form .form__title, .section__form .form__controls {
    flex: 0 0 100%;
    margin: 0;
  }
  .section__form .form__title {
    margin-bottom: calc(10 * var(--width-multiplier));
  }
  .section__form .form__controls {
    margin-bottom: calc(12 * var(--width-multiplier));
  }
  .section__form .form__btn {
    margin-left: 0;
    width: 100%;
  }
  .section__form .form__btn .button {
    width: 100%;
  }
}
.button {
  display: inline-block;
  border: 0;
  border-radius: calc(4 * var(--width-multiplier));
  margin: 0;
  padding: 0 calc(20 * var(--width-multiplier));
  box-shadow: none;
  font-family: "Medium22", sans-serif;
  font-size: calc(16 * var(--width-multiplier));
  line-height: calc(54 * var(--width-multiplier));
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: #5DC397;
  transition: 0.35s;
  cursor: pointer;
}
.button:hover {
  color: #1B4638;
  background: #fff;
}
.button--sm {
  font-size: calc(12 * var(--width-multiplier));
  line-height: calc(46 * var(--width-multiplier));
}
.button--green {
  color: #fff;
  background: #153C2F;
}
.button--green:hover {
  color: #fff;
  background: #5DC397;
}
.button--more {
  min-width: calc(240 * var(--width-multiplier));
}
@media (max-width: 1279px) {
  .button {
    font-size: calc(12 * var(--width-multiplier));
    line-height: calc(36 * var(--width-multiplier));
  }
  .button--more {
    width: 100%;
    font-size: calc(14 * var(--width-multiplier));
    line-height: calc(44 * var(--width-multiplier));
  }
}
@media (max-width: 767px) {
  .button--green {
    font-size: calc(12 * var(--width-multiplier));
    line-height: calc(36 * var(--width-multiplier));
    background-color: #5DC397;
  }
}