/* Eclipse MDI form #2. Scoped to the public form and its AJAX validation state. */
#gform_wrapper_2 {
  --gf-color-primary: #7148d4;
  --gf-color-primary-darker: #5832b1;
  --gf-ctrl-btn-bg-color-primary: #7148d4;
  --gf-ctrl-label-color-primary: #243450;
  --gf-ctrl-desc-color: #65738a;
  --gf-ctrl-bg-color: #ffffff;
  --gf-ctrl-border-color: #cbd5e4;
  --gf-ctrl-radius: 12px;
  --gf-form-gap-x: 26px;
  --gf-form-gap-y: 24px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: min(100%, 1140px);
  max-width: 1140px;
  margin: 28px auto 40px;
  padding: clamp(24px, 4.5vw, 46px);
  border: 1px solid #dfe5f0;
  border-top: 6px solid #7148d4;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(113,72,212,.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 18px 46px rgba(18,37,73,.10), 0 4px 12px rgba(18,37,73,.05);
  color: #243450;
}
#gform_wrapper_2::before { content: none; }
#gform_wrapper_2 *, #gform_wrapper_2 *::before, #gform_wrapper_2 *::after { box-sizing: border-box; }
#gform_wrapper_2 .gform_heading,
#gform_wrapper_2 .gform-theme--foundation .gform_heading {
  position: relative;
  margin: -6px -6px 28px;
  padding: 0 6px 18px;
  border-bottom: 1px solid rgba(203,213,228,.72);
}
#gform_wrapper_2 .gform_title {
  color: #182743;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
#gform_wrapper_2 .gform_description {
  max-width: 760px;
  color: #5e6d84;
  font-size: 1rem;
  line-height: 1.7;
}
#gform_wrapper_2 .gfield_label,
#gform_wrapper_2 .gform-field-label {
  color: #243450;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
}
#gform_wrapper_2 input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
#gform_wrapper_2 textarea,
#gform_wrapper_2 select {
  max-width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #cbd5e4;
  border-radius: 12px;
  background: #fff;
  color: #1e2d48;
  box-shadow: 0 1px 2px rgba(22,38,70,.025);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
#gform_wrapper_2 textarea { min-height: 150px; resize: vertical; }
#gform_wrapper_2 input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):focus-visible,
#gform_wrapper_2 textarea:focus-visible,
#gform_wrapper_2 select:focus-visible {
  outline: 2px solid #7148d4;
  outline-offset: 1px;
  border-color: #7148d4;
  box-shadow: 0 0 0 4px rgba(113,72,212,.12);
  background-color: #fff;
}
#gform_wrapper_2 .gfield_description {
  color: #64748b;
  line-height: 1.55;
}
#gform_wrapper_2 .gform_footer,
#gform_wrapper_2 .gform-page-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  margin-top: 10px;
  border-top: 1px solid rgba(203,213,228,.7);
}
#gform_wrapper_2 .gform_button,
#gform_wrapper_2 input[type="submit"],
#gform_wrapper_2 button[type="submit"] {
  min-height: 50px;
  padding: 13px 30px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(105deg,#7148d4,#514bb9);
  font-weight: 750;
  letter-spacing: .015em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(92,71,184,.23);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#gform_wrapper_2 .gform_button:hover,
#gform_wrapper_2 input[type="submit"]:hover,
#gform_wrapper_2 button[type="submit"]:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(92,71,184,.28);
}
#gform_wrapper_2 .gform_button:focus-visible,
#gform_wrapper_2 input[type="submit"]:focus-visible,
#gform_wrapper_2 button[type="submit"]:focus-visible {
  outline: 3px solid #302174;
  outline-offset: 3px;
}
#gform_wrapper_2 .gfield_required { color: #ad3262; }
#gform_wrapper_2 .gfield_error input,
#gform_wrapper_2 .gfield_error textarea,
#gform_wrapper_2 .gfield_error select { border-color: #c94e68; }
#gform_wrapper_2 .gform_validation_errors { border-radius: 12px; }

/* Widened, structured quotation-style layout */
#gform_wrapper_2 .gform_body .gform_fields,
#gform_wrapper_2 .gform_fields {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 22px;
}
#gform_wrapper_2 .gfield { min-width: 0; width: 100%; grid-column: span 12; }
#gform_wrapper_2 .gfield:nth-child(1) { grid-column: span 12; }
#gform_wrapper_2 .gfield:nth-child(2),
#gform_wrapper_2 .gfield:nth-child(3),
#gform_wrapper_2 .gfield:nth-child(4),
#gform_wrapper_2 .gfield:nth-child(5),
#gform_wrapper_2 .gfield:nth-child(6),
#gform_wrapper_2 .gfield:nth-child(7),
#gform_wrapper_2 .gfield:nth-child(9),
#gform_wrapper_2 .gfield:nth-child(10) { grid-column: span 6; }
#gform_wrapper_2 .gfield:nth-child(8),
#gform_wrapper_2 .gfield:nth-child(11) { grid-column: span 12; }

#gform_wrapper_2 .ginput_container:not(.ginput_container_checkbox):not(.ginput_container_radio),
#gform_wrapper_2 .ginput_complex {
  width: 100%;
  max-width: none;
  min-width: 0;
}
#gform_wrapper_2 .gfield input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
#gform_wrapper_2 .gfield select,
#gform_wrapper_2 .gfield textarea {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 15px;
}
#gform_wrapper_2 .gfield .ginput_complex {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
#gform_wrapper_2 .gfield .ginput_complex > span {
  min-width: 0;
  width: 100%;
}
#gform_wrapper_2 .gfield .ginput_complex > span input { width: 100% !important; }

/* Product checklist styling */
#gform_wrapper_2 .gfield .ginput_container_checkbox,
#gform_wrapper_2 .gfield .ginput_container_radio {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px 14px;
}
#gform_wrapper_2 .gfield .ginput_container_checkbox .gchoice,
#gform_wrapper_2 .gfield .ginput_container_radio .gchoice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #d8e1ef;
  border-radius: 12px;
  background: #fbfcff;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
#gform_wrapper_2 .gfield .ginput_container_checkbox .gchoice:focus-within,
#gform_wrapper_2 .gfield .ginput_container_radio .gchoice:focus-within,
#gform_wrapper_2 .gfield .ginput_container_checkbox .gchoice:hover,
#gform_wrapper_2 .gfield .ginput_container_radio .gchoice:hover {
  border-color: #c6b7f0;
  box-shadow: 0 6px 18px rgba(113,72,212,.08);
  background: #ffffff;
}
#gform_wrapper_2 .gfield .ginput_container_checkbox input[type="checkbox"],
#gform_wrapper_2 .gfield .ginput_container_radio input[type="radio"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  accent-color: #7148d4;
  margin-top: 2px;
}
#gform_wrapper_2 .gfield .ginput_container_checkbox label,
#gform_wrapper_2 .gfield .ginput_container_radio label {
  font-size: 14px;
  line-height: 1.45;
  color: #334155;
  margin: 0;
}
#gform_wrapper_2 .gfield .ginput_container_checkbox input[type="checkbox"]:checked + label,
#gform_wrapper_2 .gfield .ginput_container_radio input[type="radio"]:checked + label {
  color: #1d2b46;
  font-weight: 650;
}

#gform_wrapper_2 .gfield_label { margin-bottom: 8px; }
#gform_wrapper_2 .ginput_container_email + .gfield_description,
#gform_wrapper_2 .ginput_complex .gfield_description { margin-top: 6px; }
#gform_wrapper_2 ::placeholder { color: #8491a4; opacity: 1; }

@media (max-width: 960px) {
  #gform_wrapper_2 {
    width: min(100%, 980px);
    padding: 28px 22px;
  }
  #gform_wrapper_2 .gfield:nth-child(2),
  #gform_wrapper_2 .gfield:nth-child(3),
  #gform_wrapper_2 .gfield:nth-child(4),
  #gform_wrapper_2 .gfield:nth-child(5),
  #gform_wrapper_2 .gfield:nth-child(6),
  #gform_wrapper_2 .gfield:nth-child(7),
  #gform_wrapper_2 .gfield:nth-child(9),
  #gform_wrapper_2 .gfield:nth-child(10) { grid-column: span 12; }
}
@media (max-width: 640px) {
  #gform_wrapper_2 {
    margin: 14px auto 24px;
    padding: 22px 17px;
    border-radius: 16px;
  }
  #gform_wrapper_2 .gform_body .gform_fields,
  #gform_wrapper_2 .gform_fields { grid-template-columns: 1fr; gap: 18px; }
  #gform_wrapper_2 .gfield,
  #gform_wrapper_2 .gfield:nth-child(n) { grid-column: span 1; }
  #gform_wrapper_2 .gfield .ginput_complex,
  #gform_wrapper_2 .gfield .ginput_container_checkbox,
  #gform_wrapper_2 .gfield .ginput_container_radio { grid-template-columns: 1fr; }
  #gform_wrapper_2 .gform_footer,
  #gform_wrapper_2 .gform-page-footer { flex-direction: column; align-items: stretch; }
  #gform_wrapper_2 .gform_button,
  #gform_wrapper_2 input[type="submit"] { width: 100%; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #gform_wrapper_2 input,
  #gform_wrapper_2 textarea,
  #gform_wrapper_2 select,
  #gform_wrapper_2 .gchoice,
  #gform_wrapper_2 .gform_button { transition: none !important; }
}

/* v1.3 Accessible branded quotation hero: added only to public Form 2. */
#gform_wrapper_2 { padding-top: 0; overflow: clip; }
#gform_wrapper_2 .eclipse-gf2-hero {
  position: relative;
  margin: 0 calc(-1 * clamp(24px, 4.5vw, 46px)) 30px;
  padding: clamp(27px, 4vw, 48px) clamp(24px, 4.5vw, 46px);
  background: radial-gradient(circle at 88% 12%, rgba(153,117,255,.26), transparent 32%),
              linear-gradient(115deg, #101d38 0%, #22305a 56%, #4d338c 100%);
  color: #fff;
}
#gform_wrapper_2 .eclipse-gf2-hero::after {
  content: "";
  position: absolute;
  top: -55px;
  right: -38px;
  width: 265px;
  height: 265px;
  border: 1px solid rgba(205,193,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(205,193,255,.06), 0 0 0 72px rgba(205,193,255,.035);
  pointer-events: none;
}
#gform_wrapper_2 .eclipse-gf2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9c9ff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#gform_wrapper_2 .eclipse-gf2-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #a88aff;
  border-radius: 50%;
}
#gform_wrapper_2 .eclipse-gf2-hero h2 {
  margin: 13px 0 10px;
  max-width: 770px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: -.035em;
}
#gform_wrapper_2 .eclipse-gf2-hero p {
  margin: 0;
  max-width: 690px;
  color: #e2e8f8;
  font-size: clamp(.92rem, 1.4vw, 1rem);
  line-height: 1.7;
}
#gform_wrapper_2 .eclipse-gf2-hero .eclipse-gf2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
#gform_wrapper_2 .eclipse-gf2-tags span {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(218,205,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  color: #f3edff;
  font-size: 12px;
  font-weight: 600;
}
#gform_wrapper_2 .eclipse-gf2-fields-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e1e6f0;
}
#gform_wrapper_2 .eclipse-gf2-fields-intro strong { color: #182743; font-size: 17px; letter-spacing: -.02em; }
#gform_wrapper_2 .eclipse-gf2-fields-intro span {
  margin-left: auto;
  color: #66758e;
  font-size: 12px;
}
#gform_wrapper_2 .gfield .ginput_container_checkbox .gchoice:has(input:checked),
#gform_wrapper_2 .gfield .ginput_container_radio .gchoice:has(input:checked) {
  background: #f4f0ff;
  border-color: #9474de;
  box-shadow: inset 0 0 0 1px rgba(113,72,212,.18);
}
@media (max-width: 960px) {
  #gform_wrapper_2 .eclipse-gf2-hero { margin-left: -22px; margin-right: -22px; }
}
@media (max-width: 640px) {
  #gform_wrapper_2 .eclipse-gf2-hero {
    margin-left: -17px;
    margin-right: -17px;
    margin-bottom: 23px;
    padding: 29px 20px;
  }
  #gform_wrapper_2 .eclipse-gf2-fields-intro { flex-wrap: wrap; }
  #gform_wrapper_2 .eclipse-gf2-fields-intro span { margin-left: 0; }
}

/* v1.4: overcome narrow WPBakery page-column constraints without changing the theme. */
@media (min-width: 961px) {
  #gform_wrapper_2 {
    width: min(1080px, calc(100vw - 100px)) !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (min-width: 641px) and (max-width: 960px) {
  #gform_wrapper_2 {
    width: min(760px, calc(100vw - 56px)) !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* The actual Gravity Forms choice-list is a nested .gfield_checkbox element. */
#gform_wrapper_2 .gfield:nth-child(8),
#gform_wrapper_2 .gfield:nth-child(9),
#gform_wrapper_2 .gfield:nth-child(11) {
  grid-column: 1 / -1 !important;
}
#gform_wrapper_2 .gfield:nth-child(10) { grid-column: span 12 !important; }
#gform_wrapper_2 .gfield_checkbox,
#gform_wrapper_2 .gfield_radio,
#gform_wrapper_2 .ginput_container_checkbox .gfield_checkbox,
#gform_wrapper_2 .ginput_container_radio .gfield_radio {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 11px 14px !important;
  width: 100% !important;
}
#gform_wrapper_2 .gfield_checkbox .gchoice,
#gform_wrapper_2 .gfield_radio .gchoice {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  align-items: center !important;
}
#gform_wrapper_2 .gfield_checkbox .gchoice label,
#gform_wrapper_2 .gfield_radio .gchoice label {
  overflow-wrap: anywhere;
  cursor: pointer;
}
@media (min-width: 641px) and (max-width: 960px) {
  #gform_wrapper_2 .gfield_checkbox,
  #gform_wrapper_2 .gfield_radio,
  #gform_wrapper_2 .ginput_container_checkbox .gfield_checkbox,
  #gform_wrapper_2 .ginput_container_radio .gfield_radio {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  #gform_wrapper_2 { position: static; left: auto; transform: none; width: 100% !important; }
  #gform_wrapper_2 .gfield_checkbox,
  #gform_wrapper_2 .gfield_radio,
  #gform_wrapper_2 .ginput_container_checkbox .gfield_checkbox,
  #gform_wrapper_2 .ginput_container_radio .gfield_radio {
    grid-template-columns: 1fr !important;
  }
  #gform_wrapper_2 .gfield:nth-child(8),
  #gform_wrapper_2 .gfield:nth-child(9),
  #gform_wrapper_2 .gfield:nth-child(10),
  #gform_wrapper_2 .gfield:nth-child(11) { grid-column: 1 / -1 !important; }
}

/* v1.5: WooCommerce product quote tab modal: scoped to an activated dialog. */
body.eclipse-gf2-modal-open { overflow: hidden !important; }
.eclipse-gf2-dialog[hidden] { display: none !important; }
.eclipse-gf2-dialog {
  position: fixed !important; inset: 0; z-index: 2147483000;
  display: grid; place-items: center; padding: clamp(10px, 2.5vh, 28px);
  isolation: isolate;
}
.eclipse-gf2-backdrop { position: absolute; inset: 0; background: rgba(9,17,34,.78); backdrop-filter: blur(5px); }
.eclipse-gf2-modal-panel {
  position: relative; z-index: 1; width: min(1020px, calc(100vw - 28px));
  max-height: min(94dvh, 1100px); display: flex; flex-direction: column;
  border-radius: 19px; overflow: hidden; background: #fff;
  box-shadow: 0 32px 100px rgba(3,10,30,.42);
}
.eclipse-gf2-modal-top { flex: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 8px 26px; background: #142441; color: #d7cafa; font: 700 12px/1.4 system-ui,sans-serif; letter-spacing: .12em;
}
.eclipse-gf2-close { appearance: none; border: 1px solid #667494; border-radius: 11px; width: 37px; height: 37px;
 background: #253758; color: #fff; font: 400 27px/1 system-ui,sans-serif; cursor: pointer; }
.eclipse-gf2-close:hover, .eclipse-gf2-close:focus-visible { background: #7148d4; outline: 2px solid #d1c2ff; outline-offset: 2px; }
.eclipse-gf2-modal-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 14px 14px; }
.eclipse-gf2-dialog #gform_wrapper_2 {
  width: 100% !important; max-width: none !important; left: auto !important; transform: none !important;
  margin: 14px 0 0 !important; box-shadow: none; border: 0; border-radius: 0;
  padding: clamp(18px, 3vw, 36px) !important;
}
.eclipse-gf2-dialog #gform_wrapper_2 .eclipse-gf2-hero { border-radius: 14px; margin-top: -10px; }
@media (max-width: 640px) {
  .eclipse-gf2-dialog { padding: 0; }
  .eclipse-gf2-modal-panel { width: 100%; max-height: 100dvh; min-height: 100dvh; border-radius: 0; }
  .eclipse-gf2-modal-scroll { padding: 0 3px 12px; }
  .eclipse-gf2-dialog #gform_wrapper_2 { padding: 16px !important; }
  .eclipse-gf2-modal-top { padding-left: 15px; font-size: 10px; }
}
