/* ============================================================
   ערכת נושא v2 — "כחול בנקאי" ברמת פרימיום
   שכבות: טוקנים → תאורה (צל כפול) → תנועה → קומפוננטות
   מעבר ל"אור יום": מחליפים רק את הטוקנים בבלוק :root
   ============================================================ */
:root {
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --ink: #0B1220;
  --sub: #475467;
  --faint: #98A2B3;
  --line: rgba(11, 18, 32, .07);
  --line-strong: rgba(11, 18, 32, .12);
  --accent: #1D5BD8;
  --accent-2: #2E6FEB;
  --accent-deep: #1546AB;
  --accent-wash: #EAF0FB;
  --accent-ring: rgba(29, 91, 216, .16);
  --ok: #12A150;
  --ok-deep: #0B6E3A;
  --ok-wash: #E9F7EF;
  --warn: #B54708;
  --warn-wash: #FEF3E2;
  --bad: #D92D20;
  --bad-wash: #FDECE9;
  --plate: #FFD60A;
  --plate-band: #003EA8;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --sh-sm: 0 1px 2px rgba(11,18,32,.05), 0 1px 3px rgba(11,18,32,.05);
  --sh-md: 0 1px 2px rgba(11,18,32,.04), 0 10px 28px -8px rgba(11,18,32,.12);
  --sh-lg: 0 2px 4px rgba(11,18,32,.05), 0 24px 48px -12px rgba(11,18,32,.18);
  --sh-accent: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 4px rgba(21,70,171,.25), 0 14px 32px -8px rgba(29,91,216,.5);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Assistant", "Segoe UI", sans-serif;
  line-height: 1.6;
  position: relative;
}
/* הילת אור עדינה בראש הדף — עומק בלי רעש */
body::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 520px;
  background:
    radial-gradient(560px 300px at 78% -60px, rgba(29,91,216,.09), transparent 70%),
    radial-gradient(480px 260px at 18% -80px, rgba(18,161,80,.05), transparent 70%);
  pointer-events: none;
}
main, header, footer { position: relative; }

a { color: var(--accent-deep); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--accent); }
.ic { flex-shrink: 0; vertical-align: -3px; }

/* ---------- ניווט: זכוכית ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.nav-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.2rem; color: var(--accent); letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 600; }
.nav-links a { padding: 7px 13px; border-radius: 999px; color: var(--sub); transition: all .15s var(--ease); }
.nav-links a:hover { background: var(--accent-wash); color: var(--accent-deep); }

.wrap { max-width: 44rem; margin: 0 auto; padding: 1.6rem 1.15rem 4rem; }

/* ---------- טיפוגרפיה: ניגודיות דרמטית ---------- */
h1 {
  font-weight: 800;
  font-size: clamp(1.9rem, 5.5vw, 2.7rem);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: .9rem 0 .55rem;
  text-wrap: balance;
}
h2 { font-weight: 800; font-size: 1.35rem; letter-spacing: -.025em; margin: 2rem 0 .7rem; }
.lede { color: var(--sub); font-weight: 300; font-size: 1.1rem; line-height: 1.55; margin: 0 0 1.5rem; }
.num, .price, .stat .n { font-family: "Heebo", sans-serif; font-variant-numeric: tabular-nums; }

/* ---------- תנועה ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drawCheck { from { stroke-dashoffset: 48; } to { stroke-dashoffset: 0; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.85); } 60% { transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
.card, .how-step, .offer-card, .stat, .hero { animation: rise .55s var(--ease) both; }
.stack > *:nth-child(2), .how > *:nth-child(2), .stat-row > *:nth-child(2) { animation-delay: .06s; }
.stack > *:nth-child(3), .how > *:nth-child(3), .stat-row > *:nth-child(3) { animation-delay: .12s; }
.stack > *:nth-child(4), .how > *:nth-child(4), .stat-row > *:nth-child(4) { animation-delay: .18s; }
.stack > *:nth-child(n+5), .how > *:nth-child(n+5) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- משטחים ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--sh-md);
}
.stack { display: flex; flex-direction: column; gap: 1rem; }

/* ---------- כפתורים: אור פנימי + עומק + לחיצה ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; min-height: 54px; padding: 0 1.7rem;
  font-family: inherit; font-weight: 800; font-size: 1.02rem; cursor: pointer;
  border: none; text-decoration: none;
  transition: transform .12s var(--ease), box-shadow .2s var(--ease), filter .15s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-ring); }
.btn-primary {
  background: linear-gradient(160deg, var(--accent-2) 0%, var(--accent) 55%, var(--accent-deep) 130%);
  color: #fff;
  box-shadow: var(--sh-accent);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 8px rgba(21,70,171,.28), 0 18px 40px -10px rgba(29,91,216,.55); }
.btn-secondary { background: var(--card); color: var(--accent-deep); border: 1.5px solid var(--line-strong); box-shadow: var(--sh-sm); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--sh-md); }
.btn-ghost { background: var(--accent-wash); color: var(--accent-deep); }
.btn-ghost:hover { background: #DFE9FA; }
.btn-full { width: 100%; }
.btn-sm { min-height: 44px; font-size: .9rem; padding: 0 1.15rem; }
.btn-link { background: none; border: none; color: var(--sub); font-family: inherit; font-size: .88rem; cursor: pointer; margin-top: .5rem; width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- אינפוטים ---------- */
.input {
  width: 100%; border: 1.5px solid var(--line-strong); border-radius: 15px; background: var(--card);
  min-height: 54px; padding: 0 1.05rem; font-family: inherit; font-size: 1.02rem; color: var(--ink);
  margin-bottom: .75rem; box-shadow: var(--sh-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input::placeholder { color: var(--faint); font-weight: 300; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
textarea.input { padding: .85rem 1.05rem; min-height: 84px; resize: vertical; }
.input-code { font-family: "Heebo", sans-serif; font-size: 1.7rem; letter-spacing: .55em; text-align: center; font-weight: 800; }
.input-plate {
  text-align: center; font-family: "Heebo", sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: 3px;
  background: linear-gradient(180deg, #FFE04A 0%, var(--plate) 100%);
  border: 2px solid #101820; color: #101820; margin-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px rgba(200,160,0,.28);
}
.input-plate::placeholder { color: rgba(16,24,32,.45); font-weight: 700; }
.input-plate:focus { border-color: #101820; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 4px rgba(255,214,10,.35); }
.label { font-size: .82rem; font-weight: 700; color: var(--sub); letter-spacing: .01em; margin: 0 0 .4rem; display: block; }
.hint { font-size: .8rem; color: var(--faint); margin: -.25rem 0 .7rem; }
.req-badge { background: var(--accent-wash); color: var(--accent-deep); border-radius: 999px; padding: 1px 9px; font-size: .67rem; font-weight: 800; margin-inline-start: 6px; vertical-align: 1px; }

/* ---------- צ'יפים ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .8rem; }
.chip {
  border-radius: 999px; padding: 9px 16px; font-size: .9rem; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line-strong); color: var(--sub); font-family: inherit;
  box-shadow: var(--sh-sm);
  transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip.on { background: var(--accent-wash); border-color: var(--accent); color: var(--accent-deep); font-weight: 700; }
span.chip { cursor: default; box-shadow: none; }
span.chip:hover { border-color: var(--accent); }

/* ---------- באדג'ים ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .01em; }
.badge-ok { background: var(--ok-wash); color: var(--ok-deep); box-shadow: inset 0 0 0 1px rgba(18,161,80,.18); }
.badge-blue { background: var(--accent-wash); color: var(--accent-deep); box-shadow: inset 0 0 0 1px rgba(29,91,216,.14); }
.badge-warn { background: var(--warn-wash); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(181,71,8,.16); }
.badge-bad { background: var(--bad-wash); color: var(--bad); box-shadow: inset 0 0 0 1px rgba(217,45,32,.16); }

/* ---------- לוחית רישוי ---------- */
.plate { direction: ltr; display: inline-flex; border-radius: 9px; overflow: hidden; box-shadow: 0 2px 4px rgba(11,18,32,.15), 0 10px 24px -6px rgba(200,160,0,.4); vertical-align: middle; }
.plate .il { background: var(--plate-band); color: #fff; font-family: "Heebo", sans-serif; font-weight: 700; font-size: .6rem; display: flex; align-items: center; padding: 0 6px; }
.plate .num { background: linear-gradient(180deg, #FFE04A, var(--plate)); color: #101820; font-family: "Heebo", sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: 2px; padding: 5px 13px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.plate.plate-lg .num { font-size: 1.7rem; padding: 10px 22px; letter-spacing: 3px; }

/* ---------- כרטיס אימות: הרגע של המותג ---------- */
.verify-card {
  border: 1.5px solid rgba(18,161,80,.4); border-radius: var(--r-md);
  background: linear-gradient(180deg, #F2FBF5 0%, var(--ok-wash) 100%);
  padding: 1.05rem 1.15rem;
  box-shadow: 0 1px 2px rgba(18,161,80,.08), 0 12px 28px -10px rgba(18,161,80,.25);
  animation: popIn .45s var(--ease) both;
}
.verify-title { display: flex; align-items: center; gap: 7px; color: var(--ok-deep); font-size: .84rem; font-weight: 800; margin-bottom: .45rem; }
.verify-title .ic path:last-child { stroke-dasharray: 48; animation: drawCheck .7s .2s var(--ease) both; }
.kv { display: flex; justify-content: space-between; font-size: .94rem; padding: 3px 0; }
.kv .k { color: var(--sub); font-weight: 300; }
.kv .v { font-weight: 700; }

/* ---------- שרשרת האמון ---------- */
.chain { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 4px; row-gap: 12px; }
.chain-node { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.chain-ava {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .82rem;
  background: var(--card); color: var(--accent-deep);
  box-shadow: inset 0 0 0 1.5px rgba(29,91,216,.35), var(--sh-sm);
}
.chain-ava.buyer { background: linear-gradient(150deg, var(--accent-2), var(--accent-deep)); color: #fff; box-shadow: 0 6px 16px -4px rgba(29,91,216,.55); }
.chain-ava.seller { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--sub); border: none; }
.chain-name { font-size: .68rem; color: var(--sub); font-weight: 600; max-width: 66px; text-align: center; line-height: 1.25; }
.chain-sep { color: var(--faint); margin: 14px 2px 0; }

/* ---------- סטטיסטיקות ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; margin: 1rem 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: .9rem 1rem; text-align: center; box-shadow: var(--sh-sm); }
.stat .n { font-weight: 800; font-size: 1.4rem; color: var(--accent); }
.stat .t { font-size: .74rem; color: var(--sub); line-height: 1.35; margin-top: .15rem; }

/* ---------- כרטיסי הצעות ---------- */
.offer-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.2rem 1.3rem; box-shadow: var(--sh-md);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.offer-card:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.offer-card.blocked { background: var(--bad-wash); border-color: rgba(217,45,32,.22); box-shadow: var(--sh-sm); }
.offer-card.blocked:hover { transform: none; }
.offer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.offer-title { font-weight: 800; font-size: 1.08rem; letter-spacing: -.015em; }
.offer-sub { font-size: .84rem; color: var(--sub); }
.price { font-weight: 800; font-size: 1.25rem; }
.chain-box { background: linear-gradient(180deg, #F4F7FB, #EFF3F9); border-radius: var(--r-md); padding: .9rem 1rem; margin: .9rem 0; }
.chain-box .cb-title { font-size: .68rem; font-weight: 800; color: var(--accent-deep); letter-spacing: .09em; margin-bottom: .6rem; }
.chain-note { font-size: .76rem; color: var(--faint); margin-top: .55rem; }

/* ---------- הודעות ---------- */
.err { color: var(--bad); font-size: .88rem; min-height: 1.2em; margin-top: .4rem; }
.notice { border-radius: var(--r-md); padding: .95rem 1.15rem; font-size: .92rem; margin: .8rem 0; display: flex; gap: 10px; align-items: flex-start; box-shadow: var(--sh-sm); }
.notice .ic { margin-top: 2px; }
.notice-warn { background: var(--warn-wash); color: var(--warn); }
.notice-ok { background: var(--ok-wash); color: var(--ok-deep); }
.notice-blue { background: var(--accent-wash); color: var(--accent-deep); }

.footer { max-width: 44rem; margin: 0 auto; padding: 1.6rem 1.15rem 2.6rem; border-top: 1px solid var(--line); color: var(--sub); font-size: .85rem; text-align: center; }
.footer-links { margin-top: .4rem; }
.footer-note { margin-top: .6rem; font-size: .74rem; color: var(--faint); }

/* ---------- מודאל ---------- */
/* כל חלון מסביר מטשטש את מה שמאחוריו — מיקוד מוחלט על ההסבר */
.modal-bg { position: fixed; inset: 0; background: rgba(11,18,32,.42); backdrop-filter: blur(12px) saturate(.85); -webkit-backdrop-filter: blur(12px) saturate(.85); display: flex; align-items: flex-end; justify-content: center; z-index: 50; animation: fadeIn .22s var(--ease) both; }
.modal-bg[hidden] { display: none; }
[hidden] { display: none !important; }
@media (min-width: 600px) { .modal-bg { align-items: center; } }
.modal { background: var(--card); border-radius: 24px 24px 0 0; padding: 1.7rem 1.5rem 2.1rem; width: 100%; max-width: 420px; position: relative; box-shadow: var(--sh-lg); animation: rise .3s var(--ease) both; }
@media (min-width: 600px) { .modal { border-radius: 24px; } }
.modal-title { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: .2rem; }
.modal-sub { color: var(--sub); font-size: .88rem; font-weight: 300; margin-bottom: 1rem; }
.modal-close { position: absolute; top: 14px; left: 14px; background: var(--bg); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: .9rem; color: var(--sub); cursor: pointer; }
.dev-code { background: var(--warn-wash); color: var(--warn); border-radius: 10px; padding: .5rem .8rem; font-size: .85rem; text-align: center; margin-bottom: .6rem; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 1.6rem 0 .8rem; }
.hero .trust-line {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); color: var(--ok-deep);
  border-radius: 999px; padding: 7px 17px; font-size: .84rem; font-weight: 700;
  margin-bottom: 1.1rem; box-shadow: inset 0 0 0 1px rgba(18,161,80,.25), var(--sh-sm);
}
.hero h1 .accent-word { color: var(--accent); }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; max-width: 22.5rem; margin: 1.6rem auto 0; }
.hero-plate { margin: 1.4rem auto .2rem; display: flex; justify-content: center; }

/* ---------- How ---------- */
.how { display: grid; gap: .8rem; margin-top: 1rem; }
.how-step { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; box-shadow: var(--sh-sm); }
.how-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(150deg, var(--accent-2), var(--accent-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Heebo", sans-serif; font-weight: 800; font-size: .9rem; box-shadow: 0 4px 10px -2px rgba(29,91,216,.4); }
.how-step b { display: block; letter-spacing: -.01em; }
.how-step span { font-size: .88rem; color: var(--sub); font-weight: 300; }

.list-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: .85rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-row:last-child { border-bottom: none; }

table.tbl { width: 100%; border-collapse: collapse; font-size: .85rem; }
.tbl th { text-align: right; color: var(--faint); font-size: .7rem; letter-spacing: .04em; border-bottom: 2px solid var(--line-strong); padding: .45rem .5rem; }
.tbl td { border-bottom: 1px solid var(--line); padding: .55rem .5rem; vertical-align: top; }
.tbl-scroll { overflow-x: auto; }

/* אווטאר עגול כללי */
.avatar-lg {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(150deg, var(--accent-2), var(--accent-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.45rem;
  box-shadow: 0 10px 26px -6px rgba(29,91,216,.5), inset 0 1px 0 rgba(255,255,255,.25);
  margin: 0 auto .6rem;
}

/* ============================================================
   מצב הדרכה — כפתור "סיור" בניווט + חלון הסיור
   נפתח אך ורק בלחיצה. הרקע מטושטש (ראה .modal-bg).
   ============================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* כפתור הסיור וקישור הניהול — מחוץ לרשימת הקישורים, כדי שלא ייחתכו כשצפוף */
.nav-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav-links { min-width: 0; }
.nav-links a, .nav-actions a, .nav-tour { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.nav-actions a { padding: 0 12px; border-radius: 999px; transition: background .15s var(--ease); }
.nav-actions a:hover { background: var(--accent-wash); }
.nav-tour {
  font-family: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--accent-ring);
  background: var(--accent-wash); color: var(--accent-deep);
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.nav-tour:hover { background: #DFE9FA; border-color: var(--accent); }
.nav-tour:active { transform: scale(.97); }
.nav-tour:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-ring); }
.nav-admin { font-weight: 700; color: var(--accent-deep) !important; }
@media (max-width: 560px) {
  /* בלי גלישה לשתי שורות: הכיתובים נשארים בשורה אחת, והשורה עצמה נגללת אם צריך */
  .nav { padding: 8px 12px; gap: 6px; }
  .nav-links { gap: 0; font-size: .82rem; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links > * { flex-shrink: 0; white-space: nowrap; }
  .nav-links a { padding: 0 8px; }
  .nav-tour span, .nav-admin span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav-tour { padding: 0 12px; }
}

/* מעטפת הסיור */
.tour {
  background: var(--card); border-radius: 24px 24px 0 0; width: 100%; max-width: 560px;
  max-height: 92dvh; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--sh-lg); animation: rise .3s var(--ease) both; overflow: hidden;
}
@media (min-width: 600px) { .tour { border-radius: 24px; max-height: 88dvh; } }

.tour-top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; }
.tour-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700;
  color: var(--accent-deep); background: var(--accent-wash); border-radius: 999px; padding: 5px 12px;
}
/* בסיור כפתור הסגירה הוא חלק מהשורה ולא absolute — אחרת הוא רוכב על פס ההתקדמות */
.tour .modal-close { position: static; flex: 0 0 auto; width: 44px; height: 44px; }

/* פס התקדמות — scaleX בלבד, בלי אנימציית רוחב */
.tour-track { height: 3px; background: var(--line); margin: 0 16px; border-radius: 999px; overflow: hidden; }
.tour-track-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent-deep));
  transform-origin: right center; transform: scaleX(.125);
  transition: transform .35s var(--ease);
}

/* flex:1 + min-height:0 — בלעדיהם תוכן ארוך דוחף את פס הניווט אל מחוץ למסך */
.tour-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 1.1rem 1.25rem .5rem; -webkit-overflow-scrolling: touch; }
.tour-step { animation: rise .28s var(--ease) both; }
.tour-h { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .45rem; line-height: 1.3; }
.tour-p { font-size: .95rem; color: var(--sub); margin: 0 0 1rem; }
.tour-p-sm { font-size: .82rem; margin-top: .8rem; margin-bottom: 0; }
.tour-demo { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.tour-demo > * { text-align: start; }
.tour-demo .card, .tour-demo .offer-card { margin: 0; }
.tour-demo .plate { align-self: center; }
/* ציטוט החוליה — הליבה הרגשית של המוצר, לא הערת שוליים */
.tour-quote { font-size: .86rem; color: var(--ink); font-weight: 600; margin-top: .6rem; line-height: 1.5; }
.tour-quote b { color: var(--accent-deep); font-weight: 800; }

/* כרטיס הבקשה לדוגמה */
.tour-req-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tour-req-title { font-weight: 800; font-size: 1.05rem; letter-spacing: -.015em; }
.tour-req-sub { font-size: .84rem; color: var(--sub); }
.tour-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: .8rem; }

/* כרטיס השליפה ממשרד התחבורה */
.tour-gov-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: .9rem; }
.tour-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.tour-facts > div { min-width: 0; }
.tour-facts dt { font-size: .75rem; color: var(--faint); font-weight: 600; }
.tour-facts dd { margin: 0; font-size: .9rem; font-weight: 700; }
.tour-facts .ok-text { color: var(--ok-deep); }

/* הצעות חסומות */
.tour-block-head { display: flex; align-items: center; gap: 8px; color: var(--bad); font-weight: 800; font-size: .9rem; }
.tour-block-body { font-size: .88rem; color: #7A3A32; margin-top: .3rem; }

/* הצעה לדוגמה */
.tour-offer-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.tour-offer-extra { margin-top: .3rem; }
.tour-plate-num { font-family: "Heebo", sans-serif; font-weight: 700; direction: ltr; display: inline-block; }
.tour-plate-num.revealed { color: var(--ok-deep); }
.tour-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tour-actions .btn { flex: 1; pointer-events: none; }

/* "שאל את החוליה" */
.tour-msg { font-size: .88rem; border-radius: var(--r-md); padding: .7rem .9rem; margin-bottom: 8px; max-width: 88%; }
.tour-msg-out { background: var(--accent); color: #fff; margin-inline-start: auto; border-end-end-radius: 6px; }
.tour-msg-in { background: var(--bg); color: var(--ink); border-end-start-radius: 6px; }
.tour-msg-by { font-size: .75rem; color: var(--faint); font-weight: 600; }
.tour-reveal { background: var(--bg); border-radius: var(--r-md); padding: .8rem .95rem; display: flex; flex-direction: column; gap: 8px; }
.tour-reveal-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-reveal-label { font-size: .75rem; color: var(--faint); font-weight: 700; }

.tour-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 1.1rem; }

/* ניווט תחתון */
.tour-nav {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tour-nav .btn { min-width: 104px; justify-content: center; }
.tour-dots { display: flex; align-items: center; gap: 7px; }
.tour-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.tour-dot.on { background: var(--accent); transform: scale(1.45); }
.ic.flip { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  .tour, .tour-step, .modal-bg { animation: none; }
  .tour-track-fill { transition: none; }
}

/* ---------- מצב ריק אחיד: אייקון + כותרת + הסבר + פעולה ---------- */
.empty { text-align: center; color: var(--sub); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2rem 1.4rem; }
.empty .ic { color: var(--faint); }
.empty-title { font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.empty-sub { font-size: .88rem; max-width: 34ch; }
.empty .btn { margin-top: .6rem; }

/* ---------- תואר בשרשרת, פעולות ניהול, פעולות רכב ---------- */
.chain-title { font-size: .75rem; font-weight: 800; color: var(--accent-deep); text-align: center; max-width: 72px; line-height: 1.2; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.admin-actions .btn-link { width: auto; margin: 0; font-size: .82rem; font-weight: 700; min-height: 44px; }
.car-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 1rem; }
.car-remove { display: flex; align-items: center; gap: 8px; }
.car-remove .btn-link { width: auto; margin: 0; min-height: 44px; }
.car-remove-ask { color: var(--sub); }
.car-remove-confirm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.car-remove-q { font-size: .82rem; color: var(--sub); }
.car-remove-yes { color: var(--bad) !important; font-weight: 800; }
