#contacts .sc-contact-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: clamp(24px, 3vw, 48px) !important;
}
#contacts .sc-contact-grid > * { min-width: 0; width: auto; max-width: none; grid-column: 1; }
#contacts .sc-contact-grid > .sc-contact-form { grid-column: 2; grid-row: 1; }
#contacts .sc-contact-grid-multiple > .sc-contact-form { grid-row: 1 / span 2; }
#contacts .sc-contact-form {
  --sc-surface: #fff;
  --sc-ink: #202225;
  --sc-muted: #666b73;
  --sc-border: #dce0e5;
  box-sizing: border-box;
  position: relative;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  background: var(--sc-surface);
  color: var(--sc-ink);
  box-shadow: 0 6px 24px #17202a06;
  text-align: left;
  font-family: inherit;
}
#contacts .sc-contact-dark > .sc-contact-form {
  --sc-surface: #18181c; --sc-ink: #f3f3f5; --sc-muted: #b7b7c0; --sc-border: #414149;
}
#contacts .sc-contact-form h3 { margin: 0 0 16px; color: var(--sc-ink); font-family: inherit; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
#contacts .sc-contact-intro { margin: 0 0 28px; color: var(--sc-muted); font: inherit; font-size: 16px; line-height: 1.6; }
#contacts .sc-contact-field { display: grid; gap: 8px; margin: 0 0 20px; }
#contacts .sc-contact-field > label { display: block; margin: 0; color: var(--sc-ink); font: inherit; font-size: 15px; line-height: 1.5; font-weight: 600; }
#contacts .sc-contact-field > label span { font-weight: 400; }
#contacts .sc-contact-field input, #contacts .sc-contact-field textarea {
  box-sizing: border-box; display: block; width: 100%; min-width: 0; min-height: 52px;
  margin: 0; padding: 14px 16px; border: 1px solid var(--sc-border); border-radius: 10px;
  background: var(--sc-surface); color: var(--sc-ink); font-family: inherit; font-size: 16px; line-height: 1.5;
  box-shadow: none; outline-offset: 3px;
}
#contacts .sc-contact-field textarea { height: auto; min-height: 112px; resize: vertical; }
#contacts .sc-contact-field input::placeholder, #contacts .sc-contact-field textarea::placeholder { color: var(--sc-muted); opacity: 1; }
#contacts .sc-contact-form :focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; }
#contacts .sc-contact-consent { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 24px; color: var(--sc-muted); font: inherit; font-size: 13px; font-weight: 400; line-height: 1.6; cursor: pointer; }
#contacts .sc-contact-consent input { appearance: auto; flex: 0 0 20px; position: static; width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; opacity: 1; accent-color: var(--sc-accent); }
#contacts .sc-contact-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
#contacts .sc-contact-form > button { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 56px; padding: 14px 20px; margin: 0; border: 0; border-radius: 10px; background: var(--sc-accent); color: var(--sc-button-text); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.4; cursor: pointer; transition: filter .15s; }
#contacts .sc-contact-form > button:hover { filter: brightness(.92); }
#contacts .sc-contact-form > button:disabled { opacity: .7; cursor: wait; }
#contacts .sc-contact-status { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--sc-ink); }
#contacts .sc-contact-status:empty { display: none; }
#contacts .sc-contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 800px) {
  #contacts .sc-contact-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
  #contacts .sc-contact-grid > .sc-contact-form { grid-column: 1; grid-row: auto; }
  #contacts .sc-contact-form { padding: 24px; border-radius: 16px; }
}
@media (max-width: 380px) {
  #contacts .sc-contact-form { padding: 20px 16px; }
  #contacts .sc-contact-form h3 { font-size: 23px; }
}
