:root {
  color-scheme: light;
  --ink: #243b62;
  --muted: #627188;
  --paper: #f5f8fc;
  --line: #dce4ef;
  --accent: #e0f3fa;
  --white: #fff;
  --brand-blue: #395795;
  --brand-aqua: #55b1d2;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--brand-blue);
  color: white;
  padding: 14px 22px;
  font-weight: 600;
}
button:hover {
  background: #2d447c;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
button.secondary:hover {
  background: #edf3fa;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2384aa;
  outline-offset: 3px;
}
.preview-bar {
  background: #e0f3fa;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 10px 15px;
  font-weight: 700;
}
header {
  max-width: 1120px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
}
.brand {
  font-size: 2.3rem;
  letter-spacing: 0.13em;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}
.brand span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  margin-top: 8px;
}
.help {
  font-size: 0.875rem;
}
main {
  max-width: 820px;
  margin: 15px auto 0;
  padding: 0 30px 40px;
}
h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: -0.035em;
  margin: 30px 0 12px;
  line-height: 1.1;
}
h2 {
  font-size: 1.3rem;
  margin-top: 22px;
}
.sub {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 26px;
}
nav {
  display: flex;
  gap: 6px;
  margin: 20px 0 24px;
  list-style: none;
}
nav span {
  flex: 1;
  padding: 12px 5px;
  border-top: 3px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
nav span.active {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: bold;
}
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.location {
  min-height: 242px;
  text-align: left;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.location:hover {
  background: #edf6fc;
  border-color: var(--ink);
}
.location .number {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 22px;
}
.location strong {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.location .address {
  line-height: 1.65;
  font-weight: 400;
}
.location .note {
  font-size: 0.875rem;
  margin-top: 20px;
  background: var(--accent);
  padding: 9px 10px;
  border-radius: 4px;
}
.location .arrow {
  position: absolute;
  right: 22px;
  top: 25px;
  font-size: 1.5rem;
}
.clinic-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  background: #eaf3fa;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.clinic-banner strong {
  display: block;
  font-size: 1.1rem;
}
.clinic-banner button {
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 6px;
  min-height: 44px;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 18px;
  min-height: 108px;
}
.service:hover,
.service.selected {
  background: #edf6fc;
  border-color: var(--ink);
}
.service strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.4;
}
.service small {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 6px;
}
.price {
  font-size: 1.2rem;
  white-space: nowrap;
}
label {
  display: block;
  font-weight: 600;
  margin: 20px 0 8px;
}
input,
textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px;
  background: white;
  border: 1px solid #aabbd1;
  border-radius: 7px;
  color: var(--ink);
  font-size: 1rem;
  margin-top: 8px;
}
textarea {
  resize: vertical;
  min-height: 105px;
}
input[type="checkbox"] {
  width: 22px;
  min-height: 22px;
  margin: 0;
  flex-shrink: 0;
}
.check {
  display: flex;
  gap: 12px;
  line-height: 1.5;
  align-items: flex-start;
  font-weight: 400;
}
.hint {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.time {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  padding: 12px 5px;
}
.time:hover,
.time.selected {
  background: var(--brand-blue);
  color: white;
}
.actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}
.actions button:last-child {
  margin-left: auto;
}
.summary {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 24px;
  margin: 24px 0;
}
.summary .row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e9eff7;
  line-height: 1.4;
}
.summary .row:last-child {
  border: 0;
}
.summary .row b {
  text-align: right;
}
.success-icon {
  background: var(--accent);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin-top: 25px;
}
.form-status {
  border-left: 3px solid #55b1d2;
  background: #edf7fb;
  padding: 18px;
  line-height: 1.6;
}
.form-status p {
  margin: 6px 0;
}
.form-status button {
  margin-top: 12px;
}
.manage {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.link-button {
  display: inline-block;
  padding: 15px 20px;
  border-radius: 8px;
  background: var(--brand-blue);
  color: white;
  text-decoration: none;
  min-height: 50px;
  font-weight: 600;
}
.demo {
  background: #edf2f8;
  padding: 12px 16px;
  border-radius: 7px;
  font-size: 0.875rem;
  line-height: 1.6;
}
#error:not(:empty) {
  padding: 16px;
  background: #fff0e8;
  border: 1px solid #d7ad98;
  border-radius: 7px;
  color: #7b3320;
  margin-top: 16px;
}
footer {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 45px;
}
.gate {
  max-width: 500px;
  margin: 80px auto;
  padding: 25px;
}
.empty {
  padding: 25px 0;
  color: var(--muted);
  line-height: 1.6;
}
.code {
  letter-spacing: 0.2em;
  font-size: 1.5rem;
  font-weight: bold;
}
.money-note {
  text-align: right;
  font-size: 0.875rem;
  color: var(--muted);
}
@media (max-width: 600px) {
  header {
    padding: 24px 20px;
  }
  .help {
    font-size: 0.8rem;
    max-width: 105px;
    text-align: right;
  }
  main {
    padding: 0 20px 35px;
    margin-top: 0;
  }
  .locations,
  .cards,
  .fields {
    grid-template-columns: 1fr;
  }
  .locations {
    gap: 12px;
  }
  .location {
    min-height: 202px;
    padding: 24px;
  }
  .location .number {
    margin-bottom: 14px;
  }
  .location strong {
    font-size: 1.6rem;
  }
  .location .note {
    margin-top: 14px;
  }
  .times {
    grid-template-columns: repeat(3, 1fr);
  }
  .fields {
    gap: 0;
  }
  h1 {
    margin-top: 26px;
  }
  nav span {
    font-size: 0.75rem;
  }
  .clinic-banner {
    padding: 14px;
  }
  .summary {
    padding: 18px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .actions button {
    flex: 1;
  }
  .summary .row {
    font-size: 0.95rem;
  }
  .summary .row b {
    max-width: 65%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

h1:focus {
  outline: none;
}
.chosen-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.chosen-service p {
  margin: 7px 0 0;
}
.chosen-service button {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .chosen-service {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* PEAK's original blue/aqua logo sets the booking palette. */
header { background: white; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 240px; height: auto; max-width: 100%; }
.preview-bar { color: var(--ink); border-top: 4px solid var(--brand-blue); }
nav span.active { border-color: var(--brand-aqua); }
h1, h2 { color: var(--ink); }
.location { border-top: 4px solid var(--brand-blue); }
.location strong { color: var(--brand-blue); }
.location .arrow { color: var(--brand-aqua); }
.location .note { color: #244b70; }
.service.selected, .service:hover { border-color: var(--brand-blue); }
.time.selected, .time:hover, .link-button { background: var(--brand-blue); color: white; }
.success-icon { color: var(--brand-blue); }
.gate .brand { display: flex; margin-bottom: 28px; }
@media (max-width: 600px) {
  .brand img { width: 190px; }
  header { gap: 16px; }
}
@media (max-width: 360px) {
  .brand img { width: 162px; }
  .help { max-width: 92px; }
}

/* Quiet depth, compact choices and a clear next action. */
body { background: radial-gradient(ellipse at top right, #eaf5fb 0, transparent 45%), var(--paper); }
main { padding-top: 8px; }
.location, .summary { box-shadow: 0 5px 22px #243b6206; }
.location { border-radius: 14px; }
.location:hover { box-shadow: 0 8px 26px #39579514; }
.service { min-height: 86px; border-radius: 10px; }
.service .price { text-align: right; }
.clinic-banner { border: 1px solid #d4e5f1; }
.quick-dates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 24px 0 10px; }
.date-chip { background: white; border-color: var(--line); color: var(--ink); padding: 12px 5px; min-height: 76px; }
.date-chip span { display: block; font-size: .875rem; font-weight: 400; margin-bottom: 8px; }
.date-chip strong { font-size: .95rem; white-space: nowrap; }
.date-chip:hover, .date-chip.selected { background: var(--brand-blue); border-color: var(--brand-blue); color: white; }
#selected-time { min-height: 20px; }
@media (max-width:600px) {
 header { padding-top: 18px; padding-bottom: 18px; }
 nav { margin: 12px 0 22px; }
 .locations { margin-top: 22px; }
 .location { min-height: 182px; padding: 20px; }
 .location .number { margin-bottom: 10px; }
 .location strong { margin-bottom: 10px; }
 .location .note { margin-top: 12px; }
 .actions { position: sticky; bottom: 0; z-index: 2; background: var(--paper); padding: 14px 0 max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
 .quick-dates { gap: 6px; }
 .date-chip { padding: 10px 2px; }
}

.service-description { display: block; margin-top: 8px; color: var(--muted); font-size: .9375rem; font-weight: 400; line-height: 1.5; }
.service-ingredients { display: block; margin-top: 12px; font-size: .875rem; font-weight: 400; line-height: 1.6; color: #445b7b; }
.service-ingredients b { font-weight: 600; }
.service-copy { min-width: 0; }
.service:has(.service-copy) { align-items: flex-start; padding: 22px 18px; }
.service:has(.service-copy) .price { padding-top: 2px; }
.service-overview { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin: 22px 0; }
.service-overview h2 { margin: 0; }
.chosen-service .service-ingredients { margin-top: 10px; }
.chosen-service > div { min-width: 0; }
