/* ============================================================
   growhigh.io — Demo request modal
   Used on both the static website and the blog (/blog/)
   ============================================================ */

.gh-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity .18s ease;
}
.gh-backdrop.open { opacity: 1; }

.gh-panel {
  background: #0F1513;
  border: 1px solid rgba(16,185,129,.22);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(12px);
  transition: transform .18s ease;
}
.gh-backdrop.open .gh-panel { transform: translateY(0); }

.gh-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s;
}
.gh-close:hover { color: #fff; border-color: rgba(255,255,255,.3); }

.gh-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #10B981;
  margin-bottom: .5rem;
}
.gh-panel h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .4rem;
  line-height: 1.3;
}
.gh-panel .gh-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin: 0 0 1.5rem;
}

/* Form fields */
.gh-field { margin-bottom: .9rem; }
.gh-field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: .3rem;
}
.gh-field label .req { color: #10B981; margin-left: 2px; }
.gh-field input,
.gh-field textarea {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  padding: .6rem .85rem;
  font-size: .95rem;
  color: #fff;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color .15s;
}
.gh-field input::placeholder,
.gh-field textarea::placeholder { color: rgba(255,255,255,.28); }
.gh-field input:focus,
.gh-field textarea:focus {
  outline: none;
  border-color: #10B981;
  background: rgba(16,185,129,.05);
}
.gh-field textarea { resize: vertical; min-height: 66px; }

/* Error */
.gh-err {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px;
  padding: .55rem .85rem;
  font-size: .85rem;
  color: #FCA5A5;
  margin-bottom: .9rem;
}

/* Submit button */
.gh-submit-btn {
  width: 100%;
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .78rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .15s;
}
.gh-submit-btn:hover:not(:disabled) { background: #047857; }
.gh-submit-btn:disabled { opacity: .55; cursor: not-allowed; }

/* Success state */
.gh-success {
  text-align: center;
  padding: 1.5rem 1rem;
}
.gh-success-ic {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  border: 2px solid #10B981;
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #10B981;
}
.gh-success h3 {
  font-size: 1.2rem; font-weight: 800;
  color: #fff; margin: 0 0 .5rem;
}
.gh-success p {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

@media (max-width: 480px) {
  .gh-panel { padding: 1.5rem 1.1rem; border-radius: 12px; }
  .gh-panel h2 { font-size: 1.25rem; }
}
