@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --blue: #A3C7D2; --mist: #D7E4E9; --order: #B5D0DA; --sky: #F4F8FA; --cream: #FFF6EC; --ink: #231F20; --ink-2: #303030; --muted: #4A4A4A;
  --line: #E3ECF0; --line-2: #C8D6DC; --accent: #458BCA; --accent-ink: #1F5F95; --ok-bg: #E6F2EA; --ok: #1E5A37; --warn-bg: #FFF1DC; --warn: #8A4B08;
  --bad-bg: #FBE7E5; --bad: #9B2C20; --info-bg: #DCEAF6; --info: #1F4E79; --white: #FFFFFF;
  --serif: Merriweather, Georgia, serif; --sans: Roboto, system-ui, -apple-system, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--mist); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
a:hover { color: #123F66; }
h1, h2, h3 { line-height: 1.2; }
h1, h2 { font-family: var(--serif); }
h1 { text-transform: capitalize; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* test banner */
.testbar { background: #FFE58F; color: #3D2E00; font-size: 14px; text-align: center; padding: 8px 16px; }
.testbar a { color: #3D2E00; font-weight: 500; }

/* header (matches the current site: centred black logo, uppercase menu) */
.site-head { background: var(--mist); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(35,31,32,.08); }
.head-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 8px; }
.head-left { display: flex; align-items: center; gap: 16px; }
.head-left .tel { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: 1px; }
.logo { justify-self: center; display: block; }
.logo img { height: 64px; width: auto; }
.head-actions { justify-self: end; display: flex; gap: 10px; align-items: center; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; padding: 4px 24px 12px; max-width: 1240px; margin: 0 auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; font-size: 14px; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav a.nav-buy { font-weight: 700; }
.nav .nav-extra { display: none; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); padding: 0; }
@media (max-width: 960px) {
  .logo img { height: 52px; }
  .head-left .tel { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; flex-direction: column; gap: 0; padding: 0 24px 16px; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-top: 1px solid rgba(35,31,32,.12); font-size: 15px; }
  .nav .nav-extra { display: block; }
  .head-actions .acct { display: none; }
}
@media (max-width: 420px) { .logo img { height: 44px; } .head-actions .btn { padding: 0 12px; } }

/* "ORDER NOW | address" bar, as on the current site */
.orderbar { display: flex; max-width: 560px; width: 100%; margin: 0 auto; background: var(--white); box-shadow: 0 6px 24px rgba(35,31,32,.10); }
.orderbar label, .orderbar button { flex: none; background: var(--order); color: var(--ink); border: 0; padding: 0 18px; display: flex; align-items: center; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; min-height: 54px; cursor: pointer; }
.orderbar button:hover { background: var(--blue); }
.orderbar input { flex: 1; min-width: 0; border: 0; padding: 0 16px; font-size: 16px; min-height: 54px; background: var(--white); }
.orderbar input:focus { outline: 3px solid var(--accent); outline-offset: -3px; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 0; background: #000; color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: #303030; color: var(--white); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.pill { border-radius: 4px; }
.btn.blue { background: #2D6FAE; } .btn.blue:hover { background: #245C92; }
.btn.ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 4px; }
.btn.wide { width: 100%; }
.btn.danger { background: var(--white); color: var(--bad); border: 1.5px solid #E7B9B3; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-weight: 500; font-size: 15px; }
.hint { font-size: 14px; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 50px; border: 1.5px solid #9DB4BE; border-radius: 10px; padding: 0 14px; font-size: 16px; background: var(--white); }
textarea.input { padding: 12px 14px; min-height: 90px; resize: vertical; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(69,139,202,.25); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; padding: 4px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); }
.choice { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; }
.choice:has(input:checked) { border: 2px solid var(--ink); padding: 13.5px 15.5px; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.choice.disabled { opacity: .5; cursor: not-allowed; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 58px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 14px; cursor: pointer; line-height: 1.25; }
.seg label:has(input:checked) { border: 2px solid var(--ink); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg b { font-weight: 500; font-size: 15px; }

/* status */
.note { border-radius: 10px; padding: 10px 14px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.note.bad { background: var(--bad-bg); color: var(--bad); }
.note.info { background: var(--info-bg); color: var(--info); }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag.paid { background: #F1F4F6; color: var(--muted); } .tag.assigned { background: #EFE9FB; color: #4B2E83; }
.tag.onway { background: var(--info-bg); color: var(--info); } .tag.delivered { background: var(--ok-bg); color: var(--ok); }
.tag.cancelled { background: var(--bad-bg); color: var(--bad); } .tag.awaiting_payment { background: var(--warn-bg); color: var(--warn); }
.dot { width: 10px; height: 10px; border-radius: 99px; background: #2E7D4F; display: inline-block; }
.dot.off { background: #B23B2E; }

/* cards */
.card { background: var(--white); border-radius: var(--radius); padding: 20px; }
.card.bordered { border: 1.5px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price-lines { display: flex; flex-direction: column; gap: 8px; }
.price-lines .l { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.price-lines .l span:first-child { color: var(--muted); }
.price-lines .l:first-child span:first-child { color: var(--ink); }
.price-lines .t { border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.big { font-family: var(--serif); font-weight: 700; font-size: 28px; }

/* sections */
section { scroll-margin-top: 80px; }
.band { padding: 80px 0; }
.band.tight { padding: 56px 0; }
.band.mist { background: var(--mist); } .band.white { background: var(--white); } .band.sky { background: var(--white); } .band.cream { background: var(--cream); } .band.blue { background: var(--blue); } .band.ink { background: var(--ink); color: var(--white); }
.eyebrow { margin: 0; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: #24546F; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: 28px; margin: 40px 0 12px; color: var(--ink); }
.prose h3 { font-size: 20px; margin: 28px 0 8px; font-family: var(--sans); font-weight: 500; color: var(--ink); }
.prose ul { padding-left: 22px; } .prose li { margin: 6px 0; }
.page-hero { background: var(--mist); padding: 48px 0 40px; border-bottom: 1px solid rgba(35,31,32,.08); }
.page-hero h1 { font-size: 44px; margin: 8px 0 12px; }
@media (max-width: 640px) { .page-hero h1 { font-size: 32px; } .band { padding: 56px 0; } }

/* footer */
.site-foot { background: #000; color: #CDCDCD; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.site-foot a { color: #C9D8DE; }
.site-foot a:hover { color: var(--white); }
.site-foot .col { display: flex; flex-direction: column; gap: 8px; }

/* faq */
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; font-weight: 500; font-size: 17px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); }
details.faq[open] summary::after { content: '–'; }
details.faq .a { padding: 0 0 16px; color: var(--ink-2); line-height: 1.65; }

/* app shells (admin / driver / booking) */
.app { min-height: 100dvh; background: var(--sky); display: flex; flex-direction: column; }
.app-top { padding: 18px 20px 16px; }
.app-top h1 { margin: 0; font-size: 24px; }
.app-main { flex: 1; padding: 16px; max-width: 920px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.tabbar { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--line); display: grid; padding: 6px 4px calc(10px + env(safe-area-inset-bottom)); z-index: 10; }
.tabbar button { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; color: #5A6B72; padding: 6px 2px; min-height: 52px; cursor: pointer; }
.tabbar button[aria-current] { color: var(--ink); font-weight: 500; }
.list { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.list > .item { padding: 13px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.list > .item:last-child { border-bottom: 0; }
.item .t1 { font-weight: 500; font-size: 15px; }
.item .t2 { font-size: 13px; color: var(--muted); }
.stepper { display: flex; align-items: center; justify-content: space-between; }
.stepper button { width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 22px; cursor: pointer; }
.sheet-bg { position: fixed; inset: 0; background: rgba(15,26,31,.45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--white); width: 100%; max-width: 640px; max-height: 92dvh; overflow: auto; border-radius: 18px 18px 0 0; padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 18px; } }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 12px; z-index: 60; font-size: 15px; max-width: 90vw; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { font-weight: 500; color: var(--muted); font-size: 13px; }
.scroll-x { overflow-x: auto; }

/* Ask us helper */
.helper-log { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.hb { border-radius: 14px; padding: 10px 14px; max-width: 88%; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.hb.me { align-self: flex-end; background: var(--mist); }
.hb.them { align-self: flex-start; background: var(--sky); }
.hb.typing { color: var(--muted); font-style: italic; }
.helper { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; }
.helper-btn { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; font: 700 14px/1 var(--sans); letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 6px 20px rgba(35,31,32,.25); cursor: pointer; }
.helper-panel { width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 100px)); background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(35,31,32,.25); display: flex; flex-direction: column; overflow: hidden; }
.helper-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--mist); }
.helper-x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); padding: 0 4px; }
.helper-panel .helper-log { padding: 14px 16px; flex: 1; min-height: 140px; }
.helper-form { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); }
.helper-form .input { flex: 1; min-width: 0; }
.helper-note { margin: 0; padding: 0 16px 12px; font-size: 12px; color: var(--muted); }
/* booking: day and time picker */
.days { display: grid; gap: 10px; }
.day { background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 10px; }
.day.on { border-color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.slot { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); cursor: pointer; text-align: center; line-height: 1.25; font-size: 14px; color: var(--ink); }
.slot b { font-weight: 500; font-size: 15px; }
.slot span { color: var(--muted); font-size: 13px; }
.slot.on { border: 2px solid var(--ink); background: var(--ink); color: #fff; }
.slot.on span { color: #DCE6EA; }
.slot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.slot:disabled { opacity: .45; cursor: not-allowed; background: var(--cream, #f6f3ee); }
.stepper.small { gap: 6px; justify-content: flex-start; }
.stepper.small button { width: 34px; height: 34px; font-size: 18px; border-radius: 8px; }
.stepper.small span { min-width: 22px; text-align: center; font-weight: 500; }
.helper-panel[hidden] { display: none; }
/* feedback */
.star { all: unset; cursor: pointer; font-size: 34px; line-height: 1; color: var(--line-2); padding: 2px; border-radius: 6px; }
.star.on { color: #E0A100; }
.star:focus-visible, .nps button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nps { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.nps button { all: unset; box-sizing: border-box; text-align: center; min-height: 42px; line-height: 42px; border: 1.5px solid var(--line-2); border-radius: 8px; background: var(--white); cursor: pointer; font-size: 15px; }
.nps button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media print { .testbar, .site-head, .site-foot, .helper, .no-print, .orderbar { display: none !important; } body { background: #fff; } .card { box-shadow: none; } }

[hidden] { display: none !important; }
