/* ITS shared contact modal */
.its-contact-dialog {
  width: min(680px, calc(100% - 28px));
  max-width: 680px;
  max-height: min(90vh, 900px);
  padding: 0;
  border: 1px solid rgba(20, 30, 40, .12);
  border-radius: 4px;
  color: #171b20;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}
.its-contact-dialog::backdrop {
  background: rgba(10, 17, 25, .72);
  backdrop-filter: blur(5px);
}
.its-contact-panel {
  position: relative;
  padding: clamp(26px, 5vw, 48px);
  max-height: min(90vh, 900px);
  overflow-y: auto;
}
.its-contact-close {
  position: absolute;
  top: 17px;
  right: 19px;
  width: 40px;
  height: 40px;
  border: 1px solid #dce2e8;
  border-radius: 50%;
  background: #fff;
  color: #202832;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.its-contact-kicker {
  margin: 0 46px 13px 0;
  color: #0a66c2;
  font: 12px "DM Mono", monospace;
  letter-spacing: .1em;
}
.its-contact-panel h2 {
  margin: 0 45px 12px 0;
  color: #171b20;
  font: 600 clamp(32px, 5vw, 46px)/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
}
.its-contact-panel h2 span { color: #0a66c2; }
.its-contact-intro {
  max-width: 540px;
  margin: 0 0 28px;
  color: #59636b;
  font-size: 15px;
  line-height: 1.7;
}
.its-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
.its-field { min-width: 0; }
.its-field-wide { grid-column: 1 / -1; }
.its-field label {
  display: block;
  margin: 0 0 8px;
  color: #222a32;
  font-size: 13px;
  font-weight: 800;
}
.its-field label > span,
.its-required-note > span { color: #c33b36; }
.its-field label small {
  color: #77818a;
  font-size: 12px;
  font-weight: 500;
}
.its-field input,
.its-field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #d8dfe5;
  border-radius: 2px;
  padding: 13px 14px;
  background: #fbfcfd;
  color: #171b20;
  font: 15px/1.5 "Manrope", sans-serif;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.its-field textarea { min-height: 132px; resize: vertical; }
.its-field input:focus,
.its-field textarea:focus {
  outline: none;
  border-color: #0a66c2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 102, 194, .12);
}
.its-field input::placeholder,
.its-field textarea::placeholder { color: #98a1a9; }
.its-required-note {
  margin: 15px 0 12px;
  color: #68727b;
  font-size: 12px;
}
.its-contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  padding: 16px 19px;
  background: #111820;
  color: #fff;
  font: 800 14px "Manrope", sans-serif;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.its-contact-submit:hover { background: #0a66c2; }
.its-contact-submit:focus-visible,
.its-contact-close:focus-visible { outline: 3px solid #0a66c2; outline-offset: 3px; }
.its-contact-submit:disabled { opacity: .65; cursor: wait; }
.its-contact-privacy {
  margin: 13px 0 0;
  color: #78828b;
  font-size: 11px;
  line-height: 1.6;
}
.its-contact-privacy a { color: #0a66c2; text-decoration: underline; }
.its-contact-feedback {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #eef5fb;
  color: #17466d;
  font-size: 13px;
  line-height: 1.6;
}
.its-contact-feedback.is-visible { display: block; }
.its-contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 560px) {
  .its-contact-panel { padding: 28px 22px 24px; }
  .its-form-grid { grid-template-columns: 1fr; gap: 15px; }
  .its-field-wide { grid-column: auto; }
  .its-contact-dialog { max-height: 94vh; }
  .its-contact-panel { max-height: 94vh; }
}
@media (prefers-reduced-motion: reduce) {
  .its-field input, .its-field textarea, .its-contact-submit { transition: none; }
}
