/* הפלמ"ח שבתוכי · נייר ארכיון, חאקי וחלודה */
:root {
  --paper: #efe4c9;
  --paper2: #e6d7b4;
  --ink: #26211a;
  --ink2: #574c3b;
  --khaki: #6c6a3c;
  --olive: #3f4a2a;
  --rust: #b24a22;
  --rust2: #d4682f;
  --sky: #2f5d6e;
  --night: #1e1c15;
  --line: #c9b78f;
  --ok: #4a6b2a;
  --no: #8c3b22;
  --shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 30px -12px rgba(40,30,10,.45);
  --display: "Karantina", "Rubik", sans-serif;
  --serif: "Frank Ruhl Libre", "David", serif;
  --body: "Rubik", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(120,90,40,.18), transparent 60%),
    var(--paper);
  min-height: 100dvh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .27  0 0 0 0 .15  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
#app { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 18px 16px 90px; }
#app.wide { max-width: 1280px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--ink); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--rust2); outline-offset: 3px; }

/* ---------- טיפוגרפיה ---------- */
.kicker { font-family: var(--display); font-size: 22px; letter-spacing: .06em; color: var(--rust); margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
.h-display { font-family: var(--display); font-size: clamp(64px, 18vw, 120px); line-height: .82; letter-spacing: .01em; color: var(--ink); }
.h-display .red { color: var(--rust); }
.h2 { font-family: var(--display); font-size: clamp(38px, 10vw, 58px); line-height: .95; }
.h3 { font-family: var(--serif); font-weight: 900; font-size: 22px; line-height: 1.25; }
.lead { font-size: 18px; color: var(--ink2); }
.muted { color: var(--ink2); font-size: 14px; }
.stamp {
  display: inline-block; font-family: var(--display); font-size: 22px; letter-spacing: .08em;
  color: var(--rust); border: 3px solid var(--rust); padding: 0 12px; border-radius: 6px;
  transform: rotate(-4deg); opacity: .85;
}

/* ---------- כרטיסים ---------- */
.card {
  background: linear-gradient(180deg, #f7efda, #efe2c2);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
}
.card + .card { margin-top: 14px; }
.photo {
  position: relative; margin: 0 auto 6px; background: #fff8e8; padding: 10px 10px 34px;
  box-shadow: 0 12px 26px -10px rgba(30,20,0,.55); transform: rotate(-1.4deg); width: min(100%, 520px);
}
.photo:nth-of-type(even) { transform: rotate(1.2deg); }
.photo img { filter: sepia(.45) contrast(1.05) brightness(.97); width: 100%; height: auto; max-height: 46vh; object-fit: cover; object-position: center 25%; background: #d9c9a0; aspect-ratio: auto; }
.photo figcaption { position: absolute; bottom: 7px; inset-inline: 10px; font-family: var(--serif); font-size: 13px; color: var(--ink2); text-align: center; }
.photo::before {
  content: ""; position: absolute; top: -10px; inset-inline-start: 40%; width: 90px; height: 24px;
  background: rgba(214,196,150,.75); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 4px; border: 0;
  background: var(--olive); color: #f6efd9; font-weight: 700; font-size: 18px;
  box-shadow: 0 3px 0 #252b18, 0 10px 20px -10px rgba(0,0,0,.5);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
  touch-action: manipulation;
}
.btn:hover { background: #4b5832; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #252b18; }
.btn.rust { background: var(--rust); box-shadow: 0 3px 0 #6e2c13, 0 10px 20px -10px rgba(0,0,0,.5); }
.btn.rust:hover { background: #c4552a; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink2); }
.btn.small { min-height: 40px; font-size: 15px; padding: 0 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; }
.spacer { height: 18px; }

/* ---------- פתיחה ---------- */
.hero { text-align: center; padding-top: 12px; }
.hero .photo { margin-top: 22px; }
.hero .photo img { max-height: 40vh; }
.field { display: block; text-align: start; margin-top: 18px; }
.field span { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 4px;
  background: #fbf6e8; font-size: 18px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--olive); outline: none; }

/* ---------- התקדמות ---------- */
.progress { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--display); font-size: 22px; color: var(--ink2); }
.progress .bar { flex: 1; height: 8px; background: var(--paper2); border-radius: 99px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.15); }
.progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--rust), var(--rust2)); border-radius: 99px; transition: width .5s ease; }

/* ---------- שאלה ---------- */
.q-year { font-family: var(--display); font-size: 70px; line-height: .8; color: var(--rust); opacity: .9; }
.q-text { font-family: var(--serif); font-size: 21px; line-height: 1.45; font-weight: 500; margin: 8px 0 4px; }
.q-ask { font-family: var(--display); font-size: 40px; margin: 10px 0 12px; }
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yesno .btn { min-height: 64px; font-size: 22px; }
.yesno .yes { background: var(--ok); box-shadow: 0 3px 0 #2c4218; }
.yesno .no { background: var(--no); box-shadow: 0 3px 0 #4d1f10; }
.reveal { margin-top: 16px; animation: rise .5s ease both; }
.reveal .tag { font-family: var(--display); font-size: 22px; color: var(--rust); letter-spacing: .04em; }
.pct { margin-top: 12px; }
.pct .lbl { display: flex; justify-content: space-between; font-weight: 500; font-size: 15px; }
.pct .track { height: 26px; border-radius: 4px; overflow: hidden; display: flex; background: var(--paper2); margin-top: 6px; }
.pct .track .y { background: var(--ok); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.pct .track .n { background: var(--no); transition: width .8s cubic-bezier(.2,.8,.2,1); }

/* ---------- אמריקאית ---------- */
.place { display: inline-block; background: var(--olive); color: #f6efd9; font-weight: 700; padding: 4px 12px; border-radius: 3px; font-size: 15px; }
.opts { display: grid; gap: 10px; margin-top: 14px; }
.opt {
  text-align: start; background: #fbf6e8; border: 2px solid var(--line); border-radius: 5px; padding: 14px 16px;
  font-size: 17px; line-height: 1.4; min-height: 56px; display: flex; gap: 12px; align-items: flex-start;
  transition: border-color .2s, background .2s, transform .1s;
}
.opt:hover { border-color: var(--khaki); }
.opt:active { transform: scale(.99); }
.opt .l { font-family: var(--display); font-size: 26px; line-height: .9; color: var(--rust); min-width: 18px; }
.opt.picked { border-color: var(--rust); background: #fff3df; }
.opt.dim { opacity: .45; }
.valuebox {
  margin-top: 12px; display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: start;
  background: #2f2c1f; color: #f3e9cf; border-radius: 5px; padding: 14px; animation: rise .45s ease both;
}
.valuebox img { width: 74px; height: 74px; object-fit: cover; border-radius: 50%; filter: sepia(.5); border: 2px solid #c9b78f; }
.valuebox .vn { font-family: var(--display); font-size: 34px; line-height: .9; color: #f7c06a; }
.valuebox .vw { font-size: 13px; color: #cbbd99; }
.valuebox p { margin: 6px 0 0; font-size: 15px; }
.valuebox .you { font-weight: 700; color: #fff; }

/* ---------- ציטוט ---------- */
.quote { min-height: 70dvh; display: grid; place-content: center; text-align: center; padding: 20px 6px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 8vw, 50px); line-height: 1.2; }
.quote blockquote::before { content: "\""; display: block; font-family: var(--display); font-size: 120px; line-height: .5; color: var(--rust); }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--display); font-size: 26px; color: var(--ink2); }

/* ---------- פרופיל ---------- */
.profile { text-align: center; }
.profile .big { width: 160px; height: 160px; margin: 12px auto; border-radius: 50%; overflow: hidden; border: 5px solid #fff8e8; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.profile .big img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.45); }
.vbars { display: grid; gap: 8px; margin-top: 14px; text-align: start; }
.vbar { display: grid; grid-template-columns: 110px 1fr 22px; align-items: center; gap: 8px; font-size: 15px; }
.vbar .t { height: 14px; background: var(--paper2); border-radius: 99px; overflow: hidden; }
.vbar .t i { display: block; height: 100%; background: var(--khaki); border-radius: 99px; transition: width .9s ease; }
.vbar.top .t i { background: var(--rust); }
.vbar.top { font-weight: 700; }

/* ---------- אז והיום ---------- */
.thennow { display: grid; gap: 10px; margin-top: 14px; }
.tn { display: grid; grid-template-columns: 1fr 26px 1fr; gap: 8px; align-items: center; animation: rise .5s ease both; }
.tn > div { padding: 10px 12px; border-radius: 4px; font-size: 15px; line-height: 1.35; }
.tn .t { background: #d9c9a0; color: #3c3322; font-family: var(--serif); }
.tn .n { background: var(--olive); color: #f6efd9; font-weight: 500; }
.tn .arr { font-family: var(--display); font-size: 30px; color: var(--rust); text-align: center; }

/* ---------- בחירת ערך לחיזוק ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { border: 2px solid var(--line); background: #fbf6e8; border-radius: 99px; padding: 8px 14px; font-weight: 500; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--rust); border-color: var(--rust); color: #fff; }

/* ---------- תעודה ---------- */
.cert-wrap { margin-top: 10px; }
.cert-wrap canvas { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 16px 40px -14px rgba(0,0,0,.55); }

/* ---------- מדורה ---------- */
.fire { background: radial-gradient(120% 90% at 50% 100%, #5a2a10 0%, #2a1a0d 45%, #14110b 100%); color: #f3e9cf; border-radius: 8px; padding: 20px 16px; position: relative; overflow: hidden; }
.fire h3 { font-family: var(--display); font-size: 40px; color: #f7c06a; margin: 0; text-align: center; }
.fire .sub { text-align: center; color: #cbbd99; font-size: 14px; }
.sparks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.spark { background: rgba(255,200,120,.08); border: 1px solid rgba(255,190,110,.35); border-radius: 6px; padding: 10px 12px; max-width: 280px; font-size: 15px; animation: glow 3.2s ease-in-out infinite alternate, rise .6s ease both; }
.spark b { color: #f7c06a; font-family: var(--display); font-size: 22px; font-weight: 400; display: block; line-height: 1; }
.spark .nm { color: #b8a77f; font-size: 12px; margin-top: 4px; }
.flame { width: 70px; height: 90px; margin: 0 auto 6px; position: relative; }
.flame i { position: absolute; bottom: 0; left: 50%; width: 46px; height: 76px; margin-left: -23px; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; background: radial-gradient(circle at 50% 75%, #ffe9a8, #f59e2a 45%, #c2410c 75%, transparent 76%); animation: flick 1.1s ease-in-out infinite alternate; filter: blur(.4px); }
.flame i:nth-child(2) { width: 30px; height: 50px; margin-left: -15px; animation-duration: .8s; opacity: .85; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes glow { from { box-shadow: 0 0 0 rgba(255,170,80,0); } to { box-shadow: 0 0 18px rgba(255,170,80,.25); } }
@keyframes flick { from { transform: scaleY(1) rotate(-2deg); } to { transform: scaleY(1.08) rotate(2deg); } }

/* ---------- ניהול ---------- */
.adm-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.adm-top .h2 { font-size: clamp(40px, 6vw, 70px); }
.kpis { display: flex; gap: 12px; flex-wrap: wrap; }
.kpi { background: #2f2c1f; color: #f3e9cf; border-radius: 6px; padding: 10px 18px; min-width: 120px; }
.kpi b { display: block; font-family: var(--display); font-size: 54px; line-height: .9; color: #f7c06a; font-weight: 400; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 13px; color: #cbbd99; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 3px solid var(--ink); margin: 16px 0 14px; }
.tab { border: 0; background: var(--paper2); padding: 10px 16px; font-weight: 700; border-radius: 5px 5px 0 0; min-height: 44px; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.aq { background: #fbf6e8; border: 1px solid var(--line); border-radius: 6px; padding: 14px; }
.aq .n { font-family: var(--display); font-size: 30px; color: var(--rust); line-height: .9; }
.aq .q { font-size: 15px; margin: 4px 0 8px; min-height: 3em; }
.aq .big { display: flex; justify-content: space-between; font-family: var(--display); font-size: 40px; line-height: 1; }
.aq .big .y { color: var(--ok); } .aq .big .no { color: var(--no); }
.aq .small { font-size: 13px; color: var(--ink2); }
.bopt { display: grid; grid-template-columns: 1fr 52px; gap: 8px; align-items: center; font-size: 14px; margin-top: 6px; }
.bopt .t { position: relative; background: var(--paper2); border-radius: 3px; overflow: hidden; padding: 5px 8px; }
.bopt .t i { position: absolute; inset-block: 0; inset-inline-start: 0; background: rgba(108,106,60,.35); transition: width .8s ease; }
.bopt .t span { position: relative; }
.bopt .t em { position: relative; font-style: normal; color: var(--rust); font-weight: 700; }
.bopt .p { font-family: var(--display); font-size: 24px; text-align: end; }
.vtotal { display: grid; gap: 10px; }
.vtotal .vbar { grid-template-columns: 150px 1fr 60px; font-size: 18px; }
.vtotal .vbar .t { height: 26px; }
.qrbox { display: flex; gap: 16px; align-items: center; background: #fff; padding: 12px; border-radius: 6px; box-shadow: var(--shadow); }
.qrbox .qr { width: 132px; height: 132px; }
.qrbox .qr svg, .qrbox .qr img { width: 100%; height: 100%; }
.qrbox .u { font-size: 14px; word-break: break-all; direction: ltr; text-align: left; color: var(--ink2); }
.glist { display: grid; gap: 10px; }
.gitem { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; background: #fbf6e8; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; }
.gitem .nm { font-weight: 700; font-size: 18px; }
.gitem .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.newlinks { background: #2f2c1f; color: #f3e9cf; border-radius: 6px; padding: 14px; margin-top: 10px; }
.newlinks code { display: block; direction: ltr; text-align: left; background: rgba(255,255,255,.08); padding: 8px; border-radius: 4px; word-break: break-all; margin: 4px 0 10px; font-size: 13px; }
.sel { min-height: 44px; padding: 0 10px; border: 2px solid var(--line); border-radius: 4px; background: #fbf6e8; font-weight: 500; }
.proj .aq .q { font-size: 18px; }
.proj .aq .big { font-size: 56px; }

#toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 6px; opacity: 0; transition: .25s; z-index: 9; pointer-events: none; font-weight: 500; max-width: calc(100vw - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 720px) {
  #app { padding-top: 34px; }
  .q-text { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.yesno .btn.chosen { opacity: 1; outline: 3px solid var(--ink); outline-offset: 2px; }
.valuebox img { object-position: center 30%; }

/* ============ דף הנחיתה ============ */
.topnav { position: sticky; top: 0; z-index: 5; margin: -18px -16px 0; padding: 0 16px; background: rgba(38,33,26,.94); backdrop-filter: blur(8px); color: #f3e9cf; }
.navwrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-size: 28px; letter-spacing: .03em; }
.brand .mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--rust); color: #fff; border-radius: 50%; font-size: 24px; }
.pills { display: flex; gap: 4px; margin-inline-start: auto; }
.pills a { color: #e8dcbc; text-decoration: none; padding: 8px 12px; border-radius: 99px; font-weight: 500; font-size: 15px; }
.pills a:hover { background: rgba(255,255,255,.1); }
.navadm { background: #f7c06a; color: #26211a; box-shadow: none; }
.navadm:hover { background: #ffd28a; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #d23b1e; box-shadow: 0 0 0 0 rgba(210,59,30,.6); animation: pulse 1.6s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(210,59,30,.55); } 70% { box-shadow: 0 0 0 10px rgba(210,59,30,0); } 100% { box-shadow: 0 0 0 0 rgba(210,59,30,0); } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--rust); background: rgba(178,74,34,.09); padding: 6px 12px; border-radius: 99px; font-size: 15px; }
.lhero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 46px 0 30px; }
.lhero .h-display { font-size: clamp(80px, 11vw, 168px); margin-top: 12px; }
.lhero .lead { font-size: 19px; max-width: 34em; }
.lkpis { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.lkpis > div { background: #2f2c1f; color: #f3e9cf; border-radius: 6px; padding: 10px 16px; min-width: 128px; box-shadow: var(--shadow); }
.lkpis b { display: block; font-family: var(--display); font-weight: 400; font-size: 52px; line-height: .9; color: #f7c06a; font-variant-numeric: tabular-nums; }
.lkpis span { font-size: 13px; color: #cbbd99; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.big { min-height: 64px; font-size: 22px; padding: 0 38px; }
a.btn { text-decoration: none; }
.collage { position: relative; height: 560px; }
.collage .photo { position: absolute; margin: 0; }
.collage .photo img { max-height: none; height: 100%; }
.collage .c1 { width: 62%; height: 64%; top: 0; inset-inline-start: 4%; transform: rotate(-3deg); z-index: 2; }
.collage .c2 { width: 54%; height: 44%; bottom: 4%; inset-inline-end: 0; transform: rotate(4deg); z-index: 3; }
.collage .c3 { width: 50%; height: 40%; bottom: 0; inset-inline-start: 0; transform: rotate(-6deg); z-index: 1; }
.collage .photo img { height: calc(100% - 0px); }
.collage .c1 img, .collage .c2 img, .collage .c3 img { height: 100%; object-fit: cover; }
.collage .photo { padding-bottom: 30px; }
.collage .photo > img { height: 100%; }
.hstamp { position: absolute; top: 8%; inset-inline-end: 4%; z-index: 4; font-size: 30px; background: rgba(239,228,201,.85); }
.lsec { padding: 46px 0 10px; border-top: 2px dashed var(--line); margin-top: 20px; }
.subh { margin: 26px 0 12px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.step { background: #fbf6e8; border: 1px solid var(--line); border-radius: 6px; padding: 18px; box-shadow: var(--shadow); position: relative; }
.step b { font-family: var(--display); font-size: 64px; line-height: .8; color: var(--rust); font-weight: 400; }
.step h3 { font-family: var(--serif); font-size: 20px; margin: 6px 0; }
.step p { margin: 0; color: var(--ink2); font-size: 15px; }
.bigq { margin: 34px auto 0; max-width: 820px; text-align: center; font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 4vw, 46px); line-height: 1.2; }
.bigq cite { display: block; font-style: normal; font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--ink2); margin-top: 10px; }
.valtop { display: grid; grid-template-columns: auto 1fr 1.4fr; gap: 20px; align-items: center; }
.lfoot { text-align: center; padding: 40px 0 10px; }
.lfoot .muted { margin-top: 18px; }

/* ---------- נימוקים ---------- */
.reason { margin-top: 14px; background: rgba(108,106,60,.08); border: 1px dashed var(--khaki); border-radius: 6px; padding: 10px 12px; }
.reason label { font-weight: 700; font-size: 15px; display: block; margin-bottom: 6px; }
.reason-row { display: flex; gap: 8px; }
.reason-row input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 4px; background: #fbf6e8; font-size: 16px; }
.reason .muted { margin-top: 4px; color: var(--ok); }
.valuebox + .reason { margin-top: 12px; }
.others { display: grid; gap: 6px; margin-top: 10px; }
.rchip { display: flex; gap: 8px; align-items: baseline; background: #fff8e8; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; font-size: 14px; line-height: 1.35; animation: rise .4s ease both; }
.rchip em { margin-inline-start: auto; font-style: normal; color: var(--ink2); font-size: 12px; white-space: nowrap; }
.rtag { flex: none; font-weight: 700; font-size: 12px; padding: 1px 8px; border-radius: 99px; color: #fff; }
.rtag.ry { background: var(--ok); } .rtag.rn { background: var(--no); } .rtag.rv { background: var(--khaki); }

/* ---------- סרגל עליון בזרימה ---------- */
.flowbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--ink2); font-weight: 500; }
.linkbtn { background: none; border: 0; padding: 8px 0; font-weight: 700; color: var(--olive); text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }

/* ---------- חלון כניסה ---------- */
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(20,17,11,.6); display: grid; place-items: center; padding: 16px; animation: rise .2s ease both; }
.modal-box { position: relative; width: min(420px, 100%); background: linear-gradient(180deg, #f7efda, #efe2c2); border-radius: 8px; padding: 26px 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.modal-box .x { position: absolute; top: 8px; inset-inline-end: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--ink2); }
.modal-box input { text-align: center; font-size: 30px !important; letter-spacing: .3em; direction: ltr; }

@media (max-width: 900px) {
  .lhero { grid-template-columns: 1fr; gap: 10px; padding-top: 24px; }
  .collage { height: 340px; margin-top: 18px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .valtop { grid-template-columns: auto 1fr; }
  .valtop .vtotal { grid-column: 1 / -1; }
  .pills { display: none; }
  .navadm { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .lkpis > div { min-width: 0; flex: 1; padding: 8px 10px; }
  .lkpis b { font-size: 40px; }
  .btn.big { width: 100%; }
  .collage { height: 300px; }
  .vtotal .vbar { grid-template-columns: 100px 1fr 44px; font-size: 15px; }
  .brand { font-size: 24px; }
}

.mcta { display: none; }
@media (max-width: 900px) {
  .mcta { display: flex; opacity: 0; transform: translateY(90px); pointer-events: none; transition: opacity .25s, transform .25s; position: fixed; bottom: 12px; inset-inline: 16px; z-index: 6; min-height: 58px; font-size: 20px; box-shadow: 0 3px 0 #6e2c13, 0 14px 30px -8px rgba(0,0,0,.55); }
  .lhero .lead { font-size: 17px; }
  .lhero .h-display { font-size: 92px; }
  .lfoot { padding-bottom: 70px; }
}

.mcta.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- ניהול בטלפון ---------- */
@media (max-width: 640px) {
  .adm-top { gap: 10px; }
  .adm-top .h2 { font-size: 40px; }
  .kpis { width: 100%; }
  .kpi { flex: 1; min-width: 0; }
  .qrbox { flex-direction: column; align-items: stretch; text-align: center; }
  .qrbox .qr { width: 150px; height: 150px; margin: 0 auto; }
  .qrbox .u { text-align: center; }
  .qrbox .row { display: grid; grid-template-columns: 1fr 1fr; }
  .qrbox .row .btn { width: 100%; }
  .qrbox .row #projbtn { grid-column: 1 / -1; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; white-space: nowrap; }
  .gitem { grid-template-columns: 1fr; }
  .gitem .acts { justify-content: flex-start; }
  .newlinks .row .btn { flex: 1; }
  .sel { width: 100%; }
  .adm-top label.row { width: 100%; }
  .aq .big { font-size: 34px; }
  .valtop .h2, .card .h2 { font-size: 40px; }
}

/* ---------- קצב: מסך המתנה לבנות ---------- */
.waitbox { text-align: center; padding: 8vh 6px 4vh; }
.waitbox .flame { margin-bottom: 12px; }
.waitbox .lead { max-width: 26em; margin: 10px auto 0; }
.dots { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--rust); animation: dot 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.btn.waiting { background: var(--paper2) !important; color: var(--ink2) !important; box-shadow: inset 0 0 0 2px var(--line) !important; opacity: 1 !important; font-size: 16px; }
.btn.opened { animation: pop .5s ease both; background: var(--ok); box-shadow: 0 3px 0 #2c4218; }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: none; } }

/* ---------- קצב: תיבת השליטה של הרכזת ---------- */
.pacebox { margin-top: 14px; background: #2f2c1f; color: #f3e9cf; border-radius: 8px; padding: 16px 18px; box-shadow: var(--shadow); border-inline-start: 6px solid var(--rust2); }
.pacebox .ph { font-size: 14px; color: #cbbd99; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.pacebox .pt { font-family: var(--display); font-size: 40px; line-height: 1; color: #f7c06a; margin-top: 6px; }
.pacebox .ps { margin-top: 8px; font-size: 15px; display: grid; gap: 6px; }
.pacebox .ps .pq { color: #e8dcbc; }
.pacebox .ps .pc b { font-family: var(--display); font-size: 28px; color: #fff; font-weight: 400; }
.pacebox .pb { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.pacebox .btn.ghost { color: #f3e9cf; box-shadow: inset 0 0 0 2px #8a7e62; }

/* ---------- הקרנה: הרגע הפתוח בגדול ---------- */
.projq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.projq .photo img { max-height: 58vh; }
.projq .q-text { font-size: 30px; }
.projq .q-ask { font-size: 56px; }
.big2 { display: flex; justify-content: space-between; font-family: var(--display); font-size: 72px; line-height: 1; margin-top: 6px; }
.big2 .y { color: var(--ok); } .big2 .no { color: var(--no); }
.proj .others .rchip { font-size: 18px; }

@media (max-width: 640px) {
  .pacebox .pt { font-size: 32px; }
  .pacebox .pb .btn { width: 100%; }
  .projq { grid-template-columns: 1fr; }
  .projq .q-text { font-size: 20px; }
  .projq .q-ask { font-size: 36px; }
  .big2 { font-size: 44px; }
}
