.helix-contact-main {
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
}

.helix-contact-main .pwh-btn,
.helix-contact-main .pwh-btn:link,
.helix-contact-main .pwh-btn:visited {
  text-decoration: none;
}

.helix-contact-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  align-items: start;
}

.helix-contact-info,
.helix-contact-card {
  border: 1px solid #d7dde6;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 69, 82, 0.1), rgba(255, 69, 82, 0) 38%),
    linear-gradient(155deg, #ffffff 0%, #f4f6f9 100%);
  padding: 22px;
}

.helix-contact-kicker {
  margin: 0;
  color: #ff2026;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.helix-contact-info h1 {
  margin: 12px 0 0;
  font-family: Archivo, sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  color: #0e1116;
}

.helix-contact-lead {
  margin: 16px 0 0;
  color: #4d5e6a;
  line-height: 1.5;
  font-size: 1rem;
}

.helix-contact-points {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.helix-contact-point {
  border: 1px solid #e0e5ec;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px 14px;
}

.helix-contact-point span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6a7885;
  text-transform: uppercase;
}

.helix-contact-point strong {
  display: block;
  margin-top: 6px;
  color: #11161d;
  font-size: 0.98rem;
}

.helix-contact-card h2 {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-size: 1.45rem;
  color: #0f1319;
}

.helix-contact-form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.helix-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.helix-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #4f6070;
  font-size: 0.82rem;
  font-weight: 600;
}

.helix-contact-form input,
.helix-contact-form select,
.helix-contact-form textarea {
  width: 100%;
  border: 1px solid #d8dee6;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
  color: #1a2330;
  background: #ffffff;
}

.helix-contact-form textarea {
  resize: vertical;
}

.helix-contact-form input:focus,
.helix-contact-form select:focus,
.helix-contact-form textarea:focus {
  outline: none;
  border-color: #ffb5bc;
  box-shadow: 0 0 0 3px rgba(255, 32, 38, 0.12);
}

.helix-contact-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 9px !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: #51616d !important;
}

.helix-contact-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #ff2026;
}

.helix-contact-submit {
  border-radius: 999px;
  padding: 12px 22px;
  justify-self: start;
}

.helix-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 20, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 10020;
}

.helix-success-overlay.pwh-open-state {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.helix-success-modal {
  width: min(480px, 100%);
  border: 1px solid #d5dce5;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 69, 82, 0.12), rgba(255, 69, 82, 0) 40%),
    linear-gradient(155deg, #ffffff 0%, #f7f9fb 100%);
  padding: 20px 20px 18px;
  position: relative;
}

.helix-success-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d7dde6;
  background: #ffffff;
  color: #647180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.helix-success-kicker {
  margin: 0;
  color: #ff2026;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.helix-success-modal h2 {
  margin: 10px 0 0;
  font-family: Archivo, sans-serif;
  color: #10141b;
  line-height: 1.2;
}

.helix-success-modal p {
  margin: 10px 0 0;
  color: #4f6070;
  line-height: 1.5;
}

.helix-success-btn {
  margin-top: 14px;
  border-radius: 999px;
}

@media (max-width: 920px) {
  .helix-contact-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .helix-contact-main {
    width: min(1180px, calc(100% - 24px));
  }

  .helix-contact-info,
  .helix-contact-card {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .helix-field-grid {
    grid-template-columns: 1fr;
  }

  .helix-contact-card h2 {
    font-size: 1.22rem;
  }
}

/* Dark contact page surfaces */
.helix-contact-info,
.helix-contact-card,
.helix-contact-point,
.helix-success-modal {
  border-color: rgba(182, 109, 255, 0.34);
  background: linear-gradient(160deg, rgba(25, 20, 40, 0.96) 0%, rgba(14, 11, 24, 0.96) 100%);
  box-shadow: 0 14px 30px rgba(3, 3, 8, 0.36);
}

.helix-contact-kicker,
.helix-success-kicker {
  color: #bb86ff;
}

.helix-contact-info h1,
.helix-contact-card h2,
.helix-contact-point strong,
.helix-success-modal h2 {
  color: #efe7ff;
}

.helix-contact-lead,
.helix-contact-point span,
.helix-contact-form label,
.helix-contact-consent,
.helix-success-modal p {
  color: #c8bbdf !important;
}

.helix-contact-form input,
.helix-contact-form select,
.helix-contact-form textarea {
  border-color: rgba(182, 109, 255, 0.34);
  background: rgba(39, 31, 58, 0.86);
  color: #f3eaff;
}

.helix-contact-form input::placeholder,
.helix-contact-form textarea::placeholder {
  color: #b9a8d8;
}

.helix-contact-form input:focus,
.helix-contact-form select:focus,
.helix-contact-form textarea:focus {
  border-color: rgba(199, 163, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(182, 109, 255, 0.2);
}

.helix-contact-consent input {
  accent-color: #b66dff;
}

.helix-success-close {
  border-color: rgba(182, 109, 255, 0.36);
  background: rgba(45, 34, 67, 0.92);
  color: #eadfff;
}
