/* ==========================================================================
   Contact Us page bundle
   ========================================================================== */

.pc-contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; padding-top: 8px; }

/* ---------- Ninja Forms wrapper ----------
   The plugin ships its own markup; this only makes it sit on our card and
   inherit the theme's fields and buttons.
   ------------------------------------------------------------------------ */
.pc-ninja-form {
  border: 1px solid var(--pc-border); border-radius: var(--pc-radius);
  padding: 28px; background: var(--pc-surface);
}
.pc-ninja-form .nf-form-fields-required { display: none; }
.pc-ninja-form .nf-field-container { margin-bottom: 16px; }
.pc-ninja-form .nf-field-label label {
  font-weight: 800 !important; font-size: 13px !important;
  color: var(--pc-ink) !important; margin-bottom: 6px;
}
.pc-ninja-form input[type="text"],
.pc-ninja-form input[type="email"],
.pc-ninja-form input[type="tel"],
.pc-ninja-form textarea,
.pc-ninja-form select {
  width: 100%; padding: 13px 15px !important; height: auto !important;
  border: 1px solid var(--pc-border2) !important; border-radius: 11px !important;
  font-family: var(--pc-sans) !important; font-size: 15px !important;
  background: var(--pc-surface) !important; color: var(--pc-ink) !important;
}
.pc-ninja-form input:focus, .pc-ninja-form textarea:focus { border-color: var(--pc-teal) !important; }
.pc-ninja-form .nf-error-msg { color: #C0562E; font-size: 13px; font-weight: 700; }
.pc-ninja-form .nf-error .nf-field-element input,
.pc-ninja-form .nf-error .nf-field-element textarea { border-color: #C0562E !important; }
.pc-ninja-form input[type="button"],
.pc-ninja-form input[type="submit"],
.pc-ninja-form button[type="submit"] {
  width: 100%; background: var(--pc-ink) !important; color: var(--pc-bg) !important;
  border: none !important; border-radius: 12px !important; padding: 15px 26px !important;
  font-family: var(--pc-sans) !important; font-weight: 800 !important; font-size: 16px !important;
  cursor: pointer;
}
.pc-ninja-form input[type="button"]:hover { background: var(--pc-ink-soft) !important; }
.pc-ninja-form .nf-response-msg {
  background: var(--pc-teal-soft); color: var(--pc-teal-dark);
  border-radius: 12px; padding: 16px; font-weight: 700;
}
.pc-form-fallback { margin: 0; font-size: 15px; line-height: 1.65; color: var(--pc-muted); }

/* ---------- Legacy form (kept for any page still using it) ---------- */
.pc-contact-form {
  border: 1px solid var(--pc-border); border-radius: var(--pc-radius);
  padding: 28px; background: var(--pc-surface);
}
.pc-field { margin-bottom: 18px; }
.pc-field label { display: block; font-weight: 800; font-size: 13px; margin-bottom: 7px; color: var(--pc-ink); }
.pc-field input, .pc-field textarea, .pc-field select { width: 100%; }
.pc-field input:focus, .pc-field textarea:focus, .pc-field select:focus { border-color: var(--pc-teal); }
.pc-field.has-error input,
.pc-field.has-error textarea { border-color: #C0562E; background: #FFF8F6; }

.pc-error { display: none; font-size: 13px; font-weight: 700; color: #C0562E; margin-top: 6px; }
.pc-field.has-error .pc-error { display: block; }

.pc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pc-contact-submit { width: 100%; margin-top: 4px; }
.pc-contact-submit[disabled] { opacity: .55; cursor: default; }

.pc-form-note { margin-top: 14px; font-size: 14px; font-weight: 700; line-height: 1.5; display: none; padding: 14px 16px; border-radius: 12px; }
.pc-form-note.show { display: block; }
.pc-form-note.ok { background: var(--pc-teal-soft); color: var(--pc-teal-dark); }
.pc-form-note.bad { background: #FFF1ED; color: #A8452C; }

/* ---------- Side cards ---------- */
.pc-contact-side { display: grid; gap: 16px; }
.pc-contact-card {
  border: 1px solid var(--pc-border); border-radius: var(--pc-radius);
  padding: 22px; background: var(--pc-surface);
  box-shadow: 0 1px 2px rgba(46, 42, 34, .04), 0 6px 16px rgba(46, 42, 34, .05);
}
.pc-contact-icon { font-size: 26px; margin-bottom: 10px; }
.pc-contact-card h3 { font-size: 19px; margin: 0 0 6px; }
.pc-contact-card p { font-size: 15px; color: var(--pc-muted); margin: 0 0 6px; line-height: 1.6; }
.pc-contact-meta { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--pc-muted3); }
.pc-contact-urgent { background: var(--pc-yellow-soft); border-color: var(--pc-border2); }
.pc-contact-urgent p { color: #6B5A1F; }

/* ---------- FAQ block ---------- */
.pc-faq { padding-top: 56px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pc-contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pc-contact-form { padding: 20px; }
}
