.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}
.contact-intro .section-title { margin: 0 0 18px; }
.sales-mail {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(19px, 2.25vw, 28px);
}
html.callback-open { overflow: hidden; }
.contact-action { justify-self: end; }
#open-callback {
  cursor: pointer;
  border: 0;
  min-height: 48px;
  font: 600 14px var(--sans);
}
#open-callback[hidden], #callback-dialog:not([open]) { display: none; }
#callback-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 30px);
  max-height: calc(100dvh - 30px);
  padding: clamp(24px, 5vw, 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #c6c6c2;
  border-radius: 8px;
  background: #f1f1ee;
  color: #171718;
  box-shadow: 0 18px 70px #0006;
}
#callback-dialog::backdrop { background: rgb(0 0 0 / .72); }
.dialog-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #333;
  font: 28px/1 var(--sans);
  cursor: pointer;
}
.dialog-close:hover { background: #e4e4e1; }
#callback-dialog h3 { padding-right: 19px; }
#open-callback:focus-visible, .dialog-close:focus-visible { outline: 2px solid #171718; outline-offset: 2px; }
#callback h3 { margin: 0 0 7px; font: 400 clamp(25px, 3vw, 34px)/1.2 var(--serif); }
#callback p { max-width: none; }
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 23px 0;
}
.contact-fields label { display: block; font-size: 14px; font-weight: 600; }
.contact-fields small { color: #555; font-size: 11px; font-weight: 400; }
.contact-fields input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #959595;
  border-radius: 3px;
  background-color: #f7f7f5;
  color: #151515;
  font: 16px var(--sans);
}
#callback button { border: 0; cursor: pointer; min-height: 44px; }
#callback button:disabled { opacity: .65; cursor: wait; }
#callback :focus-visible, .sales-mail:focus-visible { outline: 2px solid #161616; outline-offset: 3px; }
#callback .form-status:not(:empty) { margin-top: 14px; color: #222; font-size: 14px; }
@media (max-width: 780px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-action { justify-self: start; }
}
@media (max-width: 500px) { .contact-fields { grid-template-columns: 1fr; } }
