.mr-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: 500px;
  min-height: clamp(500px, 75svh, 760px);
  overflow: hidden;
  color: #fff;
  background: #0b1b12;
}
.mr-hero-photo, .mr-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mr-hero-photo { z-index: -2; object-fit: cover; object-position: 50% 45%; }
.mr-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, #071a102b 5%, #071a1080 43%, #0b1b12f0 82%, #0b1b12);
}
.mr-hero-content {
  box-sizing: border-box;
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: 110px 28px 44px;
  font-family: Inter, Arial, sans-serif;
}
.mr-hero-content p { margin: 0; }
.mr-hero-location { color: #e4f3e8; font-size: 14px; line-height: 1.4; }
.mr-hero-content h1 {
  max-width: 780px;
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.mr-hero-intro { max-width: 405px; color: #e5eee7; font-size: 17px; line-height: 1.5; }
.mr-hero-actions { display: grid; gap: 8px; margin-top: 20px; width: min(100%, 420px); }
.mr-hero-direct { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mr-hero-actions a, form.mr-form .mr-submit {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 700 15px/1.25 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}
#allrecords .mr-hero .mr-hero-primary, form.mr-form .mr-submit {
  color: #102b1c;
  background: #3eca78;
}
#allrecords .mr-hero .mr-hero-direct a { background: #172b20; border-color: #719682; color: #fff; }
#allrecords .mr-hero .mr-hero-direct a:hover { background: #294636; }
#allrecords .mr-hero .mr-hero-primary:hover, form.mr-form .mr-submit:hover { background: #63dc90; }
.mr-hero-actions a:focus-visible, form.mr-form :focus-visible { outline: 2px solid #278b50; outline-offset: 3px; }
form.mr-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  color: #18251d;
  font: 400 15px/1.45 Inter, Arial, sans-serif;
}
form.mr-form .t-form__inputsbox { display: grid; gap: 14px; }
form.mr-form .mr-form-title { margin: 0; font-size: 23px; line-height: 1.15; letter-spacing: -.02em; }
form.mr-form .mr-form-intro { color: #546359; margin: 4px 0 0; }
form.mr-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
form.mr-form legend, form.mr-form .mr-field-title { display: block; padding: 0; margin: 0 0 5px; font-weight: 650; }
form.mr-form .mr-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
form.mr-form .mr-methods label { position: relative; cursor: pointer; }
form.mr-form .mr-methods input { position: absolute; width: 1px; height: 1px; opacity: 0; }
form.mr-form .mr-methods span {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 5px 4px;
  border: 1px solid #d0dbd2;
  border-radius: 8px;
  background: #f5f8f5;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}
form.mr-form .mr-methods input:checked + span { background: #e3f8ea; color: #144f2d; border-color: #32834e; }
form.mr-form .mr-methods input:focus-visible + span { outline: 2px solid #278b50; outline-offset: 2px; }
form.mr-form .mr-field { min-width: 0; }
form.mr-form .mr-field input, form.mr-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px;
  border: 1px solid #d0dbd2;
  border-radius: 8px;
  color: #18251d;
  background: #f5f8f5;
  font: 400 16px/1.3 Inter, Arial, sans-serif;
}
form.mr-form textarea { resize: vertical; }
form.mr-form .mr-optional { color: #546359; font-weight: 400; font-size: 12px; }
form.mr-form .mr-consent { display: flex; align-items: flex-start; gap: 8px; color: #46554a; font-size: 13px; }
form.mr-form .mr-consent input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: #278b50; }
#allrecords form.mr-form .mr-consent a { color: #24603b; text-decoration: underline; }
form.mr-form .mr-submit { width: 100%; cursor: pointer; }
form.mr-form .mr-submit:disabled { opacity: .6; cursor: wait; }
form.mr-form .mr-success, form.mr-form .local-err { font-size: 14px; }
form.mr-form .mr-success { padding: 12px 0; color: #144f2d; }
form.mr-form .local-err:empty { display: none; }
.t702__wrapper:has(> form.mr-form) { padding: 0 !important; }
.t702__wrapper:has(> form.mr-form) > .t702__text-wrapper { display: none; }
.t-popup__container:has(form.mr-form) { overflow: hidden; border-radius: 18px; background: #fff !important; }
@media (max-width: 639px) {
  .mr-hero { min-height: clamp(460px, 74svh, 590px); }
  .mr-hero-content { padding: 82px 19px 26px; }
  .mr-hero-content h1 { font-size: clamp(30px, 7vw, 40px); }
  .mr-hero-intro { font-size: 15px; }
  form.mr-form { padding: 16px; }
  form.mr-form .t-form__inputsbox { gap: 11px; }
  .t-popup form.mr-form { border-radius: 16px 16px 0 0; }
  .t-popup:has(form.mr-form) { background-color: #081a12bf !important; }
  .t-popup:has(form.mr-form) > .t-popup__close { background-color: transparent !important; }
  .t-popup .t-popup__container:has(form.mr-form) {
    position: absolute !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    max-width: 540px;
    max-height: calc(100% - 60px);
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
  }
}
