/* ===========================================================
   מסע — עיצוב
   שפה חזותית: לוח המראות (ענבר על כחול לילה) + כרטיס עלייה למטוס
   + כרזות תיירות וינטג׳.
   =========================================================== */

:root {
  --paper: #ECF0EF;
  --surface: #FFFFFF;
  --surface-2: #F5F7F6;
  --ink: #16233A;
  --muted: #56667A;
  --line: #D3DBDA;
  --teal: #0F6E6C;
  --teal-soft: #DCEDEB;
  --amber: #E9A23B;
  --amber-ink: #6B4406;
  --board: #111A2A;
  --board-2: #1A2539;
  --board-text: #F4B942;
  --good: #1F7A4D;
  --warn: #A86A00;
  --bad: #B3362F;
  --shadow: 0 1px 2px rgba(22, 35, 58, .06), 0 8px 24px rgba(22, 35, 58, .08);
  --radius: 14px;
  --font-display: 'Karantina', 'IBM Plex Sans Hebrew', 'Arial Hebrew', sans-serif;
  --font-body: 'IBM Plex Sans Hebrew', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B111C;
    --surface: #131C2C;
    --surface-2: #19243A;
    --ink: #E7ECF2;
    --muted: #97A5B8;
    --line: #26344C;
    --teal: #45B5AE;
    --teal-soft: #173634;
    --amber: #F4B942;
    --amber-ink: #F8D48A;
    --board: #070C15;
    --board-2: #111A2A;
    --good: #4FC08A;
    --warn: #E2A63A;
    --bad: #F07C72;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B111C;
  --surface: #131C2C;
  --surface-2: #19243A;
  --ink: #E7ECF2;
  --muted: #97A5B8;
  --line: #26344C;
  --teal: #45B5AE;
  --teal-soft: #173634;
  --amber: #F4B942;
  --amber-ink: #F8D48A;
  --board: #070C15;
  --board-2: #111A2A;
  --good: #4FC08A;
  --warn: #E2A63A;
  --bad: #F07C72;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  direction: rtl;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; line-height: 1.15; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -40px; right: 16px; background: var(--board); color: var(--board-text); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 8px; }
.fine { font-size: 13px; color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

/* ---------- סרגל עליון ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--board); color: #E6ECF5;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar-inner { max-width: 1180px; margin-inline: auto; padding: 10px 20px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-name { font: 700 34px/1 var(--font-display); color: var(--board-text); letter-spacing: .02em; }
.mainnav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a {
  color: #B9C4D6; text-decoration: none; white-space: nowrap;
  padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
}
.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.mainnav a[aria-current="page"] { color: var(--board); background: var(--board-text); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: inherit; cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .topbar-inner { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px; }
  .mainnav { order: 3; flex-basis: 100%; }
  #themeBtn { margin-inline-start: auto; }
}

/* ---------- כפתורים ושדות ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; font-weight: 600; font-size: 15px;
  text-decoration: none; line-height: 1.2; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal); filter: brightness(1.08); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: #1B1204; }
.btn-amber:hover { background: var(--amber); filter: brightness(1.05); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 10px; font-size: 13.5px; border-radius: 8px; }
.btn-danger { color: var(--bad); }

.field { display: grid; gap: 6px; }
.field label, .label {
  font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em;
}
.input, select.input {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); min-height: 44px;
}
.input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-soft); }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button {
  border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted);
}
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stepper button { width: 40px; height: 42px; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: var(--teal); }
.stepper output { min-width: 32px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap;
}
.chip-good { color: var(--good); border-color: color-mix(in srgb, var(--good) 35%, transparent); background: color-mix(in srgb, var(--good) 10%, var(--surface)); }
.chip-warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 10%, var(--surface)); }
.chip-bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, transparent); background: color-mix(in srgb, var(--bad) 10%, var(--surface)); }
.chip-amber { color: var(--amber-ink); border-color: color-mix(in srgb, var(--amber) 50%, transparent); background: color-mix(in srgb, var(--amber) 16%, var(--surface)); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- כותרות מקטעים ---------- */
.view { padding-block: 28px 64px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.eyebrow { font: 600 12.5px/1 var(--font-mono); letter-spacing: .14em; color: var(--teal); text-transform: uppercase; }
.h-display { font: 700 clamp(44px, 7vw, 84px)/.92 var(--font-display); letter-spacing: .005em; }
.h-section { font: 700 clamp(34px, 4.4vw, 48px)/1 var(--font-display); }
.h-card { font: 700 20px/1.2 var(--font-body); }
.lead { font-size: 17.5px; color: var(--muted); max-width: 62ch; }

/* ---------- לוח המראות (Hero) ---------- */
.board {
  background: var(--board); color: #DDE4EE; border-radius: 20px; overflow: hidden; position: relative;
  box-shadow: 0 20px 50px rgba(8, 14, 26, .25);
}
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); flex-wrap: wrap; }
.board-title { font: 600 12px/1 var(--font-mono); letter-spacing: .24em; color: #8C9AB0; }
.board-clock { font: 600 22px/1 var(--font-mono); color: var(--board-text); font-variant-numeric: tabular-nums; }
.board-rows { display: grid; }
.board-row {
  display: grid; grid-template-columns: 70px 1fr 110px 120px; gap: 12px; align-items: center;
  padding: 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 15px;
}
.board-row:last-child { border-bottom: 0; }
.board-row .code { font: 600 16px/1 var(--font-mono); color: #fff; }
.board-row .city { font-weight: 600; color: #F1F4F9; }
.board-row .t { font: 600 16px/1 var(--font-mono); color: var(--board-text); text-align: left; direction: ltr; }
.board-row .st { font: 600 12px/1 var(--font-mono); letter-spacing: .12em; color: #7FE0B5; text-align: left; }
.flap { display: inline-block; background: var(--board-2); border-radius: 3px; padding: 3px 4px; margin-inline: 1px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05); }
@media (max-width: 560px) {
  .board-row { grid-template-columns: 54px 1fr 70px; }
  .board-row .st { display: none; }
}

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding-block: 12px 28px; }
.hero-copy { display: grid; gap: 18px; }
.hero-copy .h-display span { color: var(--teal); }
.hero-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-stats div { display: grid; }
.hero-stats b { font: 700 34px/1 var(--font-display); }
.hero-stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

/* ---------- מתכנן תאריכים ---------- */
.planner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.planner-cal { padding: 20px; border-inline-end: 1px dashed var(--line); }
.planner-side { padding: 20px; display: grid; gap: 18px; align-content: start; background: var(--surface-2); }
@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr; }
  .planner-cal { border-inline-end: 0; border-bottom: 1px dashed var(--line); }
}
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 8px; }
.cal-nav .icon-btn { border-color: var(--line); color: var(--ink); }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 620px) { .cal-months { grid-template-columns: 1fr; } .cal-month:nth-child(2) { display: none; } }
.cal-month h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: 11.5px; text-align: center; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.cal-day {
  position: relative; aspect-ratio: 1 / 1; max-width: 100%; border: 0; background: transparent; border-radius: 8px;
  font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; color: var(--ink);
}
.cal-day:hover:not(:disabled) { background: var(--teal-soft); }
.cal-day:disabled { color: color-mix(in srgb, var(--muted) 45%, transparent); cursor: default; }
.cal-day.is-weekend { color: var(--muted); }
.cal-day.in-range { background: var(--teal-soft); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--teal); color: #fff; font-weight: 700; border-radius: 8px; }
.cal-day.is-today::after { content: ''; position: absolute; inset: 3px; border: 1.5px solid var(--amber); border-radius: 7px; pointer-events: none; }
.cal-day .hol { position: absolute; bottom: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--amber); }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }

/* כרטיס עלייה למטוס — סיכום תאריכים */
.pass {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; position: relative;
}
.pass::before, .pass::after {
  content: ''; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
}
.pass::before { right: -10px; } .pass::after { left: -10px; }
.pass .lbl { font: 600 11px/1 var(--font-mono); letter-spacing: .14em; color: var(--muted); }
.pass .big { font: 700 30px/1.05 var(--font-display); }
.pass .sub { font-size: 12.5px; color: var(--muted); }
.pass .mid { display: grid; justify-items: center; gap: 2px; color: var(--teal); }
.pass .mid svg { width: 26px; height: 26px; }
.pass .nights { font: 600 12px/1 var(--font-mono); }
.pass-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.controls-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }

/* ---------- תוצאות ---------- */
.results { display: grid; gap: 14px; margin-top: 22px; }
.result {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.result-poster { position: relative; min-height: 150px; }
.result-poster .poster-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.result-rank { position: absolute; top: 10px; right: 10px; background: var(--board); color: var(--board-text); font: 600 13px/1 var(--font-mono); padding: 6px 8px; border-radius: 6px; }
.result-body { padding: 16px 0; display: grid; gap: 8px; align-content: start; }
.result-body h3 { font: 700 30px/1 var(--font-display); }
.result-body h3 small { font: 500 14px var(--font-body); color: var(--muted); margin-inline-start: 8px; }
.result-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.result-links { display: flex; flex-wrap: wrap; gap: 6px; }
.result-price { padding: 16px 18px; display: grid; align-content: space-between; gap: 10px; border-inline-start: 1px dashed var(--line); min-width: 190px; background: var(--surface-2); }
.result-price .amount { font: 700 36px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.result-price .per { font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px) {
  .result { grid-template-columns: 110px 1fr; }
  .result-price { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .result-body { padding-inline-end: 14px; }
}

.site-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.site-link {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s;
}
.site-link:hover { border-color: var(--teal); transform: translateY(-2px); }
.site-link b { font-size: 15px; }
.site-link span { font-size: 12.5px; color: var(--muted); }
.site-link .kind { font: 600 10.5px/1 var(--font-mono); letter-spacing: .14em; color: var(--teal); margin-bottom: 4px; }

/* ---------- רשת יעדים ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.dest-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dest-art { position: relative; aspect-ratio: 3 / 3.4; max-width: 100%; overflow: hidden; }
.dest-art .poster-svg { width: 100%; height: 100%; display: block; transition: transform .6s ease; }
.dest-card:hover .dest-art .poster-svg { transform: scale(1.04); }
.dest-art .poster-title {
  position: absolute; inset-inline: 0; top: 0; padding: 14px 16px; display: flex; justify-content: space-between; align-items: start;
}
.poster-title .name { font: 700 44px/.9 var(--font-display); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.poster-title .code { font: 600 12px/1 var(--font-mono); background: rgba(10, 16, 28, .72); color: #F4B942; padding: 6px 7px; border-radius: 6px; letter-spacing: .1em; }
.dest-info { padding: 14px 16px 16px; display: grid; gap: 8px; align-content: start; }
.dest-info p { color: var(--muted); font-size: 14.5px; }
.dest-meta { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- עמוד יעד ---------- */
.dest-hero { position: relative; border-radius: 20px; overflow: hidden; min-height: 340px; display: grid; align-content: end; isolation: isolate; }
.dest-hero .poster-svg, .dest-hero .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dest-hero .photo { opacity: 0; transition: opacity .8s ease; }
.dest-hero .photo.loaded { opacity: 1; }
.dest-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 12, 22, .82), rgba(8, 12, 22, .1) 65%); }
.dest-hero-body { padding: 26px; color: #fff; display: grid; gap: 10px; }
.dest-hero-body .h-display { color: #fff; }
.dest-hero-body p { color: #E3E9F2; max-width: 60ch; }
.crumbs { font-size: 13.5px; margin-bottom: 14px; display: flex; gap: 6px; align-items: center; color: var(--muted); }
.crumbs a { text-decoration: none; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { padding: 14px 16px; border-inline-start: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.fact .label { font-size: 11.5px; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact b { font-size: 15px; font-weight: 600; }

.tabs { display: flex; gap: 4px; overflow-x: auto; margin: 26px 0 18px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.tabs button {
  border: 0; background: transparent; padding: 10px 14px; cursor: pointer; white-space: nowrap; font-weight: 600; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px; font-size: 15px;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--amber); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 18px; }
.card .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }

.list { list-style: none; padding: 0; margin: 0; display: grid; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.list .t { font-weight: 600; }
.list .s { font-size: 13.5px; color: var(--muted); }
.list .actions { display: flex; gap: 6px; flex-wrap: wrap; }

.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.stars { color: var(--bad); letter-spacing: 2px; font-size: 15px; }

.tier { font: 600 11px/1 var(--font-mono); letter-spacing: .1em; padding: 4px 7px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.tier-lux { color: var(--amber-ink); border-color: color-mix(in srgb, var(--amber) 55%, transparent); background: color-mix(in srgb, var(--amber) 14%, var(--surface)); }

/* מסלולים — ציר זמן */
.route { display: grid; gap: 12px; }
.route-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.route-stops li { position: relative; padding: 6px 28px 6px 0; }
.route-stops li::before { content: ''; position: absolute; right: 7px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.route-stops li:first-child::before { top: 14px; }
.route-stops li:last-child::before { bottom: calc(100% - 14px); }
.route-stops li::after { content: ''; position: absolute; right: 2px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--teal); }

/* מפה */
.map-box { height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--surface-2); }
.map-box .leaflet-container { width: 100%; height: 100%; font: inherit; background: var(--surface-2); }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; z-index: 500; background: var(--surface-2); }
.map-fallback[hidden] { display: none !important; }
.pin { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); display: grid; place-items: center; }
.pin span { transform: rotate(45deg); color: #fff; font: 700 12px/1 var(--font-mono); }

/* סרטונים */
.video-card { position: relative; display: grid; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 16 / 10; max-width: 100%; isolation: isolate; }
.video-card .poster-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.video-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .05)); z-index: -1; }
.video-card .play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -40px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; transition: transform .2s; }
.video-card:hover .play { transform: scale(1.1); }
.video-card .play svg { width: 26px; height: 26px; margin-left: 4px; fill: #C0392B; }
.video-card .cap { align-self: end; padding: 14px 16px; display: grid; gap: 2px; }
.video-card .cap b { font-size: 16px; }
.video-card .cap span { font-size: 12.5px; opacity: .85; }

/* ---------- כלי שדה התעופה ---------- */
.airport-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .airport-layout { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }
.timeline { display: grid; }
.tl-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .06); align-items: center; }
.tl-row:last-child { border-bottom: 0; }
.tl-time { font: 600 26px/1 var(--font-mono); color: var(--board-text); direction: ltr; text-align: left; font-variant-numeric: tabular-nums; }
.tl-what b { display: block; color: #F1F4F9; font-size: 16px; }
.tl-what span { color: #93A1B6; font-size: 13.5px; }
.tl-row.key .tl-time { color: #7FE0B5; }
.board-note { padding: 12px 20px; background: rgba(244, 185, 66, .1); color: #F8D48A; font-size: 13.5px; border-top: 1px solid rgba(244, 185, 66, .25); }

/* ---------- תקציב ---------- */
.budget-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .budget-layout { grid-template-columns: 1fr; } }
.budget-lines { display: grid; gap: 10px; }
.bline { display: grid; grid-template-columns: 14px 1fr 130px; gap: 10px; align-items: center; }
.bline .sw { width: 12px; height: 12px; border-radius: 3px; }
.bline .input { min-height: 40px; padding: 8px 10px; text-align: left; direction: ltr; font-variant-numeric: tabular-nums; }
.bline .hint { font-size: 12px; color: var(--muted); }
.total-card { background: var(--board); color: #E6ECF5; border-radius: 20px; padding: 22px; display: grid; gap: 16px; }
.total-card .label { color: #8C9AB0; }
.total-amount { font: 700 64px/1 var(--font-display); color: var(--board-text); font-variant-numeric: tabular-nums; }
.stack { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: #243049; }
.stack span { display: block; height: 100%; }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 13.5px; }
.legend div { display: flex; justify-content: space-between; gap: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; }
.legend .v { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 14px; }
.split div { display: grid; }
.split b { font: 700 26px/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.split span { font-size: 12px; color: #8C9AB0; }

/* ---------- החופשות שלי ---------- */
.trip { display: grid; grid-template-columns: 120px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trip-art { position: relative; min-height: 160px; }
.trip-art .poster-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.trip-body { padding: 16px 18px; display: grid; gap: 12px; }
.trip-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.trip-top h3 { font: 700 32px/1 var(--font-display); }
.countdown { font: 700 13px/1 var(--font-mono); background: var(--board); color: var(--board-text); padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.progress { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.progress span { display: block; height: 100%; background: var(--teal); transition: width .3s ease; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; }
.checklist label { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 4px 0; cursor: pointer; }
.checklist input { width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.trip-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sample-flag { font: 600 11px/1 var(--font-mono); letter-spacing: .12em; color: var(--amber-ink); background: color-mix(in srgb, var(--amber) 18%, var(--surface)); padding: 5px 8px; border-radius: 6px; }
.confirm-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: color-mix(in srgb, var(--bad) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); padding: 8px 12px; border-radius: 10px; font-size: 14px; }
@media (max-width: 560px) { .trip { grid-template-columns: 1fr; } .trip-art { min-height: 110px; } }

/* ---------- עזרה ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; }
.step::before { content: counter(step); font: 700 40px/1 var(--font-display); color: var(--amber); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 600 20px/1 var(--font-mono); color: var(--teal); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 14px; color: var(--muted); }
.copy-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.copy-row .mono { font-size: 16px; direction: ltr; user-select: all; }

/* ---------- עוזר צ׳אט ---------- */
.help-fab {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px;
  background: var(--amber); color: #1B1204; border: 0; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.help-fab svg { width: 20px; height: 20px; }
.chat {
  position: fixed; left: 20px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 61;
  width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 140px));
  display: grid; grid-template-rows: auto 1fr auto auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); overflow: hidden;
}
@media (max-width: 480px) { .chat { left: 16px; } .help-fab { left: 16px; } .help-fab span { display: none; } }
.chat-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; padding: 14px 16px; background: var(--board); color: #E6ECF5; }
.chat-head strong { display: block; color: var(--board-text); }
.chat-head .fine { color: #93A1B6; }
.chat-log { overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; min-height: 160px; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.msg.bot { background: var(--surface-2); border: 1px solid var(--line); justify-self: start; border-top-right-radius: 4px; }
.msg.me { background: var(--teal); color: #fff; justify-self: end; border-top-left-radius: 4px; }
.msg a { font-weight: 600; }
.chat-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.chat-chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 10px; font-size: 13px; cursor: pointer; color: var(--ink); }
.chat-chips button:hover { border-color: var(--teal); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }

.toast {
  position: fixed; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 80;
  background: var(--board); color: var(--board-text); padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

.site-footer { border-top: 1px solid var(--line); padding-block: 28px 90px; background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner .fine { max-width: 70ch; margin-top: 6px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.note { background: var(--teal-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.warn-note { background: color-mix(in srgb, var(--warn) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.stack-v { display: grid; gap: 18px; }
.mt { margin-top: 28px; }

@keyframes rise { from { transform: translateY(8px); } to { transform: none; } }
.view:not([hidden]) > .wrap { animation: rise .35s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- תמונות אמיתיות מעל הפוסטרים ---------- */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.photo.loaded { opacity: 1; }
.dest-art .photo, .result-poster .photo, .trip-art .photo { z-index: 1; }
.dest-art .poster-title { z-index: 2; }
.dest-art::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 45%; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(8, 12, 22, .45), transparent); }
.result-rank { z-index: 2; }
.dest-card:hover .dest-art .photo { transform: scale(1.04); transition: opacity .7s ease, transform .6s ease; }

/* גלריה */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery figure.wide { grid-column: 1 / -1; }
.g-img { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.gallery figure.wide .g-img { aspect-ratio: 21 / 9; }
.g-img .poster-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; flex-wrap: wrap; }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } .gallery figure.wide .g-img { aspect-ratio: 16 / 10; } }

/* סרטוני ממליצים */
.yt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .yt-grid { grid-template-columns: 1fr; } }
.yt-card { display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
a.yt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.yt-frame { position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; background: #000; }
.yt-frame .poster-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-frame .play { position: absolute; top: 50%; left: 50%; width: 60px; height: 42px; margin: -21px 0 0 -30px; border-radius: 12px; background: #E62117; display: grid; place-items: center; z-index: 2; transition: transform .2s; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
a.yt-card:hover .play { transform: scale(1.08); }
.yt-frame .play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.yt-lang { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--amber); color: #1B1204; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.yt-meta { display: grid; gap: 4px; padding: 0 14px 14px; }
.yt-meta b { font-size: 15.5px; line-height: 1.35; }

/* =========================================================
   שדרוג עיצוב: הירו עם תמונות מתחלפות
   ========================================================= */
#view-home { padding-top: 0; }
.hero-band { position: relative; isolation: isolate; color: #F4F6FA; background: var(--board); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slides .slide.on { opacity: 1; }
.hero-slides .poster-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides .slide.on .photo.loaded { animation: kenburns 12s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to left, rgba(7, 12, 22, .88) 0%, rgba(7, 12, 22, .62) 45%, rgba(7, 12, 22, .35) 100%),
  linear-gradient(to top, rgba(7, 12, 22, .75), transparent 40%); }
.hero-band .hero { padding-block: 64px 40px; }
.hero-band .h-display { color: #fff; font-size: clamp(52px, 8vw, 104px); }
.hero-band .h-display span { color: var(--board-text); }
.hero-band .lead { color: #D6DEEA; }
.hero-eyebrow { color: var(--board-text); }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.hero-band .board { background: rgba(10, 16, 28, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .08); }
.hero-cap { padding-bottom: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .7); min-height: 32px; }
.nav-deal { color: var(--board-text) !important; font-weight: 700 !important; }
.mainnav a.nav-deal[aria-current="page"] { color: var(--board) !important; }

/* כרטיסי יתרונות */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: -26px; position: relative; z-index: 2; margin-bottom: 28px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; margin-top: 16px; } }
.feature { display: grid; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-3px); border-color: var(--teal); }
.feature b { font-size: 16.5px; }
.feature span:last-child { font-size: 13.5px; color: var(--muted); }
.f-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); margin-bottom: 6px; }
.f-ico svg { width: 20px; height: 20px; }

/* =========================================================
   אנשי קשר
   ========================================================= */
.contact { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 13.5px; }
.c-item { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
a.c-item:hover { color: var(--teal); }
.c-item svg { width: 15px; height: 15px; color: var(--teal); flex: none; }
.c-item a { color: inherit; text-decoration: none; }
.c-copy { border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: 6px; font-size: 11.5px; padding: 1px 7px; cursor: pointer; }
.c-copy:hover { color: var(--teal); border-color: var(--teal); }

/* =========================================================
   כסף
   ========================================================= */
.money-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.coin { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 700 40px/1 var(--font-mono); color: #3B2A06;
  background: radial-gradient(circle at 35% 30%, #FFE8A8, #E9A23B 60%, #B7791F);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .15), inset 0 0 0 6px rgba(255, 255, 255, .25), 0 10px 24px rgba(183, 121, 31, .35); }
.money-hero .lead b { color: var(--ink); }
.converter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; padding: 18px; }
.converter .input { font-size: 22px; font-weight: 600; direction: ltr; text-align: left; min-height: 54px; font-variant-numeric: tabular-nums; }
.cv-eq { font-size: 24px; color: var(--teal); padding-bottom: 12px; }
@media (max-width: 560px) { .converter { grid-template-columns: 1fr; } .cv-eq { display: none; } }

/* =========================================================
   סגירת דיל
   ========================================================= */
.deal-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .deal-layout { grid-template-columns: 1fr; } }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.step-card header { display: flex; align-items: center; gap: 12px; }
.step-card h3 { font-size: 19px; }
.step-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--board); color: var(--board-text); font: 700 15px/1 var(--font-mono); flex: none; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.opt, .hotel-opt { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.opt:hover, .hotel-opt:hover { border-color: color-mix(in srgb, var(--teal) 50%, var(--line)); }
.opt.on, .hotel-opt.on { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 7%, var(--surface)); }
.opt input, .hotel-opt input { accent-color: var(--teal); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.opt span { display: grid; gap: 2px; }
.opt small { color: var(--muted); font-size: 12.5px; }
.hotel-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .hotel-opts { grid-template-columns: 1fr; } }
.hotel-opt { display: grid; gap: 4px; padding-inline-start: 38px; }
.hotel-opt input { position: absolute; top: 14px; right: 12px; margin: 0; }
.ho-top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.ho-price { font-weight: 700; color: var(--teal); }
.date-pill { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; background: var(--surface-2); min-height: 44px; font-size: 14px; }
.date-pill .num { font-weight: 700; }
.date-pill span:nth-child(2) { color: var(--muted); }

.deal-pass { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 960px) { .deal-pass { position: static; } }
.dp-top { position: relative; height: 170px; color: #fff; isolation: isolate; }
.dp-top .poster-svg, .dp-top .photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.dp-top::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 12, 22, .85), rgba(8, 12, 22, .15)); }
.dp-route { position: absolute; top: 14px; inset-inline: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: 600; direction: ltr; }
.dp-route svg { width: 26px; height: 26px; color: var(--board-text); }
.dp-name { position: absolute; bottom: 14px; inset-inline: 16px; display: grid; }
.dp-name b { font: 700 36px/1 var(--font-display); }
.dp-name span { font-size: 13.5px; opacity: .9; }
.dp-body { padding: 18px; display: grid; gap: 12px; position: relative; }
.dp-body::before { content: ''; position: absolute; top: -1px; inset-inline: 18px; border-top: 2px dashed var(--line); }
.dp-id { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dp-id .mono { font-size: 15px; color: var(--teal); font-weight: 600; }
.dp-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.dp-lines li { display: flex; justify-content: space-between; gap: 12px; }
.dp-lines li span:first-child { color: var(--muted); }
.dp-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
.dp-total b { font: 700 44px/1 var(--font-display); }
.dp-actions { display: grid; gap: 8px; }
.dp-text { font-size: 13px; line-height: 1.5; resize: vertical; background: var(--surface-2); }
.dp-direct { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.dp-direct a { display: grid; grid-template-columns: 74px 1fr auto; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 14px; }
.dp-direct a:hover { border-color: var(--teal); }
.dp-direct .kind { font: 600 11px/1 var(--font-mono); letter-spacing: .08em; color: var(--teal); }
.dp-direct .go { color: var(--teal); font-weight: 600; font-size: 13px; }

/* =========================================================
   כל האתרים
   ========================================================= */
.sites-bar { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; padding: 16px; margin-bottom: 8px; }
.sites-bar .field:first-child { min-width: 180px; }
.sites-group { margin-top: 26px; }
.sites-group h2 { font: 700 30px/1 var(--font-display); margin-bottom: 12px; }
.site-link { position: relative; padding-inline-start: 62px; min-height: 76px; align-content: center; }
.site-mark { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--board); color: var(--board-text); font: 700 17px/1 var(--font-mono); }

.msg.typing { color: var(--muted); font-style: italic; }

/* ---------- סוגי חופשה ולינה ---------- */
.type-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.type-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; cursor: pointer; transition: background .15s, border-color .15s; }
.type-chip:hover { border-color: var(--teal); }
.type-chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 600; }
.fit-row { margin-top: -2px; }
.seg .cnt { font: 600 11px/1 var(--font-mono); color: var(--muted); margin-inline-start: 4px; }
.tier.kind { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 40%, transparent); background: var(--teal-soft); }
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.mini { font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.vibes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 20px; }
.vibe { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.vibe.on span:first-child { font-weight: 700; color: var(--teal); }
.dots { display: inline-flex; gap: 4px; direction: ltr; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.dots i.f { background: var(--amber); }
.fun-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.fun-card .row { justify-content: flex-start; gap: 6px; }
.fun-card h3 { font-size: 18px; }
#dlStay { margin-bottom: 4px; }

/* ---------- לינה בכל הארץ וניווט ---------- */
.stays-map { height: 420px; }
@media (max-width: 640px) { .stays-map { height: 320px; } }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; padding-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--teal); }
.center { text-align: center; }
.stay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.stay-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.sc-img { position: relative; height: 150px; overflow: hidden; background: linear-gradient(135deg, var(--k), color-mix(in srgb, var(--k) 45%, var(--board))); display: grid; place-items: center; }
.sc-glyph { font-size: 44px; opacity: .55; filter: grayscale(.2); }
.sc-body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.sc-body h3 { margin: 0; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.sc-top { display: flex; gap: 6px; flex-wrap: wrap; }
.sc-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.btn-deal { background: #1FA855; border-color: #1FA855; color: #fff; }
.btn-deal:hover { filter: brightness(1.08); }
.go-bar { align-items: end; }
.go-bar .field { flex: 1; min-width: 160px; }
.go-stats { display: flex; gap: 24px; margin: 8px 0; }
.go-stats div { display: grid; }
.go-stats b { font-size: 26px; font-family: var(--font-display); line-height: 1.1; }
.bus-no { direction: rtl; display: inline-block; font: 700 13px/1 var(--font-mono); background: var(--board); color: var(--board-text); padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.bus-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.bus-table th, .bus-table td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bus-table th { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ---------- בטיחות ואזהרות מסע ---------- */
.h-sub { font: 700 22px/1.2 var(--font-body); margin: 0 0 10px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; vertical-align: middle; }
.lv-badge { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--lv); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); width: fit-content; }
.lv-badge.lv-sm { margin: 0; padding: 4px 9px; font-size: 12.5px; box-shadow: none; }
.safety-status { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; }
.safety-map { height: 420px; }
@media (max-width: 640px) { .safety-map { height: 300px; } }
.safety-ours { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.safety-dest { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-inline-start: 5px solid var(--lv); text-decoration: none; color: var(--ink); }
.safety-dest span { font-size: 13px; color: var(--lv); font-weight: 600; }
.safety-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.safety-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--lv); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.safety-card .row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.safety-card p { margin: 0; }
.tips { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.rec { font-size: 13.5px; line-height: 1.5; background: var(--teal-soft); color: var(--ink); border-radius: 8px; padding: 6px 10px; margin-top: 4px; }
.rec b { color: var(--teal); }
.list li.has-thumb > div:nth-child(2) { flex: 1; min-width: 200px; }
.stay-thumb { position: relative; display: block; flex: none; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
@media (max-width: 640px) { .stay-thumb { width: 72px; height: 60px; } }

/* ---------- סיור תלת ממד ---------- */
.vr-bar { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; padding: 12px 14px; margin-bottom: 12px; }
.vr-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
.vr-stay { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 12px; }
.vr-stage { position: relative; height: min(68vh, 620px); min-height: 340px; border-radius: var(--radius); overflow: hidden; background: #0b111c; border: 1px solid var(--line); box-shadow: var(--shadow); user-select: none; -webkit-user-select: none; }
.vr-stage:fullscreen { height: 100%; border-radius: 0; }
.vr-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.vr-canvas:active { cursor: grabbing; }
.vr-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #dfe6ef; font-weight: 600; padding: 20px; text-align: center; }
.vr-stops { position: absolute; top: 12px; right: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
.vr-stops button { pointer-events: auto; border: 0; border-radius: 999px; padding: 7px 12px; font: 600 13.5px/1 var(--font-body); background: rgba(11, 17, 28, .62); color: #fff; backdrop-filter: blur(6px); cursor: pointer; }
.vr-stops button[aria-pressed="true"] { background: var(--amber); color: var(--board); }
.vr-pad { position: absolute; bottom: 14px; right: 14px; display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(2, 44px); gap: 6px; z-index: 2; }
.vr-pad[hidden] { display: none; }
.vr-pad button { border: 0; border-radius: 12px; background: rgba(11, 17, 28, .6); color: #fff; font-size: 18px; cursor: pointer; touch-action: none; backdrop-filter: blur(6px); }
.vr-pad button:active { background: var(--amber); color: var(--board); }
.vr-pad [data-hold="f"] { grid-column: 2; grid-row: 1; }
.vr-pad [data-turn="1"] { grid-column: 1; grid-row: 2; }
.vr-pad [data-hold="b"] { grid-column: 2; grid-row: 2; }
.vr-pad [data-turn="-1"] { grid-column: 3; grid-row: 2; }
.vr-drop { position: absolute; inset: auto 12px 12px 12px; z-index: 3; display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: #16233A; cursor: pointer; border: 2px dashed var(--teal); }
.vr-drop input { font: inherit; }
