/* ==========================================================================
   lead-popup.css  -  centered enquiry pop-up with blurred, locked backdrop
   ========================================================================== */
html.lp-lock,
html.lp-lock body { overflow: hidden !important; }

.lp-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;      /* vertical centre   */
  justify-content: center;  /* horizontal centre */
  padding: 16px;
  background: rgba(20, 18, 16, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);   /* blurs the page behind */
  overscroll-behavior: contain;
  animation: lp-fade 0.25s ease-out;
}
.lp-overlay[hidden] { display: none; }

.lp-modal {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;            /* no visible scrollbar (Firefox) */
  -ms-overflow-style: none;
  background: #fff;
  border-radius: 14px;
  padding: 30px 28px 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  animation: lp-pop 0.28s ease-out;
}
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-pop  { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }

.lp-modal::-webkit-scrollbar { display: none; }  /* no visible scrollbar (Chrome/Edge/Safari) */

/* landscape: two columns */
.lp-cols { display: flex; gap: 24px; align-items: stretch; }
.lp-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lp-col:last-child .lp-field:last-child { flex: 1; display: flex; flex-direction: column; }
.lp-col:last-child .lp-field:last-child textarea { flex: 1; min-height: 110px; }

.lp-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: 0; cursor: pointer;
  font-size: 26px; line-height: 1; color: #888;
}
.lp-close:hover { color: #222; }

.lp-modal h2 { margin: 0 0 4px; font-size: 1.45rem; }
.lp-sub { margin: 0 0 18px; color: #6b6b6b; font-size: 0.9rem; }

.lp-field { margin-bottom: 14px; }
.lp-field label { display: block; margin-bottom: 5px; font-size: 0.85rem; font-weight: 600; color: #333; }
.lp-opt { font-weight: 400; color: #999; font-size: 0.78rem; }
.lp-field input[type="text"],
.lp-field input[type="tel"],
.lp-field input[type="email"],
.lp-field textarea {
  width: 100%; box-sizing: border-box;
  padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px;
  font: inherit; font-size: 0.95rem; background: #fff;
}
.lp-field textarea { min-height: 110px; resize: none; overflow-y: auto; }  /* scrollbar only here */
.lp-field input:focus,
.lp-field textarea:focus { outline: none; border-color: #b08b3f; }
.lp-field input[type="file"] { width: 100%; font-size: 0.85rem; }

.lp-field.lp-invalid input,
.lp-field.lp-invalid textarea { border-color: #c0392b; }
.lp-err { display: none; margin-top: 4px; color: #c0392b; font-size: 0.78rem; }
.lp-field.lp-invalid .lp-err { display: block; }

.lp-submit {
  width: 100%; padding: 12px; border: 0; border-radius: 8px; cursor: pointer;
  background: #b08b3f; color: #fff; font-size: 1rem; font-weight: 600;
}
.lp-submit:hover { background: #99772f; }
.lp-submit:disabled { opacity: 0.6; cursor: default; }

.lp-status { margin: 10px 0 0; min-height: 1.2em; font-size: 0.88rem; text-align: center; }
.lp-status.lp-ok  { color: #2e7d32; }
.lp-status.lp-bad { color: #c0392b; }
.lp-hidden-frame { display: none; }

@media (max-width: 720px) {
  .lp-cols { flex-direction: column; gap: 0; }
  .lp-col:last-child .lp-field:last-child textarea { flex: none; }
}
@media (max-width: 480px) { .lp-modal { padding: 26px 18px 20px; } }