/* ============================================================
   VOLUM TECHNOLOGIES — Inquiry Modal
   ============================================================ */

/* ── Backdrop ── */
#inquiry-backdrop {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
#inquiry-backdrop.inq-open {
  opacity: 1; pointer-events: all;
}

/* ── Modal card ── */
#inquiry-modal {
  position: relative;
  width: 100%; max-width: 560px;
  background: #080c18;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,152,253,0.1);
  padding: 2rem 2rem 1.75rem;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}
#inquiry-backdrop.inq-open #inquiry-modal {
  transform: translateY(0) scale(1);
}

/* ── Close btn ── */
#inq-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.05);
  border: none; border-radius: 50%;
  cursor: pointer; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
#inq-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
#inq-close svg { pointer-events: none; }

/* ── Header ── */
.inq-eyebrow {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--primary); opacity: 0.8;
  margin-bottom: 0.4rem;
}
.inq-title {
  font-size: 1.25rem; font-weight: 600; color: #fff;
  margin-bottom: 0.25rem;
}

/* ── Summary box ── */
#inq-summary {
  background: rgba(0,152,253,0.05);
  border: 1px solid rgba(0,152,253,0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.82rem; line-height: 1.6;
  color: rgba(255,255,255,0.65);
}
#inq-summary .inq-sum-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--primary); opacity: 0.7;
  margin-bottom: 0.4rem;
}
#inq-summary .inq-sum-product {
  font-size: 0.92rem; font-weight: 600; color: #fff;
  margin-bottom: 0.25rem;
}
#inq-summary .inq-sum-detail {
  color: rgba(255,255,255,0.5);
}

/* ── Form fields ── */
.inq-form { display: flex; flex-direction: column; gap: 0.75rem; }

.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.inq-field { display: flex; flex-direction: column; gap: 0.35rem; }
.inq-field label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.inq-field input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem; font-weight: 300;
  color: #fff; font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.inq-field input:focus {
  border-color: rgba(0,152,253,0.5);
  background: rgba(0,152,253,0.04);
}
.inq-field input::placeholder { color: rgba(255,255,255,0.2); }

/* ── Submit ── */
#inq-submit {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  border: none; border-radius: 8px;
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  color: #fff; cursor: pointer;
  position: relative; overflow: hidden;
  transition: opacity 0.2s, transform 0.15s;
}
#inq-submit:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); }
#inq-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Status messages ── */
#inq-status {
  margin-top: 0.75rem;
  font-size: 0.82rem; text-align: center;
  min-height: 1.2em;
}
#inq-status.inq-ok  { color: #4de88e; }
#inq-status.inq-err { color: #ff6b8a; }

/* ── Disclaimer ── */
.inq-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.7rem; color: rgba(255,255,255,0.2);
  text-align: center; line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  #inquiry-modal { padding: 1.5rem 1.25rem; }
  .inq-row { grid-template-columns: 1fr; }
}
