/* The Mirkin contact pattern, adapted to PromPrachka's type and blue palette. */
.contact-form { margin: 0; min-width: 0; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field > label, .contact-address-panel > label {
  display: block; margin-bottom: 11px; font-size: 18px; font-weight: 500; line-height: 1.4;
}
.contact-field > label > span[aria-hidden], .contact-address-panel > label > span[aria-hidden] { color: var(--blue); }
#contact-form input:not([type=radio]):not([type=checkbox]), #contact-form textarea {
  display: block; width: 100%; min-width: 0; min-height: 57px; margin: 0;
  padding: 15px; border: 1px solid #c6dbe7; border-radius: 8px;
  background: #f5f9fb; color: var(--ink); font: 400 19px/1.45 Onest, Arial, sans-serif;
  transition: border-color .2s, background-color .2s;
}
#contact-form textarea { min-height: 110px; resize: vertical; }
.contact-channel { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-channel legend { margin-bottom: 13px; padding: 0; font-size: 20px; font-weight: 500; }
.contact-channel-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid #c6dbe7; }
.contact-channel-options label { position: relative; min-width: 0; cursor: pointer; }
.contact-channel-options input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; }
.contact-channel-tab {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 57px; margin-bottom: -1px; padding: 13px 6px;
  border: 1px solid transparent; border-radius: 9px 9px 0 0;
  color: #68839a; font-size: 17px; font-weight: 500; line-height: 1.3; white-space: nowrap;
  transition: color .2s, background-color .2s, border-color .2s;
}
.contact-channel-tab svg { flex: 0 0 21px; width: 21px; height: 21px; overflow: hidden; }
.contact-channel-options label:hover .contact-channel-tab { color: var(--ink); background: #ecf4f9; }
.contact-channel-options input:checked + .contact-channel-tab {
  border-color: #c6dbe7; border-bottom-color: #edf5fa; background: #edf5fa; color: var(--blue);
}
.contact-channel-options input:checked + .contact-channel-tab::before {
  content: ''; position: absolute; inset: -1px 12px auto; height: 3px; border-radius: 3px; background: currentColor;
}
.contact-channel-options input:focus-visible + .contact-channel-tab { outline: 3px solid #79a9e6; outline-offset: -4px; }
.contact-address-panel { padding: 22px 16px 17px; border: 1px solid #c6dbe7; border-top: 0; border-radius: 0 0 9px 9px; background: #edf5fa; }
.contact-address-hint { margin: 11px 0 0; font-size: 15px; line-height: 1.5; color: #68839a; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: #8199ad; opacity: 1; }
#contact-form input:not([type=radio]):not([type=checkbox]):hover, #contact-form textarea:hover { border-color: #7b9dbb; }
#contact-form input:not([type=radio]):not([type=checkbox]):focus-visible, #contact-form textarea:focus-visible {
  border-color: var(--blue); outline: 2px solid #7aa9e9; outline-offset: 3px; background: #fff;
}
.contact-consent { display: flex; align-items: start; gap: 12px; margin-top: 25px; font-size: 16px; line-height: 1.5; color: #617d93; cursor: pointer; }
.contact-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); cursor: pointer; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 22px; margin-top: 26px; }
.contact-submit {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 62px;
  padding: 17px 23px; border: 0; border-radius: 9px; background: var(--blue); color: #fff;
  font: 500 20px/1.3 Onest, Arial, sans-serif; cursor: pointer; transition: background-color .2s;
}
.contact-submit span { font-size: 28px; line-height: 1; }
.contact-submit:hover { background: #1854c4; }
.contact-submit:disabled { opacity: .55; cursor: not-allowed; }
.contact-required-note { color: #718a9e; font-size: 14px; line-height: 1.5; }
.contact-status { margin: 18px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink); }
.contact-status:empty { display: none; }
@media (max-width: 1450px) and (min-width: 1101px) {
  .contact-channel-tab { flex-direction: column; font-size: 17px; gap: 7px; }
  .contact-fields { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  /* Field gaps, label-to-input spacing and input heights stay unchanged. */
  .contact-fields { grid-template-columns: 1fr; gap: 23px; }
  .contact-channel-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 0; padding-bottom: 12px; }
  .contact-channel-tab { margin: 0; border: 1px solid #c6dbe7; border-radius: 8px; font-size: 18px; padding: 14px 5px; }
  .contact-channel-options input:checked + .contact-channel-tab { border-color: var(--blue); background: #edf5fa; }
  .contact-channel-options input:checked + .contact-channel-tab::before { display: none; }
  .contact-address-panel { padding: 19px 13px 16px; border-top: 1px solid #c6dbe7; border-radius: 9px; }
  .contact-field > label, .contact-address-panel > label { font-size: 18px; }
  .contact-address-hint { font-size: 14px; line-height: 1.125; margin-top: 8.25px; }
  .contact-consent { font-size: 15px; line-height: 1.125; margin-top: 18.75px; }
  .contact-actions { margin-top: 19.5px; gap: 12.75px 16.5px; }
  .contact-submit { width: 100%; font-size: 19px; }
  .contact-required-note { font-size: 13px; line-height: 1.125; }
  .contact-status { font-size: 17px; line-height: 1.125; margin-top: 13.5px; }
}
