/* Devoq forms — floating labels, dial, chips, budget dropdown. Design-frozen pill geometry. */
.devoq-form-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.devoq-req-legend {
  margin: 0 0 16px;
  font-family: Urbanist, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}
.devoq-req {
  color: #ff5a5a;
  font-weight: 700;
}
.devoq-float {
  position: relative;
  width: 100%;
}
.devoq-float-label {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Urbanist, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 72px);
}
textarea ~ .devoq-float-label,
.devoq-float:has(textarea) > .devoq-float-label {
  top: 22px;
  transform: none;
}
.devoq-float.is-focused > .devoq-float-label,
.devoq-float.is-filled > .devoq-float-label,
.devoq-float:focus-within > .devoq-float-label {
  top: 12px;
  transform: none;
  font-size: 11px;
  line-height: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.devoq-float input,
.devoq-float textarea,
.devoq-float select {
  position: relative;
  z-index: 1;
}
.devoq-float input::placeholder,
.devoq-float textarea::placeholder,
/* Beat snapshot #devoq-contact-form placeholder rules (same specificity + later sheet). */
#devoq-contact-form .devoq-float input::placeholder,
#devoq-contact-form .devoq-float textarea::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}
/* Focused empty textarea: show long hint under floated label */
#devoq-contact-form .devoq-float.is-focused textarea:placeholder-shown::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  opacity: 1 !important;
}
.devoq-float.is-focused input,
.devoq-float.is-filled input,
.devoq-float:focus-within input,
.devoq-float.is-focused textarea,
.devoq-float.is-filled textarea,
.devoq-float:focus-within textarea,
.devoq-float.is-focused select,
.devoq-float.is-filled select,
.devoq-float:focus-within select,
.devoq-float.is-focused .devoq-dd-trigger,
.devoq-float.is-filled .devoq-dd-trigger {
  padding-top: 28px !important;
  padding-bottom: 10px !important;
}
/* Career experience <select> — match dark pill tokens */
.elementor-form .devoq-float select,
#devoq-contact-form .devoq-float select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background-color: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 100px;
  box-sizing: border-box;
  font-family: Urbanist, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  color: #fff !important;
  padding: 18px 52px 18px 24px !important;
  min-height: 63px;
}
/* Phone dial sits tight against placeholder (~dial width + 8px, was 96px). */
.devoq-float--phone > input[type='tel'],
.devoq-float--phone > input[type='text'],
#devoq-contact-form .devoq-float--phone > input,
#devoq-contact-form .phone-nbr .devoq-float--phone > input,
.wpcf7-form .devoq-float--phone > input,
.elementor-location-popup .devoq-float--phone > input {
  padding-left: 48px !important;
}
.devoq-float--phone > .devoq-float-label {
  left: 48px;
  max-width: calc(100% - 96px);
}
/* Kill legacy CF7 intlTel / countrySelect chrome — one dial only. */
#devoq-contact-form .iti,
#devoq-contact-form .flag-container,
#devoq-contact-form .selected-flag,
#devoq-contact-form .country-list,
.wpcf7-form .iti,
.wpcf7-form .flag-container,
.wpcf7-form .intl-tel-input {
  display: none !important;
}
.devoq-dial {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.devoq-dial-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  height: 36px;
  padding: 0 4px 0 8px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  font-family: Urbanist, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.devoq-dial-btn:focus-visible {
  outline: 2px solid #23d09c;
  outline-offset: 2px;
}
.devoq-dial-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.7);
}
.devoq-dial-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: min(280px, 70vw);
  max-height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #1e2124;
  border: 1px solid #ffffff26;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 20;
}
.devoq-dial-panel[hidden] {
  display: none !important;
}
.devoq-dial-search {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #ffffff26 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 14px !important;
}
.devoq-dial-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  overflow: auto;
  max-height: 210px;
}
.devoq-dial-list li {
  padding: 8px 12px;
  font-family: Urbanist, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
}
.devoq-dial-list li:hover,
.devoq-dial-list li:focus {
  background: #ffffff14;
  outline: none;
}
.devoq-error,
.wpcf7-not-valid-tip[data-devoq-error] {
  display: block;
  margin-top: 8px;
  font-family: Urbanist, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ff7a7a;
}
.devoq-form-status {
  display: none;
  margin: 12px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: Urbanist, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.devoq-form-status.is-visible { display: block; }
.devoq-form-status.is-error {
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.45);
  color: #ff7a7a;
}
.devoq-form-status.is-success {
  background: rgba(35, 208, 156, 0.12);
  border: 1px solid rgba(35, 208, 156, 0.45);
  color: #23d09c;
}
.devoq-form-status.is-info {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}
#devoq-contact-form .wpcf7-spinner,
.elementor-form[data-devoq-wired] .elementor-form-spinner,
.elementor-form[data-devoq-wired] .elementor-message,
.elementor-32679 .elementor-message,
.elementor-form.devoq-owns-submit .elementor-message {
  display: none !important;
}
.devoq-hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}
button.devoq-submitting,
input.devoq-submitting,
.elementor-button.devoq-submitting {
  opacity: 0.75;
  cursor: wait;
}
.devoq-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(20, 20, 43, 0.25);
  border-top-color: #14142b;
  border-radius: 50%;
  vertical-align: middle;
  animation: devoq-spin 0.7s linear infinite;
}
@keyframes devoq-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Company field icon (matches ::after icon set) */
#devoq-contact-form .fieldsets.row .company-icn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url('/media/2025/07/icn_form_building.svg') no-repeat center center;
  background-size: contain !important;
  pointer-events: none;
  z-index: 10;
}

/* ---- Desktop 2-col field pairs (dark pills; not navy square reference) ---- */
#devoq-contact-form .fieldsets.row.devoq-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 20px;
  width: 100%;
  float: left;
  box-sizing: border-box;
}
#devoq-contact-form .fieldsets.row.devoq-form-row > .col-md-6 {
  flex: 1 1 calc(50% - 10px);
  width: auto;
  max-width: calc(50% - 10px);
  float: none;
  min-width: 0;
  box-sizing: border-box;
}
/* Full-width rows stay single column (needs chips, budget, description) */
#devoq-contact-form .fieldsets.row:not(.devoq-form-row) > .col-md-12 {
  width: 100%;
}

/* ---- Needs chips (multi-select) ---- */
.devoq-needs {
  width: 100%;
  float: left;
}
.devoq-needs-label {
  display: block;
  margin: 0 0 12px;
  font-family: Urbanist, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}
.devoq-needs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.devoq-chip {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid #ffffff26;
  border-radius: 32px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: Urbanist, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.devoq-chip:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.devoq-chip:focus-visible {
  outline: 2px solid #23d09c;
  outline-offset: 2px;
}
.devoq-chip[aria-pressed='true'] {
  background: #23d09c;
  border-color: #23d09c;
  color: #14142b;
}

/* ---- Custom budget dropdown (pill, not native) ---- */
.devoq-dd {
  position: relative;
  width: 100%;
}
.devoq-dd-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  min-height: 63px;
  padding: 18px 52px 18px 24px !important;
  margin: 0;
  background-color: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 100px;
  color: #fff;
  font-family: Urbanist, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  text-align: left;
  cursor: pointer;
}
.devoq-dd-trigger:focus-visible {
  outline: 2px solid #23d09c;
  outline-offset: 2px;
}
.devoq-dd-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: transparent;
}
.devoq-float.is-filled .devoq-dd-value,
.devoq-float.is-focused .devoq-dd-value {
  color: #fff;
}
.devoq-dd-chevron {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 2;
}
.devoq-dd.is-open .devoq-dd-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.devoq-dd-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #1e2124;
  border: 1px solid #ffffff26;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 30;
}
.devoq-dd-panel[hidden] {
  display: none !important;
}
.devoq-dd-option {
  padding: 12px 24px;
  font-family: Urbanist, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
.devoq-dd-option:hover,
.devoq-dd-option:focus,
.devoq-dd-option[aria-selected='true'] {
  background: #ffffff14;
  outline: none;
}
.devoq-dd-option:focus-visible {
  outline: 2px solid #23d09c;
  outline-offset: -2px;
}

@media (max-width: 768px) {
  #devoq-contact-form .fieldsets.row.devoq-form-row {
    flex-direction: column;
    gap: 16px;
  }
  #devoq-contact-form .fieldsets.row.devoq-form-row > .col-md-6 {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  #devoq-contact-form .fieldsets.row .company-icn::after {
    width: 20px !important;
    height: 20px !important;
    right: 18px !important;
  }
  .devoq-chip {
    font-size: 14px;
    padding: 9px 14px;
  }
  .devoq-dd-trigger {
    font-size: 16px;
    min-height: 56px;
  }
}

/* newsletter / elementor light contexts */
.elementor-form .devoq-req-legend {
  color: rgba(140, 143, 143, 0.95);
}
.elementor-location-popup .devoq-float-label,
.elementor-form .devoq-float-label {
  color: rgba(140, 143, 143, 0.95);
}
.elementor-location-popup .devoq-float.is-focused > .devoq-float-label,
.elementor-location-popup .devoq-float.is-filled > .devoq-float-label,
.elementor-form .devoq-float.is-focused > .devoq-float-label,
.elementor-form .devoq-float.is-filled > .devoq-float-label {
  color: rgba(140, 143, 143, 0.95);
}

/* ---- Contact section: widen form card, reduce gap before We're Here ---- */
@media (min-width: 1025px) {
  .elementor-24415 .elementor-element-12e06243 {
    --width: 72% !important;
    width: 72% !important;
    max-width: 72% !important;
    flex-grow: 1 !important;
  }
  .elementor-24415 .elementor-element-5e7eda43 {
    --width: 28% !important;
    width: 28% !important;
    max-width: 28% !important;
  }
  .elementor-24415 .elementor-element-15393238 {
    /* Authored gap was 130px — that empty band between card and info column. */
    --gap: 28px 28px !important;
  }
  .elementor-24415 .elementor-element-31cd2197 {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Injected Australia office — match authored white icon-box chrome */
.elementor-element-devoq-au .elementor-icon-box-title,
.elementor-element-devoq-au .elementor-icon-box-title span {
  color: #ffffff !important;
}
.elementor-element-devoq-au .elementor-icon-box-description {
  color: rgba(255, 255, 255, 0.75) !important;
}
.elementor-element-devoq-au .elementor-icon svg {
  fill: #ffffff;
}

/* ---- Exit-intent / audit popup 32679 — polish (scoped; keep dark pills) ---- */

/* Authored Elementor bug: subtitle uses line-height:1px → wrapped lines stack/overlap */
.elementor-32679 .elementor-element-af39195,
.elementor-32679 .elementor-element-af39195 .elementor-widget-container,
.elementor-32679 .elementor-element-af39195 p {
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.78) !important;
}
.elementor-32679 .elementor-element-af39195 {
  font-size: 17px !important;
  margin: 0 !important;
}
.elementor-32679 .elementor-element-af39195 p {
  margin: 0 !important;
  max-width: 36em;
  margin-inline: auto !important;
}

/* Close X — Elementor defaults fill #1f2124 on dark #303435 modal */
#elementor-popup-modal-32679 .dialog-close-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  top: 14px !important;
  right: 14px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
#elementor-popup-modal-32679 .dialog-close-button:hover {
  background: rgba(255, 255, 255, 0.32) !important;
}
#elementor-popup-modal-32679 .dialog-close-button svg,
#elementor-popup-modal-32679 .dialog-close-button svg use,
#elementor-popup-modal-32679 .dialog-close-button i {
  fill: #ffffff !important;
  color: #ffffff !important;
  width: 16px !important;
  height: 16px !important;
}

/* Kill orphaned markers / leaked career-form field icons inside popup */
.elementor-32679,
.elementor-32679 .elementor-field-group,
.elementor-32679 .elementor-form-fields-wrapper,
.elementor-32679 .devoq-float,
.elementor-32679 .devoq-req-legend {
  list-style: none !important;
}
.elementor-32679 .elementor-field-group::marker,
.elementor-32679 .elementor-field-group::before,
.elementor-32679 .elementor-field-group::after,
.elementor-32679.icon-forms .elementor-field-group::before,
.elementor-32679.icon-forms .elementor-field-group::after,
.elementor-32679 .icon-forms .elementor-field-group::before,
.elementor-32679 .icon-forms .elementor-field-group::after {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
}

/* Float labels + field chrome */
.elementor-location-popup .devoq-float-label,
.elementor-32679 .devoq-float-label,
.elementor-32679 .devoq-float > .devoq-float-label {
  display: none !important;
}
.elementor-location-popup .devoq-float > input,
.elementor-location-popup .devoq-float > textarea,
.elementor-32679 .devoq-float > input,
.elementor-32679 .devoq-float > textarea,
.elementor-32679 .icon-forms input:not([type='button']):not([type='submit']),
.elementor-32679 .icon-forms textarea,
.elementor-32679 .icon-forms .elementor-field-textual {
  padding: 16px 18px !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
}
.elementor-32679 .devoq-float.is-focused > input,
.elementor-32679 .devoq-float.is-filled > input,
.elementor-32679 .devoq-float:focus-within > input {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.elementor-32679 .icon-forms .elementor-field::placeholder,
.elementor-32679 form[data-devoq-wired='audit'] input::placeholder {
  color: #8c8f8f !important;
  opacity: 1 !important;
}
.elementor-32679 .devoq-form-status { margin-top: 10px; }
.elementor-location-popup .devoq-float--phone > input,
.elementor-32679 .devoq-float--phone > input {
  padding-left: 48px !important;
}
.elementor-location-popup .devoq-float--phone > .devoq-float-label,
.elementor-32679 .devoq-float--phone > .devoq-float-label {
  left: 48px !important;
}
.elementor-32679 .elementor-element-a2fea0f .elementor-field-group {
  position: relative;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 14px !important;
  overflow: visible;
}
.elementor-32679 .elementor-element-a2fea0f .elementor-form-fields-wrapper {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}
.elementor-32679 .elementor-element-a2fea0f .elementor-field-type-submit {
  margin-top: 8px !important;
}
.elementor-32679 .devoq-req-legend {
  margin-bottom: 12px;
}

/* Modal shell + layout rebalance
   109c571 is the FULL content column (heading + form row) — must stay 100%.
   Prior pass wrongly squeezed it to 64%, creating dead dark space. */
#elementor-popup-modal-32679 .dialog-message {
  width: min(1000px, 94vw) !important;
}
.elementor-32679 .elementor-element-b39bfa6 {
  --padding-top: 32px !important;
  --padding-bottom: 32px !important;
  --padding-left: 32px !important;
  --padding-right: 32px !important;
}
.elementor-32679 .elementor-element-109c571 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  --gap: 28px 28px !important;
}
.elementor-32679 .elementor-element-b8c5843 .elementor-heading-title {
  line-height: 1.25 !important;
}
@media (min-width: 768px) {
  .elementor-32679 .elementor-element-e14a6ba {
    align-items: center !important;
    gap: 20px !important;
  }
  .elementor-32679 .elementor-element-86dccae {
    flex: 1 1 50% !important;
    max-width: 52% !important;
    width: 50% !important;
  }
  .elementor-32679 .elementor-element-f3d3fba {
    flex: 1 1 46% !important;
    max-width: 48% !important;
    width: 46% !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    min-height: 340px;
  }
  .elementor-32679 .elementor-element-76f79e2 {
    --lottie-container-width: 100% !important;
    width: 100% !important;
    max-width: 400px !important;
    margin-inline: auto;
  }
  .elementor-32679 .elementor-element-76f79e2 .e-lottie__container,
  .elementor-32679 .elementor-element-76f79e2 .e-lottie__animation {
    width: 100% !important;
    max-width: 400px !important;
    margin-inline: auto;
  }
  .elementor-32679 .elementor-element-76f79e2 .e-lottie__animation svg {
    width: 100% !important;
    height: auto !important;
  }
}
@media (max-width: 767px) {
  #elementor-popup-modal-32679 .dialog-message {
    width: min(100%, 94vw) !important;
  }
  .elementor-32679 .elementor-element-b39bfa6 {
    --padding-top: 24px !important;
    --padding-bottom: 24px !important;
    --padding-left: 20px !important;
    --padding-right: 20px !important;
  }
  .elementor-32679 .elementor-element-f3d3fba {
    display: none !important; /* form-first on small screens */
  }
  .elementor-32679 .elementor-element-86dccae {
    width: 100% !important;
    max-width: 100% !important;
  }
  .elementor-32679 .elementor-element-af39195 {
    text-align: left !important;
    font-size: 15px !important;
  }
  .elementor-32679 .elementor-element-af39195 p {
    margin-inline: 0 !important;
  }
}
