button {
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}

.modal-overlay {
  display: none;
  background: rgba(8, 19, 62, 0.2);
  backdrop-filter: blur(6px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px 0 rgba(58, 112, 191, 0.15);
}
@media (min-width: 768px) {
  .modal {
    min-width: 656px;
    padding: 48px;
  }
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.modal__image {
  width: 140px;
  height: 100px;
}
.modal__text-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #1C1F25;
}
.modal__text-description {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.57;
  color: #8D8D8D;
  margin: 16px 0 24px 0;
}
.modal__button {
  border-radius: 8px;
  background: #000C37;
  width: 100%;
  padding: 10px 30px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.62;
}
@media (min-width: 768px) {
  .modal__button {
    width: 145px;
  }
}
.modal__button:hover {
  opacity: 0.9;
}

.show {
  display: flex;
}

.contact-us {
  padding: 5px 0 40px 0;
}
@media (min-width: 768px) {
  .contact-us {
    padding: 40px 0;
  }
}
.contact-us__title {
  display: none;
}
@media (min-width: 768px) {
  .contact-us__title {
    display: block;
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.16;
    color: #1C1F25;
  }
}
.contact-us__content {
  display: flex;
  flex-direction: column;
  padding: 5px 5px 43px 5px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 60px 30px rgba(0, 0, 0, 0.03);
}
@media (min-width: 768px) {
  .contact-us__content {
    margin-top: 40px;
  }
}
@media (min-width: 1200px) {
  .contact-us__content {
    flex-direction: row;
    padding: 10px;
  }
}
.contact-us__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #387FF5;
  border-radius: 20px;
  padding: 15px 0 110px 0;
}
@media (min-width: 768px) {
  .contact-us__info {
    padding-bottom: 31px;
  }
}
@media (min-width: 1200px) {
  .contact-us__info {
    flex: 1.4;
    height: 650px;
    padding: 40px;
    justify-content: start;
    align-items: start;
  }
}
.contact-us__subtitle {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 6px;
}
@media (min-width: 1200px) {
  .contact-us__subtitle {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
  }
}
.contact-us__description {
  color: #C9C9C9;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
@media (min-width: 1200px) {
  .contact-us__description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
  }
}
.contact-us__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 12px;
}
@media (min-width: 1200px) {
  .contact-us__list {
    gap: 50px;
    margin-top: 110px;
  }
}
.contact-us__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media (min-width: 1200px) {
  .contact-us__item {
    flex-direction: row;
    gap: 25px;
  }
}
.contact-us__icon {
  width: 24px;
  height: 24px;
}
.contact-us__link, .contact-us__address {
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}
@media (min-width: 1200px) {
  .contact-us__link, .contact-us__address {
    text-align: start;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
  }
}
.contact-us__form {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 30px;
}
@media (min-width: 768px) {
  .contact-us__form {
    padding-top: 74px;
  }
}
@media (min-width: 1200px) {
  .contact-us__form {
    flex: 2;
    padding: 60px 50px 0 50px;
  }
}
.contact-us__form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .contact-us__form-body {
    max-width: 300px;
    margin: 0 auto;
  }
}
@media (min-width: 1200px) {
  .contact-us__form-body {
    flex-direction: row;
    flex-wrap: wrap;
    -moz-column-gap: 28px;
         column-gap: 28px;
    row-gap: 45px;
    max-width: unset;
    margin: unset;
  }
}
.contact-us__field {
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1200px) {
  .contact-us__field {
    width: 278px;
  }
}
.contact-us__field--message {
  width: 100%;
}
@media (min-width: 1200px) {
  .contact-us__field--message {
    margin-top: 100px;
  }
}
.contact-us__field:focus-within label {
  color: #1C1F25;
}
.contact-us__label {
  margin-bottom: 8px;
  color: #8D8D8D;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.66;
}
.contact-us__input {
  width: 100%;
  height: 35px;
  outline: none;
  border: none;
  border-bottom: 1px solid #8D8D8D;
  color: #1C1F25;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
}
@media (min-width: 1200px) {
  .contact-us__input {
    padding-left: 5px;
  }
}
.contact-us__input::-moz-placeholder {
  color: #8D8D8D;
}
.contact-us__input::placeholder {
  color: #8D8D8D;
}
.contact-us__send-m {
  cursor: pointer;
  border: none;
  outline: none;
  width: 100%;
  border-radius: 3px;
  background: #011C2A;
  box-shadow: 0 0 8.963px 0 rgba(0, 0, 0, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
}
@media (min-width: 1200px) {
  .contact-us__send-m {
    margin-left: auto;
    padding: 15px 48px;
    width: 214px;
  }
}
.contact-us .error-message {
  display: none;
}
.contact-us .show-error {
  display: inline-block;
  color: #f00;
  font-size: 12px;
  margin-top: 3px;
}
.contact-us .input-error {
  border-bottom: 2px solid #f00;
}
.contact-us .input-error::-moz-placeholder {
  color: #f00;
}
.contact-us .input-error::placeholder {
  color: #f00;
}
.contact-us .lable-error {
  color: #f00;
}
