:root {
  --bg: #0a0a0a;
  --bg-card: #121212;
  --bg-elevated: #171717;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f5f1e8;
  --text-sec: #b5aea4;
  --text-muted: #6a645d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --accent: #f3efe6;
  --accent-dim: #8b8478;
  --accent-dark: #181715;
  --success: #78d99c;
  --danger: #ff7d73;
  --warning: #ffcf73;
  --cream: #f0ece5;
  --ink: #111111;
  --r: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dock: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: radial-gradient(circle at top, rgba(122, 112, 96, 0.16), transparent 36%), var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

#wave-bg,
#noise-overlay { position: fixed; inset: 0; pointer-events: none; }
#wave-bg { z-index: 0; }
#noise-overlay {
  z-index: 1;
  opacity: 0.042;
  background-repeat: repeat;
  background-size: 180px;
  mix-blend-mode: screen;
}

#app {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

#pages { flex: 1; overflow: hidden; position: relative; }
.page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 calc(var(--dock) + var(--safe-bottom) + 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.page.active { opacity: 1; pointer-events: auto; }
.page::-webkit-scrollbar { width: 0; }

.hero {
  min-height: 68vh;
  padding: 28px 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 24px 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  backdrop-filter: blur(8px);
}
.hero > * { position: relative; z-index: 1; }
.hero-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--text-sec);
  margin-bottom: 14px;
}
.hero-logo {
  width: 106px;
  height: auto;
  margin-bottom: 22px;
  object-fit: contain;
}
.hero-name,
.hero-outline {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  line-height: 0.92;
}
.hero-name {
  font-size: clamp(72px, 16vw, 108px);
  letter-spacing: 1px;
}
.hero-outline {
  font-size: clamp(72px, 16vw, 108px);
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(243, 239, 230, 0.7);
  margin-top: 4px;
}
.hero-subline {
  max-width: 320px;
  margin-top: 18px;
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--accent);
  color: var(--ink);
  font: 700 12px/1 'Space Grotesk', sans-serif;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hero-btn:active { transform: translateY(1px) scale(0.985); }
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.section-head { padding: 6px 20px 14px; }
.section-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.page-title,
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
}
.page-title { padding: 24px 20px 14px; }
.section-action {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: 700 10px/1 'Space Grotesk', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-note {
  margin-top: 6px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.45;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px;
}
.service-card {
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
}
.service-card.wide { grid-column: span 2; }
.service-card:active { transform: scale(0.992); }
.service-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.service-card.wide .service-card-media {
  aspect-ratio: 16 / 10;
}
.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}
.service-card-info {
  padding: 12px 12px 14px;
  color: var(--text);
}
.service-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-sec);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.service-card-name {
  margin-top: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  line-height: 0.95;
  text-transform: uppercase;
}
.service-card:not(.wide) .service-card-name {
  font-size: 22px;
  line-height: 1;
}
.service-card-price {
  margin-top: 6px;
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.booking-step {
  animation: fadeIn 0.22s ease;
  padding: 0 20px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.step-title {
  margin: 22px 0 14px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.7px;
}
.step-subtitle {
  margin: -8px 0 18px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.45;
}
.step-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font: 600 13px/1.2 'Space Grotesk', sans-serif;
  cursor: pointer;
  padding-top: 18px;
}

.pick-card,
.summary-card,
.calendar,
.time-info,
.profile-card,
.contacts-card,
.booking-card,
#chat-panel,
#service-sheet,
.confirm-card {
  border: 1px solid var(--line);
}

.pick-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  margin-bottom: 8px;
  border-radius: 20px;
  background: var(--bg-card);
  cursor: pointer;
}
.pick-card.selected,
.pick-card:active {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-strong);
}
.pick-card-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pick-card-name {
  color: var(--text);
  font: 700 15px/1.2 'Space Grotesk', sans-serif;
}
.pick-card-desc {
  margin-top: 4px;
  color: var(--text-sec);
  font-size: 12px;
  line-height: 1.45;
}
.pick-card-price {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.calendar {
  border-radius: 22px;
  background: var(--bg-card);
  padding: 16px;
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cal-month {
  font: 700 14px/1 'Space Grotesk', sans-serif;
  text-transform: capitalize;
}
.cal-nav {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-sec);
  cursor: pointer;
  font-size: 18px;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
  text-align: center;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  width: 100%;
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font: 500 13px/1 'Space Grotesk', sans-serif;
}
.cal-day.today { border: 1px solid rgba(255, 255, 255, 0.24); }
.cal-day.selected { background: var(--accent); color: var(--ink); font-weight: 700; }
.cal-day.disabled {
  color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  cursor: default;
  opacity: 0.52;
}
.cal-day.empty { cursor: default; }

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.slot {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--text);
  font: 700 12px/1 'Space Grotesk', sans-serif;
}
.slot.start,
.slot.end {
  background: var(--accent);
  color: var(--ink);
}
.slot.in-range { background: rgba(255, 255, 255, 0.12); }
.slot.taken {
  opacity: 1;
  color: rgba(255, 255, 255, 0.3);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 8px, rgba(255,255,255,0.01) 8px, rgba(255,255,255,0.01) 16px);
  text-decoration: line-through;
  cursor: default;
}
.slot.past {
  opacity: 1;
  color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  cursor: default;
}

.time-info,
.summary-card,
.profile-card,
.contacts-card,
.booking-card {
  border-radius: 20px;
  background: var(--bg-card);
}
.time-info {
  padding: 14px 16px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.summary-card {
  padding: 16px;
  margin-bottom: 14px;
}
.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
}
.summary-label { color: var(--text-sec); }
.summary-value { font-weight: 700; text-align: right; }
.summary-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}

.form-label {
  margin: 0 0 6px 2px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.form-input {
  width: 100%;
  margin-bottom: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--text);
  font: 500 14px/1.45 'Space Grotesk', sans-serif;
  resize: none;
  outline: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: rgba(255, 255, 255, 0.2); }

.btn-primary,
.btn-secondary {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  font: 700 12px/1 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  cursor: pointer;
}
.btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:disabled { opacity: 0.28; cursor: default; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost,
.btn-danger {
  background: none;
  border: none;
  font: 700 11px/1 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn-ghost { color: var(--text-sec); }
.btn-danger { color: var(--danger); }

.booking-card { padding: 14px; margin: 0 20px 10px; }
.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.booking-id { color: var(--text-muted); font-size: 12px; font-weight: 700; }
.booking-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.booking-status.pending { background: rgba(255, 207, 115, 0.14); color: var(--warning); }
.booking-status.confirmed { background: rgba(120, 217, 156, 0.14); color: var(--success); }
.booking-status.in_progress { background: rgba(243, 239, 230, 0.12); color: var(--text); }
.booking-status.completed { background: rgba(255, 255, 255, 0.08); color: var(--text-sec); }
.booking-status.cancelled { background: rgba(255, 125, 115, 0.12); color: var(--danger); }
.booking-service {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  line-height: 0.95;
  text-transform: uppercase;
}
.booking-meta {
  margin-top: 4px;
  color: var(--text-sec);
  font-size: 12px;
  line-height: 1.45;
}
.booking-meta span { margin-right: 8px; }
.booking-comment {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}
.booking-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.profile-card,
.contacts-card {
  margin: 0 20px 10px;
  padding: 18px;
}
.profile-name { font-size: 22px; font-weight: 700; }
.profile-username { margin-top: 4px; color: var(--text-sec); font-size: 13px; }
.profile-stats {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.profile-stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  line-height: 1;
}
.profile-stat-label {
  color: var(--text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-sec);
  font-size: 13px;
}
.contact-row a { color: var(--text); text-decoration: none; font-weight: 700; }
.contact-icon {
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.socials-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.social-link {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

#dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  height: calc(var(--dock) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.dock-item {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font: 700 9px/1 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.dock-item.active { color: var(--text); }

#chat-fab {
  position: fixed;
  right: 16px;
  bottom: calc(var(--dock) + var(--safe-bottom) + 14px);
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(243, 239, 230, 0.92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-backdrop,
#service-sheet-backdrop,
#confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
#chat-backdrop,
#service-sheet-backdrop { z-index: 200; }
#chat-backdrop.active,
#service-sheet-backdrop.active,
#confirm-overlay.active { opacity: 1; pointer-events: auto; }

#chat-panel,
#service-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 201;
  transform: translateY(100%);
  transition: transform 0.24s ease;
  background: #121212;
  border-radius: 26px 26px 0 0;
}
#chat-panel.active,
#service-sheet.active { transform: translateY(0); }
#chat-panel {
  height: 72vh;
  display: flex;
  flex-direction: column;
}
.chat-header {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font: 700 13px/1 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 26px;
}
#chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
}
.chat-bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-bubble.model {
  background: rgba(255, 255, 255, 0.06);
  align-self: flex-start;
}
.chat-bubble.user {
  background: var(--accent);
  color: var(--ink);
  align-self: flex-end;
}
.chat-typing { color: var(--text-muted); font-size: 12px; }
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px calc(12px + var(--safe-bottom));
  border-top: 1px solid var(--line);
}
.chat-input-row input {
  flex: 1;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 500 13px/1 'Space Grotesk', sans-serif;
  outline: none;
}
.chat-send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

#service-sheet {
  max-height: 70vh;
  padding: 22px 20px calc(20px + var(--safe-bottom));
}
.sheet-title {
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  line-height: 0.95;
  text-transform: uppercase;
}
.sheet-desc {
  margin-top: 10px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.55;
}
.sheet-price {
  margin: 10px 0 16px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.cert-amounts-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cert-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 700 12px/1 'Space Grotesk', sans-serif;
}

#confirm-overlay {
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirm-card {
  z-index: 301;
  width: min(320px, 90vw);
  padding: 26px 22px;
  border-radius: 24px;
  background: #121212;
  text-align: center;
}
.confirm-icon { color: var(--success); margin-bottom: 12px; }
.confirm-card h2 {
  font: 700 18px/1.2 'Space Grotesk', sans-serif;
}
.confirm-card p {
  margin: 10px 0 16px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.55;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock) + var(--safe-bottom) + 18px);
  z-index: 400;
  transform: translateX(-50%) translateY(14px);
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #121212;
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  font: 700 12px/1 'Space Grotesk', sans-serif;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tiers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.tier-badge {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}
.tier-hours { color: var(--text-muted); font-weight: 700; }
.tier-label,
.tier-price { font-weight: 700; }

.loading,
.empty-state {
  min-height: 44vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  color: var(--text-sec);
  gap: 12px;
}
.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

body.light-mode {
  background: var(--cream);
  color: var(--ink);
}
body.light-mode #noise-overlay,
body.light-mode #wave-bg { opacity: 0.1; }
body.light-mode #app,
body.light-mode #pages,
body.light-mode .page { background: transparent; color: var(--ink); }
body.light-mode .step-title,
body.light-mode .page-title,
body.light-mode .section-label,
body.light-mode .form-label,
body.light-mode .profile-stat-label,
body.light-mode .booking-id { color: #8f877c; }
body.light-mode .step-subtitle,
body.light-mode .summary-label,
body.light-mode .booking-meta,
body.light-mode .contact-row,
body.light-mode .pick-card-desc,
body.light-mode .sheet-desc,
body.light-mode .confirm-card p,
body.light-mode .empty-state,
body.light-mode .loading { color: #6e675e; }
body.light-mode .pick-card,
body.light-mode .summary-card,
body.light-mode .calendar,
body.light-mode .time-info,
body.light-mode .booking-card,
body.light-mode .profile-card,
body.light-mode .contacts-card,
body.light-mode .form-input,
body.light-mode #chat-panel,
body.light-mode #service-sheet,
body.light-mode .confirm-card,
body.light-mode #toast {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.05);
}
body.light-mode .pick-card.selected,
body.light-mode .pick-card:active,
body.light-mode .slot.in-range,
body.light-mode .chat-bubble.model { background: rgba(17, 17, 17, 0.06); }
body.light-mode .pick-card-thumb {
  border-color: rgba(17, 17, 17, 0.08);
}
body.light-mode .pick-card-name,
body.light-mode .booking-service,
body.light-mode .profile-name,
body.light-mode .contact-row a,
body.light-mode .sheet-title,
body.light-mode .summary-value,
body.light-mode .time-info,
body.light-mode .cal-day,
body.light-mode .cal-month { color: var(--ink); }
body.light-mode .slot,
body.light-mode .cert-chip,
body.light-mode .chat-input-row input {
  background: rgba(17, 17, 17, 0.04);
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.08);
}
body.light-mode .slot.start,
body.light-mode .slot.end,
body.light-mode .cal-day.selected,
body.light-mode .btn-primary,
body.light-mode .chat-send {
  background: var(--ink);
  color: var(--cream);
}
body.light-mode .btn-secondary,
body.light-mode .social-link,
body.light-mode .hero-btn-secondary {
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.1);
  background: rgba(17, 17, 17, 0.02);
}
body.light-mode .cal-day.disabled {
  color: rgba(17, 17, 17, 0.32);
  background: rgba(17, 17, 17, 0.05);
  opacity: 1;
}
body.light-mode .slot.taken {
  color: rgba(17, 17, 17, 0.32);
  background: repeating-linear-gradient(135deg, rgba(17,17,17,0.04), rgba(17,17,17,0.04) 8px, rgba(17,17,17,0.01) 8px, rgba(17,17,17,0.01) 16px);
}
body.light-mode .slot.past {
  color: rgba(17, 17, 17, 0.34);
  background: rgba(17, 17, 17, 0.04);
}
body.light-mode #dock {
  background: rgba(240, 236, 229, 0.9);
  border-top-color: rgba(17, 17, 17, 0.06);
}
body.light-mode .dock-item { color: #8f877c; }
body.light-mode .dock-item.active { color: var(--ink); }
body.light-mode #chat-fab {
  background: var(--ink);
  color: var(--cream);
  border-color: rgba(17, 17, 17, 0.08);
}
body.light-mode .spinner {
  border-color: rgba(17, 17, 17, 0.08);
  border-top-color: var(--ink);
}

@media (max-width: 380px) {
  .services-grid { gap: 12px; padding: 0 16px; }
  .hero { padding: 24px 18px; }
  .service-card-name { font-size: 26px; }
  .service-card:not(.wide) .service-card-name { font-size: 22px; }
  .slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
