.open-popup-btn {
  display: inline-block;
  background: #F58120;
  color: #ffffff;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.open-popup-btn:hover {
  background: #d96b12;
  color: #ffffff;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 14px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.30);
  animation: popupFade 0.25s ease;
}
/*.popup-box h3, p {*/
/*    text-align: center;*/
/*}*/

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: #111111;
}

.popup-close:hover {
  color: #F58120;
}

.popup-box h3 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 28px;
  font-weight: 800;
}

.popup-subtitle {
  margin: 0 0 24px;
  color: #555555;
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.qform label {
  display: block;
  margin-bottom: 7px;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
}

.pro-form {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 7px;
  padding: 13px 14px;
  font-size: 15px;
  outline: none;
  background: #ffffff;
  color: #111111;
}

.pro-form:focus {
  border-color: #F58120;
  box-shadow: 0 0 0 3px rgba(245, 129, 32, 0.15);
}

textarea.pro-form {
  min-height: 80px;
  resize: vertical;
}

.btn-submit {
    width: 100%;
    background: #F58120;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit:hover {
  background: #d96b12;
}

.sent {
  display: none;
  color: #188038;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .popup-box {
    padding: 26px 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .popup-box h3 {
    font-size: 23px;
  }
}