/* Schedule a Call – clean, minimal, conversion-focused */
* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.schedule-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.schedule-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 40px 32px;
}

.schedule-header {
  text-align: center;
  margin-bottom: 28px;
}

.schedule-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.25;
}

.schedule-header .sub {
  font-size: 1rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: none;
}

.form-message.visible { display: block; }

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.schedule-form { display: flex; flex-direction: column; }

.field { margin-bottom: 20px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #333;
}

.req { color: #c62828; }
.opt { font-weight: 400; color: #888; font-size: 0.9em; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #4b2e83;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(75,46,131,0.12);
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: #c62828;
  background: #fff9f9;
}

.field-error {
  display: block;
  font-size: 0.85rem;
  color: #c62828;
  margin-top: 6px;
  min-height: 1.2em;
}

.intent-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 6px;
}

.intent-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  color: #555;
  user-select: none;
}

.intent-opt input { width: 18px; height: 18px; accent-color: #4b2e83; cursor: pointer; margin: 0; }

.field textarea { resize: vertical; min-height: 80px; }

.trust-line {
  font-size: 0.9rem;
  color: #888;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-line::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4b2e83 0%, #6a4a9e 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  min-height: 48px;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(75,46,131,0.3);
}

.btn-primary:focus { outline: none; box-shadow: 0 0 0 4px rgba(75,46,131,0.25); }
.btn-primary:disabled { cursor: not-allowed; opacity: 0.8; }

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-primary.loading .btn-text { visibility: hidden; position: absolute; }
.btn-primary.loading .btn-loader { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.secondary-cta {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin: 16px 0 0;
}

.schedule-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.back-link {
  color: #4b2e83;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.back-link:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .schedule-card { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .intent-options { flex-direction: column; }
}
