/* MR GOLD booking — shared styles. Brand colours live in :root; adjust them to match the main site. */
:root {
  --ink: #16201b;
  --ink-soft: #55625b;
  --paper: #f4f1ea;
  --card: #ffffff;
  --line: #e2ddd1;
  --gold: #c9a24a;
  --gold-light: #e9d18f;
  --gold-deep: #8a6d2b;
  --gold-grad: linear-gradient(100deg, #8a6d2b 0%, #b8933f 45%, #e3c983 100%);
  --gold-soft: #f3ead2;
  --dark: #121a16;
  --green: #2c4239;
  --ok: #2f7d4f;
  --danger: #b3412e;
  --radius: 4px;
  --display: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)); }

/* Header */
.top { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: .02em; }
.brand img { height: 42px; width: 42px; }
.brand b { color: var(--gold-light); font-weight: 400; }
.top a.back { font-size: 14px; color: #d8d2c4; text-decoration: none; }

/* Hero */
.hero { background: radial-gradient(120% 90% at 50% 0%, #3b5449 0%, var(--green) 45%, var(--dark) 100%); color: #fff; padding-block: 40px 52px; text-align: center; }
.hero .search { justify-content: center; max-width: 560px; margin: 0 auto; }
.hero .lede { margin-inline: auto; }
.eyebrow { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; margin: 0 0 12px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 6vw, 44px); line-height: 1.12; margin: 0 0 12px; text-wrap: balance; }
h1 em { color: var(--gold-light); font-style: italic; }
.lede { color: #dfe3df; font-size: 18px; margin: 0 0 22px; max-width: 52ch; }
.search { display: flex; gap: 10px; flex-wrap: wrap; }
.search input { flex: 1 1 220px; min-width: 0; padding: 16px 18px; border-radius: var(--radius); border: 0; background: #fff; color: var(--ink); text-transform: uppercase; font-size: 18px; letter-spacing: .04em; }
.search input::placeholder { color: #9aa29d; text-transform: none; letter-spacing: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--radius); padding: 15px 24px; font-weight: 500; font-size: 17px; letter-spacing: .02em; cursor: pointer; text-decoration: none; }
.btn-gold { background: var(--gold-grad); color: #1b1608; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; border: 1px solid var(--gold); color: var(--gold-deep); }
.btn:disabled { opacity: .55; cursor: wait; }
.msg { margin-top: 12px; font-size: 15px; }
.msg.err { color: #ffb4a4; }

/* Results */
main { padding-block: 24px 60px; }
.section-title { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 6px 0 14px; }
.note { color: var(--ink-soft); font-size: 15px; }
.pick { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; }
.pick + .pick { margin-top: 12px; }
.pick.best { border: 0; border-left: 4px solid var(--gold); box-shadow: 0 8px 28px rgba(18, 26, 22, .10); }
.tag { justify-self: start; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); }
.tag.fast { background: #e6f2ea; color: var(--ok); }
.pick h3 { margin: 4px 0 0; font-family: var(--display); font-weight: 400; font-size: 21px; }
.pick .when { font-weight: 600; font-size: 18px; }
.pick .where { color: var(--ink-soft); font-size: 15px; }
.pick .btn { margin-top: 8px; justify-self: start; }
.list { display: grid; gap: 10px; margin-top: 10px; }
.row { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.row-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.row-head b { font-size: 17px; }
.miles { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.dates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.date-btn { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 9px 12px; cursor: pointer; font-size: 14px; text-align: left; }
.date-btn:hover, .date-btn[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.date-btn small { display: block; color: var(--ink-soft); }

/* Form */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.summary { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; }
.summary b { display: block; font-size: 18px; }
label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
label span { color: var(--ink-soft); font-weight: 400; }
.field { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 16px; }
textarea.field { min-height: 80px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.err-box { color: var(--danger); margin-top: 12px; }
.small { font-size: 13px; color: var(--ink-soft); }

/* Done */
.done { text-align: center; padding: 30px 20px; }
.done .tick, .contact-ok .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-grad); color: #1b1608; display: grid; place-items: center; margin: 0 auto 14px; font-size: 32px; }
.done h2 { font-family: var(--display); font-weight: 400; margin: 0 0 8px; }

footer { background: var(--dark); color: #a8b0ab; font-size: 14px; padding-block: 28px 40px; text-align: center; }
[hidden] { display: none !important; }

main section { scroll-margin-top: 90px; }

/* Contact us */
.contact { margin: 40px 0 8px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.contact-head .section-title { margin: 0 0 6px; }
.contact-head .small { margin: 0; max-width: 520px; }
.contact .panel { margin-top: 18px; }
.contact .opt { font-weight: 400; color: var(--ink-soft); }
.contact-ok { text-align: center; padding: 10px 0; }
.contact-ok h3 { margin: 8px 0 4px; }
footer a { color: inherit; }
