/* ── Enquiry Modal ───────────────────────────────────────────────── */
:root {
  --eq-forest: #1a3a2a;
  --eq-gold:   #b8860b;
  --eq-cream:  #f8f5f0;
  --eq-red:    #c0392b;
  --eq-radius: 10px;
}

#eq-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
#eq-overlay.eq-open {
  opacity: 1;
  visibility: visible;
}

#eq-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}

#eq-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--eq-radius);
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(.22,.68,0,1.2);
  scrollbar-width: thin;
}
#eq-overlay.eq-open #eq-card {
  transform: translateY(0);
}

/* Header */
#eq-head {
  background: var(--eq-forest);
  padding: 28px 32px 24px;
  position: sticky;
  top: 0;
  z-index: 1;
}
#eq-head-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--eq-gold);
  margin: 0 0 6px;
}
#eq-head-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
  padding-right: 32px;
}
#eq-head-sub {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0;
}

/* Close */
#eq-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
#eq-close:hover { background: rgba(255,255,255,.15); }

/* Form body */
#eq-body {
  padding: 28px 32px 32px;
}

/* Field grid */
.eq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.eq-row.eq-full {
  grid-template-columns: 1fr;
}
.eq-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.eq-label {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  letter-spacing: .4px;
}
.eq-label span {
  color: var(--eq-red);
  margin-left: 2px;
}
.eq-input {
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #111;
  background: #fafafa;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.eq-input:focus {
  border-color: var(--eq-forest);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,58,42,.08);
}
.eq-input.eq-error {
  border-color: var(--eq-red);
  background: #fff8f8;
}
select.eq-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23777'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
textarea.eq-input {
  resize: vertical;
  min-height: 90px;
}
.eq-err-msg {
  font-size: 11px;
  color: var(--eq-red);
  display: none;
}
.eq-field.has-error .eq-err-msg { display: block; }

/* Submit */
#eq-submit {
  width: 100%;
  padding: 14px;
  background: var(--eq-forest);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-family: inherit;
  letter-spacing: .3px;
}
#eq-submit:hover { background: #0e2419; }
#eq-submit:active { transform: scale(.99); }
#eq-submit:disabled { opacity: .6; cursor: not-allowed; }

/* Spinner */
.eq-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: eq-spin .7s linear infinite;
  display: none;
}
.eq-loading .eq-spinner { display: block; }
.eq-loading .eq-btn-text { display: none; }

@keyframes eq-spin { to { transform: rotate(360deg); } }

/* Success */
#eq-success {
  padding: 48px 32px;
  text-align: center;
}
#eq-success svg { color: var(--eq-forest); margin-bottom: 16px; }
#eq-success h3 { font-size: 20px; color: var(--eq-forest); margin: 0 0 8px; }
#eq-success p { font-size: 14px; color: #666; margin: 0 0 24px; line-height: 1.6; }
#eq-success-close {
  display: inline-block;
  padding: 10px 28px;
  background: var(--eq-forest);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* Section divider */
.eq-section-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--eq-gold);
  font-weight: 700;
  margin: 20px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

/* Responsive */
@media (max-width: 480px) {
  #eq-card { max-height: 100vh; border-radius: 12px 12px 0 0; }
  #eq-overlay { align-items: flex-end; padding: 0; }
  .eq-row { grid-template-columns: 1fr; }
  #eq-head, #eq-body { padding-left: 20px; padding-right: 20px; }
}
