/* Demo / inquiry modals (contact.jsx) */
.cm-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.5);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
}
.cm-modal {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  color: #1a1a1e;
  border-radius: 16px;
  padding: 26px 24px 24px;
  font-family: "Geist", -apple-system, system-ui, sans-serif;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.35);
}
.cm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: rgba(26, 26, 30, 0.06);
  color: rgba(26, 26, 30, 0.6);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.cm-close:hover { background: rgba(26, 26, 30, 0.12); }
.cm-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.cm-sub { margin-top: 6px; font-size: 13.5px; color: rgba(26, 26, 30, 0.55); }
.cm-form { margin-top: 18px; display: flex; flex-direction: column; gap: 13px; }
.cm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cm-field { display: flex; flex-direction: column; gap: 6px; }
.cm-field span { font-size: 12.5px; font-weight: 600; }
.cm-field span i { font-weight: 400; font-style: normal; color: rgba(26, 26, 30, 0.45); }
.cm-field input,
.cm-field select,
.cm-field textarea {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
  color: inherit;
  outline: none;
  width: 100%;
}
.cm-field textarea { resize: none; }
.cm-field input:focus,
.cm-field select:focus,
.cm-field textarea:focus {
  border-color: #ff4900;
  box-shadow: 0 0 0 3px rgba(255, 73, 0, 0.12);
}
.cm-error { font-size: 13px; color: #d33a2c; }
.cm-hint { font-size: 13px; color: rgba(26, 26, 30, 0.55); margin-top: -4px; }
.cm-btn {
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.cm-btn:disabled { opacity: 0.6; cursor: default; }
.cm-btn-primary {
  background: #ff4900;
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(255, 73, 0, 0.3);
}
.cm-btn-primary:not(:disabled):hover { transform: translateY(-1px); }
.cm-success { text-align: center; padding: 18px 4px 4px; }
.cm-success-ico {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(52, 199, 123, 0.14);
  color: #0e9f6e;
  font-size: 26px;
  font-weight: 700;
}
.cm-success p { margin: 14px 0 18px; font-size: 14.5px; color: rgba(26, 26, 30, 0.7); }
