/* booking.css — self-contained, mobile-first. No webfonts, no external requests. */
:root {
  --bg: #07070a;
  --surface: #101017;
  --surface-2: #16161f;
  --line: rgba(212, 175, 55, 0.16);
  --line-strong: rgba(212, 175, 55, 0.42);
  --gold: #d4af37;
  --gold-dim: #b8960f;
  --text: #f4f2ee;
  --muted: #a09a8c;
  --error: #ff8a8a;
  --error-bg: rgba(64, 14, 14, 0.55);
  --ok: #7fd4a2;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 1.25rem 1rem 3rem;
  min-height: 100vh;
  background: radial-gradient(120% 60% at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%), var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 var(--sans);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shell { width: 100%; max-width: 40rem; }

.brand { text-align: center; margin: 0.5rem 0 1.5rem; }
.brand__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand__note { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); }

.card {
  background: linear-gradient(180deg, rgba(22, 22, 31, 0.9), rgba(12, 12, 18, 0.92));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.25rem 1.1rem 1.5rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

/* --- progress --- */
.progress { display: flex; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.progress li {
  flex: 1;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}
.progress li[aria-current="step"] { color: var(--gold); border-top-color: var(--gold); }
.progress li.is-done { color: var(--ok); border-top-color: rgba(127, 212, 162, 0.6); }

/* --- fieldsets / legend --- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 0 0.75rem;
}
/* Legends are programmatically focused on step change; the step indicator above
   already shows where you are, so no ring is needed. */
legend:focus, legend:focus-visible { outline: none; }

.field { margin-bottom: 1.15rem; }
.field > label,
.field-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfc8b8;
}
.req { color: var(--gold); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem; /* >=16px stops iOS zoom-on-focus */
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23d4af37' d='M7 10L2 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}
textarea { min-height: 6rem; resize: vertical; line-height: 1.5; }

input:focus-visible, textarea:focus-visible, select:focus-visible,
.chip:focus-visible, .btn:focus-visible, .option:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--line-strong);
}

input::placeholder, textarea::placeholder { color: #6f6a60; }

.hint { margin: 0.35rem 0 0; font-size: 0.78rem; color: var(--muted); }

.error {
  display: none;
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--error);
}
.field.has-error .error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }

/* --- radio pills --- */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; flex: 1 1 auto; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: block;
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  text-align: center;
  font-size: 0.88rem;
  color: #d7d1c4;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.pill input:checked + span {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
}
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* --- phone row --- */
.phone-row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.5rem; }
@media (max-width: 26rem) {
  .phone-row { grid-template-columns: 1fr; }
}

/* --- city chips --- */
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; }
.chip {
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  color: #d7d1c4;
  background: transparent;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
}
.chip:hover { border-style: solid; color: var(--gold); }

/* --- optional block --- */
details.optional {
  margin: 1.5rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  background: rgba(10, 10, 15, 0.5);
}
details.optional > summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}
details.optional[open] > summary { margin-bottom: 1rem; }

/* --- buttons --- */
.actions { display: flex; gap: 0.6rem; margin-top: 1.75rem; }
.btn {
  flex: 1;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #0b0b0d;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.16);
}
.btn--ghost {
  background: transparent;
  color: #cfc8b8;
  border-color: rgba(255, 255, 255, 0.16);
  flex: 0 0 auto;
  padding-inline: 1.1rem;
}
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn--primary:hover:not(:disabled) { filter: brightness(1.07); }

/* --- alerts --- */
.alert {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  border: 1px solid var(--error);
  background: var(--error-bg);
  color: var(--error);
}
.alert ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.alert a { color: var(--error); }
.alert[hidden] { display: none; }

/* --- success --- */
.success { text-align: center; padding: 1.5rem 0.5rem; }
.success h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
.success p { color: var(--muted); margin: 0 0 0.6rem; }
.success .ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; color: #cfc8b8; }
.success .btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 1rem; text-decoration: none; }

.footnote { margin: 1.25rem 0 0; font-size: 0.75rem; color: #7d7768; text-align: center; }
.footnote a { color: var(--muted); }

/* --- honeypot: off-screen, not display:none (some bots skip those) --- */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

[hidden] { display: none !important; }

/* --- JS-only affordances --- */
.js-only { display: none; }
.js .js-only { display: flex; }
.js .step[data-step]:not(.is-active) { display: none; }
.js .no-js-only { display: none; }
/* The submit button is rendered for no-JS; with JS it appears on step 2 only. */
.js #submit-btn { display: none; }
.js #submit-btn.is-visible { display: inline-flex; align-items: center; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (min-width: 40rem) {
  body { padding: 2.5rem 1.5rem 4rem; }
  .card { padding: 2rem 2rem 2.25rem; }
}