/* =============================================================================
   Contact page. Loaded only on /contact — shared shell lives in site.css.
   ========================================================================== */

.contact { color: var(--ink); background: var(--bg); overflow-x: hidden; }

/* ---------------------------------------------------------------- hero -- */
.contact-hero { padding: 76px 32px 36px; }
.contact-hero__inner { max-width: 1120px; margin: 0 auto; }

.contact-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-eyebrow__rule { width: 26px; height: 2px; background: #05a558; }
.contact-eyebrow__text {
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #05a558; font-weight: 600;
}

.contact-hero h1 {
  margin: 0; font-size: 52px; line-height: 1.04; letter-spacing: -.03em;
  font-weight: 700; color: var(--ink); max-width: 700px;
}
.contact-hero__lede {
  max-width: 560px; margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: #565a4f;
}

/* ---------------------------------------------------- form + channels -- */
.contact-main { padding: 12px 32px 90px; }
.contact-split {
  max-width: 1120px; margin: 0 auto;
  display: flex; gap: 24px; align-items: flex-start;
}

.contact-formwrap {
  flex: 1.4;
  background: #fff; border: 1px solid rgba(20,22,15,.09); border-radius: 20px;
  padding: 36px; box-shadow: 0 30px 60px -42px rgba(18,40,28,.3);
}

/* fields */
.contact-form__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-field--mt { margin-top: 18px; }
.contact-label {
  font-size: 13.5px; font-weight: 600; color: #3d4136; margin-bottom: 7px; display: block;
}
.contact-input, .contact-select, .contact-textarea {
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid rgba(20,22,15,.16); border-radius: 10px;
  padding: 12px 14px; width: 100%; outline: none;
}
.contact-input:focus, .contact-select:focus, .contact-textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,214,119,.16);
}
.contact-textarea { resize: vertical; }
.contact-input--error, .contact-textarea--error { border-color: #e5484d; }

.contact-submit {
  margin-top: 22px; border: none; cursor: pointer;
  background: var(--accent); color: #05130c; font-family: inherit;
  font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 12px;
}
.contact-fineprint { margin: 16px 0 0; font-size: 12.5px; color: #8b8f82; }
.contact-fineprint a { color: #05a558; }

/* validation summary */
.contact-errors {
  margin: 0 0 20px; padding: 14px 16px; border-radius: 12px;
  background: rgba(229,72,77,.08); border: 1px solid rgba(229,72,77,.28);
  color: #b42318; font-size: 14px; line-height: 1.5;
}
.contact-errors ul { margin: 8px 0 0; padding-left: 18px; }

/* confirmation */
.contact-sent { text-align: center; padding: 40px 12px; }
.contact-sent__icon {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(0,214,119,.16);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.contact-sent__title { font-size: 24px; font-weight: 700; color: var(--ink); }
.contact-sent__text {
  margin: 10px auto 0; max-width: 360px; font-size: 15.5px; line-height: 1.55; color: #565a4f;
}
.contact-sent__link {
  display: inline-block; margin-top: 22px; text-decoration: none;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: var(--bg); border: 1px solid rgba(20,22,15,.14);
  padding: 12px 22px; border-radius: 11px;
}

/* channels column */
.contact-channels { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid rgba(20,22,15,.09); border-radius: 16px; padding: 22px;
  transition: transform .16s ease, box-shadow .16s ease;
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -26px rgba(18,40,28,.32); }
.contact-card__head { display: flex; align-items: center; gap: 11px; margin-bottom: 8px; }
.contact-card__title { font-size: 16px; font-weight: 700; color: var(--ink); }
.contact-card__body { font-size: 14.5px; color: #565a4f; }
.contact-card__body a { color: inherit; text-decoration: none; }
.contact-card__body a.contact-link-green { color: #05a558; }

/* community dark box */
.contact-community { background: #0f1210; border-radius: 16px; padding: 22px; }
.contact-community__title { font-size: 16px; font-weight: 700; color: #f4f6f2; margin-bottom: 6px; }
.contact-community__text { font-size: 14px; color: #9aa39c; line-height: 1.5; margin-bottom: 14px; }
.contact-community__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-community__btn {
  text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #e8ebe6; font-weight: 600; font-size: 13.5px; padding: 10px 16px; border-radius: 10px;
}
.contact-community__sociallabel { font-size: 13.5px; color: #9aa39c; margin-top: 16px; }
.contact-socials { display: flex; gap: 9px; margin-top: 10px; flex-wrap: wrap; }
.contact-socials a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #c7ccd0;
}

/* ------------------------------------------------------------ responsive -- */
@media (prefers-reduced-motion: reduce) {
  .contact-card { transition: none; }
}
@media (max-width: 860px) {
  .contact-split { flex-direction: column; }
  .contact-form__row2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-hero, .contact-main { padding-left: 20px; padding-right: 20px; }
  .contact-hero h1 { font-size: 40px; }
}
