/* ============================================================
   SpadesBand — Shared CSS Design System
   Aesthetic: Dark luxury / Jazz-club elegance
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --black:       #0a0a0a;
  --deep:        #111318;
  --surface:     #181c24;
  --surface-2:   #1f2430;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);
  --gold:        #c9a84c;
  --gold-light:  #e2c77a;
  --gold-dim:    rgba(201,168,76,0.18);
  --gold-glow:   rgba(201,168,76,0.35);
  --white:       #f5f0e8;
  --white-muted: rgba(245,240,232,0.65);
  --white-dim:   rgba(245,240,232,0.35);
  --spade:       #4a6fa5;
  --spade-light: #6b93c9;
  --danger:      #e05252;
  --success:     #4caf7a;
  --warn:        #e8a838;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius:    10px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 32px rgba(201,168,76,0.22);
  --shadow-lg:   0 16px 64px rgba(0,0,0,0.6);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);

  --header-h: 72px;
  --max-w:    1200px;
  --gutter:   clamp(1.25rem, 4vw, 3rem);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Decorative pseudo-elements must never intercept touch events */
*::before, *::after { pointer-events: none; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }

p { color: var(--white-muted); line-height: 1.75; }
small { font-size: 0.8rem; }

.text-gold { color: var(--gold); }
.text-muted { color: var(--white-muted); }
.text-dim { color: var(--white-dim); }
.text-center { text-align: center; }
.italic { font-style: italic; }

/* ── Layout Helpers ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--white-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-block: 1.5rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.5rem; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1  { gap: 0.5rem; }
.gap-2  { gap: 1rem; }
.gap-3  { gap: 1.5rem; }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.card-gold { border-color: var(--gold-dim); }
.card-gold:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.35);
}
.btn-outline {
  border: 1px solid var(--border-2);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--gold);
  padding: 0;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost::after { content: ' →'; transition: transform var(--transition); display: inline-block; }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }

/* ── Header / Nav ───────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo .spade-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-links a.active { color: var(--gold); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
#mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
#mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white-muted);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
#mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white-muted);
  border-radius: 50%;
  transition: all var(--transition);
}
.mobile-nav-close:hover { color: var(--white); background: var(--border); }

/* ── Footer ─────────────────────────────────────────────── */
#site-footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }

.footer-col h5 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--white-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--white-muted);
  margin-bottom: 0.65rem;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--white-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Chat Widget ────────────────────────────────────────── */
#chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

#chat-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(201,168,76,0.45);
  transition: all var(--transition);
  cursor: pointer;
  font-size: 1.3rem;
  position: relative;
}
#chat-toggle:hover {
  transform: scale(1.08);
  background: var(--gold-light);
}

/* Online pulse — green dot always visible on the toggle */
#chat-toggle::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid var(--black);
  animation: onlinePulse 2.5s ease-in-out infinite;
}
@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,122,0.6); }
  50%       { box-shadow: 0 0 0 5px rgba(76,175,122,0); }
}

/* Label that floats next to the toggle button */
#chat-online-label {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-card);
  animation: labelFadeIn 0.5s 3s ease both;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#chat-online-label::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
}
/* Show label until chat is first opened */
#chat-widget:not(.chat-used) #chat-online-label { opacity: 1; }
@keyframes labelFadeIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--black);
  display: none;
}
.chat-badge.show { display: block; }

#chat-box {
  width: min(380px, calc(100vw - 2rem));
  height: 540px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transition: all var(--transition);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
}
#chat-box.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(135deg, var(--surface-2), var(--deep));
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 0.75rem; }
.chat-avatar {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.chat-header-text h4 {
  font-size: 0.92rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--white);
}
.chat-header-text span {
  font-size: 0.72rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}
.chat-header-text span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}
.chat-close {
  color: var(--white-muted);
  font-size: 1.1rem;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition);
}
.chat-close:hover { color: var(--white); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

.chat-msg {
  max-width: 82%;
  animation: msgIn 0.25s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }

.chat-bubble {
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
}
.chat-msg.bot  .chat-bubble { background: var(--surface-2); color: var(--white); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: var(--gold); color: var(--black); font-weight: 500; border-bottom-right-radius: 4px; }

.chat-time { font-size: 0.65rem; color: var(--white-dim); margin-top: 3px; padding-inline: 2px; }
.chat-msg.user .chat-time { text-align: right; }

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 0.65rem 0.9rem;
  background: var(--surface-2);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  align-self: flex-start;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  background: var(--white-dim);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-5px); opacity: 1; }
}

.chat-footer {
  padding: 0.85rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--surface);
}
.chat-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.chat-input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  resize: none;
  max-height: 180px;   /* increased from 100px — room for song lists etc */
  line-height: 1.5;
  transition: border-color var(--transition);
  overflow-y: auto;
}
.chat-input:focus { outline: none; border-color: var(--gold); }
.chat-input::placeholder { color: var(--white-dim); font-size: 0.82rem; }

/* Keyboard shortcut hint below the input */
.chat-input-hint {
  font-size: 0.7rem;
  color: var(--white-dim);
  text-align: right;
  margin-top: 0.35rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  user-select: none;
}
/* Show hint when textarea is focused */
.chat-input:focus ~ * .chat-input-hint,
.chat-footer:focus-within .chat-input-hint { opacity: 1; }
.chat-input-hint kbd {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  padding: 0 4px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--white-muted);
}

/* On mobile — hint shows the send button instruction instead */
@media (max-width: 768px) {
  .chat-input-hint .desktop-hint { display: none; }
  .chat-input-hint::after {
    content: 'Tap the send button ↗ to send your message';
    font-size: 0.68rem;
    color: var(--white-dim);
  }
}

.chat-send {
  width: 38px;
  height: 38px;
  background: var(--gold);
  color: var(--black);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1rem;
  align-self: flex-end; /* always aligns to bottom of input as it grows */
}
.chat-send:hover { background: var(--gold-light); transform: scale(1.05); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.quick-reply {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-2);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--white-muted);
  background: var(--surface-2);
  cursor: pointer;
  transition: all var(--transition);
}
.quick-reply:hover { border-color: var(--gold); color: var(--gold); }

/* Urgency Notice */
.urgency-notice {
  display: none;
  background: rgba(232,168,56,0.12);
  border: 1px solid rgba(232,168,56,0.4);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--warn);
  align-items: center;
  gap: 0.6rem;
}
.urgency-notice.show { display: flex; }

/* ── Form Elements ──────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white-muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}
.form-label .required { color: var(--gold); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--white-dim); }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-select option { background: var(--surface-2); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.35rem; display: none; }
.form-error.show { display: block; }
.form-input.invalid,
.form-select.invalid,
.form-textarea.invalid { border-color: var(--danger); }

/* ── Step Indicator ────────────────────────────────────── */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white-dim);
  background: var(--surface);
  transition: all var(--transition);
  z-index: 1;
}
.step-item.active .step-circle { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.step-item.done .step-circle { border-color: var(--gold); background: var(--gold); color: var(--black); }
.step-label { font-size: 0.72rem; color: var(--white-dim); white-space: nowrap; }
.step-item.active .step-label { color: var(--gold); }
.step-connector {
  width: clamp(40px, 8vw, 100px);
  height: 2px;
  background: var(--border);
  margin-bottom: 1.4rem;
}
.step-connector.done { background: var(--gold); }

/* ── Accordion ──────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--gold); }
.accordion-trigger svg { flex-shrink: 0; transition: transform var(--transition); color: var(--gold); }
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.75;
}
.accordion-item.open .accordion-body { display: block; }

/* ── Star Rating ────────────────────────────────────────── */
.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ── Badges / Tags ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201,168,76,0.25); }
.badge-blue { background: rgba(74,111,165,0.15); color: var(--spade-light); border: 1px solid rgba(74,111,165,0.25); }
.badge-green { background: rgba(76,175,122,0.12); color: var(--success); border: 1px solid rgba(76,175,122,0.25); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-links, .nav-cta .btn:first-child { display: none; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }

  /* ── Touch target minimums ── */
  .btn, button, a[href], select, input[type="date"],
  input[type="time"], input[type="tel"], input[type="email"],
  input[type="text"] {
    min-height: 44px;
  }

  /* ── Form inputs — larger on mobile ── */
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 0.85rem 1rem;
    border-radius: 10px;
  }

  /* ── Buttons — full width on small screens ── */
  .btn-lg {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* ── Grid fallbacks ── */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* ── Section spacing ── */
  .section { padding-block: 3rem; }
  .container { padding-inline: 1.25rem; }

  /* ── Chat widget ── */
  #chat-widget {
    bottom: 1rem;
    right: 1rem;
  }
  #chat-online-label { display: none; }

  /* When closed: keep the chat box small so it doesn't block page taps */
  #chat-box:not(.open) {
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
  }
  /* When open: expand to fill screen */
  #chat-box.open {
    width: calc(100vw - 1.5rem);
    height: calc(100dvh - 100px);
    max-height: 600px;
    position: fixed;
    bottom: 80px;
    right: 0.75rem;
  }

  /* ── Accordion ── */
  .accordion-trigger {
    min-height: 52px;
    padding: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .accordion-body {
    font-size: 0.875rem;
  }

  /* ── Quick reply chips ── */
  .quick-reply {
    min-height: 40px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .step-label { display: none; }
  .step-connector { width: 24px; }

  /* ── Booking form step actions ── */
  .step-actions {
    flex-direction: column;
  }
  .step-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Musician selector ── */
  .musicians-selector {
    gap: 0.4rem;
  }
  .musician-opt {
    padding: 0.5rem 0.25rem;
    font-size: 0.78rem;
  }
  .musician-opt strong { font-size: 0.9rem; }
}

/* ── Page transition ────────────────────────────────────── */
.page-enter {
  animation: pageIn 0.5s ease both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Invoice styles ─────────────────────────────────────── */
.invoice-preview {
  background: var(--deep);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  font-size: 0.88rem;
}
.invoice-preview h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--white-muted);
}
.invoice-row:last-child { border-bottom: none; }
.invoice-total {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--gold);
}
.invoice-total span { color: var(--gold); font-size: 1.2rem; }

/* ── Utility ────────────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
