* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f6f7fb;
  color: #1f2937;
}

body {
  min-height: 100vh;
}

.wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}

h1 {
  margin: 0 0 6px 0;
  font-size: 30px;
  line-height: 1.1;
}

.lead {
  margin: 0 0 18px 0;
  color: #4b5563;
  line-height: 1.45;
}

.step {
  margin-top: 22px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.step h2 {
  margin: 0;
  font-size: 20px;
}

.label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.input {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 16px;
  background: #fff;
}

.hint {
  margin: 8px 0 0 0;
  color: #6b7280;
  font-size: 14px;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.service-card:active {
  transform: scale(0.995);
}

.service-card.selected {
  border-color: #111827;
  box-shadow: 0 0 0 2px rgba(17,24,39,0.06);
}

.service-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-meta {
  font-size: 14px;
  color: #6b7280;
}

.service-desc {
  margin-top: 8px;
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
}

.slots-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.slot-btn {
  width: 100%;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  border-radius: 12px;
  padding: 14px 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.slot-btn.selected {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.info, .error {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.info {
  background: #f3f4f6;
  color: #374151;
}

.error {
  background: #fef2f2;
  color: #991b1b;
}

.summary-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

.btn {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  padding: 15px 16px;
  background: #111827;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.hidden {
  display: none;
}

@media (max-width: 480px) {
  .wrap {
    padding: 12px;
  }

  .card {
    padding: 16px;
    border-radius: 16px;
  }

  h1 {
    font-size: 26px;
  }

  .slots-list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .slot-btn {
    padding: 12px 8px;
    font-size: 14px;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.full-span {
  grid-column: 1 / -1;
}

.textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 16px;
  background: #fff;
  resize: vertical;
  font-family: Arial, sans-serif;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.success {
  background: #ecfdf5;
  color: #065f46;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.success-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #14532d;
}

.center-actions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.btn-secondary {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 15px 16px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
