.hero-actions,
.contact-cta-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.btn.contact-secondary {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px #a9b7a3;
}

.btn.contact-secondary:hover {
  background: #e5ebdf;
}

.contact-cta-actions {
  margin-top: 30px;
}

.cta-card .contact-cta-actions .btn {
  margin-top: 0;
}

.cta-card .contact-secondary:hover {
  background: #cee99a;
}

.contact-section {
  padding-block: 96px 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 72px;
}

.contact-intro {
  padding-top: 22px;
}

.contact-intro .eyebrow {
  margin-bottom: 24px;
}

.contact-intro h2 {
  font-size: clamp(36px, 4.1vw, 53px);
}

.contact-intro .section-description {
  max-width: 340px;
}

.contact-form {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff85;
}

.contact-form h3 {
  font-size: 25px;
  letter-spacing: -0.045em;
}

.contact-form-note {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px 18px;
  min-width: 0;
  margin: 27px 0 24px;
  padding: 0;
  border: 0;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
}

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

.contact-optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #c5cfc0;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.45 var(--body);
  transition: border-color 0.2s;
}

.contact-field select {
  padding-right: 30px;
  cursor: pointer;
}

.contact-field textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-field textarea::placeholder {
  color: #7d877c;
  opacity: 1;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: #849780;
}

.contact-field :focus-visible {
  outline-offset: 3px;
}

.contact-submit {
  width: 100%;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.contact-permission {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.contact-status {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.55;
}

.contact-status:empty {
  display: none;
}

.contact-status[data-state="pending"],
.contact-status[data-state="success"] {
  background: var(--mint);
  color: var(--ink);
}

.contact-status[data-state="error"] {
  background: #f6e6dd;
  color: #713d2b;
}

.contact-noscript {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-noscript a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-call-option {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-call-option a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: #a9b7a3;
  text-underline-offset: 5px;
}

.contact-call-option a:hover {
  text-decoration-color: currentColor;
}

.contact-call-option .icon {
  width: 18px;
  height: 18px;
}

.contact-sr-only,
.contact-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
  }

  .contact-form {
    padding: 26px;
  }
}

@media (max-width: 700px) {
  .contact-section {
    padding-block: 65px 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-intro {
    padding-top: 0;
  }

  .contact-intro .eyebrow {
    margin-bottom: 20px;
  }

  .contact-intro h2 {
    font-size: clamp(34px, 7vw, 46px);
  }

  .contact-intro .section-description {
    max-width: 440px;
  }

  .contact-form {
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .contact-cta-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn,
  .contact-cta-actions .btn {
    width: min(100%, 290px);
  }

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

  .contact-fields {
    grid-template-columns: 1fr;
    gap: 19px;
  }
}
