
.athol-enquiry {
  position: fixed;
  inset: 0;
  z-index: 2000000;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #0e2f44;
  font-family: inherit;
}
.athol-enquiry[hidden] { display: none !important; }
.athol-enquiry *,
.athol-enquiry *::before,
.athol-enquiry *::after { box-sizing: border-box; }
.athol-enquiry__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 39, 79, 0.62);
  backdrop-filter: blur(4px);
}
.athol-enquiry__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(14, 47, 68, 0.28);
  overscroll-behavior: contain;
}
.athol-enquiry__head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f1f9fe;
  padding: 22px 28px 16px;
  border-bottom: 1px solid #e3eef5;
}
.athol-enquiry__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #fdc71b;
}
.athol-enquiry__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #14274f;
  cursor: pointer;
  font-family: inherit;
}
.athol-enquiry__close:hover { background: #fff7d6; }
.athol-enquiry__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 48px 6px 0;
  color: #14274f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.athol-enquiry__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fdc71b;
  flex: 0 0 auto;
}
.athol-enquiry__title {
  margin: 0 48px 6px 0;
  color: #14274f;
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.athol-enquiry__lede {
  margin: 0;
  max-width: 36em;
  color: #355066;
  font-size: 15px;
  line-height: 1.5;
}
.athol-enquiry__body { padding: 16px 28px 20px; }
.athol-enquiry__form { margin: 0; }
.athol-enquiry__note {
  margin: 0 0 12px;
  color: #355066;
  font-size: 14px;
  line-height: 1.4;
}
.athol-enquiry__banner {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f1f9fe;
  color: #14274f;
  font-size: 14px;
  line-height: 1.4;
}
.athol-enquiry__field { margin: 0 0 12px; }
.athol-enquiry__field label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  color: #0e2f44;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.athol-enquiry__req { color: #14274f; }
.athol-enquiry__optional {
  color: #355066;
  font-size: 14px;
  font-weight: 500;
}
.athol-enquiry__form input,
.athol-enquiry__form textarea {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid #d5e4ee;
  border-radius: 10px;
  background: #f1f9fe;
  color: #0e2f44;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
  appearance: none;
}
.athol-enquiry__form input {
  height: 48px;
  padding: 0 14px;
}
.athol-enquiry__form textarea {
  height: 72px;
  min-height: 72px;
  max-height: 140px;
  padding: 10px 14px;
  line-height: 1.4;
  resize: vertical;
}
.athol-enquiry__form input::placeholder,
.athol-enquiry__form textarea::placeholder {
  color: #6d8494;
  opacity: 1;
}
.athol-enquiry__form input:hover,
.athol-enquiry__form textarea:hover { border-color: #b7cddd; }
.athol-enquiry__form input:focus,
.athol-enquiry__form textarea:focus {
  outline: none;
  border-color: #14274f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(253, 199, 27, 0.55);
}
.athol-enquiry__form input[aria-invalid="true"],
.athol-enquiry__form textarea[aria-invalid="true"] {
  border-color: #8d2b2b;
  background: #fff;
}
.athol-enquiry__error {
  margin: 6px 0 0;
  color: #8d2b2b;
  font-size: 14px;
  line-height: 1.4;
}
.athol-enquiry__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.athol-enquiry__cancel,
.athol-enquiry__submit,
.athol-enquiry__done {
  min-height: 48px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.athol-enquiry__cancel {
  padding: 0 16px;
  background: transparent;
  color: #14274f;
}
.athol-enquiry__cancel:hover { background: #f1f9fe; }
.athol-enquiry__submit,
.athol-enquiry__done {
  padding: 0 20px;
  background: #fdc71b;
  color: #14274f;
}
.athol-enquiry__submit { margin-left: auto; }
.athol-enquiry__submit:hover,
.athol-enquiry__done:hover { background: #f0bc12; }
.athol-enquiry__submit:active,
.athol-enquiry__done:active { transform: translateY(1px); }
.athol-enquiry__close:focus-visible,
.athol-enquiry__cancel:focus-visible,
.athol-enquiry__submit:focus-visible,
.athol-enquiry__done:focus-visible {
  outline: 2px solid #14274f;
  outline-offset: 2px;
}
.athol-enquiry__success { padding: 8px 0 4px; }
.athol-enquiry__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fdc71b;
  color: #14274f;
}
.athol-enquiry__success .athol-enquiry__title { margin: 0 0 8px; }
.athol-enquiry__success p {
  margin: 0 0 20px;
  color: #355066;
  font-size: 15px;
  line-height: 1.5;
}
.athol-enquiry__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.athol-enquiry [hidden] { display: none !important; }
html.athol-enquiry-open,
html.athol-enquiry-open body { overflow: hidden; }
@media (max-width: 520px) {
  .athol-enquiry { padding: 12px; }
  .athol-enquiry__dialog {
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }
  .athol-enquiry__head,
  .athol-enquiry__body { padding-left: 18px; padding-right: 18px; }
  .athol-enquiry__head { padding-top: 20px; }
  .athol-enquiry__title { font-size: 26px; }
  .athol-enquiry__submit,
  .athol-enquiry__cancel { padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .athol-enquiry__dialog,
  .athol-enquiry__backdrop { animation: none !important; }
  .athol-enquiry__submit,
  .athol-enquiry__done { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .athol-enquiry.is-open .athol-enquiry__backdrop { animation: atholEnquiryFade 180ms ease-out; }
  .athol-enquiry.is-open .athol-enquiry__dialog { animation: atholEnquiryRise 200ms ease-out; }
}
@keyframes atholEnquiryFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes atholEnquiryRise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
