.contact-page-hero {
  background:
    radial-gradient(circle at 78% 34%, rgba(18, 167, 242, .2), transparent 26%),
    linear-gradient(125deg, #03111f 0%, #061b2e 62%, #082d49 100%);
  overflow: hidden;
  position: relative;
}

.contact-page-hero::after {
  background:
    linear-gradient(rgba(117, 204, 248, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 204, 248, .055) 1px, transparent 1px);
  background-size: 120px 120px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.contact-page-hero .page-hero-inner {
  position: relative;
  z-index: 1;
}

.contact-page-hero h1 em {
  color: var(--blue-bright);
}

.contact-request-section {
  background: #f4f7f9;
  border-top: 1px solid #dce5ec;
  padding: clamp(76px, 7vw, 118px) 0 clamp(88px, 8vw, 134px);
}

.contact-request-layout {
  align-items: start;
  display: grid;
  gap: clamp(48px, 6vw, 100px);
  grid-template-columns: minmax(290px, .72fr) minmax(580px, 1.28fr);
}

.request-selector {
  position: sticky;
  top: 138px;
}

.request-selector h2 {
  color: var(--navy);
  font-size: clamp(43px, 4vw, 64px);
  font-weight: 820;
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 18px 0 0;
}

.request-selector > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 25px 0 0;
  max-width: 440px;
}

.request-tabs {
  border-top: 2px solid var(--navy);
  display: grid;
  margin-top: 38px;
}

.request-tab {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid #ccd7df;
  color: #465668;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 32px 1fr 24px;
  min-height: 78px;
  padding: 16px 10px;
  text-align: left;
  transition: background .18s, color .18s, padding .18s;
  width: 100%;
}

.request-tab span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
}

.request-tab strong {
  font-size: 14px;
  font-weight: 780;
}

.request-tab i {
  color: var(--blue);
  font-size: 20px;
  font-style: normal;
  transition: transform .18s;
}

.request-tab:hover,
.request-tab.is-active {
  background: var(--navy);
  color: #fff;
  padding-left: 20px;
}

.request-tab:hover i,
.request-tab.is-active i {
  color: var(--blue-bright);
  transform: translateX(3px);
}

.service-choice {
  border-left: 2px solid var(--blue);
  margin-top: 26px;
  padding-left: 20px;
}

.service-choice > p {
  color: var(--navy);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .1em;
  margin: 0 0 13px;
  text-transform: uppercase;
}

.service-choice > p b,
.form-field label > span,
.privacy-check b {
  color: var(--blue);
}

.service-choice-grid {
  display: grid;
  gap: 7px;
}

.service-choice-grid button {
  background: #fff;
  border: 1px solid #d7e1e8;
  color: #536274;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
  padding: 12px 14px;
  text-align: left;
  transition: border-color .18s, background .18s, color .18s;
}

.service-choice-grid button:hover,
.service-choice-grid button.is-active {
  background: #eaf6fd;
  border-color: var(--blue);
  color: var(--navy);
}

.service-error {
  color: #b42318;
  display: block;
  font-size: 11px;
  margin-top: 8px;
  min-height: 16px;
}

.request-form-panel {
  background: #fff;
  border: 1px solid #d9e3ea;
  box-shadow: 0 30px 75px rgba(6, 24, 42, .11);
  padding: clamp(30px, 4.2vw, 64px);
}

.request-form-heading {
  align-items: end;
  border-bottom: 1px solid #dce5ec;
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
  padding-bottom: 27px;
}

.form-eyebrow {
  color: var(--blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.request-form-heading h2 {
  color: var(--navy);
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 820;
  letter-spacing: -.045em;
  line-height: 1;
  margin: 11px 0 0;
}

.request-form-heading > p {
  color: #84909d;
  font-size: 10px;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

.request-form-heading > p span {
  color: var(--blue);
}

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

.form-field {
  min-width: 0;
}

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

.form-field > label:first-child {
  color: var(--navy);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .075em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.form-field > label small {
  color: #82909d;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.form-field input:not([type="file"]),
.form-field textarea {
  background: #f6f8fa;
  border: 1px solid #d5dfe6;
  border-radius: 0;
  color: var(--navy);
  display: block;
  font-size: 15px;
  outline: none;
  padding: 15px 16px;
  transition: border-color .18s, box-shadow .18s, background .18s;
  width: 100%;
}

.form-field input:not([type="file"]) {
  height: 54px;
}

.form-field textarea {
  line-height: 1.65;
  min-height: 148px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 135, 223, .12);
}

.form-field.is-invalid input:not([type="file"]),
.form-field.is-invalid textarea,
.form-field.is-invalid .upload-control {
  border-color: #b42318;
}

.field-error {
  color: #b42318;
  display: block;
  font-size: 10px;
  line-height: 1.35;
  margin-top: 6px;
  min-height: 14px;
}

.upload-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.upload-control {
  align-items: center;
  background: #f6f8fa;
  border: 1px dashed #b9c8d3;
  cursor: pointer;
  display: grid !important;
  gap: 14px;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  margin: 0 !important;
  min-height: 78px;
  padding: 14px 16px;
  text-transform: none !important;
  transition: border-color .18s, background .18s;
}

.upload-control:hover {
  background: #eef7fc;
  border-color: var(--blue);
}

.upload-icon {
  align-items: center;
  background: var(--navy);
  color: var(--blue-bright);
  display: flex;
  font-size: 24px;
  height: 45px;
  justify-content: center;
  width: 45px;
}

.upload-control > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.upload-control strong {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.upload-control small,
.upload-control b {
  color: #778696;
  font-size: 10px;
  font-weight: 620;
}

.upload-control b {
  max-width: 190px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-check {
  align-items: start;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 20px 1fr;
  margin-top: 28px;
}

.privacy-check input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.privacy-check > span {
  background: #fff;
  border: 1px solid #aebdca;
  height: 20px;
  position: relative;
  transition: background .18s, border-color .18s;
  width: 20px;
}

.privacy-check input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
}

.privacy-check input:checked + span::after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  height: 10px;
  left: 6px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 6px;
}

.privacy-check input:focus-visible + span {
  outline: 3px solid rgba(18, 167, 242, .55);
  outline-offset: 3px;
}

.privacy-check small {
  color: #6d7a89;
  font-size: 11px;
  line-height: 1.65;
}

.privacy-check a {
  color: var(--navy);
  font-weight: 780;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 3px;
}

.form-status {
  color: #778696;
  font-size: 11px;
  line-height: 1.45;
  margin-top: 24px;
  min-height: 18px;
}

.form-status.is-success {
  color: #167244;
  font-weight: 720;
}

.form-status.is-error {
  color: #b42318;
  font-weight: 720;
}

.contact-submit {
  align-items: center;
  background: linear-gradient(135deg, #0477d5, #0798ed);
  box-shadow: 0 16px 34px rgba(0, 113, 210, .26);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 780;
  justify-content: space-between;
  margin-top: 13px;
  min-height: 62px;
  padding: 16px 25px;
  transition: opacity .18s, transform .18s, box-shadow .18s;
  width: min(100%, 330px);
}

.contact-submit i {
  font-size: 21px;
  font-style: normal;
}

.contact-submit:not(:disabled):hover {
  box-shadow: 0 20px 42px rgba(0, 125, 222, .38);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: .42;
}

.form-honeypot {
  left: -10000px;
  position: absolute;
  top: auto;
}

@media (max-width: 1160px) {
  .contact-request-layout {
    grid-template-columns: 1fr;
  }

  .request-selector {
    position: static;
  }

  .request-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .request-tab {
    border-right: 1px solid #ccd7df;
  }

  .request-tab:last-child {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .contact-page-hero h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .contact-request-section {
    padding: 70px 0 84px;
  }

  .request-tabs {
    grid-template-columns: 1fr;
  }

  .request-tab {
    border-right: 0;
    min-height: 67px;
  }

  .request-form-panel {
    margin-inline: -2px;
    padding: 28px 20px 32px;
  }

  .request-form-heading {
    align-items: start;
    gap: 18px;
  }

  .request-form-heading > p {
    white-space: nowrap;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .upload-control {
    grid-template-columns: 42px 1fr;
  }

  .upload-control b {
    grid-column: 2;
    max-width: 100%;
    text-align: left;
  }

  .contact-submit {
    width: 100%;
  }
}
