/* Shared header layout and interaction styles. */
header .mhb-nav {
  flex-wrap: wrap;
  gap: 8px;
}

header .mhb-n-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  background-color: rgba(22, 33, 62, 0.65);
  color: #fff;
  line-height: 1.4;
  text-align: center;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

header .mhb-n-link:hover,
header .mhb-n-link:focus-visible {
  background-color: #b63746;
  color: #fff;
  box-shadow: 0 3px 12px rgba(22, 33, 62, 0.18);
}

header .mhb-n-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

header .mhb-meet-banner {
  width: 720px;
  max-width: 100%;
  margin-left: 0;
  padding: 0 28px 32px;
}

header .mhb-mt-title {
  max-width: 440px;
}

header .mhb-form-wrap {
  width: 100%;
  padding: 28px;
}

header .mhb-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

header .mhb-form-row {
  width: 100%;
  gap: 20px;
}

header .mhb-form-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.mhb-form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 8px;
}

.mhb-form-field--wide {
  grid-column: 1 / -1;
}

header .mhb-form-data label {
  margin: 0;
  color: #42464d;
  font-size: 14px;
  line-height: 1.5;
}

header .input-formelement_item,
header .textarea-formelement_item {
  flex: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #c5c6c1;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: none;
  color: #222831;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

header .input-formelement_item {
  height: 50px;
}

header .textarea-formelement_item {
  min-height: 100px;
  resize: vertical;
}

header .input-formelement_item:focus,
header .textarea-formelement_item:focus {
  outline: none;
  border: 1px solid #b63746;
  box-shadow: 0 0 0 3px rgba(182, 55, 70, 0.16);
}

header .mhb-form-check {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

header .mhb-form-check input {
  flex: 0 0 20px;
  margin: 2px 0 0;
  accent-color: #b63746;
  cursor: pointer;
}

header .mhb-form-check label {
  font-size: 14px;
  line-height: 24px;
}

header .mhb-form-check a {
  color: #a12e3c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

header .mhb-form .button-5 {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #b63746;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

header .mhb-form .button-5:hover,
header .mhb-form .button-5:focus-visible {
  background-color: #912936;
  box-shadow: 0 4px 14px rgba(145, 41, 54, 0.24);
  letter-spacing: 0;
}

header .mhb-form .button-5:active {
  background-color: #78212c;
  letter-spacing: 0;
}

header .mhb-form .button-5:focus-visible {
  outline: 3px solid #222831;
  outline-offset: 3px;
}

header .mhb-form .button-5::before,
header .mhb-form .button-5::after {
  content: none;
}

@media (max-width: 767px) {
  header .main-big-header-case {
    padding-top: 0;
  }

  header .mbh-navbar {
    position: relative;
    left: auto;
    transform: none;
    padding: 20px 20px 0;
  }

  header .mhb-sc-logo {
    width: auto;
  }

  header .mhb-meet-banner {
    width: 100%;
    padding: 0 20px 28px;
  }

  header .mhb-mt-title {
    max-width: none;
    margin-bottom: 0;
  }

  header .mhb-form-wrap {
    padding: 24px;
  }
}

@media (max-width: 575px) {
  header .mhb-form-wrap {
    padding: 20px;
  }

  header .mhb-form-data {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  header .mhb-n-link {
    padding: 10px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  header .mhb-n-link,
  header .mhb-form .button-5 {
    transition: none;
  }
}
