/* Contact-only restyle. Typography inherits the site's existing font families.
   The background treatment repeats the pricing section's exact gradient. */
#contact.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0d211a;
  border-top: 1px solid #d8e1d11a;
  color: #f3f9ef;
}
#contact.contact-section::before {
  content: "";
  position: absolute;
  left: -20%;
  top: -40%;
  width: 100%;
  height: 150%;
  background: radial-gradient(ellipse, #31614345, transparent 65%);
  pointer-events: none;
}
#contact .contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
#contact .contact-copy { min-width: 0; }
#contact .contact-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
  color: #77c68e;
}
#contact .contact-eyebrow-line { width: 28px; height: 2px; flex-shrink: 0; background: #77c68e; }
#contact .contact-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.15;
  font-weight: 450;
  color: #f3f9ef;
}
#contact .green-heading { color: #77c68e; }
#contact .contact-copy > p:not(.eyebrow) {
  max-width: 430px;
  color: #b6c6b8;
  font-size: 14px;
  line-height: 1.9;
}
#contact .contact-note {
  padding-top: 24px;
  margin-top: 38px;
  border-top: 1px solid #b6c6b82b;
  gap: 14px;
  color: #f3f9ef;
  font-size: 12px;
  line-height: 1.75;
}
#contact .contact-note > svg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 9px;
  border-radius: 50%;
  background: #77c68e12;
  color: #77c68e;
}
#contact .contact-note-detail { color: #b6c6b8; font-size: 11px; }
#contact .contact-form {
  min-width: 0;
  max-width: none;
  width: 100%;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid #d9e2d0;
  border-radius: 20px;
  background: #f8faf5;
  color: var(--ink);
  box-shadow: 0 28px 65px -22px #00000045, 0 6px 16px #00000012;
}
#contact .contact-form-heading { margin-bottom: 28px; }
#contact .contact-form-heading h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.5px;
}
#contact .contact-form-heading p { margin: 0; color: #687b69; font-size: 11px; line-height: 1.7; }
#contact .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
#contact .field { min-width: 0; margin-bottom: 22px; }
#contact .field > label { margin-bottom: 8px; color: #254637; font-size: 12px; }
#contact .field > label > span { color: #527d55; }
#contact .field input,
#contact .field textarea {
  padding: 14px 13px;
  border: 1px solid #cedbc7;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}
#contact .field input::placeholder,
#contact .field textarea::placeholder { color: #7e837f; }
#contact .field textarea { min-height: 140px; resize: vertical; }
#contact .field input:focus,
#contact .field textarea:focus {
  border-color: #557f44;
  outline: 2px solid #557f4440;
  outline-offset: 2px;
}
#contact .contact-form > .button {
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border-radius: 7px;
  background: #102d23;
  color: #f3f9ef;
  font-size: 13px;
}
#contact .contact-form > .button:hover { background: #1e4436; }
#contact .form-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 18px 0 0;
  color: #687b69;
  font-size: 10px;
  text-align: left;
  line-height: 1.8;
}
#contact .form-note > svg { flex: 0 0 15px; width: 15px; height: 18px; margin-top: 1px; color: #355c45; }
#contact .form-note a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  #contact .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  #contact .contact-copy { max-width: 580px; }
  #contact .contact-copy > .eyebrow { margin-bottom: 24px; }
  #contact .contact-copy h2 { font-size: clamp(38px, 6vw, 50px); }
  #contact .contact-copy > p:not(.eyebrow) { max-width: 480px; }
  #contact .contact-note { max-width: 440px; margin-top: 28px; }
}
@media (max-width: 520px) {
  #contact .contact-form { padding: 25px 21px; border-radius: 16px; }
  #contact .contact-form-heading { margin-bottom: 24px; }
  #contact .contact-copy h2 { font-size: clamp(33px, 8.5vw, 43px); letter-spacing: -1.3px; }
  #contact .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* Prevent browser focus zoom without changing the website's font families. */
  #contact .field input,
  #contact .field textarea { font-size: 16px; }
  #contact .contact-form .field input::placeholder,
  #contact .contact-form .field textarea::placeholder {
    font-size: 11px;
    opacity: 1;
  }
  #contact .contact-form > .button { padding-inline: 14px; font-size: 12px; }
}
