/* Elite Brands — cal.elitebrands.ca
   Light theme, Inter, burnt-orange #D35400 accent. No emojis. Mobile-first. */

:root {
  --orange: #D35400;
  --orange-dark: #A84300;
  --orange-soft: #FDF0E6;
  --ink: #1a1a1a;
  --muted: #5f6368;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --green: #137333;
  --green-soft: #e6f4ea;
  --red: #b3261e;
  --red-soft: #fce8e6;
  --amber: #7a4a00;
  --amber-soft: #fef7e0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--orange); }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header / footer ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); z-index: 10;
}
.brand-logo { display: block; height: 36px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink);
}
.lang-toggle:hover { border-color: var(--orange); color: var(--orange); }
.site-footer {
  margin-top: 64px; padding: 28px 16px 40px; border-top: 1px solid var(--line);
  text-align: center; color: var(--muted); font-size: 14px;
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }

/* ---------- Layout ---------- */
#app { min-height: 60vh; }
.container { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.container-wide { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 28px; line-height: 1.25; margin: 8px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 20px; margin: 28px 0 10px; }
h3 { font-size: 16px; margin: 20px 0 8px; }
p { margin: 10px 0; }
.lede { color: var(--muted); font-size: 17px; }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 1px solid transparent; border-radius: 10px;
  padding: 12px 22px; font: inherit; font-weight: 600; font-size: 16px;
  cursor: pointer; text-decoration: none; text-align: center; line-height: 1.3;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--orange-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
.btn-danger { background: #fff; color: var(--red); border-color: #f0b4b0; }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn-row .btn { flex: 1 1 auto; }

/* ---------- Cards / notices ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.notice { border-radius: 10px; padding: 14px 16px; margin: 16px 0; font-size: 15px; }
.notice-info { background: var(--orange-soft); border: 1px solid #f5c9a8; color: #5c2a00; }
.notice-success { background: var(--green-soft); border: 1px solid #a8dab5; color: var(--green); }
.notice-error { background: var(--red-soft); border: 1px solid #f0b4b0; color: var(--red); }
.notice-warn { background: var(--amber-soft); border: 1px solid #f5d98a; color: var(--amber); }
.notice p { margin: 4px 0; }
.field-error { color: var(--red); font-size: 13px; margin-top: 4px; }

/* ---------- Steps indicator ---------- */
.steps { display: flex; gap: 6px; margin: 20px 0 8px; padding: 0; list-style: none; }
.steps li {
  flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted);
  padding-top: 10px; border-top: 3px solid var(--line);
}
.steps li.active { color: var(--orange); border-top-color: var(--orange); }
.steps li.done { color: var(--green); border-top-color: var(--green); }

/* ---------- Date / slot pickers ---------- */
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; }
.date-btn {
  flex: 0 0 auto; min-width: 72px; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; padding: 10px 8px; cursor: pointer; font: inherit; text-align: center;
}
.date-btn:hover { border-color: var(--orange); }
.date-btn.selected { background: var(--orange); border-color: var(--orange); color: #fff; }
.date-btn.selected .date-sub { color: #ffe1cc; }
.date-btn:disabled { opacity: .4; cursor: not-allowed; }
.date-day { display: block; font-weight: 700; font-size: 15px; }
.date-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.slot-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 12px 8px; cursor: pointer; font: inherit; text-align: center;
}
.slot-btn:hover { border-color: var(--orange); }
.slot-btn.selected { background: var(--orange); border-color: var(--orange); color: #fff; }
.slot-btn.selected .slot-tz { color: #ffe1cc; }
.slot-time { display: block; font-weight: 600; font-size: 15px; }
.slot-tz { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.slot-hosts { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.slot-btn.selected .slot-hosts { color: #ffe1cc; }

/* ---------- Host picker ---------- */
.host-list { display: grid; gap: 10px; margin-top: 12px; }
.host-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 14px 16px; cursor: pointer; font: inherit; text-align: left;
}
.host-btn:hover { border-color: var(--orange); }
.host-btn.selected { border-color: var(--orange); background: var(--orange-soft); }
.host-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.host-name { font-weight: 600; }
.host-meta { font-size: 13px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px; font: inherit; font-size: 16px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--orange); outline: 2px solid rgba(211,84,0,.25); outline-offset: 0;
}
.form-field textarea { resize: vertical; min-height: 80px; }
.required { color: var(--red); }

/* ---------- Hold countdown ---------- */
.hold-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--amber-soft); border: 1px solid #f5d98a; border-radius: 10px;
  padding: 12px 16px; margin: 16px 0; font-size: 14px; color: var(--amber);
}
.hold-timer { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 16px; white-space: nowrap; }
.hold-banner.urgent { background: var(--red-soft); border-color: #f0b4b0; color: var(--red); }

/* ---------- Booking summary / details ---------- */
.detail-list { margin: 0; padding: 0; list-style: none; }
.detail-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.detail-list li:last-child { border-bottom: none; }
.detail-list .dt { color: var(--muted); flex: 0 0 auto; }
.detail-list .dd { text-align: right; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Landing ---------- */
.hero { text-align: center; padding: 32px 0 8px; }
.hero h1 { font-size: 32px; }
.hero .lede { max-width: 560px; margin-left: auto; margin-right: auto; }
.feature-grid { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg-soft); }
.feature h3 { margin-top: 0; }
.feature p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.cta-band { text-align: center; margin-top: 36px; padding: 28px 20px; background: var(--orange-soft); border-radius: var(--radius); }
.cta-band h2 { margin-top: 0; }

/* ---------- Misc ---------- */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty { text-align: center; padding: 32px 16px; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.check-mark {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft);
  color: var(--green); font-size: 34px; font-weight: 700; line-height: 64px;
  margin: 8px auto 16px; text-align: center;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
