:root {
  --bg: #fff7f0;
  --bg-soft: #fffaf6;
  --surface: #ffffff;
  --surface-muted: #f5f7f8;
  --text: #132a3a;
  --muted: #61717c;
  --line: #dde3e6;
  --accent: #f26b4e;
  --accent-strong: #d94c35;
  --mint: #55bfa7;
  --danger: #b33b2e;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow: 0 18px 44px rgba(19, 42, 58, 0.09);
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 0%, rgba(85, 191, 167, 0.16), transparent 28%),
    linear-gradient(180deg, #fff2e8 0%, #fffaf6 46%, #f3f7f7 100%);
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.02em; }

.page-shell {
  width: min(calc(100% - 20px), 640px);
  margin: 0 auto;
  padding: 14px 0 32px;
}

.brand-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 10px 4px;
}
.brand-lockup {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
.brand-name {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.brand-tagline { color: var(--muted); font-size: 0.86rem; font-weight: 650; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 22px 12px 0;
}
.legal-nav a { color: var(--muted); font-weight: 700; }

.booking-card,
.success-card {
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 18px;
}
.booking-card { margin-bottom: 16px; }
.booking-header { margin-bottom: 8px; }
.header-block { display: grid; gap: 8px; }

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(2rem, 6vw, 2.9rem);
  line-height: 1.02;
}
h2 {
  font-size: 1.22rem;
  line-height: 1.15;
}
.header-copy,
.success-copy {
  color: var(--muted);
  line-height: 1.55;
  font-size: 1rem;
}

.booking-form { display: grid; gap: 16px; }
.form-section,
.slot-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.slot-panel {
  background: linear-gradient(180deg, #fffdf9 0%, var(--surface-muted) 100%);
}
.section-title { font-size: 1.16rem; }
.field-stack,
.field-grid,
.field-group {
  display: grid;
  gap: 14px;
}
.field-group { gap: 8px; }
label {
  font-size: 1rem;
  font-weight: 700;
}

input,
select,
button,
.link-button {
  border-radius: var(--radius-md);
  font: inherit;
}
input,
select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  outline: none;
  font-size: 1rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 107, 78, 0.13);
}
button {
  cursor: pointer;
  border: 0;
  transition: transform 150ms ease, opacity 150ms ease, background 150ms ease;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.primary-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 24px rgba(217, 76, 53, 0.2);
  font-weight: 700;
  text-decoration: none;
}
.ghost-button { min-height: 50px; padding: 0 16px; color: var(--text); background: #fff; border: 1px solid var(--line); }
.ghost-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 0 16px; color: var(--text); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); text-decoration: none; font-weight: 700;
}
.full-width { width: 100%; }
.primary-button:hover,
.ghost-button:hover,
.ghost-link:hover,
.link-button:hover { transform: translateY(-1px); }

.slot-panel-header,
.success-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.selected-slot-label {
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
}
.slots-container { display: block; }
.slot-hour-list { display: grid; gap: 8px; }
.slot-hour-group {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.slot-hour-group.is-open {
  border-color: rgba(242, 107, 78, 0.55);
  box-shadow: 0 8px 18px rgba(242, 107, 78, 0.09);
}
.slot-hour-trigger {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text);
  background: transparent;
  border-radius: 0;
  text-align: left;
  font-weight: 800;
}
.slot-hour-trigger:hover { background: var(--surface-muted); }
.slot-hour-group.is-open .slot-hour-trigger {
  color: var(--accent-strong);
  background: rgba(242, 107, 78, 0.09);
}
.slot-hour-title { display: inline-flex; align-items: center; gap: 9px; }
.slot-hour-chevron {
  display: inline-block;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 150ms ease;
}
.slot-hour-group.is-open .slot-hour-chevron { transform: rotate(90deg); }
.slot-hour-trigger small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}
.slot-hour-options {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}
.slot-hour-help,
.slot-help {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.slot-hour-help { margin-bottom: 10px; }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.slot-chip {
  display: grid;
  gap: 4px;
  align-items: center;
  justify-items: center;
  min-height: 62px;
  padding: 10px 8px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
}
.slot-chip.selected {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(217, 76, 53, 0.22);
}
.slot-chip small {
  color: inherit;
  opacity: 0.82;
  font-size: 0.82rem;
  font-weight: 600;
}

.status-text,
.empty-state { color: var(--muted); }
.status-text {
  min-height: 22px;
  padding: 4px 2px 0;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
}
.status-text.success { color: var(--accent); }
.status-text.error { color: var(--danger); }
.empty-state {
  padding: 14px 6px;
  text-align: center;
  line-height: 1.45;
}

.success-card { margin-top: 16px; }
.success-details {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
}
.success-row {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  line-height: 1.45;
}
.hidden { display: none; }
