.contact-method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}
.contact-method .method-label {
  display: none;
  margin: 0 0 7px;
  color: #52657e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.contact-method .method-tabs {
  display: none;
}
.contact-method .method-tabs label {
  flex: 1;
  margin: 0;
  cursor: pointer;
}
.contact-method .method-tabs input {
  position: absolute;
  width: 1px;
  min-height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.contact-method .method-tabs span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #d5e2f0;
  border-radius: 17px;
  background: #fff;
  color: #52657e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.contact-method .method-tabs input:checked + span {
  border-color: #2534e8;
  background: #2534e8;
  color: #fff;
}
.contact-method .method-panel {
  display: block;
  min-width: 0;
}
.contact-method .method-panel.is-active {
  display: block;
}
.contact-method input {
  width: 100%;
}
.quick-form .contact-method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.quick-form .contact-method .method-label {
  display: none;
}
.quick-form .contact-method .method-tabs {
  display: none;
}
.quick-form .contact-method .method-tabs span {
  min-height: 28px;
  font-size: 12px;
}

@media (min-width: 1021px) {
  .quick-card {
    grid-template-columns: 305px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: center !important;
    padding: 14px 24px !important;
  }
  .quick-form[data-contact-form] {
    grid-template-columns: 104px 132px minmax(220px, 1fr) 76px !important;
    gap: 8px 10px !important;
    transform: translateX(-28px);
  }
  .quick-form[data-contact-form] .contact-method {
    display: contents;
  }
  .quick-form[data-contact-form] .contact-method .method-panel {
    min-width: 0;
  }
  .quick-form[data-contact-form] button[type="submit"] {
    width: 76px !important;
    min-width: 76px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin-top: 0 !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    white-space: normal;
    line-height: 1.2;
  }
  .quick-form[data-contact-form] .quick-privacy {
    grid-column: 1 / 4 !important;
  }
  .quick-form[data-contact-form] .quick-status,
  .quick-form[data-contact-form] .quick-message {
    grid-column: 1 / 5 !important;
  }
  .quick-card .quick-copy {
    transform: translateX(-10px);
  }
  .quick-card .quick-copy h2 {
    font-size: 18px !important;
  }
  .quick-card .quick-copy p {
    max-width: 248px !important;
    font-size: 10px !important;
    line-height: 1.42 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

@media (max-width: 640px) {
  .contact-method,
  .quick-form .contact-method {
    grid-template-columns: 1fr;
  }
}
