/* ==========================================================================
   Enquiry popup (card solutions + contact page)
   Same look as the free-playbook popup: navy card, gold accents, fixed to the
   real viewport. Markup is built by enquiry.js.
   ========================================================================== */

body div.enq {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body div.enq.is-open { display: flex; }

.enq__overlay { position: absolute; inset: 0; background: rgba(4, 9, 20, 0.74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

.enq__card {
  position: relative;
  width: 92%;
  max-width: 480px;
  max-height: 92vh;
  max-height: 92dvh;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  background: linear-gradient(165deg, #14284a 0%, #0a1830 55%, #060f1e 100%);
  border: 1px solid rgba(217, 195, 138, 0.25);
  border-radius: 20px;
  padding: 38px 34px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
  color: #fff;
  animation: enqIn 0.25s ease-out;
}
@keyframes enqIn {
  0%   { opacity: 0; transform: translateY(12px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.enq__close {
  position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; background: transparent;
  color: rgba(255, 255, 255, 0.6); font-size: 24px; line-height: 1; cursor: pointer; transition: color 0.15s ease;
}
.enq__close:hover { color: #fff; }

.enq__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #d9c38a; }
.enq__title { margin: 0 0 12px; font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 27px; line-height: 1.2; color: #fff; }
.enq__body { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }

.enq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enq__field { text-align: left; margin-bottom: 13px; min-width: 0; }
.enq__field[hidden] { display: none; }
.enq__field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.enq__field input, .enq__field select {
  width: 100%; box-sizing: border-box; padding: 12px 14px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; color: #fff; font-size: 16px; font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.enq__field select option { color: #10213f; }
.enq__field input::placeholder { color: rgba(255, 255, 255, 0.35); }
.enq__field input:focus, .enq__field select:focus { outline: none; border-color: #d9c38a; background: rgba(255, 255, 255, 0.1); }
.enq__hint { margin: 5px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* spam trap: in the DOM for bots, invisible to people */
.enq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.enq__error { margin: 4px 0 10px; font-size: 13.5px; line-height: 1.5; color: #ff9d9d; text-align: left; }
.enq__error:empty { display: none; }
.enq__error a { color: #d9c38a; }

.enq__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 15px 20px;
  border: 1px solid #e0e0e0; border-radius: 14px;
  background-image: linear-gradient(200.59deg, rgb(208, 195, 161) 9.28%, rgb(217, 195, 138) 16.8%, rgb(199, 195, 187) 30.14%, rgb(173, 147, 81) 47.57%, rgb(139, 111, 37) 78.34%);
  color: #fff; font-family: inherit; font-style: italic; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.enq__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.enq__btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }
.enq__btn--ghost {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(222, 191, 105, 0.5); font-style: normal; font-weight: 700; font-size: 15px;
}
.enq__btn--ghost:hover { background: rgba(222, 191, 105, 0.14); }
.enq__btn--ghost svg { width: 20px; height: 20px; color: #4ade80; flex: none; }

.enq__fine { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.42); }
.enq__fine a { color: rgba(255, 255, 255, 0.6); }

.enq__done[hidden], .enq__form[hidden] { display: none; }
.enq__done { padding: 8px 0 2px; }

@media (max-width: 480px) {
  .enq__card { padding: 32px 20px 24px; }
  .enq__title { font-size: 23px; }
  .enq__row { grid-template-columns: 1fr; gap: 0; }
}
