@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.hhqr-section,
.hhqr-section * {
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.hhqr-section {
  background: #fff8f5;
  padding: 80px 20px;
}

.hhqr-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hhqr-header {
  text-align: center;
  margin-bottom: 40px;
}

.hhqr-header span {
  display: inline-block;
  margin-bottom: 14px;
  color: #964401;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hhqr-header h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #241912;
}

.hhqr-header p {
  margin: 0 auto;
  max-width: 580px;
  color: #554339;
  font-size: 17px;
  line-height: 1.6;
}

.hhqr-form {
  background: #ffffff;
  border: 1px solid #dcc1b4;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(42, 24, 16, 0.08);
}

.hhqr-step {
  margin-bottom: 46px;
}

.hhqr-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hhqr-step-head strong {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 999px;
  background: #fff1ea;
  color: #964401;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.hhqr-step-head h3 {
  margin: 0;
  color: #241912;
  font-size: 24px;
  font-weight: 800;
}

.hhqr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.hhqr-grid label {
  display: grid;
  gap: 8px;
}

.hhqr-grid label.full {
  grid-column: 1 / -1;
}

.hhqr-grid span {
  color: #241912;
  font-size: 14px;
  font-weight: 700;
}

.hhqr-grid input,
.hhqr-grid select,
.hhqr-grid textarea {
  width: 100% !important;
  min-height: 56px;
  border: 1px solid #dcc1b4 !important;
  border-radius: 16px !important;
  padding: 15px 18px !important;
  background-color: #fff8f5 !important;
  color: #241912 !important;
  -webkit-text-fill-color: #241912 !important;
  opacity: 1 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.hhqr-grid select {
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  height: 56px !important;
}

.hhqr-grid option {
  color: #241912 !important;
  background: #ffffff !important;
}

.hhqr-grid input::placeholder,
.hhqr-grid textarea::placeholder {
  color: #8b6f61 !important;
  -webkit-text-fill-color: #8b6f61 !important;
  opacity: 1 !important;
}

.hhqr-grid textarea {
  min-height: 130px !important;
  resize: vertical;
}

.hhqr-grid input:focus,
.hhqr-grid select:focus,
.hhqr-grid textarea:focus {
  border-color: #964401 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(150, 68, 1, 0.1) !important;
  color: #241912 !important;
  -webkit-text-fill-color: #241912 !important;
}

.hhqr-submit {
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: #964401;
  color: #ffffff;
  padding: 20px 28px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hhqr-submit:hover {
  background: #2a1810;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(42, 24, 16, 0.18);
}

.hhqr-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hhqr-alert {
  display: none;
  margin: 0 0 24px;
  padding: 15px 16px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.hhqr-error {
  background: #ffdad6;
  color: #93000a;
}

.hhqr-success {
  background: #e8f7ee;
  color: #137333;
}

.hhqr-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .hhqr-section {
    padding: 56px 16px;
  }

  .hhqr-form {
    padding: 28px;
    border-radius: 22px;
  }

  .hhqr-grid {
    grid-template-columns: 1fr;
  }

  .hhqr-grid label.full {
    grid-column: auto;
  }

  .hhqr-step-head {
    align-items: flex-start;
  }

  .hhqr-submit {
    font-size: 16px;
    padding: 18px 20px;
  }
}


/* v3 clearer validation feedback */
.hhqr-grid input.hhqr-invalid,
.hhqr-grid select.hhqr-invalid,
.hhqr-grid textarea.hhqr-invalid {
  border-color: #93000a !important;
  background-color: #fff5f4 !important;
  box-shadow: 0 0 0 4px rgba(147, 0, 10, 0.08) !important;
}

/* ── Success Screen ─────────────────────────────────────────── */
.hhqr-success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px 64px;
  margin: 0 auto;
  max-width: 580px;
  animation: hhqr-fadein .45s ease both;
}

@keyframes hhqr-fadein {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hhqr-success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2A1810;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(42,24,16,.20);
}

.hhqr-success-icon svg {
  width: 80px;
  height: 80px;
}

.hhqr-success-screen h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #2A1810;
  margin: 0 0 12px;
}

.hhqr-success-screen > p {
  font-size: 1.05rem;
  color: #554339;
  margin: 0 0 36px;
  max-width: 460px;
  line-height: 1.65;
}

/* Next steps list */
.hhqr-next-steps {
  list-style: none;
  width: 100%;
  margin: 0 0 32px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0ddd4;
  border-radius: 16px;
  overflow: hidden;
}

.hhqr-next-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #fff8f5;
  border-bottom: 1px solid #f0ddd4;
}

.hhqr-next-steps li:last-child {
  border-bottom: none;
}

/* Flat SVG icon container */
.hhqr-step-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #f0ddd4;
}

.hhqr-step-icon svg {
  width: 20px;
  height: 20px;
}

.hhqr-next-steps li div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hhqr-next-steps li strong {
  font-size: .95rem;
  font-weight: 700;
  color: #2A1810;
}

.hhqr-next-steps li span {
  font-size: .875rem;
  color: #7c6255;
  line-height: 1.5;
}

.hhqr-success-note {
  font-size: .875rem;
  color: #7c6255;
  margin: 0;
}

.hhqr-success-note a {
  color: #C96A2B;
  font-weight: 600;
  text-decoration: none;
}

.hhqr-success-note a:hover {
  text-decoration: underline;
}
