.wf-contact {
  padding: clamp(64px, 9vw, 140px) var(--wf-gutter, clamp(20px, 6vw, 72px));
  color: var(--wf-ink, #081d3a);
  background: radial-gradient(ellipse at 23% 90%, #dceeff 0, transparent 58%), #f8fbff;
  border-top: 1px solid var(--wf-line, #d9e4f4);
}
.wf-contact-wrap {
  max-width: var(--wf-wrap, 1240px);
  margin-inline: auto;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  gap: clamp(40px, 9vw, 132px);
}
.wf-contact-intro h2 {
  margin: 0;
  font-family: var(--wf-display, inherit);
  font-size: clamp(38px, 4.7vw, 69px);
  font-weight: 610;
  line-height: 1;
  letter-spacing: -.073em;
  text-wrap: balance;
}
.wf-contact-intro h2 em { color: #2457a5; font-style: normal; }
.wf-contact-intro p {
  max-width: 38ch;
  margin-top: 22px;
  color: var(--wf-muted, #465e7b);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.63;
}
.wf-contact-panel {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid #cbdff5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 56px #143e7112;
}
.wf-contact form { display: grid; gap: 12px; }
.wf-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wf-contact-fields .wf-contact-wide { grid-column: 1 / -1; }
.wf-contact-fields div { display: grid; gap: 7px; }
.wf-contact label { font-weight: 570; font-size: 14px; line-height: 1.4; }
.wf-contact :is(input:not([type=checkbox]), select) {
  min-height: 46px;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bfd3e9;
  border-radius: 9px;
  font: inherit;
  font-size: 16px;
  color: var(--wf-ink, #081d3a);
  background: #fbfdff;
  transition: background-color .18s, border-color .18s;
}
.wf-contact :is(input:not([type=checkbox]), select):hover { background-color: #f1f7ff; border-color: #8eadce; }
.wf-contact select {
  appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, #2a4f7d 50%), linear-gradient(135deg, #2a4f7d 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.wf-contact :is(input, select, button, a):focus-visible { outline: 3px solid #246bfd; outline-offset: 3px; }
.wf-contact-consent {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wf-muted, #465e7b);
}
.wf-contact-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: #1b56bf; }
.wf-contact button {
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 49px;
  padding: 10px 16px;
  background: #164aa8;
  color: #fff;
  font-weight: 610;
  transition: background-color .19s, transform .15s;
}
.wf-contact button:hover { background: #123d8a; }
.wf-contact button:active { transform: translateY(1px); }
.wf-contact button:disabled { opacity: .65; }
.wf-contact #wf-contact-new { color: #163f7a; background: #eaf3ff; }
.wf-contact-quote {
  background: #eef6ff;
  border: 1px solid #d5e6fc;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  padding: 10px 12px;
  font-size: 14px;
}
.wf-contact-quote strong { font-variant-numeric: tabular-nums; }
.wf-contact-quote a { margin-left: auto; min-height: 38px; display: inline-flex; align-items: center; }
.wf-contact #wf-contact-error { color: #8c2332; font-size: 14px; line-height: 1.45; }
.wf-contact-success h3 { font-size: clamp(23px, 4vw, 38px); letter-spacing: -.05em; }
.wf-contact-success p { margin-block: 12px; line-height: 1.5; }
#wf-contact-receipt { font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
.wf-contact-success a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 820px) {
  .wf-contact-wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .wf-contact-intro p { margin-top: 15px; }
}
@media (max-width: 510px) { .wf-contact-fields { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wf-contact button, .wf-contact input, .wf-contact select { transition: none; } }
