/* menu.co.zm start page and the /start funnel. Mobile first, flat (R7: no
   gradients), the Sempya palette of the approved mockups (round 2a, 6, 7). */
:root {
  --cream: #f7f4ef; --beige: #ece4de; --border: #ddd0c6; --white: #fff;
  --ink: #2a2018; --muted: #6f5f51; --umber: #1c1611; --brown: #503925;
  --orange: #ec9725; --orange-d: #d4841a; --ochre-t: #fbeacc;
  --olive: #4f6b46; --olive-t: #e3ebdf; --terracotta: #a63a2a; --terra-t: #f6e3df;
  --wa: #1f7a4d; --radius: 12px; --tap: 48px;
}
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
       color: var(--ink); background: var(--white); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.45; }
body.funnel, body.status { background: var(--cream); min-height: 100vh; }
a { color: var(--brown); }
h1 { font-size: 1.6rem; line-height: 1.15; margin: 8px 0 8px; }
h2 { font-size: 1.35rem; margin: 0 0 6px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }
.i { flex: none; vertical-align: middle; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange-d); outline-offset: 2px; }
.muted { color: var(--muted); }
.small, small { font-size: .85rem; }
.hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.center { text-align: center; }
.cap { text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 32px 16px; }
.narrow { max-width: 560px; margin: 24px auto; padding: 0 16px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; min-height: 60px;
       padding: 8px 16px; background: var(--white); border-bottom: 1px solid var(--border); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo b { font-size: 1.05rem; white-space: nowrap; } .logo b span { color: var(--orange-d); }
.chip.held .long { display: none; }
.topnav { display: none; gap: 18px; } .topnav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bar .wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bar .cta { display: none; }
.bar .btn.wa { min-width: var(--tap); padding: 10px 12px; }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap);
       padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--white);
       color: var(--ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn.cta { background: var(--orange); border-color: var(--orange); color: var(--umber); }
.btn.cta:hover { background: var(--orange-d); }
.btn.ghost { background: transparent; }
.btn.wa { border-color: #b9dcc9; background: #eef7f2; color: var(--wa); }
.btn.wa-solid { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.big { min-height: 56px; font-size: 1.05rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
        font-size: .8rem; font-weight: 650; background: var(--beige); color: var(--brown); }
.chip.rec { background: var(--orange); color: var(--umber); }
.chip.green { background: var(--olive-t); color: var(--olive); }
.chip.grey { background: var(--beige); }
.chip.held { background: var(--ochre-t); color: var(--brown); }
.chip.test { background: var(--terra-t); color: var(--terracotta); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pick { min-height: 40px; min-width: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
        background: var(--white); font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.pick.on, .pick[aria-pressed="true"] { background: var(--umber); color: #fff; border-color: var(--umber); }
.pick-r { position: relative; }
.pick-r input { position: absolute; opacity: 0; }
.pick-r span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-weight: 600; cursor: pointer; }
.pick-r input:checked + span { background: var(--umber); color: #fff; border-color: var(--umber); }
.pick-r input:focus-visible + span { outline: 3px solid var(--orange-d); }

/* cards, notes */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 0 0 14px; }
.card.accent { border: 2px solid var(--orange); }
.note { border-radius: 10px; padding: 10px 14px; margin: 10px 0; background: var(--beige); }
.note p { margin: 4px 0; }
.note.err { background: var(--terra-t); color: #6d2318; }
.note.warn { background: var(--ochre-t); }
.note.ok { background: var(--olive-t); color: #2f4529; font-weight: 600; }
.note.info { background: #f1ede7; }
.ferr { color: var(--terracotta); font-weight: 600; margin: 4px 0 0; font-size: .9rem; }

/* forms */
.form label, fieldset > label:not(.card):not(.sw):not(.pos):not(.pick-r) { display: block; font-weight: 600; margin: 14px 0 4px; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=number], select {
  width: 100%; min-height: var(--tap); padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; background: var(--white); color: var(--ink); }
input[aria-invalid=true], select[aria-invalid=true] { border-color: var(--terracotta); border-width: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font-weight: 700; margin: 0 0 8px; padding: 0; }
.stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stepper input { width: 84px; text-align: center; font-size: 1.2rem; font-weight: 700; border: 2px solid var(--orange); }
.round { width: var(--tap); height: var(--tap); border-radius: 10px; border: 1px solid var(--border); background: var(--white);
         display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 4px; }
.seg legend { width: 100%; }
.seg .hint { width: 100%; }
.seg label { position: relative; margin: 0; flex: 1 1 0; min-width: 0; }
.seg input { position: absolute; opacity: 0; }
.seg label > span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: var(--tap);
                    padding: 8px 4px; border-radius: 10px; cursor: pointer; text-align: center; background: var(--beige); height: 100%; }
.seg input:checked + span { background: var(--white); box-shadow: 0 0 0 2px var(--umber) inset; }
.seg input:focus-visible + span { outline: 3px solid var(--orange-d); }

/* start page */
.hero { display: grid; gap: 24px; max-width: 1120px; margin: 0 auto; padding: 24px 16px; }
.hero h1 { font-size: 2.1rem; } .hero h1 em { font-style: normal; color: var(--orange-d); }
.chip.place { background: var(--beige); margin: 0; }
.lead { font-size: 1.05rem; color: #4a3b2f; margin: 0 0 14px; }
.reserve { display: grid; gap: 10px; }
.slug-field { display: flex; align-items: center; border: 2px solid var(--orange); border-radius: 10px; background: var(--white); padding-left: 10px; }
.slug-field .pre { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.slug-field input { border: 0; min-height: 50px; padding-left: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #4a3b2f; font-size: .9rem; font-weight: 600; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; height: auto; border-radius: 16px; display: block; }
.ph-label { position: absolute; top: 12px; left: 12px; background: #b9322a; color: #fff; font-size: .8rem; font-weight: 700;
            padding: 4px 10px; border-radius: 6px; }
.band { background: var(--cream); }
.calc { display: grid; gap: 18px; }
.calc-out .lines { list-style: none; padding: 0; margin: 0; }
.calc-out .lines li, .calc-out .sub, .calc-out .tot { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--beige); margin: 0; }
.calc-out .sub { border-bottom: 0; border-top: 2px solid var(--umber); font-size: 1.1rem; }
.calc-out .tot { border: 0; margin-bottom: 12px; }
.sect { margin-top: 26px; } .sect small { font-weight: 400; color: var(--muted); }
.plans { display: grid; gap: 12px; }
.plan.rec { border: 2px solid var(--orange); background: #fffaf2; }
.plan .price, .card .price { font-size: 1.9rem; font-weight: 800; margin: 2px 0; display: block; }
.plan .price small, .card .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.twocol, .threecol { display: grid; gap: 12px; }
.bands { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bands li { background: var(--cream); border-radius: 8px; padding: 8px; text-align: center; display: flex; flex-direction: column; }
.bands b { font-size: 1.2rem; }
.note.plain, p.note { background: none; padding: 0; color: var(--muted); }
.get { text-align: center; } .get img { max-width: 100%; height: auto; }
.get figcaption { display: flex; flex-direction: column; gap: 4px; } .get figcaption span { color: var(--muted); }
.tgrid { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tcard[hidden] { display: none; }
.tcard a, .tcard label { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 12px; border: 1px solid var(--border);
         background: var(--white); text-decoration: none; color: var(--ink); cursor: pointer; position: relative; height: 100%; }
.tcard input { position: absolute; opacity: 0; }
.tcard label:has(input:checked) { border: 2px solid var(--orange); }
.tcard input:focus-visible ~ .mini { outline: 3px solid var(--orange-d); }
.tcard small { color: var(--muted); }
.mini { display: flex; flex-direction: column; gap: 5px; background: var(--tb); border: 1px solid var(--ts); border-radius: 8px; padding: 10px; height: 92px; }
.mini i { display: block; border-radius: 3px; }
.mini .mh { height: 14px; width: 70%; background: var(--tt); }
.mini .ml { height: 6px; width: 90%; background: var(--tt); opacity: .35; }
.mini .ml.s { width: 60%; }
.mini .mp { height: 18px; width: 42%; background: var(--ta); margin-top: auto; border-radius: 9px; }
.how { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 12px; counter-reset: how; }
.how li { display: flex; flex-direction: column; gap: 4px; padding-left: 60px; position: relative; counter-increment: how; }
.how li::before { content: counter(how); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
                  background: var(--brown); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.how span { color: var(--muted); }
.ready { background: var(--umber); color: #fff; border-radius: 16px; padding: 22px; display: grid; gap: 14px; }
.ready p { color: #d8cdc2; margin: 0; } .ready-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot { text-align: center; color: var(--muted); font-size: .9rem; padding: 18px 16px 90px; }

/* funnel */
.steps { background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 16px; }
.steps-count { margin: 0; font-weight: 700; font-size: .9rem; }
.steps ol { list-style: none; display: flex; gap: 4px; padding: 0; margin: 6px 0 2px; }
.steps li { flex: 1; }
.steps li > a, .steps li > span { display: block; height: 6px; border-radius: 3px; background: var(--beige); overflow: hidden; color: transparent; }
.steps li.done > a, .steps li.done > span { background: var(--olive); }
.steps li.current > span { background: var(--orange); }
.steps i, .steps b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
main.flow { display: block; max-width: 1180px; margin: 0 auto; padding: 16px 16px 140px; }
.flow-main { min-width: 0; }
.form .kv { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--beige); padding: 6px 0; }
.slug-live { min-height: 1.5em; margin: 6px 0 0; color: var(--muted); }
.slug-live.ok b { color: var(--olive); } .slug-live.bad b { color: var(--terracotta); }
.count { margin-top: 18px; }
.tpreview iframe { width: 100%; height: 560px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.base-prev { margin: 16px 0; text-align: center; } .base-prev img { max-width: 100%; height: auto; border-radius: 6px; }
.base-prev figcaption { color: var(--muted); font-size: .88rem; }
label.plan { display: flex; flex-direction: column; gap: 4px; cursor: pointer; position: relative; }
label.plan input { position: absolute; opacity: 0; }
label.plan:has(input:checked) { border: 2px solid var(--umber); box-shadow: 0 0 0 2px var(--umber) inset; }
label.plan:has(input:focus-visible) { outline: 3px solid var(--orange-d); }
label.plan .dates { color: var(--muted); font-size: .88rem; }
label.plan .chip, .plan .chip { align-self: flex-start; }

/* the designer */
.designer { display: grid; gap: 16px; }
.designer-preview { position: sticky; top: 64px; z-index: 5; background: var(--cream); padding-bottom: 6px; }
.live { margin: 0; text-align: center; background: #ece7e0; border-radius: 14px; padding: 12px; }
.live img { width: 108px; height: auto; transform: perspective(600px) rotateY(-14deg); transition: opacity .15s; }
.live img.loading { opacity: .5; }
.live figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
label.type { display: flex; align-items: center; gap: 12px; cursor: pointer; position: relative; margin-bottom: 10px; }
label.type input { position: absolute; opacity: 0; }
label.type:has(input:checked) { border: 2px solid var(--orange); background: #fffaf2; }
label.type:has(input:focus-visible) { outline: 3px solid var(--orange-d); }
label.type span { display: flex; flex-direction: column; gap: 2px; } label.type small { color: var(--muted); }
label.type .chip { align-self: flex-start; }
.posgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pos { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 1px solid var(--border);
       border-radius: 10px; background: var(--white); cursor: pointer; font-size: .78rem; text-align: center; }
.pos input { position: absolute; opacity: 0; }
.pos:has(input:checked) { border: 2px solid var(--orange); }
.pos:has(input:focus-visible) { outline: 3px solid var(--orange-d); }
.more summary { cursor: pointer; font-weight: 600; margin-top: 10px; min-height: 40px; display: flex; align-items: center; }
.row3 { display: grid; gap: 8px; } .row3 label { font-weight: 600; font-size: .9rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches legend { width: 100%; }
.sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 76px; text-align: center; font-size: .82rem; cursor: pointer; }
.sw input { position: absolute; opacity: 0; }
.sw small { display: block; color: var(--terracotta); font-size: .72rem; }
.dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: block; }
.sw input:checked + .dot { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--orange); }
.sw input:focus-visible + .dot { outline: 3px solid var(--orange-d); outline-offset: 4px; }
.c-black { background: #17181a; } .c-blue { background: #1d4f9c; } .c-red { background: #b1262d; } .c-opal-white { background: #f3f1ea; }
.w-natural-pine { background: #e2c592; } .w-honey-oak { background: #c8975a; } .w-teak { background: #9a6a3c; }
.w-walnut { background: #5d3b25; } .w-ebony { background: #2e231d; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* the bill: phone = a bar at the bottom; wide = a side panel */
.bill { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; }
.bill-box { background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 14px rgba(28,22,17,.08);
            max-height: 75vh; overflow: auto; padding: 0 16px 12px; }
.bill-box summary { list-style: none; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2px 10px;
                    padding: 12px 0; cursor: pointer; min-height: 56px; }
.bill-box summary::-webkit-details-marker { display: none; }
.bill-h { font-weight: 700; } .bill-sum { grid-column: 1; grid-row: 2; color: var(--muted); font-size: .82rem; }
.bill-total { grid-row: 1 / 3; grid-column: 2; font-size: 1.15rem; }
.bill-open { grid-row: 1 / 3; grid-column: 3; display: inline-flex; transition: transform .15s; }
.bill-box[open] .bill-open { transform: rotate(180deg); }
.bill-lines { list-style: none; padding: 0; margin: 4px 0; }
.bill-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--beige); }
.bill-lines li span:first-child { display: flex; flex-direction: column; } .bill-lines small { color: var(--muted); }
.bill-lines li.todo { color: var(--muted); } .bill-lines li.new { background: var(--ochre-t); border-radius: 6px; padding-inline: 6px; }
.bill-lines .amt { font-weight: 700; white-space: nowrap; }
.bill-subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; margin: 10px 0 4px; }

/* review, status */
.review-head { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.review-head img { flex: none; width: 96px; height: auto; }
.kv-list { margin: 0; flex: 1; min-width: 0; }
.kv-list { width: 100%; }
.kv-list div { display: grid; grid-template-columns: 6.2em 1fr; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--beige); }
.kv-list dt { color: var(--muted); } .kv-list dd { margin: 0; overflow-wrap: anywhere; }
.edit-links { margin: 10px 0 0; }
.breakdown table { width: 100%; border-collapse: collapse; }
.breakdown caption { text-align: left; font-weight: 700; margin-bottom: 6px; }
.breakdown th { text-align: left; font-weight: 500; padding: 7px 0; }
.breakdown td { text-align: right; font-weight: 650; white-space: nowrap; }
.breakdown tbody tr { border-bottom: 1px solid var(--beige); }
.breakdown tfoot tr:first-child { border-top: 2px solid var(--umber); }
.breakdown tr.total th, .breakdown tr.total td { font-size: 1.15rem; font-weight: 800; }
.pay { margin-top: 14px; }
.checklist { text-align: left; }

@media (min-width: 720px) {
  .bar .wa span { position: static; width: auto; height: auto; clip: auto; }
  .chip.held .long { display: inline; }
  .review-head { flex-direction: row; align-items: flex-start; }
  .live img { width: 150px; }
  .bar .btn.cta { display: inline-flex; }
  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 40px 16px; }
  .hero h1 { font-size: 2.7rem; }
  .reserve { grid-template-columns: 1fr auto; }
  .calc { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .twocol { grid-template-columns: 1fr 1.6fr; } .twocol.tight { grid-template-columns: 1fr 1fr; }
  .threecol, .how { grid-template-columns: repeat(3, 1fr); }
  .bands { grid-template-columns: repeat(4, 1fr); }
  .tgrid { grid-template-columns: repeat(4, 1fr); }
  .ready { grid-template-columns: 1fr auto; align-items: center; }
  .posgrid { grid-template-columns: repeat(6, 1fr); }
  .row3 { grid-template-columns: repeat(3, 1fr); }
  .steps i, .steps b { position: static; width: auto; height: auto; clip: auto; }
  .steps ol { gap: 10px; }
  .steps li > a, .steps li > span { height: auto; background: none; color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: .9rem; text-decoration: none; }
  .steps li i { width: 24px; height: 24px; border-radius: 50%; background: var(--beige); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: .8rem; font-weight: 700; }
  .steps li.done i { background: var(--olive); color: #fff; } .steps li.current i { background: var(--orange); color: var(--umber); }
  .steps li.current b { color: var(--ink); } .steps li.done > a, .steps li.done > span, .steps li.current > span { background: none; }
  .steps-count { display: none; }
}
@media (min-width: 1000px) {
  .topnav { display: flex; }
  main.flow { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding-bottom: 40px; }
  .bill { position: static; }
  .bill-box { position: sticky; top: 76px; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: none; max-height: none; }
  .bill-box summary { pointer-events: none; } .bill-open, .bill-sum { display: none; }
  .designer { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .designer-preview { order: 2; top: 76px; }
  .live img { width: 220px; }
  .foot { padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
