.contact-hero {
  padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
  background: var(--cream);
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--charcoal);
  font-size: var(--text-brand);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.12;
}

.contact-lead {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: var(--text-lead);
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  padding: 48px 0 104px;
}

.contact-aside h2 {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.contact-tracks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-tracks li {
  padding: 18px 0;
}

.contact-tracks strong {
  display: block;
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-tracks span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-direct {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-direct p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.contact-direct a {
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.contact-direct a:hover {
  text-decoration: underline;
}

.contact-form-card {
  padding: 32px;
  border-radius: 14px;
  background: var(--cream-light);
}

.contact-form-card h2 {
  margin: 0 0 4px;
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 600;
}

.contact-form {
  position: relative;
  display: block;
}

.contact-form label {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(30, 26, 20, 0.16);
  border-radius: 10px;
  background: #ffffff;
  color: var(--charcoal);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.contact-form textarea {
  resize: vertical;
  min-height: 104px;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 122, 78, 0.12);
}

.contact-form .is-invalid {
  border-color: #b3261e;
}

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

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.6;
}

.contact-consent input {
  width: auto;
  margin: 3px 0 0;
}

.contact-consent a {
  color: var(--green);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-submit {
  width: 100%;
  height: 46px;
  margin-top: 20px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 160ms ease;
}

.contact-submit:hover {
  opacity: 0.92;
}

.contact-submit:disabled {
  cursor: default;
  opacity: 0.6;
}

.contact-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

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

.contact-status.is-success {
  color: var(--green);
}

.contact-privacy {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 36px 0 80px;
  }

  .contact-form-card {
    padding: 24px;
  }
}

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