.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.contact-intro {
  position: sticky;
  top: 32px;
}

.contact-intro h1 {
  margin: 18px 0 24px;
  font-size: clamp(48px, 6.5vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.contact-intro h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.contact-intro > p:last-of-type {
  max-width: 560px;
  color: var(--muted, #6d675e);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-guidance {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid rgba(16, 40, 59, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.contact-guidance strong {
  display: block;
  margin-bottom: 7px;
}

.contact-guidance p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted, #6d675e);
}

.contact-guidance a,
.contact-panel a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-panel {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(16, 40, 59, 0.13);
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 40, 59, 0.08);
}

.contact-panel-head {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(16, 40, 59, 0.1);
}

.contact-panel-head > span {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--muted, #6d675e);
}

.contact-panel-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
}

.contact-panel-head p {
  margin: 0;
  color: var(--muted, #6d675e);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  font-size: 0.86rem;
  font-weight: 700;
  color: #10283b;
}

.contact-form label small {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted, #6d675e);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(16, 40, 59, 0.2);
  border-radius: 0;
  background: #fbfaf7;
  color: #10283b;
  font: inherit;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #10283b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 40, 59, 0.08);
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-actions button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.contact-status {
  margin: 0;
  min-height: 1.4em;
  color: var(--muted, #6d675e);
  line-height: 1.45;
}

.contact-status.is-error {
  color: #8a2d25;
}

.contact-status.is-success {
  color: #315d3c;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 860px) {
  .contact-page {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 24px 18px;
  }
}
