@charset "UTF-8";
@font-face {
  font-family: yandex;
  font-display: swap;
  src:
    url(../fonts/yandex-sans-text-2.woff2) format("woff2"),
    url(../fonts/yandex-sans-text-2.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}
* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body,
html {
  height: 100%;
  min-width: 320px;
}
body {
  color: #1f1f1f;
  line-height: 1;
  font-family: "Yandex Sans Text", sans-serif;
  font-size: 1.125rem;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button,
input,
textarea {
  font-family: "Yandex Sans Text", sans-serif;
  font-size: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  background-color: inherit;
}
a {
  color: inherit;
}
a:link,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}
body {
  line-height: 1.1;
}
.lock body {
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
}
.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}
.wrapper > main {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
.wrapper > * {
  min-width: 0;
}
@supports (overflow: clip) {
  .wrapper {
    overflow: clip;
  }
}
[class*="__container"] {
  max-width: 83.75rem;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  margin: 0 auto;
  padding: 0 0.9375rem;
}
[class*="-ibg"] {
  position: relative;
}
[class*="-ibg"] img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
}
[class*="-ibg_contain"] img {
  -o-object-fit: contain;
  object-fit: contain;
}
:root {
  --color-hover: #646160;
}
.title-subtitle {
  position: relative;
  z-index: 3;
  max-width: 78.8125rem;
  padding: 0 0.9375rem;
  margin: 0 auto;
  text-align: center;
}
.title-subtitle :not(:last-child) {
  margin-bottom: 0.75rem;
}
.title-subtitle h1,
.title-subtitle h2 {
  font-weight: 700;
  text-transform: uppercase;
}
.title-subtitle h1 {
  font-size: clamp(1.5625rem, -0.31rem + 6.25vw, 2.1875rem);
}
.title-subtitle h2 {
  font-size: clamp(1.5rem, -0.38rem + 6.25vw, 2.125rem);
}
.title-subtitle p {
  font-size: 1.5rem;
  color: #4b4b4a;
}
.button {
  padding: clamp(1.125rem, -0.75rem + 6.25vw, 1.75rem) 3.75rem;
  background: gold;
  display: inline-block;
  border-radius: 1.5625rem;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.header {
  padding: clamp(0.9375rem, -0.75rem + 5.63vw, 1.5rem) 0;
  color: #230f0a;
}
.header__contacts,
.header__logo,
.header__messengers,
.header__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.header__row {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 1.25rem;
}
.header__logo {
  gap: 0.625rem;
}
.header__logo-img {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 clamp(1.25rem, -3.44rem + 15.63vw, 2.8125rem);
  flex: 0 0 clamp(1.25rem, -3.44rem + 15.63vw, 2.8125rem);
  width: clamp(1.25rem, -3.44rem + 15.63vw, 2.8125rem);
  height: clamp(1.75rem, -4.81rem + 21.88vw, 3.9375rem);
}
.header__logo-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.header__logo-text {
  font-size: clamp(0.9375rem, -0.38rem + 4.38vw, 1.375rem);
  font-weight: 700;
  text-transform: uppercase;
}
.header__contacts {
  gap: clamp(0.3125rem, -0.81rem + 3.75vw, 0.6875rem);
}
.header__messengers {
  gap: 0.375rem;
}
.header__item-messengers {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 clamp(1.25rem, -0.63rem + 6.25vw, 1.875rem);
  flex: 0 0 clamp(1.25rem, -0.63rem + 6.25vw, 1.875rem);
  width: clamp(1.25rem, -0.63rem + 6.25vw, 1.875rem);
  height: clamp(1.25rem, -0.63rem + 6.25vw, 1.875rem);
}
.header__item-messengers img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.header__phone {
  white-space: nowrap;
  font-size: clamp(0.9375rem, -0.56rem + 5vw, 1.4375rem);
  font-weight: 700;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.footer {
  padding: 2.5rem 0;
}
.footer__info {
  font-size: 0.8125rem;
  text-align: center;
  color: #776964;
}
.main {
  position: relative;
  padding: 5rem 0 2.1875rem;
}
.main__decor-image {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  width: 32.875rem;
  height: 35.875rem;
}
.main__decor-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.main__decor-top {
  position: absolute;
  top: -10.625rem;
  left: -10rem;
  z-index: -1;
  width: clamp(20.5rem, 9.25rem + 37.5vw, 24.25rem);
  height: clamp(23.3125rem, 13.94rem + 31.25vw, 26.4375rem);
}
.main__decor-top img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.main__title-subtitle:not(:last-child) {
  margin-bottom: 1.875rem;
}
.main__cards {
  position: relative;
}
.main__cards::before {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../img/main/bc.svg) center top/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.cards-list {
  position: relative;
  z-index: 3;
  max-width: 53.125rem;
  margin: 0 auto;
  text-align: center;
  padding: 13.8125rem 0.9375rem 6.25rem;
  display: -ms-grid;
  display: grid;
  justify-items: center;
  -ms-grid-columns: (1fr) [3];
  grid-template-columns: repeat(3, 1fr);
  gap: 3.3125rem;
}
.item-card {
  max-width: clamp(8.75rem, -0.44rem + 30.63vw, 11.8125rem);
}
.item-card br {
  display: none;
}
.item-card img {
  margin-bottom: clamp(0.625rem, -0.88rem + 5vw, 1.125rem);
  width: clamp(3.4375rem, 0.06rem + 11.25vw, 4.5625rem);
  height: clamp(3.4375rem, 0.06rem + 11.25vw, 4.5625rem);
}
.item-card p {
  font-weight: 500;
  font-size: clamp(1rem, 0.63rem + 1.25vw, 1.125rem);
}
.connect {
  padding: clamp(1.25rem, -0.63rem + 6.25vw, 1.875rem) 0
    clamp(1.125rem, -878.88rem + 2200vw, 2.5rem);
  position: relative;
}
.connect::before {
  content: "";
  width: clamp(20.5rem, 9.25rem + 37.5vw, 24.25rem);
  height: clamp(23.3125rem, 13.94rem + 31.25vw, 26.4375rem);
  background: url(../img/main/decor_gray.svg) 0 0 / contain no-repeat;
  position: absolute;
  bottom: -12.5rem;
  right: -2.1875rem;
  z-index: -1;
}
.connect__container {
  max-width: 80.375rem;
}
.connect__title-subtitle:not(:last-child) {
  margin-bottom: clamp(1.875rem, -998.13rem + 2500vw, 3.4375rem);
}
.form__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr) [3];
  grid-template-columns: repeat(3, 1fr);
  row-gap: clamp(0.9375rem, -1.88rem + 9.38vw, 1.875rem);
  -webkit-column-gap: 1.5625rem;
  -moz-column-gap: 1.5625rem;
  column-gap: 1.5625rem;
}
.form__input {
  position: relative;
}
.form__input label {
  position: absolute;
  top: 50%;
  left: clamp(1.25rem, -0.63rem + 6.25vw, 1.875rem);
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  font-size: 1.125rem;
  color: #776964;
}
.form__input label span {
  color: #f02626;
}
.form__input input {
  padding: clamp(0.9375rem, -0.38rem + 4.38vw, 1.375rem)
    clamp(1.25rem, -0.63rem + 6.25vw, 1.875rem);
  width: 100%;
  background: #f5f0eb;
  border: 1px solid #e0dad4;
  border-radius: clamp(1.125rem, -0.19rem + 4.38vw, 1.5625rem);
  font-size: clamp(1rem, 0.63rem + 1.25vw, 1.125rem);
  color: #776964;
}
.form__input input:focus {
  outline: 0;
  border: 1px solid gold;
}

.form .input-has-text {
  position: relative;
  z-index: 2;
}
.form__input input.error-field {
  border: 1px solid #f31515;
}

.form .error {
  padding: clamp(0.3125rem, -0.25rem + 1.88vw, 0.5rem)
    clamp(0.375rem, -0.38rem + 2.5vw, 0.625rem);
  font-size: clamp(0.75rem, 0.38rem + 1.25vw, 0.875rem);
  color: #fff;
  background: #f31515;
  border-radius: 0.125rem;
  display: none;
  position: absolute;
  z-index: 2;
  top: -0.875rem;
  right: -1.4375rem;
}

.form__input.show-error .error {
  display: inline-block;
}

.form__checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
}
.form__checkbox input {
  opacity: 0;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 1.1875rem;
  flex: 0 0 1.1875rem;
  width: 1.1875rem;
  height: 1.1875rem;
  background: #f5f0eb;
  border: 1px solid #e0dad4;
  cursor: pointer;
}
.form__checkbox label {
  font-size: clamp(1rem, 0.25rem + 2.5vw, 1.25rem);
  color: #776964;
  cursor: pointer;
}
.form__checkbox label a {
  color: #007bff;
}
.form__checkbox label::before {
  content: "";
  width: 1.1875rem;
  height: 1.1875rem;
  background: #f5f0eb;
  border: 1px solid #e0dad4;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0.25rem;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.form__checkbox label::after {
  content: "";
  width: 0.6875rem;
  height: 0.5rem;
  background: url(../img/icon/check.svg) 0 0 / contain no-repeat;
  position: absolute;
  top: 0.375rem;
  left: 0.3125rem;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.form__checkbox input:checked + label::before {
  border: 1px solid gold;
  background: gold;
}
.form__checkbox input:checked + label::after {
  opacity: 1;
}
.form__checkbox_fz-13 label {
  font-size: 0.8125rem;
}
.application-sent {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.35);
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.application-sent.hidden {
  visibility: hidden;
  opacity: 0;
}
.application-sent__wrapper {
  padding: 0 0.9375rem;
  min-height: 100%;
  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;
}
.application-sent__content {
  max-width: 26.875rem;
  text-align: center;
  padding: clamp(1.25rem, -2.5rem + 12.5vw, 2.5rem)
    clamp(1.5625rem, -0.69rem + 7.5vw, 2.3125rem);
  border-radius: 1.5625rem;
  -webkit-box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
}
.application-sent__image {
  width: clamp(4.4375rem, 0.69rem + 12.5vw, 5.6875rem);
  height: clamp(4.0625rem, 0.31rem + 12.5vw, 5.3125rem);
  margin: 0 auto clamp(0.625rem, -0.88rem + 5vw, 1.125rem);
}
.application-sent__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.application-sent__title-subtitle {
  max-width: 22.0625rem;
  margin: 0 auto;
}
.application-sent__title-subtitle:not(:last-child) {
  margin-bottom: 1.4375rem;
}
.application-sent__title-subtitle b {
  display: block;
  font-size: clamp(1.25rem, -0.06rem + 4.38vw, 1.6875rem);
  font-weight: 700;
  text-transform: uppercase;
}
.application-sent__title-subtitle b:not(:last-child) {
  margin-bottom: 0.3125rem;
}
.application-sent__title-subtitle p {
  font-size: clamp(0.9375rem, 0.38rem + 1.88vw, 1.125rem);
  color: #4b4b4a;
}
@media (max-width: 50em) {
  .form__grid {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 40em) {
  .title-subtitle p {
    font-size: clamp(1rem, 0.25rem + 2.5vw, 1.25rem);
  }
  .header__logo {
    gap: 0.3125rem;
  }
  .footer {
    padding: 1.5625rem 0;
  }
  .footer__info span {
    display: block;
  }
  .main {
    padding: clamp(1.5625rem, -1.25rem + 9.38vw, 2.5rem) 0
      clamp(1.5625rem, -0.31rem + 6.25vw, 2.1875rem);
  }
  .main__cards::before {
    background: url(../img/main/bc_mobile.svg) center top/cover no-repeat;
  }
  .cards-list {
    gap: clamp(1.4375rem, -0.44rem + 9.38vw, 3.3125rem);
    padding: clamp(7.5rem, -3.75rem + 37.5vw, 11.25rem) 0.9375rem
      clamp(3.125rem, -1996.88rem + 5000vw, 6.25rem);
  }
  .item-card br {
    display: block;
  }
  .connect::before {
    bottom: -8.75rem;
    right: -5.125rem;
  }
  .form__grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .form__checkbox {
    gap: 0.625rem;
  }
  .form__checkbox label {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }
}
@media (max-width: 30em) {
  .cards-list {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 98.125em) {
  .main__decor-image {
    right: -4.375rem;
  }
}
@media (max-width: 87.5em) {
  .form .error {
    right: -0.5rem;
  }
}
@media (max-width: 85.3125em) {
  .main__decor-image {
    right: -9.375rem;
  }
}
@media (max-width: 78.125em) {
  .main__decor-image {
    display: none;
  }
}
@media (max-width: 61.99875em) {
  .main__decor-top {
    left: unset;
    top: -12.5rem;
    right: -5rem;
  }
  .main__decor-top img {
    -webkit-filter: brightness(0) saturate(100%) invert(100%) sepia(1%)
      saturate(242%) hue-rotate(70deg) brightness(119%) contrast(91%);
    filter: brightness(0) saturate(100%) invert(100%) sepia(1%) saturate(242%)
      hue-rotate(70deg) brightness(119%) contrast(91%);
  }
}
@media (max-width: 31.25em) {
  .form .error {
    top: -0.625rem;
  }
}
@media (max-width: 22.5em) {
  .header__logo-text {
    font-size: 0.6875rem;
  }
  .header__phone {
    font-size: 0.8125rem;
  }
}
@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: #fde351;
  }
  .header__item-messengers img:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }
  .header__phone:hover {
    color: var(--color-hover);
  }
  .form__checkbox label a:hover {
    text-decoration: underline;
  }
}
