
/* ============================================================
   Inquiry form — added so families have a way to reach the
   business that isn't a phone call.
   Matches the existing palette: --green, --ink, --sage, --gold.
   ============================================================ */

.ect-form { display: grid; gap: 18px; }

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

.ect-field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #75847f;
}
.ect-req { color: #b4562f; letter-spacing: 0; }
.ect-opt {
  color: #9aa6a1;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
}

.ect-field input,
.ect-field select,
.ect-field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: 400 16px/1.5 Arial, Helvetica, sans-serif; /* 16px stops iOS zooming on focus */
  color: var(--ink, #17342f);
  background: #fff;
  border: 1px solid #d8e2dc;
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
}
.ect-field textarea { min-height: 116px; resize: vertical; line-height: 1.6; }
.ect-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23205b4f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.ect-field input:focus,
.ect-field select:focus,
.ect-field textarea:focus {
  outline: 2px solid var(--green, #205b4f);
  outline-offset: 2px;
  border-color: var(--green, #205b4f);
}

.ect-field.has-error input,
.ect-field.has-error select,
.ect-field.has-error textarea { border-color: #b4562f; }
.ect-error { margin: 0; font-size: 13px; color: #b4562f; line-height: 1.5; }

.ect-form-error-top {
  margin: 0 0 22px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #7d3a1f;
  background: #fcefe8;
  border: 1px solid #f0cfbe;
  border-radius: 10px;
}

.ect-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 560px) { .ect-row { grid-template-columns: minmax(0, 1fr); } }

.ect-submit {
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}

.ect-form-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #75847f;
}

/* The honeypot. Hidden from people without display:none, which some bots
   check for, and taken out of the tab order and the accessibility tree. */
.ect-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- The form where it sits in the green contact band ------------------- */
.contact-form-card {
  padding: 32px;
  background: #fff;
  color: var(--ink, #17342f);
  border-radius: 4px;
}
.contact-form-card h3 {
  margin: 0 0 6px;
  font: 500 24px/1.3 Georgia, serif;
}
.contact-form-card > p.contact-form-intro {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #60726d;
}
@media (max-width: 720px) { .contact-form-card { padding: 24px; } }

/* The phone and address move under the copy so the form gets the card. */
.contact-direct { margin-top: 36px; display: grid; gap: 18px; }
.contact-direct a, .contact-direct .address {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: center;
  color: #fff;
}
.contact-direct b {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-style: normal;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-radius: 50%;
}
.contact-direct small {
  display: block;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #bed3cb;
  margin-bottom: 5px;
}
.contact-direct strong { font: 500 19px/1.4 Georgia, serif; }

/* ---- Standalone contact.php page --------------------------------------- */
.ect-reply { padding: 72px max(24px, -588px + 50vw) 96px; }
.ect-reply-inner { max-width: 680px; }
.ect-reply h1 { margin: 0 0 18px; font: 500 clamp(32px, 4vw, 48px)/1.1 Georgia, serif; }
.ect-reply-lead { font-size: 18px; line-height: 1.75; color: #40544e; margin: 0 0 16px; }
.ect-reply-note { font-size: 15px; line-height: 1.7; color: #60726d; margin: 0 0 32px; }
.ect-reply-note a { color: var(--green, #205b4f); font-weight: 700; }

/* ---- Mobile: the call button says what it is ---------------------------
   It used to collapse to an unlabelled green circle at 600px, so on a phone
   the only way to reach the business was an unmarked dot. */
.header-call-label { display: none; }
@media (max-width: 600px) {
  .header-call {
    font-size: 13px !important;
    font-weight: 800;
    width: auto !important;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    color: #fff;
    background: var(--green, #205b4f);
    border-radius: 999px;
    white-space: nowrap;
  }
  .header-call::first-letter { font-size: 15px; }
  .header-call-label { display: inline; }
}
@media (max-width: 380px) {
  .header-call { font-size: 0 !important; padding: 0 12px; gap: 0; }
  .header-call::first-letter { font-size: 16px; }
  .header-call-label { display: inline; font-size: 13px; margin-left: 6px; }
}
