/* Callback demonstration: isolated from the main request form. */
.callback-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy, #0f2a47);
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.callback-trigger[hidden] { display: none; }
.callback-trigger:hover { color: var(--blue, #1f6fb2); }
.callback-dialog {
  box-sizing: border-box;
  width: min(520px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 1px solid #dce5ee;
  border-radius: 18px;
  background: #fff;
  color: var(--navy, #0f2a47);
  box-shadow: 0 24px 80px #071b3866;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.callback-dialog::backdrop { background: #081c36b8; }
.callback-dialog__content { padding: 24px 30px 30px; }
.callback-dialog__close {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: -10px -8px 4px auto;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #425b75;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.callback-dialog__close span { font-size: 1.65rem; line-height: 1; }
.callback-dialog__eyebrow {
  margin: 0 0 8px;
  color: var(--blue, #1f6fb2);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.callback-dialog h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 6vw, 2rem); line-height: 1.2; }
.callback-dialog__intro { margin: 0 0 18px; line-height: 1.5; }
.callback-dialog__note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 3px solid #5784b0;
  border-radius: 0 8px 8px 0;
  background: #f0f5fa;
  color: #3d5268;
  font-size: .88rem;
  line-height: 1.55;
}
.callback-dialog__note a { white-space: nowrap; }
.callback-dialog__form { display: grid; gap: 8px; margin: 0; }
.callback-dialog__form label { font-size: .9rem; font-weight: 650; }
.callback-dialog__form label span { color: #5b6d80; font-weight: 400; }
.callback-dialog__form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0 0 10px;
  padding: 11px 12px;
  border: 1px solid #9db0c3;
  border-radius: 8px;
  background: #fff;
  color: #0f2a47;
  font: inherit;
  font-size: 16px;
}
.callback-dialog__submit {
  min-height: 48px;
  padding: 12px;
  border: 1px solid #c9d4df;
  border-radius: 8px;
  background: #e8eef4;
  color: #526477;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: not-allowed;
}
.callback-trigger:focus-visible,
.callback-dialog :focus-visible { outline: 3px solid #1f6fb2; outline-offset: 3px; }
@media (max-width: 480px) {
  .callback-dialog__content { padding: 18px 20px 22px; }
  .callback-dialog__note { padding: 12px; }
}

.header-contact .callback-trigger { text-align: right; font-size: 12px; }
@media (max-width: 620px) {
  .header-contact .callback-trigger { grid-column: 1 / -1; text-align: left; }
}

