:root {
  --bg: #050505;
  --surface: #0b0b0b;
  --surface-strong: #101010;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --surface-elevated: rgba(255, 255, 255, 0.065);
  --text: #f2f2f2;
  --text-muted: rgba(242, 242, 242, 0.68);
  --text-soft: rgba(242, 242, 242, 0.5);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --accent: #ffffff;
  --success: #86d19d;
  --warning: #f6be67;
  --danger: #f28d8d;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dock-height: 70px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

a {
  color: inherit;
}

#app-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 28%, rgba(5, 5, 5, 0.2));
}

#app-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.05), rgba(5, 5, 5, 0.24) 42%, rgba(5, 5, 5, 0.4));
}

#ambient-grid {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.34;
  filter: blur(2px) saturate(0.72);
  transform: scale(1.04);
}

#app {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

#pages {
  position: relative;
  width: 100%;
  height: 100%;
}

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

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

.page::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar,
.overlay-shell::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.page-shell {
  width: min(560px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 0 1px;
}

.home-shell {
  padding-bottom: 12px;
}

.page-header {
  padding: 6px 4px 14px;
}

.page-title,
.section-title,
.hero-title,
.card-title,
.booking-title,
.dialog-title {
  margin: 0;
  font-family: 'League Spartan', sans-serif;
  letter-spacing: 0.04em;
}

.page-title {
  font-size: 1.88rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.page-subtitle {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.section-block {
  margin-top: 18px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 12px;
}

.section-title {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.hero-panel,
.assistant-panel,
.panel,
.booking-panel,
.profile-card,
.contact-card,
.history-card,
.summary-card,
.dialog-card,
.state-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel {
  overflow: hidden;
  border-radius: 30px;
}

.hero-media {
  position: relative;
  aspect-ratio: 2.45 / 1;
  background: #000;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.36));
}

.hero-banner {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-copy {
  padding: 16px 16px 18px;
}

.hero-title {
  font-size: clamp(1.38rem, 3.9vw, 1.9rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
}

.service-card {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.service-card.unavailable {
  cursor: default;
}

.service-card.unavailable .service-art {
  opacity: 0.54;
}

.service-art {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  aspect-ratio: 1;
}

.service-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-art::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.service-copy {
  padding: 8px 2px 0;
}

.service-price {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.service-name {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.3;
}

.service-unavailable-note {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.assistant-panel {
  position: relative;
  min-height: calc(100dvh - 228px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.84));
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 98px;
  min-height: calc(100dvh - 228px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.chat-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-row.user {
  align-items: flex-end;
}

.chat-bubble {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.52;
  word-break: break-word;
}

.chat-bubble.model {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-bubble.user {
  background: var(--accent);
  color: #050505;
}

.chat-typing {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.chat-card {
  width: min(300px, calc(100vw - 92px));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.chat-card-media {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  display: block;
}

.chat-card-body {
  padding: 12px;
}

.chat-card-name {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.15rem;
  line-height: 0.98;
  text-transform: uppercase;
}

.chat-card-price {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.assistant-composer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 12px calc(12px + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(11, 11, 11, 0), rgba(11, 11, 11, 0.94) 26%, rgba(11, 11, 11, 0.985));
}

.panel,
.profile-card,
.contact-card,
.history-card,
.summary-card,
.state-card {
  border-radius: var(--radius-md);
}

.history-card,
.profile-card,
.contact-card,
.summary-card,
.state-card {
  padding: 15px;
}

.history-section + .history-section {
  margin-top: 18px;
}

.history-section-title {
  margin: 0 0 10px;
  padding: 0 4px;
  color: var(--text-muted);
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.history-list,
.stack {
  display: grid;
  gap: 10px;
}

.booking-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.booking-title {
  font-size: 1.28rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.booking-kicker {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge.pending {
  background: rgba(246, 190, 103, 0.16);
  color: var(--warning);
}

.status-badge.confirmed,
.status-badge.completed {
  background: rgba(134, 209, 157, 0.16);
  color: var(--success);
}

.status-badge.in_progress {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.status-badge.cancelled {
  background: rgba(242, 141, 141, 0.16);
  color: var(--danger);
}

.booking-meta {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.detail-row strong {
  color: var(--text);
  text-align: right;
  font-weight: 700;
}

.detail-copy {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.card-actions,
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card-actions {
  margin-top: 12px;
}

.profile-identity {
  display: grid;
  gap: 4px;
}

.profile-name {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.48rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.profile-handle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.field-label {
  color: var(--text-muted);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.field,
.select {
  min-height: 48px;
  padding: 0 14px;
  font-size: 1rem;
}

.textarea {
  min-height: 132px;
  resize: vertical;
  padding: 14px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.field::placeholder,
.textarea::placeholder {
  color: var(--text-soft);
}

.field:focus,
.textarea:focus,
.select:focus {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.inline-note {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-hours-card {
  gap: 6px;
  padding-block: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 92px;
  padding: 14px 15px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.contact-action-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
}

.contact-action-value {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.contact-hours-label {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-hours-value {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.08rem;
  line-height: 1;
  text-transform: uppercase;
}

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

.contact-list-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-list-row strong {
  color: var(--text);
  text-align: left;
}

.loading,
.empty-state,
.state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loading,
.empty-state {
  padding: 40px 16px;
}

.state-card {
  min-height: 220px;
  gap: 12px;
}

.empty-state p,
.state-card p {
  margin: 0;
  max-width: 28ch;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

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

.btn-primary,
.btn-secondary,
.btn-ghost,
.icon-btn,
.dock-item,
.calendar-nav,
.day-button,
.time-slot,
.dialog-btn {
  border: 0;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.dialog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #050505;
  font-weight: 700;
}

.btn-primary.compact,
.btn-secondary.compact {
  min-height: 44px;
  padding-inline: 16px;
}

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

.btn-ghost {
  min-height: 42px;
  padding-inline: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #050505;
  cursor: pointer;
}

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

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-ghost:disabled,
.icon-btn:disabled,
.time-slot:disabled,
.day-button:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}

.btn-primary:active,
.btn-secondary:active,
.icon-btn:active,
.contact-action:active,
.dock-item:active,
.service-card:active,
.time-slot:active {
  transform: scale(0.985);
}

#dock {
  position: fixed;
  left: 50%;
  bottom: calc(10px + var(--safe-bottom));
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 24px));
  z-index: 40;
  pointer-events: none;
}

.dock-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 7px;
  border-radius: 30px;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

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

.dock-item span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

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

body.keyboard-open #dock {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

#booking-overlay,
#dialog-overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

#booking-overlay {
  z-index: 70;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 30%), var(--bg);
  transform: translateY(100%);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

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

.overlay-shell {
  width: min(560px, calc(100vw - 8px));
  margin: 0 auto;
  height: 100dvh;
  overflow-y: auto;
  padding: calc(var(--safe-top) + 8px) 14px calc(var(--safe-bottom) + 16px);
  -webkit-overflow-scrolling: touch;
}

.booking-flow {
  display: grid;
  gap: 12px;
}

.booking-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 0;
}

.booking-back {
  padding: 0;
  background: none;
  color: var(--text-muted);
  border: 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-progress {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-panel {
  border-radius: 28px;
  overflow: hidden;
}

.booking-media {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  display: block;
}

.booking-content {
  padding: 16px 16px 18px;
}

.booking-title {
  font-size: 1.85rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.booking-subtitle {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.48;
}

.booking-description {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.booking-step-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
}

.booking-step-title {
  margin: 0;
  font-family: 'League Spartan', sans-serif;
  font-size: 1.55rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.booking-step-subtitle {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.calendar {
  display: grid;
  gap: 10px;
}

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

.calendar-month {
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: capitalize;
}

.calendar-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays span {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.day-button,
.day-placeholder {
  width: 100%;
  aspect-ratio: 1;
}

.day-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.92rem;
}

.day-button.today {
  border: 1px solid var(--border-strong);
}

.day-button.selected {
  background: var(--accent);
  color: #050505;
  font-weight: 700;
}

.day-button:disabled {
  color: rgba(242, 242, 242, 0.22);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.time-slot {
  min-height: 50px;
  padding: 0 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.time-slot.start,
.time-slot.end {
  background: var(--accent);
  color: #050505;
}

.time-slot.in-range {
  background: rgba(255, 255, 255, 0.14);
}

.time-slot.blocked {
  opacity: 0.24;
  cursor: default;
}

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

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

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

.summary-total {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.52;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #ffffff;
}

.booking-success {
  display: grid;
  gap: 14px;
  text-align: center;
  padding: 28px 18px;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

.success-mark svg {
  width: 30px;
  height: 30px;
}

#dialog-overlay {
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.6);
  transition: opacity 0.18s ease;
}

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

.dialog-card {
  width: min(360px, 100%);
  border-radius: 24px;
  padding: 20px;
}

.dialog-title {
  font-size: 1.5rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.dialog-text {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.dialog-actions > * {
  flex: 1;
}

.dialog-btn.primary {
  background: var(--accent);
  color: #050505;
}

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

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock-height) + var(--safe-bottom) + 18px);
  transform: translateX(-50%) translateY(18px);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #050505;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 95;
}

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

@media (min-width: 460px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .time-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 420px) {
  .page {
    padding-bottom: calc(var(--dock-height) + var(--safe-bottom) + 20px);
  }

  .page-shell,
  #dock {
    width: min(560px, calc(100vw - 20px));
  }

  .hero-copy {
    padding: 15px 15px 17px;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .services-grid {
    gap: 14px 10px;
  }

  .service-price {
    font-size: 0.96rem;
  }

  .service-name {
    font-size: 0.88rem;
  }

  .time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-list-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
