/* ============================================
   Appointment Request Form Styles
   ============================================ */

/* Instructions */
.rf-instructions__title {
  font-family: var(--font-mobirise);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}
.rf-crisis {
  color: #dc2626;
}

/* Form wrapper */
.rf-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
}
.rf-form-wrap__title {
  font-family: var(--font-mobirise);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.rf-form-wrap__sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.rf-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

/* Person label (couples form) */
.rf-person-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

/* Fields */
.rf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.rf-field {
  margin-bottom: 1.25rem;
}
.rf-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.rf-label-block {
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  line-height: 1.7;
  color: var(--text-secondary) !important;
  margin-bottom: 0.75rem !important;
}
.rf-req {
  color: #dc2626;
}
.rf-field input[type="text"],
.rf-field input[type="email"],
.rf-field input[type="tel"],
.rf-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: #fafafa;
  transition: border-color var(--t-fast);
}
.rf-field input:focus,
.rf-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.rf-field textarea {
  resize: vertical;
  min-height: 120px;
}
.rf-field__help {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Checkboxes */
.rf-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 0.5rem;
}
.rf-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 400 !important;
  color: var(--text);
  cursor: pointer;
}
.rf-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

/* Submit */
.rf-submit {
  width: 100%;
  margin-top: 0.5rem;
  color: #fff;
  font-size: 1rem;
}
.rf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.rf-thankyou {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.6;
}

/* Modal (reuse from contact) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.modal__icon { margin-bottom: 1rem; }
.modal__title {
  font-family: var(--font-mobirise);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.modal__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.modal__ok {
  min-width: 120px;
  color: #fff;
}

/* Contact bar reuse */
.appt-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.appt-contact__label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 0.4rem;
}
.appt-contact__item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}
.appt-contact__item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.appt-contact__item a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .rf-row {
    grid-template-columns: 1fr;
  }
  .rf-form-wrap {
    padding: 1.5rem 1.25rem;
  }
  .appt-contact {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
