/* contact.css — House of Canopies "Contact us" page.
   Green-editorial: hairlines, micro-uppercase labels, tabular nums, sharp
   corners, green reserved for action. Brand tokens only (no literals beyond
   error/ok accents). Cascade trap: .cf carries .wrap, so NO shorthand
   `padding` here — vertical rhythm goes on the inner sections. */

.cf { padding-top: 0; padding-bottom: 0; }

/* ---- hero --------------------------------------------------------------- */
.cf-hero {
  padding-top: 56px;
  padding-bottom: 8px;
  max-width: 680px;
}
.cf-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}
.cf-hero h1 .green { color: var(--green); }
.cf-hero p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ---- status banners ----------------------------------------------------- */
.cf-banner {
  margin: 22px 0 4px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.cf-banner--ok  { border-left: 3px solid var(--green); background: var(--green-soft); }
.cf-banner--err { border-left: 3px solid #b23b3b; background: #fbeeee; color: #7a2a2a; }

/* ---- layout ------------------------------------------------------------- */
.cf-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  padding-top: 32px;
  padding-bottom: 80px;
  align-items: start;
}

/* ---- side rail ---------------------------------------------------------- */
.cf-side h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cf-detail { margin-bottom: 18px; }
.cf-dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 4px;
}
.cf-dd {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.cf-dd a { color: var(--green-text); text-decoration: none; }
.cf-dd a:hover { text-decoration: underline; }
.cf-side__note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cf-side__note p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.cf-side__note a { color: var(--green-text); text-decoration: none; font-weight: 600; }
.cf-side__note a:hover { text-decoration: underline; }

/* ---- form --------------------------------------------------------------- */
.cf-form { max-width: 640px; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cf-field { margin-bottom: 18px; }
.cf-field--narrow { /* sits in a row; nothing special at desktop */ }
.cf-field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 6px;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 11px 13px;
  transition: border-color 0.15s ease;
}
.cf-field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--ink-4); }

.cf-submit { margin-top: 6px; }
.cf-privacy {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-4);
  margin: 14px 0 0;
}
.cf-privacy a { color: var(--green-text); text-decoration: none; }
.cf-privacy a:hover { text-decoration: underline; }

/* ---- honeypot: keep it out of sight + off the a11y tree ----------------- */
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .cf-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 60px;
  }
  .cf-hero { padding-top: 40px; }
}
@media (max-width: 560px) {
  .cf-row { grid-template-columns: 1fr; gap: 0; }
}
