/* Smart Venue & Restaurant Build-Out — warm, premium, architectural.
   Mobile-first. NO horizontal overflow at 380px. Light theme (services, not crypto). */
:root {
  --bg: #f7f2ea;          /* warm parchment */
  --bg-2: #efe6d7;        /* deeper cream */
  --panel: #ffffff;
  --panel-2: #fbf7f0;
  --line: #e6dcc9;
  --line-2: #d9c9ae;
  --ink: #241d15;         /* warm near-black */
  --ink-2: #56493a;
  --muted: #837360;
  --brand: #b9761b;       /* warm brass */
  --brand-2: #9c5f14;     /* deeper brass (text-safe on cream) */
  --accent: #2b3a44;      /* architectural slate */
  --accent-2: #1e2a32;
  --ok: #2f7d5b;
  --err: #b23b3b;
  --shadow: 0 1px 2px rgba(36,29,21,.05), 0 8px 24px rgba(36,29,21,.07);
  --radius: 16px;
  --maxw: 1040px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1200px 520px at 84% -8%, rgba(185,118,27,.13), transparent 60%),
    radial-gradient(900px 480px at -12% 4%, rgba(43,58,68,.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
a { color: var(--brand-2); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.4px; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 700; font-size: 19px; }
.logo .mark {
  width: 32px; height: 32px; min-width: 32px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; font-size: 17px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.logo .sub { font-family: var(--sans); font-weight: 600; font-size: 11px; color: var(--muted); letter-spacing: .3px; }
.nav-cta { font-size: 14px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: 15px; padding: 12px 18px;
  border-radius: 12px; cursor: pointer; text-decoration: none; max-width: 100%;
  transition: transform .06s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary {
  border: none; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 18px rgba(156,95,20,.28);
}
.btn.ghost { background: transparent; }
.btn.wide { width: 100%; }

/* ── Section scaffolding ─────────────────────────────────── */
section { padding: 34px 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(43,58,68,.09); border-radius: 999px; padding: 5px 12px;
}
.sec-title { font-size: clamp(23px, 6.5vw, 34px); line-height: 1.14; margin: 12px 0 8px; }
.sec-sub { color: var(--ink-2); max-width: 60ch; margin: 0; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 22px 0 8px; }
.hero .kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .8px;
  color: var(--brand-2); background: rgba(185,118,27,.1);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px;
}
.hero h1 { font-size: clamp(32px, 9vw, 58px); line-height: 1.05; margin: 16px 0 14px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: var(--ink-2); font-size: clamp(16px, 4.3vw, 20px); max-width: 56ch; margin: 0; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust-strip .chip {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.trust-strip .chip::before { content: "✓ "; color: var(--ok); font-weight: 800; }

/* ── Card grids ──────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card .ic { font-size: 26px; line-height: 1; }
.card h3 { font-size: 19px; margin: 12px 0 6px; }
.card p { color: var(--ink-2); margin: 0; font-size: 14.5px; }
.step .n {
  display: inline-flex; width: 30px; height: 30px; border-radius: 999px;
  align-items: center; justify-content: center; font-family: var(--serif);
  font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.venue.card h3 { font-size: 17px; }

/* ── Offer ───────────────────────────────────────────────── */
.offer-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow); display: grid; gap: 18px;
}
.offer-copy .sec-title { margin-top: 8px; }
.offer-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.offer-points li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.offer-points li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

/* ── Estimate builder ────────────────────────────────────── */
.estimate-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.est-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 20px; box-shadow: var(--shadow); margin-top: 22px;
}
.est-step { padding: 6px 0 18px; border-bottom: 1px dashed var(--line); }
.est-label { font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-btn {
  appearance: none; cursor: pointer; font-family: var(--sans);
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  background: var(--panel-2); border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 9px 13px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3;
  transition: border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.chip-btn .ci { font-size: 15px; margin-right: 4px; }
.chip-btn em { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.chip-btn:hover { border-color: var(--brand); }
.chip-btn.active { border-color: var(--brand); background: rgba(185,118,27,.1); box-shadow: 0 0 0 3px rgba(185,118,27,.12); }
.chip-row #est-venues, .chip-row { max-width: 100%; }

.size-input { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; max-width: 240px; }
.size-input label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.size-input input {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 11px; padding: 11px 12px; width: 100%; max-width: 100%;
}
.size-input input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185,118,27,.15); }

.module-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.mod-card {
  appearance: none; cursor: pointer; text-align: left; font-family: var(--sans);
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--panel-2); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 13px 14px;
  transition: border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.mod-card:hover { border-color: var(--brand); }
.mod-card.active { border-color: var(--brand); background: rgba(185,118,27,.08); box-shadow: 0 0 0 3px rgba(185,118,27,.1); }
.mc-ic { font-size: 22px; line-height: 1; min-width: 24px; }
.mc-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mc-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.mc-blurb { font-size: 12.5px; color: var(--muted); }
.mc-check {
  min-width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-2); color: transparent; font-weight: 800; font-size: 13px;
}
.mod-card.active .mc-check { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }

.est-result { margin-top: 18px; }
.est-range-wrap {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  border-radius: 16px; padding: 20px; text-align: center;
}
.est-range-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.est-range { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 8vw, 40px); line-height: 1.1; margin: 6px 0 4px; letter-spacing: -1px; }
.est-range-note { font-size: 13px; color: rgba(255,255,255,.78); }
.est-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.est-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 9px 13px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; }
.est-lines .ln-name { color: var(--ink-2); font-weight: 600; }
.est-lines .ln-val { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.est-result .btn { margin-top: 16px; }
.est-disclaimer { margin: 16px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── Bid form ────────────────────────────────────────────── */
.book-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--brand-2); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 11px;
  padding: 12px 13px; width: 100%; max-width: 100%;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185,118,27,.15);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: 12.5px; min-height: 1em; }
.scope-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scope-check {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; cursor: pointer;
}
.scope-check input { width: 16px; height: 16px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.est-summary {
  margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
  color: var(--brand-2); background: rgba(185,118,27,.1); border: 1px solid var(--line-2);
}
.form-actions { margin-top: 18px; }
.form-note { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.form-status { margin-top: 14px; padding: 13px 15px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line); }
.form-status[data-kind="ok"]  { border-color: rgba(47,125,91,.4); background: rgba(47,125,91,.09); color: #205e44; }
.form-status[data-kind="err"] { border-color: rgba(178,59,59,.4); background: rgba(178,59,59,.08); color: #8f2f2f; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; margin-top: 22px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-2); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 16px; font-size: 14.5px; }

/* ── CTA band + Footer ───────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #f4efe6; border-radius: 22px; padding: 30px 22px; text-align: center; margin: 8px 0; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 6vw, 32px); margin: 0 0 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0 auto 18px; max-width: 52ch; }
.cta-band .btn.primary { background: #fff; color: var(--accent-2); box-shadow: none; }

.foot { border-top: 1px solid var(--line); padding: 26px 0 42px; color: var(--muted); font-size: 13px; }
.foot .row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot .fine { margin-top: 12px; font-size: 12px; }

/* ── Tablet / desktop ────────────────────────────────────── */
@media (min-width: 680px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-card { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 28px; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
  .est-lines { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero h1 { max-width: 18ch; }
  section { padding: 44px 0; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}
