.contact-hero { padding-bottom: 118px; }
.contact-builder { position: relative; z-index: 2; margin-top: -62px; padding: 0 0 92px; }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  gap: 0;
  border: 1px solid rgba(199,162,90,.46);
  background: white;
  box-shadow: 0 28px 78px rgba(7,24,45,.17);
}
.contact-form { padding: clamp(30px, 5vw, 58px); }
.contact-form h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -.03em;
}
.contact-form > p { margin: 13px 0 0; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { margin-top: 29px; }
.field label { display: block; margin-bottom: 9px; color: var(--navy); font-size: .9rem; font-weight: 800; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(16,34,57,.28);
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
}
.field input { min-height: 54px; padding: 12px 14px; }
.field select { min-height: 54px; padding: 12px 42px 12px 14px; cursor: pointer; }
.field textarea { min-height: 118px; resize: vertical; padding: 14px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); outline: 3px solid rgba(199,162,90,.2); }
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: #9b2929; }
.field-help { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
.contact-method-help { margin-top: 8px; }
.warning-help { padding-left: 13px; border-left: 3px solid var(--gold); }
.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 27px;
  color: var(--muted);
  cursor: pointer;
  font-size: .88rem;
  line-height: 1.55;
}
.consent-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy); }
.consent-row a { color: #76531c; font-weight: 800; }
.submit-lead {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
  padding: 13px 18px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  font: 800 .92rem/1.2 Arial, sans-serif;
  transition: .2s ease;
}
.submit-lead:hover, .submit-lead:focus { background: var(--gold-light); border-color: var(--gold-light); }
.submit-lead:disabled { cursor: wait; opacity: .72; }
.submit-lead.is-loading span:last-child { animation: lead-pulse .85s ease-in-out infinite alternate; }
.provider-title { margin: 35px 0 0; color: var(--navy); font-size: 1rem; font-weight: 800; }
.provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 13px; }
.provider {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: .2s ease;
}
.provider strong { font-size: 1rem; }
.provider span { margin-top: 3px; color: var(--muted); font-size: .79rem; }
.provider:hover, .provider:focus { border-color: var(--gold); background: white; box-shadow: inset 0 -3px 0 var(--gold); }
.form-message { min-height: 24px; margin: 13px 0 0; color: #9b2929; font-size: .9rem; font-weight: 800; }
.form-message[data-kind="progress"] { color: var(--muted); }
.email-copy { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }
.email-copy a { color: #76531c; font-weight: 800; }
.email-fallback { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.email-fallback summary { color: var(--navy); cursor: pointer; font-weight: 800; }
.email-fallback > p { margin: 11px 0 0; color: var(--muted); font-size: .88rem; }
.success-panel { margin-top: 28px; padding: 28px; border: 1px solid rgba(64,112,76,.35); background: #f0f6f1; }
.success-panel:focus { outline: 3px solid rgba(199,162,90,.3); outline-offset: 3px; }
.success-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #315f3c;
  color: white;
  font-weight: 900;
}
.success-panel h3 { margin-top: 17px; color: var(--navy); font-size: 1.35rem; }
.success-panel p { margin: 9px 0 0; color: var(--muted); }
.success-panel .success-security { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(64,112,76,.22); font-size: .88rem; }

.contact-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 58px);
  background: var(--navy);
  color: white;
}
.contact-side h2 { color: white; font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 500; }
.contact-side p { margin: 15px 0 0; color: rgba(255,255,255,.72); }
.contact-side a { color: var(--gold-light); }
.contact-detail { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-detail small { display: block; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-detail strong { display: block; margin-top: 5px; font-size: 1.1rem; }
.security-box { margin-top: 34px; padding: 20px; border: 1px solid rgba(199,162,90,.5); background: rgba(255,255,255,.04); }
.security-box strong { display: block; color: var(--gold-light); }
.security-box p { margin-top: 8px; font-size: .88rem; }

.how-it-works { padding: 76px 0 92px; background: var(--cream); }
.how-it-works h2 { color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; }
.contact-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 27px; }
.contact-step { padding: 25px; border: 1px solid var(--line); background: white; }
.contact-step span { color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.contact-step strong { display: block; margin-top: 16px; color: var(--navy); font-family: Georgia, serif; font-size: 1.08rem; }
.contact-step p { margin: 9px 0 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 800px) {
  .contact-panel { grid-template-columns: 1fr; }
  .contact-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-hero { padding-bottom: 102px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .provider-grid { grid-template-columns: 1fr; }
  .contact-form, .contact-side { padding: 30px 23px; }
}

@keyframes lead-pulse {
  from { transform: translateX(0); }
  to { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .submit-lead.is-loading span:last-child { animation: none; }
}
