/* Book a Demo only: refine the existing split hero, form, and contact controls. */
html body.qx-pg-demo section.demo-hero {
  padding-top: clamp(72px, 9vw, 120px) !important;
  padding-bottom: 56px !important;
}

html body.qx-pg-demo .demo-hero .book {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
  max-width: 1180px;
  min-height: 0;
  margin-inline: auto;
}

html body.qx-pg-demo .demo-intro,
html body.qx-pg-demo .demo-form-wrap {
  min-width: 0;
  width: 100%;
  margin: 0;
}

html body.qx-pg-demo .demo-intro .qx-hero-eb {
  margin-bottom: 20px;
}

html body.qx-pg-demo .demo-intro h1.qx-hh {
  max-width: 11ch;
  margin: 0 0 24px !important;
  font-size: clamp(42px, 4.6vw, 66px) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.045em !important;
}

html body.qx-pg-demo .demo-intro .demo-intro-copy {
  max-width: 32rem;
  margin: 0;
  color: #d5daf0 !important;
  font-size: 18px;
  line-height: 1.55;
}

html body.qx-pg-demo .demo-form-wrap .qx-form {
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #dce2ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(17, 31, 97, 0.06);
}

html body.qx-pg-demo .demo-form-intro {
  margin-bottom: 26px;
}

html body.qx-pg-demo .demo-form-intro h2 {
  margin: 0 0 6px;
  color: #111f61;
  font-size: 24px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

html body.qx-pg-demo .demo-form-intro p {
  margin: 0;
  color: #58647d !important;
  font-size: 14px;
  line-height: 1.5;
}

html body.qx-pg-demo .demo-hero form.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0;
}

html body.qx-pg-demo .demo-field {
  min-width: 0;
}

html body.qx-pg-demo .demo-field--full {
  grid-column: 1 / -1;
}

html body.qx-pg-demo .demo-field label {
  display: block;
  margin-bottom: 7px;
  color: #25335b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

html body.qx-pg-demo .demo-field :is(input.text-field, textarea.text-field, select.text-field) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  background: #fbfcfe;
  color: #111f61;
  font-size: 15px;
  line-height: 1.4;
}

html body.qx-pg-demo .demo-field .text-field.wrap {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

html body.qx-pg-demo .demo-field textarea.text-field {
  min-height: 104px;
  resize: vertical;
}

html body.qx-pg-demo .demo-field :is(input, select, textarea):focus-visible {
  border-color: #8fd0a2;
  outline: 2px solid #8fd0a2;
  outline-offset: 2px;
}

html body.qx-pg-demo .demo-field :is(input, select, textarea):user-invalid {
  border-color: #f0a7a7;
  outline-color: #f0a7a7;
}

html body.qx-pg-demo .demo-submit {
  margin-top: 5px;
}

html body.qx-pg-demo .demo-submit input[type="submit"] {
  display: inline-flex;
  width: 100%;
  height: 43px;
  border: 0;
  background: #111f61;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 140ms ease;
}

html body.qx-pg-demo .demo-submit input[type="submit"]:hover {
  background: #263983;
  color: #fff;
}

html body.qx-pg-demo .demo-submit input[type="submit"]:focus-visible {
  outline-color: #8fd0a2;
  transition: none;
}

html body.qx-pg-demo .demo-submit input[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.7;
}

html body.qx-pg-demo .demo-submit p {
  margin: 12px 0 0;
  color: #58647d !important;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

html body.qx-pg-demo #email-form .demo-submit p a {
  color: #111f61 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body.qx-pg-demo section#demo-contact.qx-demo-contact {
  padding-top: 0 !important;
  padding-bottom: 36px !important;
}

html body.qx-pg-demo .qx-demo-contact .container {
  padding-top: 24px;
}

html body.qx-pg-demo .qx-demo-contact .two-blocks.cont {
  column-gap: 40px !important;
  row-gap: 16px !important;
}

html body.qx-pg-demo .qx-demo-contact .ico-mail img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

html body.qx-pg-demo .qx-demo-contact .conta {
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  html body.qx-pg-demo .demo-submit input[type="submit"]:active:not(:focus-visible) {
    transform: scale(0.98);
  }
}

@media (max-width: 991px) {
  html body.qx-pg-demo .demo-hero .book {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  html body.qx-pg-demo .demo-intro h1.qx-hh {
    max-width: 18ch;
  }
}

@media (max-width: 767px) {
  html body.qx-pg-demo .demo-field :is(input.text-field, textarea.text-field, select.text-field) {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  html body.qx-pg-demo section.demo-hero {
    padding-top: 64px !important;
    padding-bottom: 36px !important;
  }

  html body.qx-pg-demo .demo-hero form.form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  html body.qx-pg-demo .demo-intro h1.qx-hh {
    font-size: clamp(38px, 9vw, 48px) !important;
  }

  html body.qx-pg-demo .demo-form-wrap .qx-form {
    padding: 20px;
  }

  html body.qx-pg-demo .qx-demo-contact .container {
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.qx-pg-demo .demo-submit input[type="submit"] {
    transform: none !important;
    transition: none;
  }
}
