:root {
  --orange: #ff700e;
  --orange-light: #fff0e6;
  --ink: #191919;
  --muted: #737780;
  --line: #e8e8e8;
  --border: var(--line);
  --bg: #f5f5f4;
  --radius: 14px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.6 Manrope, Arial, sans-serif;
}

a {
  color: inherit;
}

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .4;
}

[hidden] {
  display: none !important;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #f9a669;
  outline-offset: 3px;
}

.wrap,
.booking-layout,
footer {
  width: min(900px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  background: #171717;
  color: #fff;
  border-bottom: 5px solid var(--orange);
}

.top {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.brand {
  text-decoration: none;
  font: 900 32px/1 'Barlow Condensed', sans-serif;
  letter-spacing: 2px;
}

.brand span {
  color: var(--orange);
}

.brand small {
  display: block;
  font: 600 10px Manrope, sans-serif;
  letter-spacing: 3px;
  color: #aaa;
  margin-top: 5px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tag {
  font-size: 11px;
  letter-spacing: 2px;
  color: #bbb;
  text-transform: uppercase;
}

.back-link {
  font-size: 11px;
  text-decoration: none;
  color: #ddd;
}

.back-link:hover {
  color: var(--orange);
}

.hero {
  background: #191919;
  color: #fff;
  padding: 52px 0 60px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 11px;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin: 0;
}

.hero h1 {
  font: 900 clamp(40px, 7vw, 68px)/.98 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  margin: 16px 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero p {
  max-width: 620px;
  color: #c9c9c9;
  margin: 0;
}

.booking-layout {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: clamp(22px, 5vw, 40px);
  margin-top: -24px;
  margin-bottom: 60px;
  box-shadow: 0 14px 42px #0000000b;
  min-width: 0;
}

.booking-layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 35px;
  right: 35px;
  height: 4px;
  background: var(--orange);
  border-radius: 0 0 4px 4px;
}

.profile-panel {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 26px;
}

.profile-panel h1 {
  font-size: 15px;
  margin: 0;
}

.profile-panel .desc {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.profile-panel .eyebrow,
.profile-rule,
.detail-row,
.profile-bottom {
  display: none;
}

.main-panel {
  min-width: 0;
}

.steps {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.step {
  display: flex;
  align-items: center;
  gap: 9px;
}

.step b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f3f3f2;
  font-size: 12px;
}

.step.active {
  color: #c4580b;
}

.step.active b {
  background: #fff0e6;
  color: #c4580b;
}

.step-line {
  width: 24px;
  height: 1px;
  background: var(--line);
}

.main-panel h2 {
  font: 800 26px/1.2 'Barlow Condensed', sans-serif;
  letter-spacing: .3px;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.muted {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0 24px;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 13px 15px;
  background: #fff;
  text-align: left;
  min-height: 72px;
}

.service-card:hover {
  border-color: var(--orange);
}

.service-card.selected {
  border-color: var(--orange);
  background: #fff5ee;
  box-shadow: 0 0 0 1px var(--orange);
}

.service-card .name {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.service-card .meta {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.select-dot {
  width: 16px;
  height: 16px;
  border: 1.5px solid #d9dce0;
  border-radius: 50%;
  flex: none;
}

.selected .select-dot {
  border: 5px solid var(--orange);
}

.equipment-field {
  margin: 0 0 26px;
}

.equipment-field__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 8px;
}

.equipment-field__label small {
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
}

.equipment-select__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #d9dce0;
  background: #fff;
  border-radius: 8px;
  text-align: left;
  font-size: 13px;
  gap: 10px;
}

.equipment-select__menu {
  margin-top: 6px;
  padding: 8px 13px;
  border: 1px solid #d9dce0;
  border-radius: 8px;
}

.equipment-select__menu label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  font-size: 12px;
  cursor: pointer;
}

.equipment-field .muted {
  font-size: 11px;
  margin: 7px 0 0;
}

.equipment-review {
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0;
}

.date-time-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 174px;
  gap: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.month-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.month-toolbar strong {
  font-size: 13px;
}

.month-actions {
  display: flex;
  gap: 5px;
}

.icon-button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 29px;
  height: 29px;
  background: #fff;
  color: #555;
  font-size: 18px;
}

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

.weekdays span {
  text-align: center;
  padding: 5px 0 9px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.date-button {
  position: relative;
  min-width: 0;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.date-button:hover:not(:disabled) {
  background: #fff0e6;
}

.date-button.today::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.date-button.selected {
  background: var(--orange);
  color: #171717;
  box-shadow: 0 4px 12px #ff700e22;
}

.date-button.selected.today::after {
  background: #171717;
}

.date-button.other,
.date-button:disabled {
  color: #a5a7aa;
}

.date-button:disabled {
  opacity: .45;
}

.time-column {
  border-left: 1px solid var(--line);
  padding-left: 23px;
}

.time-column h3 {
  font-size: 12px;
  margin: 6px 0 5px;
}

.time-column small {
  font-size: 10px;
  color: var(--muted);
}

.slots {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  max-height: 252px;
  overflow: auto;
  padding: 1px 4px 3px 1px;
}

.slot {
  border: 1px solid #d9dce0;
  border-radius: 8px;
  padding: 10px 4px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.slot:hover,
.slot.selected {
  border-color: var(--orange);
  background: #fff5ee;
  color: #a6470b;
}

.empty-slots {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  padding-top: 10px;
}

.bottom-bar {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.selection-summary {
  font-size: 11px;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.8;
}

.selection-summary strong {
  display: block;
  color: var(--ink);
}

.primary {
  border: 0;
  background: var(--orange);
  color: #171717;
  border-radius: 8px;
  padding: 15px 26px;
  font: 800 13px Manrope, Arial, sans-serif;
  white-space: nowrap;
}

.primary:hover:not(:disabled) {
  background: #f36500;
}

.secondary {
  border: 1px solid #d9dce0;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
}

.text-button {
  border: 0;
  padding: 0;
  background: none;
  color: #a6470b;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}

.timezone-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 12px;
}

.field label small {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #d9dce0;
  border-radius: 8px;
  background: #fff;
  color: #202124;
  font: 500 13px Manrope, Arial, sans-serif;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

input:focus,
select:focus,
textarea:focus,
.equipment-select__trigger:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #ff700e22;
}

input[type=checkbox],
input[type=radio] {
  width: auto;
  min-height: auto;
  accent-color: var(--orange);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.consent input {
  margin-top: 4px;
  flex: none;
}

.review-card {
  margin-top: 22px;
  padding: 17px;
  border: 1px solid #eedcca;
  background: #fffaf6;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  line-height: 1.9;
}

.review-card strong {
  display: block;
  color: var(--ink);
}

.form-error {
  padding: 12px 14px;
  margin-top: 16px;
  border: 1px solid #f2ceca;
  border-radius: 8px;
  background: #fff5f3;
  color: #a43c2e;
  font-size: 12px;
}

.trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 0;
}

.success-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: #fff0e6;
  color: #a6470b;
  border-radius: 50%;
  margin-bottom: 20px;
}

.confirmation h2 {
  font-size: 36px;
}

.confirmation .muted {
  max-width: 480px;
}

.confirmation .review-card {
  width: 100%;
  max-width: 440px;
  display: block;
  text-align: left;
  margin-bottom: 15px;
}

.reference {
  font: 11px/1.8 monospace;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.connection-empty {
  padding: 45px 0;
  text-align: center;
}

.connection-empty h1 {
  font: 800 32px 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

.connection-empty p {
  max-width: 460px;
  margin: 0 auto 25px;
  color: var(--muted);
}

.connection-empty a {
  display: inline-block;
  text-decoration: none;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 0;
  color: var(--muted);
  font-size: 13px;
}

.spinner {
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 2px solid var(--line);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

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

footer {
  text-align: center;
  color: #7e8188;
  font-size: 11px;
  padding-bottom: 28px;
}

footer span {
  display: block;
}

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  background: #171717;
  color: #fff;
  border-radius: 8px;
  max-width: 90vw;
  font-size: 12px;
  z-index: 10;
}

@media (max-width: 650px) {
  .tag {
    display: none;
  }

  .hero {
    padding: 40px 0 58px;
  }

  .steps {
    gap: 8px;
    font-size: 10px;
  }

  .step {
    gap: 6px;
  }

  .step b {
    width: 25px;
    height: 25px;
  }

  .step-line {
    width: 10px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .bottom-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary,
  .confirmation-actions,
  .confirmation-actions .secondary {
    width: 100%;
  }

  .date-time-grid {
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 12px;
  }

  .time-column {
    padding-left: 12px;
  }

  .date-grid,
  .weekdays {
    gap: 2px;
  }

  .date-button {
    font-size: 11px;
  }

  .equipment-field__label {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 390px) {
  .booking-layout {
    padding: 22px 16px;
  }

  .date-time-grid {
    grid-template-columns: minmax(0, 1fr) 98px;
    gap: 8px;
  }

  .time-column {
    padding-left: 8px;
  }

  .steps {
    gap: 5px;
    font-size: 9px;
  }

  .step-line {
    width: 6px;
  }

  .service-card {
    padding: 12px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}