/* עיצוב "כרטיס עלייה": כחול כהה, כחול וצהוב */
:root {
  --bg: #e6edf7;
  --card: #ffffff;
  --ink: #0b1f44;
  --muted: #4a5a7a;
  --line: #c9d4e6;
  --primary: #1d4ed8;
  --primary-ink: #ffffff;
  --primary-soft: #e6eefc;
  --navy: #0b1f44;
  --navy-ink: #ffffff;
  --sun: #fbbf24;
  --sun-ink: #5b3d00;
  --green: #0f8a5f;
  --chip: #eef3fb;
  --food: #b45309;
  --food-soft: #fff4e5;
  --danger: #b42318;
  --shadow: 0 2px 0 var(--line);
  --radius: 16px;
  --display: "Secular One", "Arial Hebrew", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
h1, h2, h3 { margin: 0; line-height: 1.25; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.error { color: var(--danger); margin: .5rem 0 0; }
[hidden] { display: none !important; }

/* ---------- סרגל עליון ---------- */
.topbar {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.05rem; }
.top-title { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .topbar { justify-content: space-between; }
.top-actions { display: flex; gap: .4rem; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; }

/* ---------- כפתורים ---------- */
.primary, .ghost, .pill, .chip {
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  padding: .5rem 1rem; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
}
.primary { background: var(--primary); color: var(--primary-ink); font-weight: 600; }
.primary:disabled { opacity: .6; cursor: default; }
.primary.big { width: 100%; padding: .9rem; font-size: 1.1rem; margin-top: .5rem; }
.ghost { background: transparent; border-color: var(--line); }
.ghost.danger { color: var(--danger); }
.pill { background: var(--card); border-color: var(--line); padding: .35rem .8rem; font-size: .9rem; color: var(--ink); }
.pill.on { background: var(--primary-soft); border-color: var(--primary); }

/* ---------- מסך פתיחה ---------- */
.home-main { max-width: 960px; margin: 0 auto; padding: 1.2rem 16px 3rem; }
#planner { max-width: 560px; margin: 0 auto; }
.intro { text-align: center; margin: .6rem auto 1.6rem; max-width: 720px; }
.intro h1 { font-size: 2rem; margin: 0 0 .4rem; }
.intro p { margin: 0 auto 1rem; color: var(--muted); }
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.how li { display: flex; align-items: center; gap: .6rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem; text-align: start; font-size: .95rem; }
.how b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: .9rem; }
@media (max-width: 640px) { .how { grid-template-columns: 1fr; } }
.mt-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.mt-head h2 { margin: 0; }
.trip-card a { display: flex; align-items: center; gap: .7rem; }
.tc-em { font-size: 1.6rem; line-height: 1; }
.tc-main { display: grid; gap: .1rem; }
.hero h1 { font-size: 2rem; }
.hero p { margin: .4rem 0 1.2rem; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form { padding: 1.1rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field > span { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .7rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: end; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.stepper button { width: 2.4rem; height: 2.4rem; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.stepper output { min-width: 1.8rem; text-align: center; font-weight: 700; }
.who { display: flex; align-items: center; gap: .6rem; }
.kids { display: flex; flex-wrap: wrap; gap: .4rem; }
.kids:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { background: var(--bg); border-color: var(--line); padding: .4rem .75rem; font-size: .92rem; }
.chip.on { background: var(--primary-soft); border-color: var(--primary); color: var(--ink); font-weight: 600; }
.chip.add { justify-self: start; border-style: dashed; }
.chip.kid select { border: 0; background: none; font-weight: 700; }
.chip .x { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 1.1rem; padding: 0 .1rem; }
.seg { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { flex: 1; border: 0; background: none; border-radius: 999px; padding: .45rem .4rem; cursor: pointer; }
.seg button.on { background: var(--card); box-shadow: var(--shadow); font-weight: 600; outline: 1px solid var(--primary); }
#my-trips { margin-top: .4rem; }
#my-trips h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.trip-list { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
@media (max-width: 640px) { .trip-list { grid-template-columns: 1fr; } }
.trip-card {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  padding: .85rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink);
}
.trip-card a { flex: 1; color: inherit; text-decoration: none; }
.trip-card a:hover { text-decoration: underline; }
.trip-del { border: 0; background: none; cursor: pointer; font-size: 1rem; padding: .2rem .4rem; border-radius: 8px; opacity: .6; }
.trip-del:hover { opacity: 1; background: color-mix(in srgb, #e5484d 15%, transparent); }

.overlay { position: fixed; inset: 0; z-index: 2000; background: color-mix(in srgb, var(--bg) 85%, transparent); display: grid; place-items: center; padding: 16px; }
.overlay-box { text-align: center; max-width: 320px; }
.overlay-box p { margin: .4rem 0; }
dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); width: min(92vw, 360px); padding: 1.2rem; }
dialog::backdrop { background: rgba(0, 0, 0, .35); }
dialog h3 { margin-bottom: .2rem; }
dialog input { width: 100%; padding: .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); margin-top: .6rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }

.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--primary); animation: spin 1s linear infinite; margin: 0 auto .6rem; }
.spinner.sm { width: 18px; height: 18px; border-width: 2px; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- מסך התוכנית ---------- */
#main { max-width: 720px; margin: 0 auto; padding: 0 16px 4rem; }
.note { background: var(--food-soft); padding: .6rem .8rem; border-radius: 10px; margin: .8rem 0 0; font-size: .9rem; }
.trip-head { padding: 1.1rem 0 .4rem; }
.trip-head h1 { font-size: 1.6rem; }
.trip-head .meta { color: var(--muted); margin: .3rem 0 0; font-size: .92rem; }
.trip-head .intro { margin: .6rem 0 0; }

.day-tabs {
  position: sticky; top: 49px; z-index: 900;
  display: flex; gap: .4rem; overflow-x: auto;
  padding: .6rem 16px; margin: 0 -16px; background: var(--bg);
}
.tab {
  position: relative; flex: 0 0 auto; display: grid; text-align: center; text-decoration: none; color: var(--ink);
  padding: .35rem .8rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); line-height: 1.2;
}
.tab-title, .tab-group { display: none; }
.tab b { font-size: .9rem; }
.tab small { color: var(--muted); font-size: .75rem; }
.tab.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.tab.on small { color: inherit; opacity: .85; }
.dot { position: absolute; top: -4px; left: -4px; width: 14px; height: 14px; border-radius: 50%; font-style: normal; font-size: 10px; line-height: 14px; color: #fff; }
.dot.spin { border: 2px solid var(--line); border-top-color: var(--primary); background: var(--card); animation: spin 1s linear infinite; }
.dot.err { background: var(--danger); }

.day-head { padding: .6rem 0 .8rem; }
.day-head h2 { font-size: 1.3rem; }
.day-head .meta { color: var(--muted); margin: .2rem 0 0; font-size: .9rem; }
.day-head .summary { margin: .4rem 0 0; }
.map { height: 240px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1rem; z-index: 1; }
.pin span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: #0f766e; color: #fff; font-weight: 700; font-size: 13px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.pin.food span { background: #c2410c; }
.pin.stay span { width: 30px; height: 30px; background: #fff; font-size: 16px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.item {
  position: relative; display: grid; grid-template-columns: 34px 1fr; gap: .7rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; box-shadow: var(--shadow);
}
.item .num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-weight: 700;
}
.item.food .num { background: var(--food-soft); color: var(--food); }
.item .body { min-width: 0; }
.line1 { display: flex; gap: .4rem; align-items: baseline; }
.line1 h3 { font-size: 1.05rem; }
.item .meta { color: var(--muted); font-size: .85rem; margin: .15rem 0 0; }
.item .summary { margin: .35rem 0 0; }
.item .rating { margin: .25rem 0 0; font-weight: 600; font-size: .9rem; }
.item details { margin-top: .35rem; }
.item summary { cursor: pointer; color: var(--primary); font-size: .9rem; }
.item .details { white-space: pre-line; margin: .3rem 0 0; font-size: .93rem; }
.links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.links a {
  font-size: .85rem; text-decoration: none; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink);
}
.links a.nav { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.edit-row { display: none; flex-wrap: wrap; gap: .3rem; margin-top: .7rem; padding-top: .6rem; border-top: 1px dashed var(--line); }
.editing .edit-row { display: flex; }
.edit-row button, .edit-row select {
  border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: .3rem .5rem; font-size: .85rem; cursor: pointer;
}
.edit-row select { max-width: 6.5rem; }
.edit-row button:disabled { opacity: .4; cursor: default; }
.busy-cover {
  position: absolute; inset: 0; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: color-mix(in srgb, var(--card) 80%, transparent); font-weight: 600;
}
.leg { color: var(--muted); font-size: .82rem; padding: .35rem 0 .35rem 0; margin-inline-start: 22px; border-inline-start: 2px dotted var(--line); padding-inline-start: 1.2rem; }
.timeline > .item + .item { margin-top: .7rem; }
.empty-day { padding: 1rem 0; }
.stay {
  display: flex; align-items: center; gap: .7rem; margin-top: .8rem; padding: .8rem .9rem;
  border-radius: var(--radius); border: 1px dashed var(--line); background: var(--card);
}
.stay div { flex: 1; min-width: 0; }
.stay .nav { text-decoration: none; padding: .3rem .6rem; border-radius: 999px; background: var(--primary); color: var(--primary-ink); }
.skeleton { text-align: center; padding: 2rem 1rem; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.skeleton p { margin: .3rem 0; }
.skeleton.err { color: var(--danger); }
.add-form { display: flex; gap: .4rem; margin-top: 1rem; }
.add-form input { flex: 1; min-width: 0; padding: .6rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.add-form .primary { white-space: nowrap; }
.ghost.small { padding: .35rem .8rem; font-size: .85rem; margin-top: .6rem; }
.day-pager { display: flex; justify-content: space-between; margin-top: 1.4rem; }
.trip-tools { display: flex; flex-wrap: wrap; gap: .4rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; }
.empty { text-align: center; padding: 3rem 1rem; }

#toast {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translate(-50%, 2rem); opacity: 0; z-index: 3000;
  background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: 999px; transition: .25s; pointer-events: none;
  max-width: calc(100vw - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- שאלון בשלבים ---------- */
.wizard h2 { font-size: 1.35rem; }
.step { display: grid; gap: 1rem; }
.step > p { margin: -.4rem 0 0; }
.steps-head { display: grid; gap: .4rem; }
.steps-bar { display: flex; gap: 4px; }
.steps-bar i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.steps-bar i.on { background: var(--primary); }
.steps-head p { margin: 0; }
.wizard-nav { display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.wizard-nav #next { margin-inline-start: auto; min-width: 8rem; }
.wizard-nav #next.big { width: auto; flex: 1; margin-top: 0; }

/* ---------- טיסות, מלון ורכב ---------- */
.bk-group { border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem .9rem; margin: 0; display: grid; gap: .7rem; min-width: 0; }
.bk-group legend { font-weight: 700; padding: 0 .3rem; }
.bk-group + .bk-group, #bk-flights .bk-group + .bk-group { margin-top: .8rem; }
.bk-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.bk-grid.two { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.bk-name { display: flex; gap: .5rem; align-items: end; }
.bk-name .field { flex: 1; }
.bk-name .ghost { white-space: nowrap; padding: .65rem 1rem; }
.bk-status { margin: -.2rem 0 0; font-size: .9rem; }
.bk-status.ok, .ok { color: #15803d; font-weight: 600; }
.bk-status.err { color: var(--danger); }
.bk-cands { display: grid; gap: .4rem; }
.bk-cands p { margin: 0; }
.bk-cand { text-align: start; display: grid; gap: .1rem; padding: .55rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.bk-cand:hover { border-color: var(--primary); }
.bk-hotels { display: grid; gap: .8rem; }
.bk-hotels:empty { display: none; }
.link-btn.danger { color: var(--danger); justify-self: start; padding: 0; }
#bk-car { margin: 0; }
dialog.wide { width: min(94vw, 640px); max-height: 90vh; overflow: auto; }
.bk-body { display: grid; gap: .8rem; margin-top: .8rem; }
.bk-body .field input, .wizard .field input { width: 100%; }

.bookings { margin: .8rem 0 0; padding: .7rem .9rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.bookings ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.bookings li { display: flex; gap: .5rem; align-items: baseline; font-size: .93rem; }
.bookings .ghost.small { margin-top: .5rem; }
.fixed-card { display: flex; gap: .7rem; align-items: center; padding: .7rem .9rem; margin: .7rem 0; border-radius: var(--radius); background: var(--primary-soft); border: 1px solid var(--line); }
.fixed-card span { font-size: 1.3rem; }
.fixed-card div { display: grid; }
.bk-body input { margin-top: 0; }
dialog.wide .dialog-actions { position: sticky; bottom: -1.2rem; margin: 1rem -1.2rem -1.2rem; padding: .8rem 1.2rem; background: var(--card); border-top: 1px solid var(--line); }
.bk-grid.flight { grid-template-columns: 2fr 1fr; }
.bk-status.warn { color: #b45309; font-weight: 600; }
.dest-alts { margin: .3rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; } .dest-alts .chip { font-size: .85rem; padding: .25rem .6rem; }

/* רשימת השלמה ליעד */
.dest-list { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: -.4rem 0 .6rem; background: var(--card, var(--bg)); }
.dest-list button { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .9rem; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.dest-list button:last-child { border-bottom: 0; }
.dest-list button:hover, .dest-list button.on { background: var(--primary-soft); }
input[type="date"] { direction: ltr; text-align: right; }
input[type="date"] { cursor: pointer; }

/* לוח שנה לטווח תאריכים */
.range-pick { position: relative; }
.date-btn { display: grid; gap: .15rem; text-align: start; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; }
.date-btn small { color: var(--muted); }
.date-btn b { font-size: 1.05rem; }
.date-btn.on { border-color: var(--primary); outline: 1px solid var(--primary); }
.cal { position: absolute; inset-inline: 0; top: calc(100% + .4rem); z-index: 50; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .9rem 1rem 1rem; }
.cal-hint { margin: 0 0 .4rem; font-weight: 600; }
.cal-nav { position: absolute; top: .7rem; inset-inline-end: .8rem; display: flex; gap: .3rem; }
.cal-nav button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 8px; width: 2rem; height: 2rem; cursor: pointer; }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; }
.cal-month h4 { margin: .2rem 0 .5rem; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-grid i { font-style: normal; text-align: center; color: var(--muted); font-size: .8rem; padding: .2rem 0; }
.cal-grid button { aspect-ratio: 1; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; border-radius: 8px; cursor: pointer; }
.cal-grid button:hover:not(:disabled) { background: var(--primary-soft); }
.cal-grid button:disabled { opacity: .3; cursor: default; }
.cal-grid button.today { outline: 1px dashed var(--muted); }
.cal-grid button.in { background: var(--primary-soft); border-radius: 0; }
.cal-grid button.sel, .cal-grid button.sel:hover { background: var(--primary); color: var(--bg); font-weight: 700; border-radius: 8px; }

/* ---------- תוכנית במחשב: ימים בצד, מפה קבועה ---------- */
.drive { margin: .2rem 0 .6rem; font-size: .92rem; }
.drive.long { color: var(--food); font-weight: 600; }
.route-btn { width: 100%; margin-bottom: 1rem; }
@media (min-width: 1000px) {
  #main { max-width: 1440px; padding: 0 24px 4rem; }
  .plan-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
  .day-tabs {
    position: sticky; top: 64px; margin: 0; padding: 0 0 1rem;
    flex-direction: column; gap: 2px; overflow: visible;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .tab-group { display: grid; padding: .8rem .5rem .3rem; line-height: 1.25; }
  .tab-group:first-child { padding-top: .2rem; }
  .tab-group b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tab-group small { color: var(--muted); font-size: .75rem; }
  .tab {
    grid-template-columns: auto 1fr; column-gap: .5rem; text-align: right; align-items: baseline;
    padding: .4rem .6rem; border-radius: 10px; background: transparent; border-color: transparent;
  }
  .tab:hover { background: var(--card); }
  .tab small { justify-self: end; }
  .tab-title { display: block; grid-column: 1 / -1; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tab.on .tab-title { color: inherit; opacity: .85; }
  .dot { top: 50%; left: 6px; transform: translateY(-50%); }
  .day-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .map-col { position: sticky; top: 64px; }
  .map-col .map { height: calc(100vh - 190px); min-height: 360px; margin-bottom: .6rem; }
}

/* ---------- החלפה: "מה תרצו במקום?" ---------- */
.swap-panel { grid-column: 1 / -1; margin-top: .6rem; padding: .8rem; border-radius: 12px; background: var(--primary-soft); display: grid; gap: .6rem; }
.swap-panel .field { margin: 0; }
.swap-panel input { width: 100%; }
.chips.small .chip { padding: .25rem .7rem; font-size: .85rem; }
.swap-actions { display: flex; gap: .5rem; }
.swap-opt { display: flex; gap: .8rem; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; }
.swap-opt p { margin: .2rem 0 0; }
.swap-opt small { display: block; color: var(--muted); }
.primary.small { padding: .35rem .9rem; font-size: .9rem; flex: 0 0 auto; }
.edit-row button.on { background: var(--primary-soft); border-color: var(--primary); }
.swap-panel .chip { background: var(--card); }
.swap-panel .chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

/* ---------- שאלון: מתגים, מונים, קצב ---------- */
.toggle-card { border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; background: var(--card); display: grid; gap: .6rem; margin-top: .7rem; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.switch-row span { display: grid; gap: .1rem; }
.switch-row small { font-size: .82rem; }
.switch { appearance: none; width: 44px; height: 24px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; flex: 0 0 auto; transition: background .15s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: right .15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.switch:checked { background: var(--primary); }
.switch:checked::after { right: 23px; }
.toggle-card .bk-group { margin: 0; }
.who-list { display: grid; }
.who-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.who-row span { display: grid; }
.who-row small { font-size: .82rem; }
.kid-row { padding-inline-start: 1rem; }
.kid-row output { min-width: 3rem; }
.pace-list { display: grid; gap: .4rem; }
.pace-list button { display: grid; text-align: right; gap: .1rem; padding: .6rem .9rem; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.pace-list button small { color: var(--muted); font-size: .85rem; }
.pace-list button.on { border-color: var(--primary); background: var(--primary-soft); outline: 1px solid var(--primary); }
.flight-main { grid-template-columns: 9rem 1fr; align-items: end; }
.bk-more summary { cursor: pointer; color: var(--muted); font-size: .88rem; margin: .3rem 0; }

/* בדיקה בגוגל: אזהרות, ביקורות, סיכום יום */
.item .gwarn { margin: .3rem 0 0; padding: .3rem .55rem; border-radius: 8px; font-size: .85rem; background: var(--food-soft); color: var(--food); }
.item .gwarn.bad { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); font-weight: 600; }
.item .reviews { margin-top: .35rem; font-size: .88rem; }
.item .reviews summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.item .reviews blockquote { margin: .45rem 0; padding: .35rem .7rem; border-inline-start: 3px solid var(--line); }
.item .reviews blockquote p { margin: .1rem 0; }
.item .reviews .rv-head { font-size: .8rem; }
.check-sum { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0 0 .7rem; padding: .45rem .7rem; border-radius: 10px; background: var(--primary-soft); font-size: .88rem; }
.check-sum.warn { background: var(--food-soft); }

/* רשימת האטרקציות של היום */
.cands { margin: 1rem 0; padding: .8rem .9rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--card); }
.cands h3 { margin: 0 0 .2rem; font-size: 1rem; }
.cand-list { list-style: none; margin: .5rem 0; padding: 0; display: grid; gap: .5rem; }
.cand { display: flex; gap: .8rem; justify-content: space-between; align-items: flex-start; padding: .55rem .2rem; border-top: 1px solid var(--line); }
.cand:first-child { border-top: 0; }
.cand-main { flex: 1; min-width: 0; }
.cand-main p { margin: .2rem 0 0; }
.cand-main .rating { margin-inline-start: .4rem; font-weight: 600; }
.cand-main .links { display: flex; gap: .6rem; margin-top: .25rem; }
.cand-act { display: flex; flex-direction: column; gap: .35rem; flex-shrink: 0; }
.cand-act select { font: inherit; font-size: .85rem; padding: .25rem .4rem; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); max-width: 11rem; }
.gwarn.small { font-size: .8rem; display: inline-block; }

/* מסלול: ערים ולילות */
.route-list { list-style: none; margin: 1rem 0 .5rem; padding: 0; display: grid; gap: .5rem; }
.route-row { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.route-num { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font-weight: 700; flex-shrink: 0; }
.route-main { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.route-tools { display: flex; gap: .2rem; }
.route-sum { font-weight: 600; margin: .4rem 0; }
.route-sum.ok { color: var(--primary); }
.route-sum.bad { color: var(--danger); }
.route-nearby { margin: .8rem 0; }
.route-nearby h3 { margin: 0 0 .2rem; font-size: 1rem; }
.route-nearby ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .4rem; }
.route-near { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; }
.route-near input { margin-top: .25rem; }
.route-near span { display: grid; gap: .1rem; }
.route-add { display: flex; gap: .5rem; margin: .6rem 0; }
.route-add input { flex: 1; font: inherit; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.base-pick { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; font-size: .9rem; color: var(--muted); }
.base-pick select { font: inherit; padding: .3rem .5rem; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.item .hours { margin: .3rem 0 0; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.item .hours.ok { color: var(--primary); font-weight: 600; }
.item .gwarn .ghost.small, .item .hours .ghost.small { padding: .15rem .55rem; font-size: .8rem; }

/* =========================================================
   כרטיס עלייה (v1b): כותרות, כרטיס טיול, ימים, שורת סיכום,
   מפה מקופלת, כרטיסי עצירה עם ספח. דורס את מה שלמעלה.
   ========================================================= */
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
.topbar { background: var(--navy); color: var(--navy-ink); border-bottom: 0; backdrop-filter: none; }
.brand { color: var(--sun); font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 32px; width: auto; display: block; }
.top-title { color: var(--navy-ink); }
.topbar .pill, .topbar .link-btn { background: transparent; border: 1.5px solid rgba(255, 255, 255, .35); color: var(--navy-ink); }
.topbar .link-btn { border: 0; color: rgba(255, 255, 255, .8); }
.topbar .pill.on { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .7); }
.topbar #share { background: var(--sun); border-color: var(--sun); color: #0b1f44; font-weight: 700; }
.primary { background: var(--navy); color: var(--navy-ink); font-weight: 700; }
.card { border: 0; }
.steps-bar i.on { background: var(--sun); }
.route-num { background: var(--navy); color: var(--sun); font-family: var(--display); font-weight: 400; }
.cal-grid button.sel, .cal-grid button.sel:hover { background: var(--navy); color: var(--sun); }
.trip-card { border: 0; box-shadow: var(--shadow); }
.hero h1 { font-size: 2.3rem; line-height: 1.15; }

/* כרטיס הטיול */
.trip-head { padding: 14px 0 0; }
.pass { background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.pass-top { background: #1d4ed8; color: #fff; padding: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.pass-top small { opacity: .8; font-size: 13px; }
.pass-top h1 { font-size: clamp(24px, 6vw, 34px); line-height: 1.1; }
.pass-top .em { font-size: 42px; line-height: 1; }
.pass-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px dashed var(--line); }
.pass-grid div { padding: 10px 14px; border-inline-start: 1px solid var(--line); display: grid; min-width: 0; }
.pass-grid div:first-child { border-inline-start: 0; }
.pass-grid small { font-size: 12px; color: var(--muted); font-weight: 600; }
.pass-grid b { font-size: 15px; }
.tripmore { border-top: 1px solid var(--line); }
.tripmore > summary { padding: 10px 18px; font-weight: 700; color: var(--primary); cursor: pointer; }
.tripmore .intro { margin: 0; padding: 0 18px 12px; }
.tripmore .bookings { margin: 0 18px 14px; }

/* ימים */
.day-tabs { top: 50px; gap: 8px; margin: 14px -16px 0; padding: 8px 16px 10px; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.tab { border: 2px solid transparent; padding: 6px 12px; min-width: 64px; box-shadow: var(--shadow); }
.tab b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.tab small { font-size: 12px; }
.tab.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab.on small { color: var(--sun); opacity: 1; }

/* ראש היום ושורת הסיכום */
.day-head { padding: 16px 0 10px; }
.day-head .k { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--primary); }
.day-head h2 { font-size: 24px; line-height: 1.2; margin-top: 4px; }
.day-head .meta { font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border-radius: 14px; margin-top: 12px; overflow: hidden; box-shadow: var(--shadow); }
.kpis div { padding: 9px 12px; border-inline-start: 1px solid var(--line); display: grid; align-content: start; min-width: 0; }
.kpis div:first-child { border-inline-start: 0; }
.kpis small { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpis b { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.3; }
.kpis b[dir="ltr"] { text-align: right; }
.kpis .w b { color: var(--danger); }
.check-sum { background: var(--card); }

/* מפה מקופלת */
.mapbox { background: var(--card); border-radius: 16px; margin: 12px 0 16px; overflow: hidden; box-shadow: var(--shadow); }
.mapbox > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; font-weight: 700; cursor: pointer; }
.mapbox > summary::-webkit-details-marker { display: none; }
.mapbox > summary::after { content: "▾"; color: var(--muted); }
.mapbox[open] > summary::after { content: "▴"; }
.mapbox > summary .d { color: var(--muted); font-size: 14px; flex: 1; text-align: end; }
.mapbox .map { height: 260px; border: 0; border-radius: 0; margin: 0; }
.mapfoot { display: grid; gap: 8px; padding: 12px 16px; }
.mapfoot .drive { margin: 0; }
.mapfoot .route-btn { margin: 0; border-radius: 10px; }
.drive.long { color: var(--danger); font-weight: 700; }
.pin span { background: #0b1f44; font-family: var(--display); font-weight: 400; }
.pin.food span { background: #0f8a5f; }
.pin.stay span { background: #fbbf24; color: #0b1f44; }

/* כרטיס עצירה עם ספח */
.item { grid-template-columns: 92px minmax(0, 1fr); gap: 0; padding: 0; border: 0; border-radius: 16px; }
.item::before, .item::after { content: ""; position: absolute; inset-inline-start: 83px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); z-index: 1; }
.item::before { top: -9px; }
.item::after { bottom: -9px; }
.stub { padding: 14px 8px; text-align: center; border-inline-end: 2px dashed var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stub .num { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font: 14px/26px var(--display); margin: 0 auto 4px; display: block; }
.item.food .stub .num { background: var(--green); color: #fff; }
.stub .time { font: 24px/1 var(--display); }
.stub small { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.3; }
.item .body { padding: 14px 16px; }
.item .ph { float: left; width: 168px; margin: 0 0 8px 14px; }
.item .ph img { display: block; width: 168px; height: 120px; object-fit: cover; border-radius: 10px; background: var(--chip); }
.item .ph figcaption { font-size: 11px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .body::after { content: ""; display: block; clear: both; }
.line1 h3 { font-size: 19px; }
.item .hours { display: inline-flex; background: #fff8e1; color: var(--ink); border-radius: 8px; padding: 5px 9px; }
.item .hours.ok { background: #e7f6ef; color: var(--green); font-weight: 700; }
.item .reviews blockquote { border-inline-start-color: var(--sun); background: var(--chip); border-radius: 0 8px 8px 0; }
.links a { background: var(--chip); border: 0; border-radius: 9px; font-weight: 700; color: var(--ink); }
.links a.nav { background: var(--navy); color: #fff; }
.item > .edit-row, .item > .swap-panel { grid-column: 1 / -1; margin: 0 16px 14px; }
.busy-cover { border-radius: 16px; }

/* בין העצירות */
.timeline > .item + .item { margin-top: 14px; }
.leg { border: 0; margin: 0; padding: 10px 0; text-align: center; }
.leg span { display: inline-block; background: var(--sun); color: var(--sun-ink); font-weight: 700; font-size: 13px; border-radius: 6px; padding: 3px 10px; transform: rotate(-1deg); }
.fixed-card { background: var(--navy); color: #fff; border: 0; }
.fixed-card .muted { color: rgba(255, 255, 255, .75); }
.stay { background: var(--card); border: 2px solid var(--navy); }
.stay .nav { background: var(--navy); color: #fff; }
.cands { border: 0; box-shadow: var(--shadow); }
.cands h3 { font-size: 18px; }
.day-pager .pill { border: 0; font-weight: 700; padding: 8px 16px; box-shadow: var(--shadow); }
.skeleton { border: 0; box-shadow: var(--shadow); }
#toast { background: var(--navy); color: #fff; }

@media (min-width: 1000px) {
  .day-tabs { top: 64px; margin: 14px 0 0; padding: 0 0 1rem; gap: 2px; }
  .tab { box-shadow: none; min-width: 0; border-width: 1px; }
  .tab.on { background: var(--navy); border-color: var(--navy); }
  .tab.on .tab-title { color: #fff; opacity: .8; }
  .mapbox { margin: 0; }
  .mapbox > summary { pointer-events: none; }
  .mapbox > summary::after { content: none; }
  .map-col .map { height: calc(100vh - 260px); min-height: 360px; margin: 0; }
}
@media (max-width: 999px) {
  /* בטלפון המפה המקופלת לפני העצירות */
  .day-body { display: flex; flex-direction: column; }
  .mapbox { order: -1; margin-top: 4px; }
}
@media (max-width: 480px) {
  .kpis, .pass-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis div:nth-child(3) { border-inline-start: 0; }
  .kpis div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pass-grid div:nth-child(3) { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px solid var(--line); }
  .item { grid-template-columns: 74px minmax(0, 1fr); }
  .item::before, .item::after { inset-inline-start: 65px; }
  .stub .time { font-size: 20px; }
  .item .body { padding: 12px 14px; }
}

/* השאלון ככרטיס עלייה: הכותרת היא הרצועה הכחולה, הטופס הוא גוף הכרטיס */
.hero { background: #1d4ed8; color: #fff; border-radius: 18px 18px 0 0; padding: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hero small { opacity: .8; font-size: 13px; }
.hero h1 { color: #fff; margin: 2px 0 0; }
.hero p { margin: .5rem 0 0; color: rgba(255, 255, 255, .85); }
.hero .em { font-size: 42px; line-height: 1; }
.hero ~ .card { position: relative; border-radius: 0 0 18px 18px; border-top: 2px dashed var(--line); margin-top: 0; }
.hero ~ .card::before, .hero ~ .card::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.hero ~ .card::before { inset-inline-start: -9px; }
.hero ~ .card::after { inset-inline-end: -9px; }
.wizard h2, #route-card h2 { color: var(--primary); }
#my-trips { margin-top: 1.6rem; }
.trip-card { border-inline-start: 6px solid var(--navy); border-radius: 14px; }
.trip-card strong { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.switch:checked { background: var(--navy); }
@media (max-width: 480px) { .flight-main { grid-template-columns: minmax(0, 1fr); } }

/* מזג אוויר */
.day-head .wx { margin: .2rem 0 .4rem; font-weight: 600; }
.day-head .wx a { font-weight: 400; text-decoration: none; }
.tab-wx { margin-inline-start: .25rem; }

/* תמונות יעד מ-Unsplash */
.hero.has-cover, .pass-top.has-cover { background-size: cover; background-position: center; min-height: 180px; align-items: flex-end; position: relative; padding-bottom: 30px; }
.hero.has-cover h1, .hero.has-cover p, .hero.has-cover small, .pass-top.has-cover h1, .pass-top.has-cover small { text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.cover-by { position: absolute; bottom: 8px; inset-inline-end: 16px; font-size: 11px; opacity: .9; }
.cover-by a { color: #fff; }
.hero.has-cover .em, .pass-top.has-cover .em { align-self: flex-start; }

/* דף הבית: כרטיסי טיול עם תמונת יעד */
.home-main { display: flex; flex-direction: column; }
body.planning #planner { order: 1; }
body.planning #my-trips { order: 2; margin-top: 2.4rem; }
.trip-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.trip-card { display: flex; flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; border: 0; border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.trip-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11, 31, 68, .16); }
.trip-card a { display: block; flex: 1; }
.trip-card a:hover { text-decoration: none; }
.tc-cover { position: relative; height: 150px; background: linear-gradient(135deg, #1d4ed8, #0b1f44); background-size: cover; background-position: center; display: flex; align-items: flex-start; justify-content: space-between; padding: 12px; }
.tc-cover .tc-em { font-size: 2rem; line-height: 1; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.tc-chip { background: var(--sun); color: var(--navy); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 3px 10px; }
.tc-chip.now { background: #22c55e; color: #fff; }
.tc-chip.past { background: rgba(255,255,255,.85); color: var(--muted); }
.tc-by { position: absolute; bottom: 6px; inset-inline-end: 10px; font-size: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.tc-main { display: grid; gap: 4px; padding: 12px 16px 4px; }
.tc-main strong { font-size: 1.15rem; }
.tc-main span { font-weight: 600; }
.tc-foot { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px 10px 16px; }
.tc-cover.pic .tc-em { visibility: hidden; } /* עם תמונה האימוג׳י מיותר */

/* דף נחיתה */
body.planning .landing { display: none; }
.land-hero { position: relative; min-height: 560px; display: grid; place-items: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, #1d4ed8, #0b1f44); }
.land-bg { position: absolute; inset: 0; }
.land-bg .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease; }
.land-bg .slide.on { opacity: 1; transform: scale(1); }
.land-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,68,.35) 0%, rgba(11,31,68,.55) 55%, rgba(11,31,68,.85) 100%); }
.land-inner { position: relative; z-index: 1; max-width: 820px; padding: 64px 16px; text-align: center; }
.land-inner h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.15; margin: 0 0 1rem; text-shadow: 0 2px 14px rgba(0,0,0,.35); animation: rise .8s ease both; }
.land-inner p { font-size: 1.2rem; line-height: 1.6; margin: 0 auto 1.6rem; max-width: 680px; color: rgba(255,255,255,.92); animation: rise .8s .15s ease both; }
.land-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: rise .8s .3s ease both; }
.btn-cta { display: inline-block; background: var(--sun); color: var(--navy); font-family: var(--display); font-size: 1.25rem; padding: 14px 30px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 24px rgba(251,191,36,.35); transition: transform .15s; }
.btn-cta:hover { transform: translateY(-2px); }
.btn-ghost { display: inline-block; color: #fff; border: 2px solid rgba(255,255,255,.7); padding: 12px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.land-proof { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-weight: 600; color: rgba(255,255,255,.9); animation: rise .8s .45s ease both; }
.land-by { position: absolute; z-index: 1; bottom: 10px; inset-inline-end: 16px; font-size: 11px; color: rgba(255,255,255,.85); }
.land-by a { color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.land-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 56px 0 24px; }
.land-demo h2, .land-feats h2 { font-size: 2rem; margin: 0 0 .6rem; }
.land-demo .how { grid-template-columns: 1fr; margin-top: 1.2rem; }
.demo-card { background: var(--card); border-radius: 20px; box-shadow: 0 20px 50px rgba(11,31,68,.18); padding: 18px; position: relative; overflow: hidden; }
.demo-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 1.1rem; margin-bottom: 10px; }
.demo-wx { font-family: inherit; font-size: .95rem; color: var(--muted); }
.demo-build { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: .9rem; overflow: hidden; max-height: 24px; }
.demo-card.play .demo-build { animation: buildmsg 1.6s ease forwards; }
.demo-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite; }
.demo-list { list-style: none; padding: 0; margin: 6px 0 0; }
.demo-list li { display: flex; gap: 12px; align-items: center; background: var(--chip); border-radius: 12px; padding: 10px 12px; margin-top: 8px; }
.demo-card.play .demo-list li { animation: demoin .5s ease both; animation-delay: calc(1.2s + var(--i) * .45s); }
.demo-list li.leg { background: none; justify-content: center; padding: 0; color: var(--muted); font-size: .85rem; font-weight: 600; }
.demo-list .dn { font-family: var(--display); font-size: 1.2rem; color: var(--navy); min-width: 52px; }
.demo-list b { display: block; }
.demo-list small { color: var(--muted); }
.demo-card.play .demo-map { animation: demoin .5s ease both; animation-delay: 3.7s; }
.demo-map { height: 150px; margin-top: 12px; border-radius: 12px; overflow: hidden; position: relative; box-shadow: inset 0 0 0 1px rgba(11,31,68,.08); }
.demo-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-map .dm-pins path { fill: var(--navy); stroke: #fff; stroke-width: 1.5; }
.demo-map .dm-pins text { fill: #fff; }
.demo-card.play .dm-pins { animation: fadein .4s ease both; animation-delay: 3.9s; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.demo-map .dm-route { stroke: var(--primary); }
.demo-card.play .dm-route { animation: fadein .8s ease both; animation-delay: 4.1s; }
@keyframes demoin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes buildmsg { 0%, 70% { opacity: 1; max-height: 24px; } 100% { opacity: 0; max-height: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.land-feats { text-align: center; margin: 56px 0 24px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.4rem 0 2rem; text-align: start; }
.feats > div { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.feats span { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.feats b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.feats p { margin: .3rem 0 0; color: var(--muted); }
@media (max-width: 760px) { .land-demo, .feats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .land-bg .slide, .demo-list li, .demo-map, .demo-map *, .demo-build, .land-inner * { animation: none !important; transition: none !important; opacity: 1; } .demo-build { display: none; } }
#my-trips { margin-top: 2rem; }

/* כניסה */
.top-user { display: flex; align-items: center; gap: 12px; }
#who { color: rgba(255,255,255,.75); }
.g-btn { display: flex; justify-content: center; margin: 14px 0; min-height: 44px; }

.site-foot { text-align: center; padding: 24px 16px 32px; color: var(--muted); font-size: .9rem; }
.site-foot a { color: inherit; }
