/*! 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 */
}

/* 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;
}


html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: calc(100% - 559px);
}

@media screen and (max-width: 1440px) {
  main {
    min-height: calc(100% - 708px);
  }
}

@media screen and (max-width: 768px) {
  main {
    min-height: auto;
  }
}

*,
:before,
:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  -webkit-locale: auto;
}

svg {
  pointer-events: none;
}

input,
textarea,
button {
  border: none;
  outline: none;
  border-radius: 0;
}

input[type='text'],
input[type='password'],
input[type='tel'],
input[type='email'],
input[type='number'],
textarea,
button {
  -webkit-appearance: none;
}

input::-webkit-credentials-auto-fill-button,
input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}

input::-ms-reveal,
input::-ms-clear {
  width: 0;
  height: 0;
}

fieldset {
  border: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-weight: normal;
  color: inherit;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
}

li {
  list-style: none;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

img {
  max-width: 100%;
}

.icon {
  max-width: 100%;
  max-height: 100%;
}

.visible-mob {
  display: none;
}

@media screen and (max-width: 768px) {
  .visible-mob {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .tablet-hide {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .mobile-hide {
    display: none;
  }
}




.form-box {
  color: #3a3955;
  padding: 40px 0 56px;
}

@media screen and (max-width: 768px) {
  .form-box {
    padding: 24px 24px 40px;
    border-radius: 16px;
  }
}

.form-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media screen and (max-width: 768px) {
  .form-list {
    gap: 18px;
  }
}

.form-field {
  position: relative;
}

.form-field_agree {
  margin-top: 25px;
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-label {
  color: #3a3955;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  display: block;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  height: 56px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  padding: 20px 16px;
  border-radius: 8px;
  background: #e7e6ef;
}

.form-textarea {
  resize: none;
  height: 158px;
}

.form-checkbox {
  position: relative;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 132%;
  user-select: none;
}

.form-checkbox__text {
  display: inline-block;
  padding-left: 34px;
  position: relative;
}

.form-checkbox__text:before {
  content: '';
  position: absolute;
  top: -2px;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #e7e6ef;
}

.form-checkbox__text:after {
  content: '';
  position: absolute;
  top: -2px;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background: url('checkbox-checked.svg') no-repeat;
  background-size: 100%;
  opacity: 0;
  transition: 0.3s ease-out;
  transform: scale(1.1);
}

.form-checkbox__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

.form-checkbox__input:checked+.form-checkbox__text:after {
  opacity: 1;
  transform: scale(1);
}

.form-checkbox a {
  color: #009fdf;
}

.form-submit {
  width: 100%;
  max-width: 430px;
}

.form-label-error {
  color: #ff4c4c;
  display: block;
  margin-top: 5px;
  font-weight: 500;
  font-size: 14px;
}

.is-error .form-input,
.is-error .select-head,
.is-error .form-textarea {
  background-color: #ffdada;
}

.select-container {
  width: 100%;
  max-width: 220px;
}

@media screen and (max-width: 768px) {
  .select-container {
    max-width: 290px;
  }
}

.select {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
}

.select-label {
  width: inherit;
  color: #3a3955;
  font-size: 14px;
  font-weight: 600;
  line-height: 132%;
}

.select-head {
  position: relative;
  width: inherit;
  padding: 15px 25px 16px 16px;
  border-radius: 8px;
  background: #e7e6ef;
  appearance: none;
  cursor: pointer;
  color: #1b1a20;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.select-head::after {
  content: '';
  width: 16px;
  height: 16px;
  background: url('select-arrow.svg') no-repeat center / cover;
  position: absolute;
  right: 20px;
  bottom: 50%;
  transform: translateY(50%);
  display: block;
  transition: 0.2s ease-in;
}

.select-head.size_m {
  width: 100%;
  height: 56px;
  color: #333;
  border: none;
  padding: 20px 16px;
  -moz-appearance: none;
}

.select-head.size_m::after {
  width: 24px;
  height: 24px;
  right: 16px;
}

.select-head.placeholder {
  color: color('dark', 'dark-64');
}

.select-head.open::after {
  transform: translateY(50%) rotate(180deg);
}

.select-list {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-top: 5px;
  max-height: 205px;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 100;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #424348;
  scrollbar-color: dark;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.select-list::-webkit-scrollbar {
  width: 7px;
  background-color: #f8f9fa;
  padding: 5px;
}

.select-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #d9d9d9;
}

.select-item {
  position: relative;
  padding: 15px 25px 16px 16px;
  background: #e7e6ef;
  appearance: none;
  color: #1b1a20;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  cursor: pointer;
  list-style-type: none;
}

.select-item:hover {
  background-color: rgba(224, 229, 231, 0.5);
}

.select-container-form .select {
  gap: 8px;
}

.select-container-form .select>.select-label {
  color: #3a3955;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.select-container-form .select>.select-head {
  width: 100%;
  color: #818192;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  padding: 20px 16px;
}

.select-flex {
  display: flex;
  flex-direction: column;
}

.select-flex .form-label-error {
  order: 1;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
  text-decoration: none;
  user-select: none;
  width: max-content;
  border-radius: 50px;
  padding: 0 24px;
  gap: 12px;
  height: 42px;
  transition: 0.3s ease-out;
  cursor: pointer;
}

.button_blue {
  background-color: color('blue', 'sky');
}

.button_blue .icon {
  color: color('blue', 'sky');
}

.button_blue .button-text {
  color: color('white', 'base');
}

.button_orange {
  color: #fff;
  background-color: #b64b16;
}

.button_pink {
  background-color: #e3177d;
  color: #fff;
}

.button_pink:hover {
  background-color: #d40f7d;
}

.button_orange:hover {
  background-color: #d55f24;
}

.button_size_m {
  font-weight: 600;
  font-size: 16px;
  min-height: 64px;
  max-width: 430px;
}

.button_full {
  width: 100%;
}

.button_size_48 {
  height: 48px;
  padding-left: 32px;
  padding-right: 32px;
}

.button_size_48 .button-text {
  font-size: 16px;
}

.button:disabled {
  cursor: default;
  background-color: gray;
}

.button:disabled {
  cursor: default;
  background-color: gray;
}

.button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: color('white', 'base');
  border-radius: 50%;
}

.button-icon+.button-text {
  margin-right: auto;
}

.button-icon .icon {
  max-width: 18px;
  max-height: 18px;
}

.button-text {
  font-size: 14px;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .button-text {
    font-size: 12px;
  }
}

.button-size_l {
  height: 64px;
  border-radius: 142px;
}

.button-size_l .button-text {
  font-size: 16px;
}

.button-padding-32 {
  padding: 0 32px;
}