:root {
  --page: #ffffff;
  --surface: #ffffff;
  --ink: #171512;
  --muted: #6f6a60;
  --line: #e8e1d2;
  --soft: #f8f5ec;
  --accent: #0e0d0b;
  --accent-soft: #fbf4dd;
  --accent-gold: #c8ac5a;
  --accent-gold-dark: #927538;
  --success: #1d7a48;
  --danger: #b42318;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(200, 172, 90, .32);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1160px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-logo {
  width: 84px;
  height: 40px;
  object-fit: contain;
}
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.secure-label { color: var(--muted); }
.help-link { color: var(--accent-gold-dark); font-weight: 800; }

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 28px auto 70px;
}
.business-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid rgba(200, 172, 90, .5);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}
.business-logo-wrap {
  flex: 0 0 148px;
  width: 148px;
  min-height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 172, 90, .45);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #fbf4dd);
  padding: 10px 13px;
}
.business-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.business-type, .step-kicker, .summary-kicker {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent-gold-dark);
}
.business-copy h1 { margin: 0 0 6px; font-size: 27px; letter-spacing: -.035em; }
.business-copy > p:not(.business-type) { margin: 0; color: var(--muted); }
.business-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 11px; font-size: 12px; color: #4d4638; }

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
}
.booking-main {
  min-width: 0;
}
.progress-card {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(200, 172, 90, .42);
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 16px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .14);
}
.progress-item { display: flex; align-items: center; gap: 9px; color: #9b9384; }
.progress-item span {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  font-size: 12px;
  font-weight: 800;
}
.progress-item small { font-weight: 700; font-size: 12px; }
.progress-item.active, .progress-item.done { color: var(--ink); }
.progress-item.active span { background: var(--accent); color: #fff; }
.progress-item.done span { background: var(--accent-gold); color: #171000; }
.progress-line { height: 1px; flex: 1; margin: 0 14px; background: var(--line); }

.booking-panel {
  display: none;
  background: var(--surface);
  border: 1px solid rgba(200, 172, 90, .42);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .16);
}
.booking-panel.active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .booking-panel.active {
    animation: panel-in .18s ease both;
  }
  @keyframes panel-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
.booking-success {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  background: linear-gradient(145deg, #ffffff, #fbf4dd);
  border: 1px solid rgba(200, 172, 90, .62);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .18);
}
.booking-success[hidden] { display: none; }
.booking-success-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-gold);
  font-size: 32px;
  font-weight: 800;
}
.booking-success-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.booking-success-copy > p:not(.success-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.success-kicker {
  margin: 0 0 7px;
  color: var(--accent-gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.success-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}
.success-details div {
  min-height: 72px;
  border: 1px solid rgba(200, 172, 90, .42);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  padding: 12px;
}
.success-details dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.success-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.success-button {
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  padding: 13px 16px;
  font-weight: 800;
  cursor: pointer;
}
.success-button-secondary {
  border: 1px solid rgba(200, 172, 90, .5);
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}
.success-button:hover {
  color: #f6e7b6;
  background: #000;
}
.success-button-secondary:hover {
  color: var(--ink);
  background: var(--accent-soft);
}
.panel-heading { margin-bottom: 26px; }
.panel-heading h2 { margin: 0 0 8px; font-size: 27px; line-height: 1.15; letter-spacing: -.035em; }
.panel-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.back-button {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 0 23px;
  color: var(--accent-gold-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.service-list { display: grid; gap: 10px; }
.service-row {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 15px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service-row:hover { border-color: #d0b76b; box-shadow: 0 5px 20px rgba(25,28,32,.05); transform: translateY(-1px); }
.service-row input { position: absolute; opacity: 0; pointer-events: none; }
.service-row:has(input:checked) { border-color: var(--accent-gold); box-shadow: 0 0 0 2px rgba(200, 172, 90, .24); background: var(--accent-soft); }
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
  color: #555b63;
  font-size: 12px;
  font-weight: 800;
}
.service-row:has(input:checked) .service-icon { background: var(--accent-gold); color: #171000; }
.service-content { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.service-content strong { font-size: 15px; }
.service-content small { color: var(--muted); line-height: 1.4; }
.service-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
}
.service-row:has(input:checked) .service-action { background: var(--accent); border-color: var(--accent); color: #fff; }

.pricing-list {
  display: grid;
  gap: 9px;
}
.pricing-option {
  width: 100%;
  min-height: 76px;
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(200, 172, 90, .42);
  border-radius: 12px;
  background: #fff;
  padding: 15px 16px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.pricing-option:hover,
.pricing-option:focus-visible {
  border-color: var(--accent-gold);
  background: var(--accent-soft);
  box-shadow: 0 8px 24px rgba(25, 28, 32, .08);
  transform: translateY(-1px);
}
.pricing-option:focus-visible {
  outline: 3px solid rgba(200, 172, 90, .28);
  outline-offset: 2px;
}
.pricing-service {
  min-width: 0;
  color: var(--ink) !important;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.35;
}
.pricing-price {
  color: var(--accent-gold-dark);
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}
.pricing-choice {
  min-width: 156px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  padding: 11px 12px;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1;
}
.pricing-note {
  margin: 17px 0 18px;
  border: 1px solid rgba(200, 172, 90, .42);
  border-radius: 12px;
  background: var(--accent-soft);
  color: #4d4638;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.pricing-next {
  margin-top: 6px;
}

.calendar-box { border: 1px solid rgba(200, 172, 90, .44); border-radius: 14px; overflow: hidden; }
.calendar-title-row {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.calendar-title-row span { color: var(--muted); text-transform: capitalize; }
.day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(72px, 1fr));
  overflow-x: auto;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.day-button {
  min-width: 72px;
  min-height: 92px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 7px;
  cursor: pointer;
  text-align: center;
}
.day-button:hover { border-color: #d0b76b; }
.day-button .dow { display: block; font-size: 11px; color: var(--muted); text-transform: capitalize; }
.day-button .num { display: block; margin: 4px 0 2px; font-size: 20px; font-weight: 800; }
.day-button .mon { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; }
.day-status {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-gold-dark);
  white-space: nowrap;
}
.day-button.active { background: var(--accent); border-color: var(--accent-gold); color: #fff; }
.day-button.active .dow, .day-button.active .mon, .day-button.active .day-status { color: #f6e7b6; }
.day-button.loading,
.day-button.unavailable,
.day-button:disabled {
  cursor: not-allowed;
}
.day-button.loading {
  color: #9ca3af;
  background: #f8f9fa;
  border-style: dashed;
}
.day-button.unavailable {
  color: #9a9fa6;
  background: #f1f3f5;
  border-color: #e0e3e6;
}
.day-button.unavailable .num { color: #737982; }
.day-button.unavailable .day-status { color: var(--danger); }
.slots-block { padding: 20px; min-height: 230px; }
.slots-header { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 16px; }
.slots-header strong { font-size: 14px; }
.slots-header span { color: var(--muted); font-size: 12px; text-align: right; }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.slot-button {
  border: 1px solid #dfe2e5;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.slot-button span,
.slot-button small {
  display: block;
}
.slot-button small {
  margin-top: 3px;
  color: var(--danger);
  font-size: 9px;
  line-height: 1;
}
.slot-button:hover { border-color: #d0b76b; }
.slot-button.active { background: var(--accent); color: #fff; border-color: var(--accent-gold); }
.slot-button.loading { grid-column: 1 / -1; color: var(--muted); border-style: dashed; cursor: default; }
.slot-button.empty { grid-column: 1 / -1; color: var(--muted); border: 0; background: var(--soft); cursor: default; }
.slot-button.unavailable,
.slot-button:disabled {
  color: #9a9fa6;
  background: #f1f3f5;
  border-color: #e0e3e6;
  cursor: not-allowed;
}

.form-section { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.form-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form-section h3 { margin: 0 0 15px; font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-wrap.full { grid-column: 1 / -1; }
.address-field { position: relative; }
.field-wrap label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.field-wrap input, .field-wrap textarea {
  width: 100%;
  border: 1px solid #d9dde1;
  border-radius: 10px;
  background: #fff;
  padding: 13px 14px;
  outline: none;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field-wrap textarea { min-height: 105px; resize: vertical; }
.field-wrap input:focus, .field-wrap textarea:focus { border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(200, 172, 90, .2); }
.field-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.address-suggestions {
  position: absolute;
  top: calc(100% - 18px);
  right: 0;
  left: 0;
  z-index: 20;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid rgba(200, 172, 90, .48);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}
.address-suggestion {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
}
.address-suggestion:last-child { border-bottom: 0; }
.address-suggestion:hover,
.address-suggestion.active {
  background: var(--accent-soft);
}
.address-suggestion strong,
.address-suggestion span {
  display: block;
}
.address-suggestion strong {
  font-size: 13px;
  line-height: 1.35;
}
.address-suggestion span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.address-suggestion.muted {
  color: var(--muted);
  cursor: default;
}
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.consent-row input { margin-top: 2px; }
.confirm-button {
  width: 100%;
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  padding: 15px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  cursor: pointer;
}
.confirm-button:hover { background: #000; color: #f6e7b6; }
.confirm-button:disabled { opacity: .55; cursor: wait; }
.form-message { margin-top: 15px; border-radius: 10px; font-size: 13px; }
.form-message.success, .form-message.error { padding: 12px 14px; }
.form-message.success { background: #eaf7f0; color: var(--success); }
.form-message.error { background: #fff0ee; color: var(--danger); }

.summary-card {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid rgba(200, 172, 90, .42);
  border-radius: 16px;
  padding: 23px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .16);
}
.summary-card h3 { margin: 0 0 20px; font-size: 20px; letter-spacing: -.025em; }
.summary-empty { border-radius: 11px; background: var(--soft); padding: 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.summary-details { display: grid; gap: 14px; }
.summary-line { display: grid; gap: 4px; }
.summary-line span { font-size: 11px; color: var(--muted); }
.summary-line strong { font-size: 13px; line-height: 1.4; }
.summary-divider { height: 1px; background: var(--line); margin: 3px 0; }
.summary-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 35px;
  border-top: 1px solid rgba(200, 172, 90, .3);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 920px) {
  .booking-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; order: -1; }
  .summary-card h3 { margin-bottom: 10px; }
  .summary-details { grid-template-columns: repeat(3, 1fr); }
  .summary-divider, .summary-note { display: none; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { width: calc(100% - 24px); height: 64px; }
  .secure-label { display: none; }
  .help-link { font-size: 12px; }
  .page-shell { width: calc(100% - 20px); margin-top: 12px; }
  .business-card { padding: 17px; border-radius: 14px; align-items: flex-start; }
  .brand-logo { width: 68px; height: 34px; }
  .business-logo-wrap { flex-basis: 96px; width: 96px; min-height: 62px; border-radius: 12px; padding: 8px; }
  .business-copy h1 { font-size: 22px; }
  .business-badges { display: grid; gap: 5px; }
  .progress-card { padding: 14px 16px; }
  .progress-item small { display: none; }
  .progress-line { margin: 0 9px; }
  .booking-panel { padding: 21px 17px; border-radius: 14px; }
  .booking-success { grid-template-columns: 1fr; gap: 15px; padding: 21px 17px; border-radius: 14px; }
  .booking-success-icon { width: 58px; height: 58px; border-radius: 13px; font-size: 27px; }
  .booking-success-copy h2 { font-size: 24px; }
  .success-details { grid-template-columns: 1fr; }
  .panel-heading h2 { font-size: 23px; }
  .service-row { grid-template-columns: 44px 1fr; gap: 12px; padding: 14px; }
  .service-icon { width: 44px; height: 44px; }
  .service-action { grid-column: 2; justify-self: start; padding: 7px 11px; }
  .pricing-option {
    min-height: 108px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px;
  }
  .pricing-price { text-align: left; white-space: normal; }
  .pricing-choice { width: 100%; min-width: 0; }
  .day-strip { grid-template-columns: repeat(7, 68px); }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .slots-header { display: grid; gap: 4px; }
  .slots-header span { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wrap.full { grid-column: auto; }
  .summary-details { grid-template-columns: 1fr; gap: 10px; }
  .summary-card { padding: 17px; }
  .summary-empty { padding: 11px; }
  .site-footer { width: calc(100% - 24px); }
}
