@charset "UTF-8";

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

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

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

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

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

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

small {
  font-size: 80%;
}

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

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

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

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

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

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

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

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

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

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

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

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

nav,
main,
footer,
header {
  display: block;
}

a,
ul,
li {
  list-style: none;
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  color: inherit;
}

button,
input {
  font-family: inherit;
}

a {
  background-color: transparent;
}

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

a:hover {
  text-decoration: none;
}

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

:focus,
:active {
  outline: none;
}

img {
  display: block;
  border-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

body {
  scroll-behavior: smooth;
}

html {
  font-size: 18px;
  height: 100%;
}

body {
  overflow-x: hidden;
  min-height: 100%;
  font-size: 1rem;
  font-family: "Exo 2", sans-serif;
  color: #0e2c34;
  background: #fff;
}

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

.title-regular {
  text-align: center;
  font-size: 1.8888888889rem;
  font-weight: 900;
}

.button-style {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 60px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  border: 0;
  outline: 0;
  background: #18b8e2;
  border-radius: 40px;
  -webkit-transition: background-color 0.3s cubic-bezier(0.75, 0, 0.125, 1);
  transition: background-color 0.3s cubic-bezier(0.75, 0, 0.125, 1);
  z-index: 1;
}

.button-style:hover {
  background: #22c8f4;
}

.button-style:active {
  background: #0eadd7;
}

.button-style:focus {
  outline: 4px solid rgba(24, 184, 226, 0.2);
  background: #18b8e2;
}

.button-style:disabled {
  background: #8fe5fc;
  color: #50cbeb;
  pointer-events: none;
}

.button-style.--progress {
  color: #077490;
  background: #8fe5fc;
  font-size: 0;
  pointer-events: none;
}

.button-style.--progress::before {
  position: relative;
  content: "";
  display: block;
  margin-right: 10px;
  width: 18px;
  height: 18px;
  background: url("../imgs/loading.svg") no-repeat center/cover;
  -webkit-animation: spin 0.6s ease-out infinite;
          animation: spin 0.6s ease-out infinite;
}

.button-style.--progress::after {
  position: relative;
  content: "Зачекайте";
  display: block;
  font-size: 1rem;
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.home__container {
  padding: 52px 78px 70px;
  border-radius: 20px;
  background: #f7f9fa;
}

.home .home-title--mob {
  display: none;
}

.home__title {
  border-bottom: 1px solid #e3eef0;
  margin-bottom: 70px;
}

.home__title span {
  display: block;
  color: #ff7142;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.38;
  max-width: 753px;
  margin: 0 auto 58px;
}

.home__form {
  max-width: 645px;
  margin: 0 auto;
  padding: 63px 20px;
  border-radius: 20px;
  background: #eef5f6;
}

.home-form__title {
  margin-bottom: 24px;
}

.form__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 390px;
  margin: 0 auto;
}

.form__item:not(:last-child) {
  margin-bottom: 24px;
}

.form__item ::-webkit-input-placeholder {
  color: #a9b4bd;
}

.form__item ::-moz-placeholder {
  color: #a9b4bd;
}

.form__item :-ms-input-placeholder {
  color: #a9b4bd;
}

.form__item ::-ms-input-placeholder {
  color: #a9b4bd;
}

.form__item ::placeholder {
  color: #a9b4bd;
}

.form__label {
  margin-bottom: 8px;
  font-size: 0.7777777778rem;
}

.form__input {
  padding: 19px 50px 19px 24px;
  border-radius: 40px;
  border: 1px solid #b9c6d1;
  background: #fff;
  font-size: 0.8888888889rem;
  line-height: 1.375;
}

.form__input.errorInput {
  border-color: #eb1818;
  background: #fff4f4;
}

.form__input.validInput {
  border-color: #7be457;
  background: #f9fff8;
}

.form__input:focus {
  border-color: #0087ab;
  background: #f5faff;
}

.form__event {
  display: block;
  position: relative;
  margin-top: 8px;
  color: #eb1818;
  font-size: 0.6666666667rem;
}

.form__event i {
  white-space: nowrap;
  font-style: normal;
}

.error-message {
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;

color: #EB1818;
}

.form__input.errorInput + .form__event::after {
  position: absolute;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  right: 20px;
  top: -51px;
  background: url("../imgs/error.svg") no-repeat;
}

.form__input.validInput + .form__event::before {
  position: absolute;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  right: 20px;
  top: -51px;
  background: url("../imgs/success.svg") no-repeat;
}

.form__btn {
  margin: 0 auto;
  max-width: 390px;
}

.form-checkbox__input {
  display: none;
}

.form-checkbox__input:checked + .form-checkbox__label::after {
  display: block;
}

.form-checkbox__input._error + .form-checkbox__label::before {
  border-color: #eb1818;
}

.form-checkbox__label {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  font-size: 0.6666666667rem;
}

.form-checkbox__label::before {
  content: "";
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20px;
          flex: 0 0 20px;
  height: 20px;
  -ms-flex-item-align: start;
      align-self: flex-start;
  margin-right: 12px;
  border: 1px solid #b9c6d1;
  border-radius: 50%;
}

.form-checkbox__label::after {
  position: absolute;
  content: "";
  display: none;
  width: 12px;
  height: 12px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #18b8e2;
}

.form-checkbox__label span {
  max-width: 300px;
  line-height: 1.5;
}

.form-checkbox__label a {
  color: #109fc5;
  text-decoration: underline;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.form-checkbox__label a:hover {
  color: #22c8f4;
  text-decoration: none;
}

.form-checkbox__label a:active {
  color: #0eadd7;
}

.example {
  padding: 104px 0 123px;
}

.example__title {
  margin-bottom: 46px;
}

.example__text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.66;
}

.example__text:not(:last-child) {
  margin-bottom: 49px;
}

.recommendation__container {
  padding: 38px 20px 59px;
  border-radius: 20px;
  border: 1px dashed #0eadd7;
}

.recommendation__img {
  width: 175.831px;
  height: 104.813px;
  margin: 0 auto 24px;
}

.recommendation__img img {
  max-width: 100%;
  height: 100%;
}

.recommendation__title {
  max-width: 750px;
  margin: 0 auto;
  color: #0eadd7;
  text-align: center;
  font-size: 1.3333333333rem;
  font-weight: 600;
  line-height: 1.5;
}

.offers {
  padding: 70px 0 140px;
}

.offers__container {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  grid-auto-rows: auto;
  gap: 30px;
}

.offer__item {
  padding: 37px 30px 30px;
  border-radius: 36px;
  background: #eef5f6;
}

.offer__head {
  margin-bottom: 17px;
}

.offer__logo {
  display: block;
}

.offer__logo img {
  max-width: 240px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border-radius: 20px 20px 30px 30px;
}

.offer__name {
  display: block;
  text-align: center;
  font-size: 1.3333333333rem;
  font-weight: 900;
}

.offer__body {
  padding: 19px 30px 30px;
  border-radius: 20px 20px 30px 30px;
  background: #fff;
}

.offer__more {
  margin: 25px 15px 0;
  display: none;
  height: 48px;
  padding: 0 20px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 20px;
  border: 1px solid #fa4a0c;
  outline: 0;
  background: none;
  color: #fa4a0c;
  font-size: 0.8888888889rem;
  font-weight: 700;
}

.offer__more span {
  margin-right: 10px;
}

.offer-body__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.offer-body__item:not(:last-child) {
  margin-bottom: 9px;
}

.offer-body__button {
  margin-top: 16px;
}

.offer-body-item__title {
  margin-right: 15px;
  font-size: 1rem;
}

.offer-body-item__value {
  font-size: 1.3333333333rem;
  text-align: right;
}

.offer-body-item__value b {
  font-weight: 900;
}

.message {
  background: #fff;
}

.message__container {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.message__box {
  padding: 43px 54px 74px;
  max-width: 645px;
  border-radius: 20px;
  background: #eef5f6;
}

.message__img {
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
  -webkit-transform: rotate(-18.435deg);
      -ms-transform: rotate(-18.435deg);
          transform: rotate(-18.435deg);
}

.message__title {
  margin-bottom: 26px;
  text-align: center;
  font-size: 1.8888888889rem;
  font-weight: 900;
}

.message__text {
  margin-bottom: 41px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.66;
}

.message__btn {
  max-width: 334px;
  margin: 0 auto;
}

.header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 160px;
}

.header__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #252446;
  font-size: 1.6666666667rem;
  font-weight: 900;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

.header__logo img {
  margin-right: 10px;
  width: 52.874px;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer {
  padding: 135px 0;
  background: #032027;
}

.footer__contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 60px;
}

.footer__copy {
  color: #fff;
  text-align: center;
  font-size: 0.7777777778rem;
  line-height: 1.42;
}

.footer-contacts__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 33.333%;
          flex: 0 1 33.333%;
}

.footer-contacts__item:not(:last-child) {
  margin-right: 30px;
}

.footer-contacts__item img {
  margin-right: 10px;
  width: 64px;
  height: 64px;
}

.footer-contacts__item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer-contacts__item span {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

@media only screen and (max-width: 992px) {
  .wrapper {
    padding: 0 20px;
  }

  .offers__container {
    gap: 15px;
  }

  .offer__name {
    font-size: 1.2222222222rem;
  }

  .offer-body-item__value {
    font-size: 1rem;
  }

  .footer-contacts__item img {
    width: 40px;
    height: 40px;
    margin-right: 8px;
  }

  .footer-contacts__item span {
    font-size: 0.8888888889rem;
  }
}

@media only screen and (max-width: 768px) {
  .button-style {
    height: 60px;
  }

  .home__container {
    padding: 52px 40px 70px;
  }

  .offers__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .offer__item {
    padding: 30px 15px 25px;
  }

  .offer__item {
    padding: 27px 15px 15px;
  }

  .offer__body {
    padding: 19px 20px 20px;
  }

  .footer__contacts {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .footer-contacts__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .footer-contacts__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .footer-contacts__item img {
    width: 60px;
    height: 60px;
    margin-right: 0;
  }

  .footer-contacts__item a {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .footer-contacts__item span {
    text-align: center;
  }
}

@media only screen and (max-width: 576px) {
  body {
    font-size: 0.8888888889rem;
  }

  .wrapper {
    padding: 0 15px;
  }

  .title-regular {
    font-size: 1.2222222222rem;
  }

  .home__container {
    padding: 0;
    background: none;
  }

  .home .home-title--desc {
    display: none;
  }

  .home .home-title--mob {
    display: block;
  }

  .home__title {
    margin-bottom: 40px;
    border-bottom: 0;
    padding: 28px 26px;
    border-radius: 36px;
    border: 1px dashed #ffcebe;
  }

  .home__title span {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
  }

  .home__form {
    padding: 38px 18px 20px;
    border-radius: 36px;
  }

  .home-form__title {
    margin-bottom: 18px;
  }

  .form__item:not(:last-child) {
    margin-bottom: 18px;
  }

  .form__input {
    padding: 19px 35px 19px 15px;
  }

  .form__input._error + .form__event::after {
    right: 10px;
  }

  .form__input._success + .form__event::before {
    right: 10px;
  }

  .form-checkbox__label {
    font-size: 0.6111111111rem;
  }

  .example {
    padding: 70px 0 40px;
  }

  .example__text {
    font-size: 0.8888888889rem;
    line-height: 1.5;
  }

  .example__text:not(:last-child) {
    margin-bottom: 24px;
  }

  .recommendation__container {
    padding: 29px 20px 32px;
  }

  .recommendation__title {
    font-size: 1rem;
  }

  .offers {
    padding: 40px 0 80px;
  }

  .offers__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .offer__body {
    padding: 14px 20px 20px;
  }

  .offer-body-item__title {
    font-size: 0.8888888889rem;
  }

  .offer-body-item__value {
    font-size: 0.8888888889rem;
  }

  .message__box {
    padding: 25px 25px 44px;
  }

  .message__img {
    width: 73.935px;
    height: 73.935px;
    margin-bottom: 11px;
  }

  .message__title {
    margin-bottom: 13px;
    font-size: 1.2222222222rem;
  }

  .message__text {
    margin-bottom: 23px;
    font-size: 0.8888888889rem;
  }

  .header__container {
    height: 95px;
  }

  .header__logo {
    font-size: 1.3333333333rem;
  }

  .header__logo img {
    width: 51px;
    height: 51px;
    margin-right: 8px;
  }

  .footer {
    padding: 45px 0;
  }

  .footer__contacts {
    margin-bottom: 40px;
  }

  .footer__copy {
    font-size: 0.6666666667rem;
  }
}

/* slider */

.form__item-range {
  max-width: 390px;
  margin: 0 auto 30px;
}
.form__value {
  margin-bottom: 25px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #252446;
  font-size: 16px;
}
.form__range {
  overflow: hidden;
  padding-top: 2px;
}
.slider-input-value {
  margin: 0 13px 0 25px;
  padding: 19px 20px;
  border-radius: 20px;
  border: 1px solid #b9c6d1;
  background: #fff;
  color: #252446;
  text-align: center;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type='number'] {
  -moz-appearance: textfield;
}
.slider-input-range {
  width: 100%;
  margin-bottom: 15px;
}
.form-range__num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #252446;
  font-size: 16px;
  font-weight: 400;
}
.slider-input-range {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: 100%;
  height: 6px;
  background-color: #d5dfe8;
  border-radius: 20px;
  cursor: pointer;
  outline: none;
}

.slider-input-range:focus {
  outline: none;
}

.slider-input-range::before {
  content: '';
  display: block;
  position: absolute;
  height: 100%;
  background: #18b8e2;
  box-shadow: inherit;
  border-radius: inherit;
  width: var(--range);
}

.slider-input-range::-webkit-slider-runnable-track {
  height: 6px;
  background-color: #d5dfe8;
  border-radius: 20px;
  cursor: pointer;
  outline: none;
}

.slider-input-range::-moz-range-track {
  height: 6px;
  background-color: #d5dfe8;
  border-radius: 20px;
  cursor: pointer;
  outline: none;
}

.slider-input-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  position: relative;
  width: 26px;
  height: 26px;
  background: #18b8e2;
  border-radius: 50%;
  border: none;
  outline: none;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
}

.slider-input-range::-moz-range-thumb {
  -moz-appearance: none;
  position: relative;
  width: 26px;
  height: 26px;
  background: #18b8e2;
  border-radius: 50%;
  border: none;
  outline: none;
  z-index: 2;
}

.slider-input-range::-moz-range-progress {
  height: 100%;
  background: #18b8e2;
  box-shadow: inherit;
  border-radius: inherit;
}

.slider-input-range::-ms-fill-lower {
  height: 100%;
  background: #18b8e2;
  box-shadow: inherit;
  border-radius: inherit;
}