/* ============================================================
   FRESH AIR PILATES — Contact Page (contact.css)
   ============================================================ */

/* Full-height split layout — sits below sticky nav */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
}

/* Info panel */
.contact-info {
  background: var(--text-dark); color: var(--cream);
  padding: 3rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}

.contact-info h1 { color: var(--cream); margin-bottom: 1rem; }
.contact-info h1 em { color: var(--gold); }
.contact-info > p { color: rgba(255,255,255,0.58); max-width: 380px; margin-bottom: 1.5rem; }

.contact-details { margin-bottom: 1.5rem; }

.contact-details li {
  display: flex; gap: 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: flex-start;
}

.cd-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage-light); width: 80px; flex-shrink: 0;
  padding-top: 2px; font-weight: 500; font-family: 'Jost', sans-serif;
}

.cd-val {
  font-size: 0.92rem; color: rgba(255,255,255,0.78); line-height: 1.65;
}

/* Phone/email links inside the dark contact-info panel. Pure cream (rather
   than the dimmer gold) plus a visible underline so there's no question
   that the link is rendered and clickable. The hover gold tint adds the
   brand colour back on interaction. !important defends against any
   global `a { color: inherit }` rule that has higher specificity due to
   load order (e.g. global.css overriding contact.css). */
.cd-val a {
  color: var(--cream) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--trans), opacity var(--trans);
}
.cd-val a:hover { color: var(--gold-light) !important; opacity: 0.9; }

.contact-faq-note {
  font-size: 0.8rem; color: rgba(255,255,255,0.35) !important;
  margin: 0 !important;
}

.contact-faq-note a { color: var(--sage-light); text-decoration: underline; }

/* Form panel */
.contact-form-panel {
  background: var(--warm-white);
  padding: 3rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}

.contact-form-panel h2 { margin-bottom: 0.4rem; }
.contact-form-panel > p { margin-bottom: 1.5rem; }

/* Form layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Validation */
.field-error {
  display: none;
  font-size: 0.75rem; color: #c0392b;
  margin-top: 0.35rem; font-family: 'Jost', sans-serif;
}

.form-group.invalid .field-error { display: block; }
.form-group.invalid input,
.form-group.invalid textarea { border-color: #c0392b; }

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--sage-pale);
  border-radius: 8px;
  border: 1px solid var(--sage-light);
}

.fs-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sage); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1.25rem;
}

.form-success h3 { margin-bottom: 0.5rem; }

.form-note {
  font-size: 0.78rem; color: var(--text-light);
  margin-top: 1rem; margin-bottom: 0;
}

/* F-347: .btn-loading moved to global.css with a real spinner so every
   page using fapWithBtnLock gets the same visual feedback. The older
   opacity-only rule lived here. */

@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { padding: 2.5rem 1.5rem; }
  .contact-form-panel { padding: 2.5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
