/* ═══ Enquiry page only. Shared tokens, nav, footer: /css/site.css ═══ */

.content-wrap { grid-template-columns: 1fr 380px; }

.page-header p { font-size: 1.05rem; color: var(--muted); max-width: 480px; }

/* ─── OUTCOME BANNER (driven by ?success=1 / ?error=… in the URL) ───
   Lives inside .page-header rather than above the nav, which is fixed
   and would sit on top of it. */
.notice {
  display: none;
  padding: 14px 20px; margin-bottom: 24px;
  border: 1px solid; border-radius: var(--radius);
  max-width: 560px;
}
.notice.show { display: block; }
.notice p { font-size: 0.92rem; font-weight: 600; margin: 0; }
.notice.ok  { background: #f0fdf4; border-color: #86efac; }
.notice.ok p  { color: var(--success); }
.notice.err { background: #fef2f2; border-color: #fecaca; }
.notice.err p { color: var(--error); }

/* ─── FORM CARD ─── */
.form-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.form-card h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.form-card .sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group.last { margin-bottom: 0; }

label { font-size: 0.82rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
label .req { color: var(--accent); margin-left: 2px; }

input, textarea, select {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px; font-size: 0.95rem;
  font-family: var(--font); color: var(--text);
  transition: border-color .2s, box-shadow .2s; outline: none; appearance: none;
}
/* --muted is the lightest value that clears 4.5:1 on --bg. Placeholders
   read as hints because every field has a visible <label>, not because
   they're faint. */
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
}
input.error, textarea.error, select.error {
  border-color: var(--error); box-shadow: 0 0 0 3px rgba(200,30,30,0.12);
}
.field-error { font-size: 0.78rem; color: var(--error); margin-top: 2px; display: none; }
.field-error.show { display: block; }

textarea { resize: vertical; min-height: 130px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6a82' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
select option { color: var(--text); background: #fff; }

/* Required-field asterisk in the intro line */
.req-hint { color: var(--accent); }

/* Turnstile wrapper */
.captcha-wrap { margin: 20px 0 4px; }
.captcha-error { font-size: 0.78rem; color: var(--error); margin-top: 6px; display: none; }
.captcha-error.show { display: block; }

.btn-submit {
  width: 100%; margin-top: 20px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 10px;
  padding: 14px 24px; font-size: 1rem; font-weight: 700;
  font-family: var(--font); cursor: pointer;
  transition: background .2s, transform .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--accent2); transform: translateY(-2px); }
/* Slate rather than a pale tint of the accent: this button reads
   "Sending…" while disabled, so the label has to stay legible.
   White on the old #94b8cc was 2.10:1. */
.btn-submit:disabled { background: var(--muted); cursor: not-allowed; transform: none; }
.btn-submit svg {
  width: 18px; height: 18px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
/* Spinner swapped in while the form submits */
.btn-submit .spinner { animation: spin 1s linear infinite; }

.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ─── SIDEBAR ─── */
.info-col { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 28px 30px;
}
.info-card h3 {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.info-card h3 .ic {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0,119,182,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.info-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

.contact-detail { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail .cd-icon {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: rgba(0,119,182,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; margin-top: 1px;
}
.contact-detail .cd-text { font-size: 0.88rem; }
.contact-detail .cd-label { font-weight: 700; color: var(--text); display: block; margin-bottom: 1px; }
.contact-detail .cd-val { color: var(--muted); }

.divider-sm { height: 1px; background: var(--border); margin: 16px 0; }

.avail-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f0fdf4; border: 1px solid #86efac;
  border-radius: 40px; padding: 5px 12px;
  font-size: 0.78rem; font-weight: 700; color: var(--success); margin-bottom: 14px;
}
.avail-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 6px #22c55e; animation: pulse 2s infinite;
}

.engage-list { list-style: none; margin-top: 4px; }
.engage-list li {
  font-size: 0.86rem; color: var(--muted);
  padding: 5px 0 5px 16px; position: relative;
}
.engage-list li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent3);
}

/* SF badge */
.sf-badge {
  display: flex; align-items: center; gap: 8px;
  background: #f0f6ff; border: 1px solid rgba(0,119,182,0.18);
  border-radius: 8px; padding: 10px 14px; margin-top: 4px;
  font-size: 0.8rem; color: var(--muted);
}
.sf-badge .sf-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .btn-submit:hover { transform: none; }
}

/* ─── Responsive ─── */
@media (max-width: 820px) {
  .content-wrap { grid-template-columns: 1fr; gap: 32px; }
  .info-col { flex-direction: row; flex-wrap: wrap; }
  .info-card { flex: 1 1 260px; }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .info-col { flex-direction: column; }
  /* Scale Turnstile on very small screens */
  .cf-turnstile { transform: scale(0.9); transform-origin: left top; }
}
