:root {
  --primary: #6C5CE7;
  --primary-dark: #5849c2;
  --bg: #F4F3FB;
  --card-bg: #FFFFFF;
  --text: #1F1B3A;
  --text-muted: #7A7690;
  --border: #E6E3F5;
  --success: #2ECC71;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: 24px 16px;
}

body {
  flex-direction: column;
  align-items: center;
}

.card, .business-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.12);
}

.business-card { text-align: center; margin-bottom: 16px; }

.business-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #A29BFE);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 12px;
}

.business-name { font-size: 20px; margin: 0 0 6px; }

.rating { font-size: 14px; margin-bottom: 14px; }
.rating-count { color: var(--text-muted); }

.info-row {
  text-align: left;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.map-container {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.contact-link {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  text-align: center;
}
.contact-link:hover { background: var(--border); }

.about { text-align: left; margin-bottom: 16px; }
.about h3 { font-size: 14px; margin: 0 0 6px; }
.about p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-item {
  aspect-ratio: 1;
  background: var(--bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.15s;
}
.gallery-item:hover { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
}
.lightbox.hidden { display: none; }
.lightbox-content {
  width: 240px;
  height: 240px;
  background: var(--card-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.header { text-align: center; margin-bottom: 20px; }
.logo { font-size: 36px; margin-bottom: 8px; }
h1 { font-size: 22px; margin: 0 0 4px; }
.subtitle { color: var(--text-muted); font-size: 13px; margin: 0; }

.steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}
.step-dot.active { background: var(--primary); width: 20px; border-radius: 4px; }

.step h2 { font-size: 16px; margin: 0 0 14px; }
.hidden { display: none; }

.options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.option-btn {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
}
.option-btn:hover { border-color: var(--primary); background: #FAF9FF; }
.option-btn.selected { border-color: var(--primary); background: var(--primary); color: white; }

.date-input, .text-input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  margin-bottom: 12px;
  font-family: inherit;
  color: var(--text);
  background: var(--card-bg);
}
.date-input:focus, .text-input:focus { outline: none; border-color: var(--primary); }

.btn-primary {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { background: var(--border); cursor: not-allowed; }

.btn-back {
  width: 100%;
  padding: 10px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
}
.btn-back:hover { color: var(--primary); }

.summary {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.empty-state { color: var(--text-muted); font-size: 14px; text-align: center; padding: 20px 0; }

.consent-note { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.4; }
.consent-note a { color: var(--primary); }

.step#step-success { text-align: center; }
.success-icon { font-size: 48px; margin-bottom: 8px; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16141F;
    --card-bg: #211E33;
    --text: #F0EEFA;
    --text-muted: #9C97B8;
    --border: #3A3654;
  }
  .option-btn:hover { background: #2A2640; }
}
