/* ============================================================
   contact-section.css
   Styles the "Get in Touch" / "Talk to the alwaysAI team"
   contact section that appears at the bottom of every page,
   including the two-column layout and the embedded form.
   ============================================================ */

/* --- Section wrapper --- */
.contact-section {
  padding: 64px 32px;
  background: var(--navy);
}

/* --- Two-column grid (intro + form) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* --- Intro column --- */
.contact-intro h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--od);
}
.contact-intro .body { color: var(--od-m); }
.contact-intro .feature-list li { color: var(--od-m); }

/* --- Form wrapper card --- */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
}

/* --- Form layout --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- Two-column form row --- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* --- Field with label --- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
}

/* --- Privacy note --- */
.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 2px;
}

/* --- Success state (shown after submission) --- */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success.show + form { display: none; }

.form-success__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,174,255,0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.form-success h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
