@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Pro';
  src: url('../fonts/Pro.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #101f3d;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
.page-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
}
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  background: var(--white);

  margin-inline: auto;
}
.form-group {
  display: flex;
  width: 100%;
  max-width: 1140px;
  flex-wrap: wrap;
}
.form__checker {
  max-width: 1140px;
}
.check-status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
}
.check-result {
  display: grid;
  max-width: 811px;
  margin: 20px 0 0;
  padding: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 30px;
  color: #485068;
  background: #fff;
}
.check-result[hidden] { display: none; }
.check-result div { min-width: 0; }
.check-result dt { color: #8a929b; font-size: 12px; text-transform: uppercase; }
.check-result dd { margin: 5px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.input {
  display: inline-block;
  width: 100%;
  max-width: 665px;
  height: 50px;
  line-height: 24px;
  padding: 6px 21px 6px 21px;
  margin: 0;
  border: 0 none;
  background-color: #fff;
  outline: 0;
  flex-grow: 8;
  color: rgb(73, 80, 87);
  font-size: 15px;
  border-right: 1px solid #ced4da;
}

.input::placeholder {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}
.search-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-self: center;
  margin: 0 15px;
  color: #ffffff;

  svg {
    stroke: #ffffff;
    stroke-width: .5px;
  }

}
.btn {
  width: 16.6666666667%;
  background-color: #EB9C4D;
  font-size: 18px;
  border: none;
  border-radius: 0px 3px 3px 0;
  border-left: 0;
  min-height: 30px;
  padding: 10px 12px;
  color: #fff;
  transition: all .25s;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  svg {
    transform: rotate(90deg);
    margin-left: 8px;
  }
}

.btn:hover {
  background-color: rgb(68, 68, 68);
}

.logo {
  width: 100px;
  height: 100px;
}
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 30px;
  width: 100%;
}
.main-title {
  font-family: 'Pro', sans-serif;
  font-size: 28px;
  padding: 16px 12px 0;
  margin-bottom: 23px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav { display: flex; align-items: center; gap: 40px; height: 100%; margin-right: 18px; }
.burger-svg {
  width: 30px;
  height: 30px;
  stroke: #0066b3;
  color: #0066b3;
  stroke-width: 1px;
}
.main-nav a { position: relative; color: #59657a; font-size: 20px; font-weight: 600; letter-spacing: .08em; text-decoration: none; transition: color .2s ease; }
.nav-label { display: none; }
.menu-toggle { display: none; width: 42px; padding: 8px; border: 0; background: transparent; }
.hero {
  position: relative;
  background: url('../images/background.png') no-repeat;
  background-position: 0px -90px;
  min-height: 70vh;
  padding: 130px 0 0 0;
  color: #fff;
}
.main-nav svg path {
  stroke: #888;
  stroke-width: .5px;
  stroke-linejoin: round;
}
h1 { margin: 0; font-size: clamp(36px, 4.3vw, 61px); line-height: 1.12; letter-spacing: -.045em; }
.modal { position: fixed; z-index: 100; inset: 0; display: grid; padding: 20px; place-items: center; transition: opacity .25s, visibility .25s; }
.modal.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9, 21, 42, .12); }
.modal-card {
  display: flex;
  flex-direction: column;
  position: relative;
  left: 0;
  right: 0;
  width: 400px;
  height: 400px;
  border: 2px solid #EB9C4D;
  background-color: white;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #485068;
  padding: 20px 0;
  animation: slide-down 1s;
}
.modal.is-hidden .modal-card { animation: none; }
@keyframes slide-down {
  from { opacity: 0; transform: translateY(calc(-50vh - 100%)); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-confirm {
  display: block;
  width: 83px;
  min-width: 83px;
  height: 38px;
  margin: 0 auto 0;
  border: 0;
  border-radius: 3px;
  color: white;
  background-color: #EB9C4D;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.modal-confirm:active { transform: translateY(1px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-footer {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: space-between;
  color: #8b96a8;
  font-size: 11px;

  background: #dcdcdd url('../images/footer-bg.png') no-repeat right bottom;
  background-size: 50%;
}
.footer-row {
  padding: 18px;
  background-color: #e5e5e5;
  color: #405965;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

.modal-card-text {
  font-family: 'Pro', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  text-align: center;
  margin: 0 0 14px 0;
  color: #485068;
  text-decoration: none;
  letter-spacing: .2px;
  max-width: 146px;

}
.payment-confirmation {
  width: min(100%, 350px);
  margin-bottom: 20px;
  color: #485068;
  font-family: 'Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.payment-confirmation p {
  max-width: 340px;
  margin: 0 auto 28px;
  font-size: 22px;
  line-height: 1.3;
}
.payment-confirmation dl { margin: 0; text-align: center; font-size: 14px; }
.payment-confirmation dl div { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.payment-confirmation dt,
.payment-confirmation dd { margin: 0; overflow-wrap: anywhere; }
.payment-confirmation dd { min-width: 0; }
.payment-success-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border: 3px solid #63ad4e;
  border-radius: 50%;
}
.payment-success-icon::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 11px;
  width: 27px;
  height: 17px;
  border: solid #63ad4e;
  border-width: 0 0 4px 4px;
  transform: rotate(-45deg);
}
#payment-modal .modal-confirm {
  width: 100px;
  height: 44px;
  font-size: 17px;
  font-weight: 400;
}
.payment-error-message {
  max-width: 340px;
  margin: 0 0 12px;
  color: #485068;
  font-family: 'Pro', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .7px;
}
.payment-error-message strong { text-transform: uppercase; }
.payment-error-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border: 3px solid #cf6077;
  border-radius: 50%;
}
.payment-error-icon::before,
.payment-error-icon::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 8px;
  width: 36px;
  height: 3px;
  background: #cf6077;
}
.payment-error-icon::before { transform: rotate(45deg); }
.payment-error-icon::after { transform: rotate(-45deg); }
#payment-error-modal .modal-confirm {
  width: 100px;
  height: 44px;
  font-size: 17px;
  font-weight: 400;
}

@media (max-width: 700px) {
  .payment-confirmation { font-size: 15px; letter-spacing: .8px; }
  .payment-confirmation p { margin-bottom: 24px; font-size: 20px; }
  .payment-confirmation dl div { margin-top: 13px; }
}

.feedback-page[hidden] { display: none; }
.feedback-hero {
  max-height: 181px;
  color: #fff;
  background: url('../images/background.png') no-repeat;
  background-position: 0px -110px;
}
.feedback-hero__inner {
  display: flex;
  padding: 30px;
  align-items: center;
  justify-content: space-between;
  height: 181px;
}
.feedback-hero h1 {
  font-family: 'Pro', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.feedback-hero p {
  margin: 0 0 0 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .5px;
}
.feedback-hero__icon {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  color: #fff;
}
.feedback-form-section {
  padding: 73px 38px 40px;
  background: #fff;
}
.feedback-form {
  display: flex;
  max-width: 1844px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}
.feedback-form textarea {
  width: 100%;
  max-width: 1140px;
  max-height: 160px;
  height: 112px;
  border: 2px solid #9ba4a9;
  padding: 6px 9px 6px 9px;
  border-radius: 0;
  outline: none;
  font: 16px 'Open Sans', sans-serif;
  resize: inherit;
}
.feedback-form button {
  width: 100px;
  height: 40px;
  margin-top: 76px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #ee9e4d;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.feedback-form button:hover { background: #444; }
.feedback-success {
  max-width: 850px;
  font-size: 22px;
  margin-bottom: 13px;
  color: #485068;
  font-weight: normal;
  font-family: 'Pro', sans-serif;
  padding: 0;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

@media (max-width: 858px) {
  .form-group {
    flex-direction: column;
  }

  .input {
    max-width: none;
    border-right: 0;
    border-radius: 3px 3px 0 0;
  }

  .btn {
    width: 100%;
    max-width: none;
    min-height: 41.5px;
    border-radius: 0 0 3px 3px;
  }
}

@media (max-width: 720px) {
  .site-header {
    max-width: 1200px;
    margin-inline: auto;
  }
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav {
    position: absolute;
    top: 100px;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    padding: 4px 30px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: white;
    box-shadow: 0 18px 30px rgba(21,54,97,.1);
  }
  .main-nav.is-open { display: flex; }
  .main-nav.is-open a {
    padding-block: 5px;
  }
  .main-nav a {
    display: flex;
    width: 100%;
    padding: 0 10px;
    align-items: center;
    gap: 27px;
    border-top: 1px solid #111;
    color: #929292;
  }
  .main-nav a::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: auto;
    flex: 0 0 5px;
    border-top: 1px solid #929292;
    border-right: 1px solid #929292;
    transform: rotate(45deg);
  }
  .main-nav a.active::after { position: static; background: none; }
  .main-nav a svg { width: 20px; height: 20px; flex: 0 0 20px; color: #929292; }
  .main-nav a.active svg { color: #0875bd; }
  .nav-label {
    display: inline;
    font-family: 'Pro', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    text-shadow: 1px 1px 1px #d1d1d1;
  }
  .hero { min-height: calc(100vh - 84px); padding: 55px 16px; }
  h1 { font-size: 36px; }
  .check-result { grid-template-columns: 1fr; }
  .modal {
    padding: 16px;
  }
  .modal-card {
    width: 100%;
    max-width: 404px;
    height: min(400px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    padding: 32px 20px;
    overflow-y: auto;
  }
  .modal-card-text {
    width: 100%;
    max-width: 300px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .feedback-hero,
  .feedback-hero__inner { min-height: 240px;  }
  .feedback-hero__inner { padding: 30px; }
  .feedback-hero h1 { margin-bottom: 20px; font-size: 28px;  }
  .feedback-hero p { margin-left: 0; font-size: 18px; }
  .feedback-hero p br { display: none; }
  .feedback-hero__icon { display: none; }
  .feedback-form-section { padding: 55px 20px 60px; }
  .feedback-form textarea { height: 180px; }
  .feedback-form button { width: 130px; height: 50px; margin-top: 35px; }

  .site-footer { padding: 24px 20px; }
}
