/* ==========================================================================
   Wiztra Chat — Contact / book-a-demo page
   Converted from src/pages/contact/page.tsx.

   The React version POSTed to a Readdy endpoint and swapped the form for a
   success panel held in component state. Here js/forms.js composes a mailto:
   message and writes a line into .form-status instead; no markup is swapped.
   ========================================================================== */

.ct-hero {
  padding-block: 112px 64px;
  background: var(--background-50);
}
@media (min-width: 1024px) { .ct-hero { padding-block: 144px 80px; } }

.ct-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}
@media (min-width: 1024px) {
  .ct-layout { flex-direction: row; gap: 80px; }
}

/* --------------------------------------------------------------------------
   Left column — pitch + reassurance list
   -------------------------------------------------------------------------- */

.ct-intro { width: 100%; }
@media (min-width: 1024px) { .ct-intro { width: 45%; } }

.ct-title {
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--foreground-950);
}
@media (min-width: 768px)  { .ct-title { font-size: 48px; } }
@media (min-width: 1024px) { .ct-title { font-size: 52px; } }

.ct-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--foreground-600);
  max-width: 480px;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .ct-sub { font-size: 18px; } }

.ct-points { display: flex; flex-direction: column; gap: 20px; }

.ct-point { display: flex; align-items: flex-start; gap: 16px; }

.ct-point-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
}
.ct-point-icon i { font-size: 18px; color: var(--primary-500); }

.ct-point-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground-900);
}
.ct-point-desc { font-size: 13px; color: var(--foreground-500); }

/* --------------------------------------------------------------------------
   Right column — form card
   -------------------------------------------------------------------------- */

.ct-form-col { width: 100%; }
@media (min-width: 1024px) { .ct-form-col { width: 55%; } }

.ct-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid oklch(var(--background-200c) / 0.7);
  background: var(--background-50);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .ct-card { padding: 32px; } }

.ct-form { display: flex; flex-direction: column; gap: 20px; }

.ct-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .ct-row { grid-template-columns: repeat(2, 1fr); } }

.ct-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground-700);
  margin-bottom: 6px;
}

.ct-req { color: var(--accent-500); margin-left: 2px; }

.ct-input,
.ct-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid oklch(var(--background-200c) / 0.7);
  background: var(--background-50);
  font-size: 14px;
  color: var(--foreground-900);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ct-input::placeholder,
.ct-textarea::placeholder { color: var(--foreground-400); }

.ct-input:focus,
.ct-textarea:focus {
  outline: none;
  border-color: var(--primary-300);
  box-shadow: 0 0 0 3px oklch(var(--primary-300c) / 0.35);
}

.ct-textarea { resize: none; }

.ct-counter {
  font-size: 11px;
  color: var(--foreground-400);
  text-align: right;
  margin-top: 4px;
}

.ct-submit { width: 100%; }

.ct-fineprint {
  font-size: 11px;
  line-height: 1.6;
  color: var(--foreground-400);
  text-align: center;
}
