/*!
 * devpro-forms.css - the confirmation dialog shared by every form on the site,
 * plus the contact page's own form and detail panel.
 *
 * Brand: dark navy ground rgb(4, 4, 20), cyan accent, white text. Open Sans for
 * headings at 700, Roboto for everything else. Multi-word family names are
 * quoted, an unquoted "Open Sans" makes the whole declaration invalid.
 *
 * Elementor's kit styles inputs and buttons with 0,3,1 selectors, so the rules
 * here that have to beat it are written to score higher rather than relying on
 * stylesheet order.
 *
 * Linked into pages by _tools/wire-forms.mjs.
 */

/* ============================================================ confirmation */

html.dp-modal-open {
  overflow: hidden;
}

.dp-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100000;
}

.dp-modal[hidden] {
  display: none;
}

.dp-modal-backdrop {
  background: rgba(4, 4, 20, 0.78);
  inset: 0;
  position: absolute;
}

.dp-modal-card {
  background: #0b0a24;
  border: 1px solid rgba(78, 217, 243, 0.35);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  color: #ffffff;
  max-width: 30rem;
  padding: 34px 32px 28px;
  position: relative;
  text-align: center;
  width: 100%;
}

.dp-modal-icon {
  align-items: center;
  background: rgba(25, 187, 227, 0.14);
  border-radius: 50%;
  color: #4ed9f3;
  display: flex;
  height: 56px;
  justify-content: center;
  margin: 0 auto 18px;
  width: 56px;
}

.dp-modal.is-error .dp-modal-icon {
  background: rgba(255, 122, 122, 0.14);
  color: #ff9d9d;
}

.dp-modal-icon svg {
  height: 26px;
  width: 26px;
}

.dp-modal .dp-modal-title {
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
}

.dp-modal .dp-modal-body {
  color: #c3cbdb;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.dp-modal .dp-modal-close {
  background: linear-gradient(90deg, #1f1648 0%, #0358a5 100%);
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 30px;
  text-transform: none;
  transition: filter 0.2s ease;
}

.dp-modal .dp-modal-close:hover,
.dp-modal .dp-modal-close:focus-visible {
  filter: brightness(1.25);
}

/* =========================================================== contact page */

.dp-contact {
  background: #040414;
  padding: 84px max(40px, calc((100% - var(--dp-shell, 1240px)) / 2)) 96px;
}

.dp-contact-inner {
  margin: 0 auto;
  max-width: var(--dp-shell, 1240px);
}

.dp-contact-head {
  max-width: 46rem;
}

.dp-contact .dp-contact-eyebrow {
  color: #4ed9f3;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.dp-contact .dp-contact-title {
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 18px;
}

.dp-contact .dp-contact-sub {
  color: #b9c2d4;
  font-family: Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.dp-contact-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  margin-top: 46px;
}

/* ------------------------------------------------------------------ form */

.dp-form {
  background: linear-gradient(150deg, #0d0b2a 0%, #0a1330 100%);
  border: 1px solid rgba(78, 217, 243, 0.22);
  border-radius: 12px;
  padding: 34px 32px;
}

.dp-form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dp-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dp-field-wide {
  grid-column: 1 / -1;
}

.dp-form .dp-field label {
  color: #d5dced;
  font-family: Roboto, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  margin: 0 0 7px;
}

.dp-field-opt {
  color: #7f8aa1;
  font-weight: 400;
}

/* Beats Elementor's kit (0,3,1) on specificity rather than on order. */
.dp-form .dp-field input[type="text"]:not([type="button"]),
.dp-form .dp-field input[type="email"]:not([type="button"]),
.dp-form .dp-field input[type="tel"]:not([type="button"]),
.dp-form .dp-field select,
.dp-form .dp-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  color: #ffffff;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.dp-form .dp-field textarea {
  min-height: 132px;
  resize: vertical;
}

/* The native arrow is drawn dark-on-dark by the platform, so it disappears. */
.dp-form .dp-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ed9f3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 17px;
  padding-right: 40px;
}

.dp-form .dp-field select option {
  background: #0b0a24;
  color: #ffffff;
}

.dp-form .dp-field input::placeholder,
.dp-form .dp-field textarea::placeholder {
  color: #6f7b92;
  opacity: 1;
}

.dp-form .dp-field input:focus,
.dp-form .dp-field select:focus,
.dp-form .dp-field textarea:focus {
  border-color: #19bbe3;
  box-shadow: 0 0 0 3px rgba(25, 187, 227, 0.22);
  outline: none;
}

/* Honeypot: off screen for people, still fillable by bots. */
.dp-hp {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.dp-form-submit {
  background: #1f1648;
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  color: #ffffff;
  cursor: pointer;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 22px;
  padding: 14px 34px;
  /* The theme capitalises buttons, which renders this as "Send My Enquiry". */
  text-transform: none;
  transition: clip-path 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.dp-form-submit:hover,
.dp-form-submit:focus-visible {
  background: linear-gradient(90deg, #4FAEFF 0%, #C9FBFF 40%, #6CB9FF 70%, #4FAEFF 100%);
  background-size: 300% 100%;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  color: #1f1648;
}

.dp-form-submit[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.dp-form .dp-form-status {
  color: #b9c2d4;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  margin: 14px 0 0;
}

.dp-form .dp-form-status:empty {
  display: none;
}

.dp-form .dp-form-status.is-error {
  color: #ff9d9d;
}

.dp-form .dp-form-fine {
  color: #7f8aa1;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
}

/* ------------------------------------------------------------ detail rail */

.dp-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dp-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 26px 26px 24px;
}

.dp-card .dp-card-title {
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}

.dp-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dp-detail-list li {
  display: flex;
  gap: 13px;
  margin: 0 0 16px;
}

.dp-detail-list li:last-child {
  margin-bottom: 0;
}

.dp-detail-icon {
  color: #4ed9f3;
  flex: 0 0 auto;
  line-height: 0;
  margin-top: 2px;
}

.dp-detail-icon svg {
  height: 19px;
  width: 19px;
}

.dp-detail-label {
  color: #7f8aa1;
  display: block;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.dp-card .dp-detail-value,
.dp-card .dp-detail-value a {
  color: #e4e9f3;
  font-family: Roboto, sans-serif;
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0;
  text-decoration: none;
}

.dp-card .dp-detail-value a:hover,
.dp-card .dp-detail-value a:focus-visible {
  color: #4ed9f3;
  text-decoration: underline;
}

.dp-card .dp-card-note {
  color: #b9c2d4;
  font-family: Roboto, sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 14px;
}

.dp-card .dp-card-note:last-child {
  margin-bottom: 0;
}

.dp-steps {
  counter-reset: dp-step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dp-steps li {
  color: #b9c2d4;
  counter-increment: dp-step;
  font-family: Roboto, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px;
  padding-left: 38px;
  position: relative;
}

.dp-steps li:last-child {
  margin-bottom: 0;
}

.dp-steps li::before {
  align-items: center;
  background: rgba(25, 187, 227, 0.14);
  border-radius: 50%;
  color: #4ed9f3;
  content: counter(dp-step);
  display: flex;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  height: 25px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 25px;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1024px) {
  .dp-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .dp-contact {
    padding-bottom: 64px;
    padding-top: 56px;
  }

  .dp-contact .dp-contact-title {
    font-size: 32px;
  }

  .dp-form {
    padding: 26px 20px;
  }

  .dp-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dp-form-submit {
    width: 100%;
  }
}
