/* קייטרינג רפאל — quote request. Black, gold and warm white, like the printed menu. */
:root {
  --ink: #15120C;
  --ink-2: #0E0C09;
  --paper: #FAF7F0;
  --card: #FFFFFF;
  --line: #EAE2CF;
  --line-2: #DCCFAF;
  --text: #1E1A12;
  --muted: #7B7262;
  --gold-1: #A9781F;
  --gold-2: #D9AE52;
  --gold-3: #F6DE9A;
  --gold-ink: #8A6316;              /* gold text that still reads on white (4.6:1) */
  --gold: linear-gradient(100deg, #9C6C17 0%, #D9AE52 28%, #F6DE9A 48%, #D3A447 66%, #A2721C 100%);
  --soft-gold: #FBF3DF;
  --ok: #2F7D4F;
  --err: #B3261E;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(30, 26, 18, 0.05), 0 8px 28px -12px rgba(30, 26, 18, 0.18);
  --font: "Assistant", "Heebo", Arial, sans-serif;
  --display: "Frank Ruhl Libre", "David Libre", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.6; }
button, input, textarea { font: inherit; color: inherit; }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- hero: black with a dusting of gold, like the menu's top edge ---- */
.hero {
  position: relative; overflow: hidden; color: #F4EEDF; text-align: center;
  background:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(246, 222, 154, 0.9), transparent 60%),
    radial-gradient(1.2px 1.2px at 28% 64%, rgba(246, 222, 154, 0.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 44% 30%, rgba(246, 222, 154, 0.8), transparent 60%),
    radial-gradient(1.1px 1.1px at 63% 76%, rgba(246, 222, 154, 0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(246, 222, 154, 0.85), transparent 60%),
    radial-gradient(1.2px 1.2px at 90% 58%, rgba(246, 222, 154, 0.7), transparent 60%),
    radial-gradient(60% 90% at 50% 120%, rgba(217, 174, 82, 0.22), transparent 70%),
    radial-gradient(50% 70% at 50% -20%, rgba(217, 174, 82, 0.12), transparent 70%),
    var(--ink-2);
  background-size: 180px 140px, 220px 170px, 160px 150px, 240px 160px, 200px 180px, 170px 130px, auto, auto, auto;
}
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--gold); }
.hero-in { position: relative; max-width: 760px; margin: 0 auto; padding: 46px 20px 40px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; padding: 18px 34px 16px; border-radius: 999px;
  border: 1.5px solid rgba(217, 174, 82, 0.7); box-shadow: inset 0 0 0 5px var(--ink-2), inset 0 0 0 6px rgba(217, 174, 82, 0.35); }
.brand-top { font-family: var(--display); font-size: 17px; letter-spacing: 0.08em; color: #EDE3C9; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 64px; margin: 2px 0 4px; letter-spacing: 0.01em; filter: drop-shadow(0 2px 10px rgba(217, 174, 82, 0.25)); }
.brand-sub { font-family: var(--display); font-size: 16px; letter-spacing: 0.06em; color: #EDE3C9; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px auto 6px; max-width: 280px; }
.ornament i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.ornament b { font-size: 10px; color: var(--gold-2); }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: 34px; margin: 6px 0 6px; color: #FFFFFF; }
.lead { margin: 0 auto; max-width: 520px; font-size: 17px; color: #D9D1BE; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: #BDB39C; }
.hero-meta span::before { content: "◆"; font-size: 8px; color: var(--gold-2); margin-inline-end: 7px; vertical-align: 2px; }
.hero-meta .kosher { color: var(--gold-3); font-weight: 600; }

/* ---- steps ---- */
.steps { position: sticky; top: 0; z-index: 20; display: flex; justify-content: center; gap: 4px; padding: 9px 10px; background: rgba(250, 247, 240, 0.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); overflow-x: auto; }
.steps a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.steps a b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; background: #EFE8D6; color: var(--muted); }
.steps a.on { color: var(--text); background: var(--soft-gold); }
.steps a.on b, .steps a.ok b { background: var(--ink); color: var(--gold-3); }

/* ---- blocks ---- */
.wrap { max-width: 920px; margin: 0 auto; padding: 22px 16px 140px; }
.block { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px 26px; margin-bottom: 18px; box-shadow: var(--shadow); }
.block-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.block-head .num { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--gold-3);
  font-family: var(--display); font-weight: 700; font-size: 18px; box-shadow: 0 0 0 3px var(--soft-gold); }
.block-head h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.25; }
.block-head p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* event type cards */
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type { position: relative; text-align: start; cursor: pointer; border: 1.5px solid var(--line); background: #FFFDF8; border-radius: var(--radius); padding: 20px 20px 18px;
  transition: border-color .18s, box-shadow .18s, transform .18s; }
.type:hover { border-color: var(--line-2); transform: translateY(-1px); }
.type .t { display: block; font-family: var(--display); font-weight: 700; font-size: 26px; margin-bottom: 4px; }
.type .b { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.type .dot { position: absolute; top: 18px; inset-inline-end: 18px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.type[aria-checked="true"] { border-color: transparent; background: linear-gradient(#FFFDF8, #FFFDF8) padding-box, var(--gold) border-box; border: 2px solid transparent;
  box-shadow: 0 10px 30px -14px rgba(169, 120, 31, 0.55); }
.type[aria-checked="true"] .dot { border: 0; background: var(--ink); box-shadow: inset 0 0 0 6px var(--gold-2); }

/* fields */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld.wide { grid-column: 1 / -1; }
.fld > span { font-size: 14.5px; font-weight: 600; }
.fld em { color: var(--gold-ink); font-style: normal; }
.fld input, .fld textarea { width: 100%; border: 1.5px solid var(--line); background: #FFFDF9; border-radius: 12px; padding: 12px 14px; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.fld input:focus, .fld textarea:focus { border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(217, 174, 82, 0.2); }
.fld input[dir="ltr"] { text-align: right; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld.bad input { border-color: var(--err); box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.1); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #F4EEDF; border-radius: 14px; }
.seg button { border: 0; background: transparent; padding: 11px 10px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 2px 8px -3px rgba(30, 26, 18, 0.25); }

/* menu sections */
.msec { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.msec:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.msec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.msec-head h3 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 700; }
.msec-head .rule { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(270deg, var(--gold-2), rgba(217, 174, 82, 0)); opacity: .55; }
.count { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; padding: 4px 12px 4px 6px; border-radius: 999px; background: #F4EEDF; color: var(--muted); }
.count .ring { --p: 0; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--gold-1) calc(var(--p) * 1%), #E3D8BE 0); display: grid; place-items: center; }
.count .ring::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #F4EEDF; }
.count.full { background: var(--ink); color: var(--gold-3); }
.count.full .ring::after { background: var(--ink); }
.msec-note { margin: -4px 0 12px; font-size: 14px; color: var(--muted); }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.item { position: relative; display: flex; align-items: flex-start; gap: 11px; width: 100%; text-align: start; cursor: pointer; padding: 12px 13px; border-radius: 13px;
  border: 1.5px solid var(--line); background: #FFFEFB; transition: border-color .15s, background-color .15s, opacity .15s; line-height: 1.45; }
.item:hover { border-color: var(--line-2); }
.item .box { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: #FFF; }
.item .box svg { width: 13px; height: 13px; opacity: 0; transform: scale(.6); transition: .15s; }
.item .nm { flex: 1; font-size: 15.5px; }
.item .x { display: inline-block; margin-inline-start: 6px; font-size: 12px; font-weight: 700; color: var(--gold-ink); white-space: nowrap; }
.item[aria-pressed="true"] { border-color: var(--gold-2); background: var(--soft-gold); }
.item[aria-pressed="true"] .box { background: var(--ink); border-color: var(--ink); }
.item[aria-pressed="true"] .box svg { opacity: 1; transform: none; }
.item[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.detail { grid-column: 1 / -1; display: none; margin: -2px 0 4px; }
.detail.show { display: block; }
.detail input { width: 100%; border: 1.5px dashed var(--line-2); background: #FFFDF6; border-radius: 11px; padding: 10px 13px; font-size: 15.5px; outline: none; }
.detail input:focus { border-style: solid; border-color: var(--gold-2); }
.incl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.incl .chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: #F2F7F3; color: var(--ok); font-size: 14.5px; font-weight: 600; }
.incl .chip::before { content: "✓"; font-weight: 700; }
.empty { text-align: center; color: var(--muted); padding: 22px 10px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); }

/* summary */
.summary { margin: 16px 0 6px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary:empty { display: none; }
.sum-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.sum-row:first-child { border-top: 0; }
.sum-row b { font-weight: 700; color: var(--gold-ink); }
.sum-row .miss { color: var(--err); }
.summary.compact .sum-row { grid-template-columns: 120px 1fr; font-size: 14px; padding: 8px 12px; }
.fine { font-size: 13.5px; color: var(--muted); margin: 12px 2px 0; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.err { color: var(--err); font-weight: 600; font-size: 15px; }

/* buttons */
.btn-gold { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none; font-weight: 700; font-size: 17px;
  color: #1A1408; padding: 15px 28px; border-radius: 999px; background: var(--gold); background-size: 160% 100%; background-position: 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 22px -8px rgba(169, 120, 31, 0.75); transition: background-position .4s, transform .15s; }
.btn-gold:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn-gold:disabled { opacity: .6; cursor: progress; }
.btn-gold.sm { font-size: 15px; padding: 10px 20px; }
.btn-ghost { border: 1.5px solid var(--line-2); background: transparent; border-radius: 999px; padding: 11px 24px; font-weight: 700; cursor: pointer; }
.btn-ghost:hover { background: var(--soft-gold); }

/* bottom dock */
.dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.dock-in { pointer-events: auto; max-width: 920px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; border-radius: 20px;
  background: rgba(21, 18, 12, 0.94); color: #F4EEDF; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.5); }
.dock-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.dock-info b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-info span { font-size: 13px; color: #BDB39C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-bar { flex: 0 0 120px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.dock-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }

/* footer */
.foot { text-align: center; padding: 28px 16px 120px; color: var(--muted); font-size: 14px; }
.foot b { font-family: var(--display); color: var(--text); font-size: 18px; }
.foot a { color: var(--gold-ink); text-decoration: none; }

/* done */
.done { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(14, 12, 9, 0.72); backdrop-filter: blur(6px); }
.done[hidden] { display: none; }
.done-card { width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--card); border-radius: 24px; padding: 30px 24px 24px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); }
.done-mark { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; color: #1A1408; background: var(--gold); }
.done-card h2 { font-family: var(--display); font-size: 28px; margin: 4px 0 6px; }
.done-card p { color: var(--muted); margin: 0 0 14px; }
.done-card .summary { text-align: start; margin-bottom: 18px; }

@media (max-width: 720px) {
  .hero-in { padding: 34px 16px 30px; }
  .brand-name { font-size: 54px; }
  .hero h1 { font-size: 29px; }
  .lead { font-size: 16px; }
  .steps { justify-content: flex-start; }
  .wrap { padding: 14px 10px 140px; }
  .block { padding: 20px 14px 22px; border-radius: 18px; }
  .block-head h2 { font-size: 22px; }
  .types, .grid, .items { grid-template-columns: 1fr; }
  .sum-row { grid-template-columns: 1fr; gap: 2px; }
  .dock-bar { display: none; }
  .btn-gold { width: 100%; }
  .btn-gold.sm { width: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* the hidden anti-bot field: off screen without widening an RTL page */
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
