@charset "UTF-8";

/*---------------- Fonts ---------------*/

@import url("https://fonts.googleapis.com/css?family=Montserrat:300,regular,500,600,700,800,900&display=swap");

/*---------- Reset styles --------------*/

* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

:focus,
:active {
  outline: none;
}

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

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

html,
body {
  height: 100%;
  min-width: 100%;
  font-size: 62.5%;
  font-weight: 400;
}

body {
  color: #000;
  line-height: 1;
  font-family: "Montserrat";
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input {
  font-size: 1.6rem;
}

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

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

button {
  cursor: pointer;
}

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

a {
  color: inherit;
}

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

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

/*-------------- Body ------------------*/

body {
  font-size: 1.6rem;
  overflow-x: hidden;
  background-color: #212529;
}

body._lock {
  overflow: hidden;
}

/*---------------- Wrapper ----------------*/

.wrapper {
  min-height: 100%;
  overflow: clip;
  display: flex;
  flex-direction: column;
}

.wrapper > main {
  flex: 1 1 auto;
}

/*--------------- Container ----------------*/

[class*="__container"] {
  max-width: 120rem;
  box-sizing: content-box;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/*--------------- ibg ------------------*/

[class*="_ibg"] {
  position: relative;
}

[class*="_ibg"] img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[class*="_ibg"][class*="_ibg-contain"] img {
  object-fit: contain;
  height: auto;
}

.btn {
  background-color: inherit;
}

.btn--gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 20rem;
  min-height: 4rem;
  border-radius: 0.5rem;
  border: 0.1rem solid transparent;
  background-color: #495057;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease 0s;
}

.title--h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

input:not(:last-child),
.form-main__item:not(:last-child) {
  margin-bottom: 0.4rem;
}

._required {
  color: #e03131;
}

/*---------------- Forms -------------------*/

.contact-item__select-box {
  position: relative;
}

.contact-item__selected-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.2rem;
}

.contact-item__selected-option div:first-child {
  flex: 0 0 6.12rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1.3rem 0.8rem;
  background-color: #e9ecef;
  border-radius: 0.3rem;
  cursor: pointer;
}

.contact-item__selected-option div:first-child::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 40%;
  transform: translateY(-40%) rotate(45deg);
  width: 1.2rem;
  height: 1.2rem;
  border-right: 0.16rem solid #000;
  border-bottom: 0.16rem solid #000;
  transition: all 0.3s ease 0s;
}

.contact-item__selected-option div:first-child._active::after {
  transform: rotate(225deg);
}

.contact-item__selected-option div:nth-child(2) {
  flex: 1 1 auto;
}

.contact-item__options {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 5rem;
  width: 100%;
  transition: all 0.1s ease 0s;
}

.contact-item__options::before {
  position: absolute;
  content: "";
  left: 1.6rem;
  top: -1.8rem;
  width: 0;
  height: 0;
  border: 1rem solid transparent;
  border-bottom-color: #000;
}

.contact-item__options._active {
  opacity: 1;
  visibility: visible;
}

.options-coutries__input {
  width: 100%;
  padding: 1.6rem 1rem;
  background-color: #000;
  border-radius: 0.3rem 0.3rem 0 0;
  color: #fff;
  margin-bottom: 0 !important;
}

.options-coutries__input::placeholder {
  color: #fff;
}

.options-coutries__list {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 0;
  gap: 0.8rem;
  list-style: none;
  max-height: 30rem;
  overflow: overlay;
  border: 0.1rem solid #e9ecef;
  background-color: #fff;
  z-index: 2;
}

.options-coutries__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 1rem;
  transition: all 0.3s ease 0s;
}

.options-coutries__item:not(:last-child) {
  border-bottom: 0.1rem solid #e9ecef;
}

.options-coutries__item._hide {
  display: none;
}

.options-coutries__item div:first-child {
  display: flex;
  gap: 0.8rem;
}

.form-error {
  padding: 0.4rem 0rem;
  color: #e03131;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 120%;
  display: none;
}

.form-error--phone._active {
  display: block;
}

.form-error--email._active {
  display: block;
}

.form-error--reply._active {
  display: block;
}

/*----------------- UI ---------------------*/

.menu {
  margin-left: auto;
  margin-right: 1.6rem;
}

.menu__list {
  text-align: center;
}

.menu__icon {
  position: relative;
  width: 4rem;
  height: 3rem;
}

.menu__icon:before,
.menu__icon:after {
  content: "";
}

.menu__icon .menu__line,
.menu__icon:before,
.menu__icon:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 15%;
  background-color: #d1a473;
  transition: all 0.3s ease 0s;
}

.menu__icon:before {
  top: 0;
}

.menu__icon:after {
  bottom: 0;
}

.menu__icon._active:before {
  top: 50%;
  transform: rotate(45deg) translate(0, -50%);
}

.menu__icon._active .menu__line {
  transform: scale(0);
}

.menu__icon._active:after {
  bottom: 50%;
  transform: rotate(-45deg) translate(0, 50%);
}

.menu__icon:hover._active::before {
  top: 50%;
  transform: rotate(45deg) translate(0, -50%);
}

.menu__icon:hover._active::after {
  bottom: 50%;
  transform: rotate(-45deg) translate(0, 50%);
}

.menu__line {
  top: 50%;
  transform: scale(1) translate(0, -50%);
}

/*----------------- Header -----------------*/

.header__body {
  padding: 1.6rem 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3.6rem;
}

.header__logo {
  width: 20rem;
  height: 9.3rem;
}

.header__language {
  color: #fff;
  font-size: 1.8rem;
  display: none;
}

.header__language._active {
  display: block;
}

/*----------------- Footer -----------------*/

/*------------------ Main ------------------*/

.main__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main__thankyou {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
}

.main__policy {
  padding: 2rem 0rem 2rem 0rem;
}

.content-main__container {
  position: relative;
  max-width: 100rem;
  padding: 4rem;
  background-color: #fff;
}

.content-main__container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6) url("../assets/images/loader.gif") 50% 75%/5rem no-repeat;
  opacity: 0;
  visibility: hidden;
}

.content-main__container._sending::after {
  opacity: 1;
  visibility: visible;
}

.content-main__form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: all 0.8s ease 0s;
}

.form-main__row .form-main__block {
  border-radius: 0.5rem;
  border: 0.1rem solid #ced4da;
  padding: 2rem;
}

.form-main__block:has(.rating__items._error) {
  border: 0.1rem solid red;
}

.form-main__block:last-of-type {
  margin-bottom: 2rem;
}

.form-main__item {
  position: relative;
  font-size: 4rem;
  display: inline-block;
}

.form-main__item::before {
  content: "★★★★★";
  display: block;
  color: #ced4da;
}

.form-main__review._hidden {
  display: none;
}

.form-main__recommendation {
  position: relative;
  font-size: 1.8rem;
  display: inline-block;
  height: 2rem;
}

.form-main__addition {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-main__files {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-main__checkbox._error .checkbox__label::before {
  border: 0.1rem solid red;
}

.form-main__notiffication {
  text-align: center;
  color: #f03e3e;
  margin-bottom: 0.6rem;
}

.form-main__submit {
  font-size: 1.6rem;
}

.form-main__submit--next._hidden {
  display: none;
}

.form-main__submit--submit._hidden {
  display: none;
}

.rating__title--textarea {
  margin-bottom: 0.8rem;
}

.rating__items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row-reverse;
  overflow: hidden;
}

.rating__item {
  position: absolute;
  width: 0%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  top: 0;
  left: 0;
}

.rating__item:checked ~ .rating__label {
  color: #ffd43b;
}

.rating__label {
  flex: 0 0 20%;
  height: 100%;
  cursor: pointer;
  color: transparent;
}

.rating__label::before {
  content: "★";
  display: block;
  transition: color 0.3s ease 0s;
}

.recommendation__items {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 3rem;
  margin-bottom: 1.6rem;
}

.recommendation__item {
  position: absolute;
  width: 0%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  top: 0;
  left: 0;
}

.recommendation__item:checked + label {
  border: 0.1rem solid transparent;
  color: #fff;
}

.recommendation__item:checked + label._low {
  background-color: #f03e3e;
}

.recommendation__item:checked + label._mid {
  background-color: #f76707;
}

.recommendation__item:checked + label._height {
  background-color: #2f9e44;
  text-align: right;
}

.recommendation__label {
  position: relative;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  min-width: 4rem;
  min-height: 4rem;
  font-size: 1.8rem;
  justify-content: center;
  color: #adb5bd;
  font-weight: 700;
  transition: color 0.3s ease 0s;
}

.recommendation__help {
  display: none;
}

.recommendation__low {
  color: #f03e3e;
}

.recommendation__height {
  color: #2f9e44;
}

.recommendation__textarea textarea {
  width: 100%;
  border: 0.1rem solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.6rem 2rem;
  resize: vertical;
}

.recommendation__textarea textarea:focus {
  border: 0.1rem solid #495057;
}

.rating__label:hover,
.rating__label:hover ~ .rating__label,
.rating__label:checked ~ .rating__label:hover {
  color: #ffd43b;
}

.item-contacts__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.8rem;
}

.item-contacts__item:not(:last-child) {
  margin-bottom: 0.8rem;
}

.item-contacts__input {
  padding: 1rem 0.8rem;
  border: 0.1rem solid #dee2e6;
  border-radius: 0.3rem;
  width: 100%;
  margin-bottom: 1.2rem;
}

.item-contacts__input:focus {
  border: 0.1rem solid #495057;
}

.item-contacts__input._error {
  border: 0.1rem solid #e03131;
}

.item-contacts._hidden {
  display: none;
}

.file__item {
  position: relative;
}

.file__button {
  font-size: 4.2rem;
}

.file__input {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  font-size: 0;
  cursor: pointer;
}

.file__preview {
  display: inline-block;
  max-width: 10rem;
}

.file__preview img {
  max-width: 100%;
}

.record__open-recorder {
  font-size: 4.6rem;
  cursor: pointer;
}

.record__body {
  display: none;
  align-items: center;
  gap: 2rem;
}

.record__body._active {
  display: flex;
}

.record__player {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.record__button {
  position: relative;
  display: none;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: crimson;
  --pad: 1rem;
}

.record__button._active {
  display: block;
}

.record__button span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 4rem;
  user-select: none;
  -webkit-user-select: none;
}

.record__button::before,
.record__button::after {
  --pad: 0rem;
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  background-color: rgba(220, 20, 60, 0.2);
  top: var(--pad);
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  border-radius: 50%;
}

.record__button::after {
  transition: 0.4s;
}

.record__button::before {
  transition: 0.2s;
}

.record__button.is-recording:after {
  animation: smoothPadAfter 0.6s ease-in alternate-reverse forwards infinite;
}

.record__button.is-recording:before {
  animation: smoothPadBefore 0.6s ease-in alternate-reverse forwards infinite;
}

.record__counter {
  font-size: 2.2rem;
}

.record__remove {
  display: none;
  align-self: baseline;
  color: red;
  background-color: #fff;
  border: 0.1rem solid #000;
  cursor: pointer;
}

.record__remove._active {
  display: block;
}

.stop__button {
  display: none;
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: crimson;
  --pad: 1rem;
}

.stop__button._active {
  display: block;
}

.stop__button span {
  position: relative;
  top: 0.1rem;
  z-index: 1;
  color: #fff;
  font-size: 4.5rem;
}

.stop__button::before,
.stop__button::after {
  --pad: 0rem;
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  background-color: rgba(220, 20, 60, 0.2);
  top: var(--pad);
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  border-radius: 50%;
}

.stop__button::after {
  transition: 0.4s;
}

.stop__button::before {
  transition: 0.2s;
}

.stop__button.is-recording:after {
  animation: smoothPadAfter 0.6s ease-in alternate-reverse forwards infinite;
}

.stop__button.is-recording:before {
  animation: smoothPadBefore 0.6s ease-in alternate-reverse forwards infinite;
}

.is-hidden {
  display: none;
}

.files__image {
  position: relative;
}

.files__remove {
  display: none;
  position: absolute;
  top: 0rem;
  right: 0rem;
  color: red;
  background-color: #fff;
  border: 0.1rem solid #000;
  cursor: pointer;
}

.files__remove._active {
  display: block;
}

.checkbox__input {
  display: none;
}

.checkbox__input:checked + .checkbox__label::after {
  transform: scale(1);
}

.checkbox__label {
  line-height: 140%;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox__label::before {
  content: "";
  align-self: flex-start;
  flex: 0 0 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 0.1rem solid #000;
  margin-right: 1rem;
}

.checkbox__label::after {
  content: "";
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  top: 0.3rem;
  left: 0.3rem;
  border-radius: 0.5rem;
  background-color: #1864ab;
  transform: scale(0);
  transition: transform 0.5s ease 0s;
}

.checkbox__label a {
  font-weight: 500;
}

button {
  appearance: none;
  border: none;
  outline: none;
  background-color: inherit;
  cursor: pointer;
}

@keyframes smoothPadAfter {
  0% {
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
  }

  100% {
    top: -1rem;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
  }
}

@keyframes smoothPadBefore {
  0% {
    top: -1rem;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
  }

  100% {
    top: -0.5rem;
    left: -0.5rem;
    right: -0.5rem;
    bottom: -0.5rem;
  }
}

.playback {
  margin-bottom: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  display: none;
}

.playback._active {
  display: block;
}

.policy-main__container {
  color: #fff;
}

.policy-main__title {
  font-size: 2rem;
  line-height: 130%;
  margin-bottom: 1.2rem;
}

.policy-main__text {
  line-height: 140%;
  margin-bottom: 1rem;
}

.policy-main__list {
  margin-bottom: 1rem;
}

.list-policy__item {
  list-style: disc;
  margin-left: 2%;
}

.list-policy__item:not(:last-child) {
  margin-bottom: 1rem;
}

.answer-main__container {
  max-width: 80rem;
  padding: 3rem;
  background-color: #fff;
}

.answer-main__container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6) url("../assets/images/loader.gif") 50% 50%/5rem no-repeat;
  opacity: 0;
  visibility: hidden;
}

.answer-main__container._sending::after {
  opacity: 1;
  visibility: visible;
}

.answer-main__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.answer-main__form {
  display: flex;
  flex-direction: column;
}

.item-review__image {
  width: 7rem;
  height: 5rem;
}

.item-review__comment {
  line-height: 130%;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 0.1rem solid #e9ecef;
}

.form-answer__name {
  padding-bottom: 3rem;
  border-bottom: 0.1rem solid #e9ecef;
}

.form-answer__textarea {
  min-width: 100%;
  resize: none;
  padding-bottom: 3rem;
  font-size: 1.6rem;
  margin-bottom: 3rem;
  border-bottom: 0.1rem solid #e9ecef;
}

.form-answer__counter {
  display: block;
  margin-bottom: 2rem;
}

@media (min-width: 29.998em) {
  .recommendation__label {
    border: 0.1rem solid;
  }

  .recommendation__help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 47.998em) {
  .form-main__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 61.998em) {
  .form-main__addition {
    justify-content: flex-end;
  }
}

@media (max-width: 75rem) {
  .title--h3 {
    font-size: calc(1.6rem + 0.2 * ((100vw - 32rem) / 88));
  }

  .title--h3 {
    margin-bottom: calc(1.6rem + -0.8 * ((100vw - 32rem) / 88));
  }

  .menu {
    margin-right: calc(0.6rem + 1 * ((100vw - 32rem) / 88));
  }

  .header__logo {
    width: calc(15rem + 5 * ((100vw - 32rem) / 88));
  }

  .header__logo {
    height: calc(6.98rem + 2.32 * ((100vw - 32rem) / 88));
  }

  .content-main__container {
    padding: calc(1.5rem + 2.5 * ((100vw - 32rem) / 88));
  }

  .content-main__form {
    gap: calc(1.6rem + 0.4 * ((100vw - 32rem) / 88));
  }

  .form-main__row .form-main__block {
    padding: calc(1rem + 1 * ((100vw - 32rem) / 88));
  }

  .recommendation__items {
    gap: calc(0.2rem + 2.8 * ((100vw - 32rem) / 88));
  }

  .recommendation__items {
    margin-bottom: calc(0.8rem + 0.8 * ((100vw - 32rem) / 88));
  }

  .recommendation__label {
    min-width: calc(2.4rem + 1.6 * ((100vw - 32rem) / 88));
  }

  .recommendation__label {
    min-height: calc(2.4rem + 1.6 * ((100vw - 32rem) / 88));
  }
}

@media (max-width: 47.998em) {
  .form-main__block:not(:last-child) {
    margin-bottom: 2rem;
  }

  .form-main__files {
    flex-direction: column-reverse;
  }

  .record__body._active {
    flex-direction: column;
    align-self: flex-end;
  }

  .record__button._active {
    align-self: flex-end;
  }

  .record__counter {
    align-self: flex-end;
  }

  .files__image {
    align-self: flex-start;
  }
}

@media (max-width: 47.998em) and (max-width: 75rem) {
  .form-main__block:not(:last-child) {
    margin-bottom: calc(0.8rem + 1.2 * ((100vw - 32rem) / 88));
  }
}

@media (max-width: 29.998em) {
  .answer-main__item {
    flex-direction: column;
  }
}

@media (any-hover: hover) {
  .btn--gray:hover {
    color: #000;
    border: 0.1rem solid #495057;
    background-color: transparent;
  }

  .options-coutries__item:hover {
    cursor: pointer;
    background-color: #e3fafc;
  }

  .menu__icon:hover {
    cursor: pointer;
  }

  .menu__icon:hover::before {
    top: 0.2rem;
  }

  .menu__icon:hover::after {
    bottom: 0.2rem;
  }

  .recommendation__label:hover {
    cursor: pointer;
    color: #495057;
  }

  .record__button:hover::before {
    --pad: -1rem;
  }

  .record__button:hover::after {
    --pad: -2rem;
  }

  .stop__button:hover::before {
    --pad: -1rem;
  }

  .stop__button:hover::after {
    --pad: -2rem;
  }

  .checkbox__label a:hover {
    text-decoration: underline;
  }
}