/* =============================================================
   Mad Moose — Catering planner
   Colours come from the site's :root tokens (wood-brown, warm-tan,
   forest-green, maple-gold, cream). Nothing new is invented here.
   ============================================================= */

.catering { background: var(--cream); }
.catering-lede {
  text-align: center;
  max-width: 680px;
  margin: -1rem auto 2rem;
  font-size: 1.15rem;
  color: #5d4037;
  line-height: 1.6;
}
.catering-foot { text-align: center; margin-top: 1.5rem; color: #5d4037; }
.catering-foot a { color: var(--forest-green); font-weight: bold; }

.mm-shell {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--warm-tan);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(62, 39, 35, 0.08);
  overflow: hidden;
}

/* ---- progress rail ---- */
.mm-rail { display: flex; gap: 4px; padding: 16px 28px 0; }
.mm-rail span {
  flex: 1; height: 4px; border-radius: 4px;
  background: var(--warm-tan);
  transition: background 0.3s;
}
.mm-rail span.on { background: var(--forest-green); }
.mm-rail span.now { background: var(--maple-gold); }

.mm-body { padding: 26px 28px 30px; }
.mm-fade { animation: mmFade 0.28s ease-out; }
@keyframes mmFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.mm-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--forest-green);
}
.mm-body h3 {
  font-size: 1.6rem;
  color: var(--wood-brown);
  margin: 8px 0 6px;
  line-height: 1.2;
}
.mm-help { color: #6d5d56; font-size: 0.98rem; line-height: 1.55; max-width: 640px; margin: 0 0 20px; }
.mm-sublabel { font-weight: bold; color: var(--wood-brown); margin: 22px 0 8px; font-size: 0.95rem; }
.mm-hint { font-size: 0.85rem; color: #8d7b74; margin-top: 8px; line-height: 1.5; }

/* ---- choice grid ---- */
.mm-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mm-choices.three { grid-template-columns: repeat(3, 1fr); }
.mm-choice {
  display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%;
  padding: 14px 15px;
  border-radius: 10px;
  border: 2px solid var(--warm-tan);
  background: var(--cream);
  cursor: pointer;
  font-family: inherit;
  color: var(--wood-brown);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.mm-choice:hover { border-color: var(--forest-green); background: #fff; }
.mm-choice[aria-pressed="true"] {
  border-color: var(--maple-gold);
  background: #fff8ec;
  box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.18);
}
.mm-mark {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px;
  border-radius: 6px; border: 2px solid #b9a9a3; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: bold; color: #fff;
}
.mm-mark.round { border-radius: 50%; }
.mm-choice[aria-pressed="true"] .mm-mark { background: var(--forest-green); border-color: var(--forest-green); }
.mm-choice-label { display: block; font-weight: bold; font-size: 1rem; line-height: 1.3; }
.mm-choice-detail { display: block; font-size: 0.86rem; color: #6d5d56; margin-top: 4px; line-height: 1.45; }

/* ---- fields ---- */
.mm-field { display: flex; flex-direction: column; gap: 6px; }
.mm-field label { font-weight: bold; color: var(--wood-brown); font-size: 0.92rem; }
.mm-input, .mm-textarea, .mm-select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--warm-tan);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--wood-brown);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mm-input:focus, .mm-textarea:focus, .mm-select:focus {
  border-color: var(--maple-gold);
  box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.18);
}
.mm-textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.mm-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.mm-row .mm-field { flex: 1 1 160px; }
.mm-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mm-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: #e8f0ea; color: var(--forest-green); font-weight: bold; font-size: 0.82rem;
}
.mm-tag.gold { background: #fff3dc; color: #a35d00; }

/* ---- nav ---- */
.mm-nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-top: 26px; flex-wrap: wrap;
}
.mm-btn {
  padding: 0.85rem 1.6rem;
  border: none; border-radius: 6px;
  font-size: 1.05rem; font-weight: bold; font-family: inherit;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.mm-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.mm-btn-primary { background: var(--maple-gold); color: var(--wood-brown); }
.mm-btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(255, 167, 38, 0.4); }
.mm-btn-green { background: var(--forest-green); color: #fff; }
.mm-btn-green:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(46, 95, 61, 0.35); }
.mm-btn-ghost { background: transparent; color: var(--forest-green); padding: 0.85rem 1rem; }
.mm-btn-ghost:hover:not(:disabled) { text-decoration: underline; }
.mm-btn-sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; }

/* ---- working ---- */
.mm-working { text-align: center; padding: 48px 20px; }
.mm-orb {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  border: 4px solid var(--warm-tan); border-top-color: var(--maple-gold);
  animation: mmSpin 0.9s linear infinite;
}
@keyframes mmSpin { to { transform: rotate(360deg); } }
.mm-working-title { font-size: 1.4rem; color: var(--wood-brown); }
.mm-working-line { color: #6d5d56; margin-top: 8px; min-height: 22px; }
.mm-working-sub { font-size: 0.85rem; color: #8d7b74; margin-top: 16px; }

/* ---- banners ---- */
.mm-banner {
  padding: 12px 14px; border-radius: 8px; margin-bottom: 18px;
  font-size: 0.92rem; line-height: 1.5;
}
.mm-banner.demo { background: #fff3dc; border: 1px solid var(--maple-gold); color: #5d4037; }
.mm-banner.error { background: #fdecea; border: 1px solid #e57373; color: #b71c1c; }
.mm-banner strong { display: block; margin-bottom: 2px; }

/* ---- follow-ups ---- */
.mm-followup { padding: 16px 0; border-top: 1px solid var(--warm-tan); }
.mm-followup:first-of-type { border-top: none; padding-top: 0; }
.mm-followup-q { font-weight: bold; color: var(--wood-brown); font-size: 1.05rem; }
.mm-followup-why { font-size: 0.86rem; color: #8d7b74; margin: 3px 0 10px; }
.mm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.mm-chip {
  padding: 7px 13px; border-radius: 999px;
  border: 2px solid var(--warm-tan); background: var(--cream);
  font-family: inherit; font-size: 0.92rem; color: var(--wood-brown); cursor: pointer;
}
.mm-chip[aria-pressed="true"] { border-color: var(--forest-green); background: #e8f0ea; font-weight: bold; }

/* ---- result ---- */
.mm-result { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.mm-result > div { min-width: 0; }
.mm-result h3, .mm-result p, .mm-result li { overflow-wrap: anywhere; }
.mm-menu { list-style: none; padding: 0; margin: 0 0 16px; }
.mm-menu li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--warm-tan); }
.mm-menu li:last-child { border-bottom: none; }
.mm-menu .item { font-weight: bold; color: var(--wood-brown); }
.mm-menu .note { display: block; font-size: 0.85rem; color: #6d5d56; font-style: italic; font-weight: normal; }
.mm-menu .qty { color: var(--forest-green); font-weight: bold; text-align: right; flex: 0 1 42%; }
.mm-list { padding-left: 18px; margin: 6px 0 14px; color: #4e342e; line-height: 1.55; }
.mm-list li { margin-bottom: 5px; }
.mm-block-title { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: bold; color: var(--forest-green); margin-top: 16px; }

.mm-quote {
  background: linear-gradient(135deg, #2e5f3d 0%, #1b3a28 100%);
  color: var(--cream); border-radius: 12px; padding: 22px 22px 20px;
  position: sticky; top: 100px;
}
.mm-quote .mm-eyebrow { color: #ffd180; }
.mm-quote-range { font-size: 2.1rem; color: var(--maple-gold); line-height: 1.1; margin-top: 8px; }
.mm-quote-pp { font-size: 0.9rem; color: #cfe3d3; margin-top: 4px; }
.mm-conf { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.8rem; color: #cfe3d3; }
.mm-conf-bars { display: inline-flex; gap: 3px; }
.mm-conf-bars span { width: 16px; height: 3px; border-radius: 2px; background: #3d7a50; }
.mm-conf-bars span.on { background: var(--maple-gold); }
.mm-quote-lines { margin-top: 16px; padding-top: 14px; border-top: 1px solid #3d7a50; }
.mm-qline { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 0.95rem; }
.mm-qline .d { display: block; font-size: 0.78rem; color: #a9c9b2; }
.mm-qline .n { white-space: nowrap; font-weight: bold; flex-shrink: 0; }
.mm-qline.total { border-top: 1px solid #3d7a50; margin-top: 6px; padding-top: 10px; font-size: 1.05rem; }
.mm-assume { margin-top: 14px; font-size: 0.8rem; color: #cfe3d3; line-height: 1.5; }
.mm-assume div { margin-bottom: 4px; }
.mm-quote-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.mm-quote-cta .mm-btn { width: 100%; text-align: center; }
.mm-fine { font-size: 0.78rem; color: #a9c9b2; line-height: 1.5; margin-top: 10px; }

/* ---- done ---- */
.mm-done { text-align: center; padding: 30px 10px; }
.mm-done h3 { font-size: 1.8rem; }
.mm-done p { color: #5d4037; max-width: 520px; margin: 10px auto; line-height: 1.6; }

@media (max-width: 720px) {
  .mm-body { padding: 20px 16px 24px; }
  .mm-rail { padding: 14px 16px 0; }
  .mm-choices, .mm-choices.three { grid-template-columns: 1fr; }
  .mm-result { grid-template-columns: 1fr; }
  .mm-quote { position: static; }
  .mm-body h3 { font-size: 1.35rem; }
  .mm-nav .mm-btn-primary, .mm-nav .mm-btn-green { flex: 1; text-align: center; }
}
