.home-contact {
  position: relative;
  z-index: 1;
  padding: var(--site-section-space) clamp(24px, 6.4vw, 96px);
}

.home-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 7vw, 108px);
  max-width: 1800px;
  margin-inline: auto;
}

.home-contact-email {
  display: inline-block;
  margin-top: 22px;
  color: #efbfdc;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.home-contact-email:hover { color: #fff1fa; }

.home-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.35vw, 20px);
  padding: clamp(22px, 3.1vw, 40px);
  border: 1px solid #ccb2e23d;
  border-radius: 24px;
  background: #111429c4;
  box-shadow: inset 0 1px 0 #f2dcff0b, 0 16px 45px #0003;
}

.home-contact-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.home-contact-field label {
  color: #eee8f8;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
}

.home-contact-field label span {
  color: #b4adc7;
  font-size: .88em;
  font-weight: 400;
}

.home-contact-field input,
.home-contact-field select,
.home-contact-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bdb0dd42;
  border-radius: 11px;
  background: #ffffff0a;
  color: #fbf8ff;
  font: inherit;
  font-size: 16px;
  scroll-margin-top: 16px;
}

.home-contact-field input::placeholder { color: #aaa4bc; }
.home-contact-field select option { background: #16182d; color: #fbf8ff; }
.home-contact-field textarea { min-height: 116px; resize: vertical; }

.home-contact-field :is(input, select, textarea):focus {
  border-color: #e1aef2;
  outline: 2px solid #e1aef241;
  outline-offset: 1px;
}

.home-contact-wide { grid-column: 1 / -1; }

.home-contact-form .home-contact-submit {
  margin-top: 0;
  cursor: pointer;
}

.home-contact-actions p {
  margin: 11px 0 0;
  color: #c3bdd4;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .home-contact { padding: var(--site-section-space-mobile) max(18px, 5vw); }
  .home-contact-inner { grid-template-columns: 1fr; gap: 24px; }
  .home-contact-form { border-radius: 19px; }
  .home-contact-email { margin-top: 13px; }
}

@media (max-width: 520px) {
  .home-contact-form { grid-template-columns: minmax(0, 1fr); padding: 19px; }
}
