/* ==========================================================
   ThinkAIQ — Contact page (clean, premium, light)
   ========================================================== */

.ct-page {
  background: #f8fafc;
}

/* ---------- Hero ---------- */
.ct-hero {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  text-align: center;
}

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.06);
  color: #06b6d4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ct-hero h1 {
  margin: 20px 0 0;
  font-size: 38px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
}

.ct-hero p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
}

/* ---------- Main ---------- */
.ct-main {
  padding: 0 0 80px;
}

.ct-grid {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* ---------- Form ---------- */
.ct-form-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ct-form-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.ct-form-sub {
  margin: 6px 0 24px;
  font-size: 14px;
  color: #64748b;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.ct-field label {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-field textarea {
  resize: vertical;
  min-height: 120px;
}

.ct-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.ct-field input.is-invalid,
.ct-field select.is-invalid,
.ct-field textarea.is-invalid {
  border-color: #ef4444;
}

.ct-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ct-submit:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.ct-success {
  display: none;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

.ct-success.is-visible {
  display: block;
}

/* ---------- Info cards ---------- */
.ct-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}

a.ct-info-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

.ct-info-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f9ff;
  color: #06b6d4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.ct-info-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ct-info-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.ct-info-value {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  word-break: break-word;
}

.ct-note {
  margin: 4px 0 0;
  font-size: 13px;
  font-style: italic;
  color: #94a3b8;
}

/* ---------- Social ---------- */
.ct-social {
  width: 100%;
  text-align: center;
  padding: 0 20px 96px;
}

.ct-social h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
}

.ct-social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ct-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ct-social-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (min-width: 1024px) {
  .ct-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .ct-hero {
    padding: 56px 20px 32px;
  }

  .ct-hero h1 {
    font-size: 30px;
  }

  .ct-form-card {
    padding: 24px;
  }

  .ct-main {
    padding-bottom: 56px;
  }

  .ct-social {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-submit:hover {
    transform: none;
  }
}

/* Honeypot field — hidden from humans, catches bots (FormSubmit) */
.ct-honey {
  display: none !important;
}
