.ahm-trip-modal .ahm-trip-dialog.ahm-request-dialog {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.46fr);
  width: min(1120px, calc(100vw - 36px)) !important;
  height: min(890px, calc(100dvh - 36px)) !important;
  max-height: 890px;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 30px !important;
  background: #f8f7ee !important;
  box-shadow: 0 34px 100px rgba(0, 24, 13, .5) !important;
}

.ahm-request-dialog * { box-sizing: border-box; }

.ahm-request-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 31px 30px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 6%, rgba(49, 199, 242, .22), transparent 25%),
    radial-gradient(circle at 100% 92%, rgba(245, 223, 19, .2), transparent 28%),
    linear-gradient(150deg, #032b1c 0%, #075b33 62%, #08733c 100%);
}

.ahm-request-brand::before,
.ahm-request-brand::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(245, 223, 19, .25);
  border-radius: 50%;
}

.ahm-request-brand::before { width: 260px; height: 260px; right: -145px; top: 21%; }
.ahm-request-brand::after { width: 130px; height: 130px; right: -52px; top: 31%; }

.ahm-request-brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 42px 45px 0;
}

.ahm-request-brand-lockup img {
  width: 70px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .28));
}

.ahm-request-brand-lockup strong {
  display: block;
  color: #fff;
  font: 800 21px/1 Georgia, serif;
  letter-spacing: .055em;
}

.ahm-request-brand-lockup small {
  display: block;
  margin-top: 5px;
  color: #f5df13;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ahm-request-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #f5df13;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ahm-request-eyebrow::before { content: ""; width: 34px; height: 2px; background: #31c7f2; }

.ahm-request-brand h2 {
  margin: 0;
  color: #fff;
  font: 42px/1.03 Georgia, serif;
  letter-spacing: -.025em;
}

.ahm-request-brand > p {
  margin: 17px 0 25px;
  color: #d9eee2;
  font-size: 14px;
  line-height: 1.65;
}

.ahm-request-points {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ahm-request-points li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  color: #eef8f1;
  font-size: 12px;
  line-height: 1.35;
}

.ahm-request-points b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(245, 223, 19, .65);
  border-radius: 50%;
  color: #f5df13;
  font-size: 11px;
}

.ahm-request-mail-card {
  margin-top: auto;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(0, 24, 13, .3);
  backdrop-filter: blur(8px);
}

.ahm-request-mail-card span {
  display: block;
  color: #bfe4ce;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ahm-request-mail-card a {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ahm-request-pane {
  position: relative;
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 38px 42px 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 199, 242, .1), transparent 27%),
    #f8f7ee;
  scrollbar-width: thin;
  scrollbar-color: #89ac96 transparent;
}

.ahm-request-dialog .ahm-request-close {
  position: absolute !important;
  z-index: 8 !important;
  top: 18px !important;
  right: 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto !important;
  min-width: 42px;
  height: 42px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(6, 59, 37, .18) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #063b25 !important;
  box-shadow: 0 8px 24px rgba(4, 55, 29, .14) !important;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.ahm-request-close::before { content: "\00d7"; font-size: 22px; line-height: 1; font-weight: 400; }

.ahm-request-header { padding-right: 78px; }
.ahm-request-header .ahm-request-eyebrow { margin-bottom: 10px; color: #087236; }
.ahm-request-header h3 { margin: 0; color: #063b25; font: 38px/1.04 Georgia, serif; letter-spacing: -.025em; }
.ahm-request-header p { max-width: 620px; margin: 12px 0 0; color: #52705e; font-size: 14px; line-height: 1.6; }

.ahm-request-selected-date {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 23px 0 0;
  padding: 13px 15px;
  border: 1px solid #cae2d1;
  border-radius: 15px;
  background: #edf7ee;
  color: #174c31;
  font-size: 13px;
}

.ahm-request-selected-date.is-visible { display: flex; }
.ahm-request-selected-date b { color: #087236; }
.ahm-request-selected-date button { margin-left: auto; border: 0; background: transparent; color: #087236; font-weight: 900; cursor: pointer; }

.ahm-request-form { margin-top: 27px; }
.ahm-request-form fieldset { margin: 0 0 27px; padding: 0; border: 0; }

.ahm-request-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #063b25;
  font: 24px Georgia, serif;
}

.ahm-request-section-title b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #063b25;
  color: #f5df13;
  font: 800 11px Arial, sans-serif;
}

.ahm-request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.ahm-request-field { display: grid; gap: 7px; min-width: 0; }
.ahm-request-field.is-wide { grid-column: 1 / -1; }

.ahm-request-field > label,
.ahm-request-field > span:first-child {
  color: #254f3a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .035em;
}

.ahm-request-field .is-required::after { content: " *"; color: #bb3e2d; }

.ahm-request-field input,
.ahm-request-field select,
.ahm-request-field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #cadbce;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #173d2b;
  font: 14px/1.35 Arial, sans-serif;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.ahm-request-field textarea { min-height: 98px; resize: vertical; }
.ahm-request-field input:focus,
.ahm-request-field select:focus,
.ahm-request-field textarea:focus { border-color: #169557; box-shadow: 0 0 0 4px rgba(22, 149, 87, .12); }
.ahm-request-field [aria-invalid="true"] { border-color: #bb3e2d; background: #fff9f7; }

.ahm-request-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.ahm-request-check {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 45px;
  padding: 10px 11px 10px 40px;
  border: 1px solid #d2dfd4;
  border-radius: 12px;
  background: #fff;
  color: #315d45;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s;
}

.ahm-request-check:hover { border-color: #67a27c; background: #f3f9f3; }
.ahm-request-check input { position: absolute; opacity: 0; pointer-events: none; }
.ahm-request-check::before {
  content: "";
  position: absolute;
  left: 13px;
  width: 17px;
  height: 17px;
  border: 1.5px solid #8aa795;
  border-radius: 5px;
  background: #fff;
}
.ahm-request-check:has(input:checked) { border-color: #169557; background: #edf8f0; color: #063b25; }
.ahm-request-check:has(input:checked)::before { border-color: #087236; background: #087236; box-shadow: inset 0 0 0 4px #edf8f0; }

.ahm-request-error {
  display: none;
  margin: 11px 0 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff0ec;
  color: #9d2f22;
  font-size: 12px;
  line-height: 1.45;
}
.ahm-request-error.is-visible { display: block; }

.ahm-request-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.ahm-request-actions {
  position: sticky;
  z-index: 3;
  bottom: -34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px -42px -34px;
  padding: 18px 42px 22px;
  border-top: 1px solid #dce6dc;
  background: rgba(248, 247, 238, .96);
  backdrop-filter: blur(12px);
}

.ahm-request-actions p { max-width: 370px; margin: 0; color: #66806f; font-size: 10px; line-height: 1.45; }
.ahm-request-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 13px 21px;
  border: 0;
  border-radius: 999px;
  background: #f5df13;
  color: #063b25;
  box-shadow: 0 12px 25px rgba(127, 105, 0, .18);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.ahm-request-submit:hover { transform: translateY(-1px); background: #ffe92f; }
.ahm-request-submit:disabled { opacity: .65; cursor: wait; transform: none; }

.ahm-request-result {
  display: none;
  margin: 22px 0 0;
  padding: 17px 18px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
}
.ahm-request-result.is-visible { display: block; }
.ahm-request-result.is-success { border: 1px solid #b9ddc4; background: #eaf7ed; color: #155b35; }
.ahm-request-result.is-error { border: 1px solid #edc7bc; background: #fff1ed; color: #8f3023; }

@media (max-width: 860px) {
  .ahm-trip-modal .ahm-trip-dialog.ahm-request-dialog {
    grid-template-columns: 1fr;
    width: min(760px, calc(100vw - 22px)) !important;
    height: calc(100dvh - 22px) !important;
    max-height: none;
    overflow: auto !important;
    border-radius: 22px !important;
  }
  .ahm-request-brand { min-height: auto; padding: 24px 26px 25px; }
  .ahm-request-brand-lockup { margin-bottom: 22px; }
  .ahm-request-brand h2 { max-width: 520px; font-size: 34px; }
  .ahm-request-brand > p { max-width: 610px; margin-bottom: 18px; }
  .ahm-request-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ahm-request-points li { grid-template-columns: 25px 1fr; font-size: 10px; }
  .ahm-request-points b { width: 25px; height: 25px; }
  .ahm-request-mail-card { margin-top: 20px; }
  .ahm-request-pane { overflow: visible; padding: 31px 27px 28px; }
  .ahm-request-actions { bottom: -28px; margin: 8px -27px -28px; padding: 16px 27px 19px; }
}

@media (max-width: 590px) {
  .ahm-trip-modal { padding: 6px !important; align-items: stretch !important; }
  .ahm-trip-modal .ahm-trip-dialog.ahm-request-dialog {
    width: 100% !important;
    height: calc(100dvh - 12px) !important;
    border-radius: 17px !important;
  }
  .ahm-request-brand { padding: 18px 18px 20px; }
  .ahm-request-brand-lockup { margin: 0 48px 18px 0; }
  .ahm-request-brand-lockup img { width: 53px; height: 48px; }
  .ahm-request-brand-lockup strong { font-size: 17px; }
  .ahm-request-eyebrow { font-size: 8px; }
  .ahm-request-brand h2 { font-size: 29px; }
  .ahm-request-brand > p { font-size: 12px; line-height: 1.5; }
  .ahm-request-points { grid-template-columns: 1fr; gap: 7px; }
  .ahm-request-mail-card { padding: 13px; }
  .ahm-request-pane { padding: 25px 17px 22px; }
  .ahm-request-dialog .ahm-request-close { position: sticky !important; float: right; top: 10px !important; right: 10px !important; margin: -16px -7px 0 0; }
  .ahm-request-header { padding-right: 0; clear: both; }
  .ahm-request-header h3 { font-size: 31px; }
  .ahm-request-grid,
  .ahm-request-checks { grid-template-columns: 1fr; }
  .ahm-request-section-title { font-size: 21px; }
  .ahm-request-actions { position: static; align-items: stretch; flex-direction: column; margin: 8px -17px -22px; padding: 16px 17px 19px; }
  .ahm-request-submit { width: 100%; }
}
