/* Contact page polish, scoped to the captured Cuantera contact route. */
body.page-id-48 .elementor-48 .elementor-element.elementor-element-2eccec9 {
  padding: 104px 0 76px !important;
}

body.page-id-48 .elementor-48 .elementor-element-5b99a4c .elementor-heading-title {
  color: #122943 !important;
  font-size: clamp(2.6rem, 5vw, 3.75rem) !important;
  font-weight: 600;
  line-height: 1.08;
}

body.page-id-48 .elementor-48 .elementor-element-6752051 .elementor-heading-title {
  color: #526276 !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin: 0 auto;
  max-width: 760px;
}

body.page-id-48 .elementor-48 .elementor-element-4d9bddd7 {
  padding: 24px 0 88px !important;
}

body.page-id-48 .elementor-48 .elementor-element-4d9bddd7 > .elementor-container {
  max-width: 940px !important;
  width: 100%;
}

body.page-id-48 .elementor-48 .elementor-element-1086d6f9 > .elementor-element-populated {
  margin: 0 !important;
  width: 100%;
}

body.page-id-48 .cuantera-preview-form {
  background: #fff;
  border: 1px solid #e3e9f0;
  box-sizing: border-box;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(19, 43, 69, 0.09);
  margin: 0 auto;
  max-width: 840px;
  padding: clamp(22px, 4vw, 40px);
  width: 100%;
}

body.page-id-48 #cuantera-contact-form .wpforms-field-container {
  display: grid !important;
  gap: 22px 20px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.page-id-48 #cuantera-contact-form label.cuantera-contact-field {
  color: #243b53;
  display: flex !important;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 8px;
  line-height: 1.45;
  margin: 0 !important;
  min-width: 0;
  width: auto !important;
}

body.page-id-48 #cuantera-contact-form .cuantera-contact-field--message,
body.page-id-48 #cuantera-contact-form .cuantera-contact-field--interest {
  grid-column: 1 / -1;
}

body.page-id-48 #cuantera-contact-form .cuantera-contact-field input,
body.page-id-48 #cuantera-contact-form .cuantera-contact-field select,
body.page-id-48 #cuantera-contact-form .cuantera-contact-field textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  box-shadow: none;
  box-sizing: border-box;
  color: #172b43;
  font: inherit;
  font-size: 1rem;
  margin: 0;
  min-height: 54px;
  padding: 13px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

body.page-id-48 #cuantera-contact-form .cuantera-contact-field textarea {
  line-height: 1.55;
  min-height: 164px;
  resize: vertical;
}

body.page-id-48 #cuantera-contact-form .cuantera-contact-field input::placeholder,
body.page-id-48 #cuantera-contact-form .cuantera-contact-field textarea::placeholder {
  color: #7b8999;
}

body.page-id-48 #cuantera-contact-form .cuantera-contact-field input:focus,
body.page-id-48 #cuantera-contact-form .cuantera-contact-field select:focus,
body.page-id-48 #cuantera-contact-form .cuantera-contact-field textarea:focus {
  border-color: #2d67b2;
  box-shadow: 0 0 0 4px rgba(45, 103, 178, 0.13);
  outline: none;
}

body.page-id-48 #cuantera-contact-form .wpforms-submit-container {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}

body.page-id-48 #cuantera-contact-form button[type="submit"] {
  background: #245ea8;
  border: 1px solid #245ea8;
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(36, 94, 168, 0.2);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  min-height: 50px;
  padding: 12px 24px;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.page-id-48 #cuantera-contact-form button[type="submit"]:hover {
  background: #194c8c;
  box-shadow: 0 8px 20px rgba(36, 94, 168, 0.26);
  transform: translateY(-1px);
}

body.page-id-48 #cuantera-contact-form button[type="submit"]:focus-visible {
  outline: 3px solid rgba(45, 103, 178, 0.35);
  outline-offset: 3px;
}

body.page-id-48 #cuantera-contact-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

body.page-id-48 #cuantera-form-status {
  color: #586a7e;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  min-height: 1.5em;
}

body.page-id-48 #cuantera-form-status[data-state="success"] {
  color: #176b47;
}

body.page-id-48 #cuantera-form-status[data-state="error"] {
  color: #a32c2c;
}

@media (max-width: 767px) {
  body.page-id-48 .elementor-48 .elementor-section > .elementor-container,
  body.page-id-48 .elementor-48 .elementor-column,
  body.page-id-48 .elementor-48 .elementor-widget-wrap,
  body.page-id-48 .elementor-48 .elementor-widget,
  body.page-id-48 .elementor-48 .elementor-shortcode {
    box-sizing: border-box;
    max-width: 100% !important;
    min-width: 0;
  }

  body.page-id-48 .elementor-48 .elementor-section > .elementor-container {
    width: 100% !important;
  }

  body.page-id-48 .elementor-48 .elementor-element-2eccec9 > .elementor-container,
  body.page-id-48 .elementor-48 .elementor-element-4d9bddd7 > .elementor-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.page-id-48 .elementor-48 .elementor-element-6752051,
  body.page-id-48 .elementor-48 .elementor-element-6752051 .elementor-heading-title {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

  body.page-id-48 .elementor-48 .elementor-element.elementor-element-2eccec9 {
    padding: 78px 0 56px !important;
  }

  body.page-id-48 .elementor-48 .elementor-element-4d9bddd7 {
    padding: 14px 0 58px !important;
  }
}

@media (max-width: 560px) {
  body.page-id-48 #cuantera-contact-form .wpforms-field-container {
    gap: 17px !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-id-48 #cuantera-contact-form .cuantera-contact-field--message,
  body.page-id-48 #cuantera-contact-form .cuantera-contact-field--interest {
    grid-column: auto;
  }

  body.page-id-48 #cuantera-contact-form .cuantera-contact-field textarea {
    min-height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-48 #cuantera-contact-form .cuantera-contact-field input,
  body.page-id-48 #cuantera-contact-form .cuantera-contact-field select,
  body.page-id-48 #cuantera-contact-form .cuantera-contact-field textarea,
  body.page-id-48 #cuantera-contact-form button[type="submit"] {
    transition: none;
  }
}
