:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface-2: #202020;
  --surface-3: #2a2a2a;
  --text: #ffffff;
  --text-sec: rgba(255, 255, 255, 0.68);
  --text-muted: rgba(255, 255, 255, 0.42);
  --border: rgba(255, 255, 255, 0.10);
  --accent: #d89b13;
  --accent-soft: rgba(216, 155, 19, 0.14);
  --danger: #e25454;
  --success: #54c878;
  --warning: #e7b94d;
  --radius: 8px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dock: 68px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #050505;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

#ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(216,155,19,0.10), transparent 38%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

#app {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}

#pages {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock) + var(--safe-bottom) + 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.page.active {
  opacity: 1;
  pointer-events: auto;
}

.page::-webkit-scrollbar,
.assistant-shell::-webkit-scrollbar,
#chat-messages::-webkit-scrollbar,
.booking-shell::-webkit-scrollbar,
.filter-row::-webkit-scrollbar,
.category-row::-webkit-scrollbar {
  width: 0;
  height: 0;
}

h1,
h2,
.display-font {
  font-family: 'Unbounded', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero {
  min-height: clamp(310px, 48vh, 440px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 26px 20px 22px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(13,13,13,0.18), var(--bg)),
    #0d0d0d;
}

#sound-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.86;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 18px;
}

.hero-logo {
  width: min(82vw, 430px);
  max-height: 126px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.48));
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(255,255,255,0.035);
}

.hero-cta,
.btn-primary,
.btn-secondary,
.btn-danger {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.hero-cta,
.btn-primary {
  background: var(--accent);
  color: #15110a;
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-danger {
  background: rgba(226,84,84,0.12);
  color: var(--danger);
}

.hero-cta {
  width: max-content;
  min-width: 180px;
}

.btn-primary,
.btn-secondary,
.btn-danger {
  width: 100%;
}

.btn-primary.compact,
.btn-secondary.compact,
.btn-danger.compact {
  width: auto;
  min-width: 132px;
  min-height: 38px;
  padding: 0 15px;
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-danger:disabled {
  opacity: 0.42;
  cursor: default;
}

.catalog-head,
.page-head {
  padding: 22px 18px 14px;
}

.catalog-head h1,
.page-head h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.08;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.category-row,
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 2px;
  margin-top: 14px;
}

.filter-row {
  margin: 0 0 12px;
}

.category-chip,
.filter-chip,
.amount-chip {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-sec);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.category-chip.active,
.filter-chip.active,
.amount-chip.active {
  background: var(--accent-soft);
  border-color: rgba(216,155,19,0.42);
  color: var(--accent);
}

.services-grid {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.service-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

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

.service-card.disabled {
  opacity: 0.48;
  cursor: default;
}

.service-card.disabled:active {
  transform: none;
}

.service-icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.service-card-body {
  min-width: 0;
}

.service-card-category {
  color: var(--accent);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.service-card h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.18;
}

.service-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 800;
}

.service-card-meta span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
}

.loading {
  display: flex;
  justify-content: center;
  padding: 38px 0;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.10);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state,
.state-card {
  margin: 0 18px 12px;
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-sec);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 20px;
}

.empty-state.compact {
  min-height: 92px;
}

.empty-state p,
.state-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* Assistant */
.assistant-page {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --assistant-composer-height: 78px;
}

.assistant-shell {
  margin: 0 12px 12px;
  min-height: 0;
  flex: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

#chat-messages {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 14px 14px calc(var(--assistant-composer-height) + 14px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  max-width: 86%;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 13px;
  line-height: 1.48;
  word-break: break-word;
}

.chat-bubble.model {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-bottom-left-radius: 3px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: #17110a;
  font-weight: 700;
  border-bottom-right-radius: 3px;
}

.chat-message-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.chat-typing {
  color: var(--text-muted);
  font-size: 13px;
  padding: 5px 2px;
}

.chat-service-card {
  width: min(320px, calc(100vw - 58px));
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.chat-service-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.chat-service-name {
  font-family: 'Unbounded', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.2;
}

.chat-service-price {
  margin: 5px 0 9px;
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 800;
}

.assistant-composer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 10px 10px calc(10px + var(--safe-bottom));
  border-top: 1px solid var(--border);
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(16px);
}

.assistant-composer input,
.form-input {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.045);
  color: var(--text);
  outline: 0;
  padding: 0 13px;
  font-size: 16px;
}

.assistant-composer input::placeholder,
.form-input::placeholder {
  color: var(--text-muted);
}

.assistant-composer input:focus,
.form-input:focus {
  border-color: rgba(216,155,19,0.52);
  box-shadow: 0 0 0 3px rgba(216,155,19,0.10);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #17110a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

body.assistant-input-mode #dock {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

/* Shared panels */
.info-panel,
.summary-card {
  margin: 0 12px 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.info-panel h2,
.summary-card h2 {
  margin: 0 0 14px;
  font-size: 15px;
}

.field-block {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.field-label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.textarea {
  min-height: 142px;
  resize: vertical;
  padding-top: 12px;
  line-height: 1.45;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.inline-result {
  margin-top: 10px;
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-radius: var(--radius);
  background: rgba(84,200,120,0.12);
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
}

.inline-result.error {
  background: rgba(226,84,84,0.12);
  color: var(--danger);
}

/* History */
.booking-card,
.certificate-card {
  margin: 0 12px 10px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.booking-card {
  cursor: pointer;
}

.booking-card-main {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
}

.booking-card-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.booking-service {
  font-family: 'Unbounded', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.25;
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 700;
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.booking-id,
.certificate-date {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.status-badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-badge.pending { background: rgba(231,185,77,0.13); color: var(--warning); }
.status-badge.confirmed { background: rgba(84,200,120,0.13); color: var(--success); }
.status-badge.in_progress { background: var(--accent-soft); color: var(--accent); }
.status-badge.completed { background: rgba(255,255,255,0.08); color: var(--text-sec); }
.status-badge.cancelled { background: rgba(226,84,84,0.12); color: var(--danger); }

.booking-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 9px;
}

.detail-row,
.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.45;
}

.detail-row strong,
.summary-row strong,
.summary-total strong {
  color: var(--text);
  text-align: right;
}

.detail-row.stack {
  flex-direction: column;
}

.detail-row.stack strong {
  text-align: left;
}

/* Certificates */
.amount-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.certificate-list {
  padding-bottom: 2px;
}

.certificate-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.certificate-code {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.certificate-side {
  display: grid;
  gap: 7px;
  justify-items: end;
  flex-shrink: 0;
}

.certificate-side strong {
  color: var(--accent);
}

/* Profile / contacts */
.profile-id {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.profile-id span,
.contact-label,
.contact-note span,
.action-tile span {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-id strong {
  font-size: 16px;
}

.contacts-panel {
  display: grid;
  gap: 16px;
}

.contact-block {
  display: grid;
  gap: 10px;
}

.contact-main {
  font-family: 'Unbounded', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.35;
}

.contact-actions {
  display: grid;
  gap: 8px;
}

.action-tile {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.035);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.action-tile strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.contact-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.contact-note strong {
  color: var(--accent);
}

/* Booking */
#booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.24s ease, opacity 0.24s ease;
  background: var(--bg);
  --booking-viewport-height: 100dvh;
}

#booking-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.booking-shell {
  width: min(760px, 100%);
  height: var(--booking-viewport-height);
  min-height: var(--booking-viewport-height);
  margin: 0 auto;
  overflow-y: auto;
  background: var(--bg);
}

.booking-step-shell {
  min-height: var(--booking-viewport-height);
  display: flex;
  flex-direction: column;
}

.booking-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 18px 8px;
  background: rgba(13,13,13,0.94);
  backdrop-filter: blur(16px);
}

.booking-back {
  border: 0;
  background: transparent;
  color: var(--text-sec);
  min-height: 36px;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.booking-step {
  flex: 1;
  padding: 0 0 calc(24px + var(--safe-bottom));
}

.booking-step-animated {
  animation: fadeIn 0.16s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.step-title {
  margin: 12px 18px 8px;
  font-size: 21px;
  line-height: 1.1;
}

.step-subtitle {
  margin: 0 18px 14px;
  color: var(--text-sec);
  font-size: 13px;
}

.service-detail {
  min-height: calc(var(--booking-viewport-height) - 132px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 12px 12px;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-detail-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 20px;
}

.service-detail h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.16;
}

.service-detail p {
  margin: 14px 0 0;
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.58;
}

.service-detail-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-detail-price strong,
.service-detail-price span {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.service-detail-price strong {
  background: var(--accent-soft);
  color: var(--accent);
}

.service-detail-price span {
  background: rgba(255,255,255,0.06);
  color: var(--text-sec);
}

.calendar {
  margin: 0 12px 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 900;
}

.cal-nav {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 19px;
  cursor: pointer;
}

.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.cal-weekdays {
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}

.cal-day.selected {
  background: var(--accent);
  color: #17110a;
  font-weight: 900;
}

.cal-day.disabled {
  opacity: 0.22;
  cursor: default;
}

.cal-day.empty {
  pointer-events: none;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0 12px 10px;
}

.slot {
  min-height: 43px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.slot.start,
.slot.end {
  background: var(--accent);
  border-color: var(--accent);
  color: #17110a;
}

.slot.in-range {
  background: var(--accent-soft);
  border-color: rgba(216,155,19,0.32);
}

.slot.taken,
.slot.past,
.slot:disabled {
  opacity: 0.28;
  cursor: default;
}

.time-info {
  min-height: 48px;
  margin: 0 12px 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.time-info strong {
  color: var(--accent);
  white-space: nowrap;
}

.time-info.warning strong {
  color: var(--warning);
}

.summary-card .inline-form .form-input {
  margin: 0;
}

.summary-row {
  padding: 6px 0;
}

.summary-row.accent strong {
  color: var(--accent);
}

.summary-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 17px;
  font-weight: 900;
}

.summary-total strong {
  color: var(--accent);
}

.terms-box {
  margin: 0 12px 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-sec);
  font-size: 12px;
  line-height: 1.5;
}

.terms-box input {
  margin-top: 2px;
}

.request-card {
  display: grid;
  gap: 4px;
}

.booking-step > .btn-primary,
.booking-step > .btn-secondary,
.booking-step > .btn-danger {
  width: calc(100% - 24px);
  margin: 0 12px 10px;
}

.booking-success {
  min-height: calc(var(--booking-viewport-height) - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 18px calc(34px + var(--safe-bottom));
}

.success-mark {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--accent);
  color: #17110a;
  font-size: 34px;
  font-weight: 900;
}

.booking-success h1 {
  margin: 0 0 10px;
  font-size: 22px;
}

.booking-success p {
  margin: 0 0 18px;
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.55;
}

/* Dock */
#dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  width: min(760px, 100%);
  height: calc(var(--dock) + var(--safe-bottom) + 10px);
  transform: translateX(-50%);
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dock-inner {
  pointer-events: auto;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(8px + var(--safe-bottom));
  height: var(--dock);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(18,18,18,0.92);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.32);
}

.dock-item {
  min-width: 0;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.dock-item svg {
  width: 20px;
  height: 20px;
}

.dock-item.active {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Dialog / toast */
#dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

#dialog-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.dialog-card {
  width: min(360px, 100%);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0,0,0,0.44);
}

.dialog-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.dialog-card p {
  margin: 0 0 16px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.5;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#toast {
  position: fixed;
  z-index: 420;
  left: 50%;
  bottom: calc(var(--dock) + var(--safe-bottom) + 22px);
  transform: translateX(-50%) translateY(16px);
  max-width: min(520px, calc(100% - 32px));
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--accent);
  color: #17110a;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-card {
    grid-template-columns: 92px 1fr;
  }

  .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
