/* Catch by Seeld — עיצוב לפי מקור ההשראה (Rentely): לבן נקי, ירוק כהה, פינות עגולות */
:root {
  --ink: #2e3a4e;          /* טקסט כותרות — כחול-אפור כהה */
  --ink-soft: #8b94a7;     /* טקסט משני */
  --green: #0e3a34;        /* ירוק כהה — כפתורים ראשיים */
  --green-hover: #0a2b27;
  --teal-deep: #12444a;    /* כותרת התוצאות */
  --line: #e7eaf0;
  --chip: #eef1f6;
  --bg-outer: #eef0f4;
  --radius-xl: 28px;
  --shadow-pop: 0 12px 40px rgba(30, 42, 59, .14);
  font-size: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: "Rubik", "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg-outer);
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 1280px;
  margin: 14px auto;
  background: #fff;
  border-radius: 22px;
  overflow: clip;
  min-height: calc(100vh - 28px);
  display: flex;
  flex-direction: column;
}

/* ═══ Header ═══ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 36px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; color: var(--green); }
.brand-text { display: flex; align-items: baseline; gap: 7px; }
.brand-name {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  direction: ltr;
}
.brand-sub {
  font-family: "Poppins", sans-serif;
  font-size: .62rem;
  font-weight: 500;
  color: var(--ink-soft);
  direction: ltr;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav-link:hover { color: var(--green); }
.lang-btn {
  border: 1px solid var(--line);
  background: none;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn:hover { border-color: var(--green); color: var(--green); }
.nav-cta {
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background .15s;
}
.nav-cta:hover { background: var(--green-hover); }

/* בר מקוצר בכותרת (מסך תוצאות) */
.mini-search {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  padding-inline-start: 20px;
  padding-inline-end: 8px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(30,42,59,.05);
}
.mini-search:hover { box-shadow: 0 4px 16px rgba(30,42,59,.1); }
.mini-seg { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.mini-sep { width: 1px; height: 22px; background: var(--line); }
.mini-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}
.mini-btn svg { width: 16px; height: 16px; }

/* ═══ Hero ═══ */
.screen { flex: 1; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 36px 72px;
}
.hero-copy { padding-inline-start: 12px; }
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.hero-photo img {
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

/* ═══ בר חיפוש ═══ */
.search-bar {
  position: relative;
  margin-top: 34px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 6px 24px rgba(30, 42, 59, .07);
  max-width: 560px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 999px;
  flex: 1;
  min-width: 0;
}
.search-field:hover { background: #f6f8fb; }
.f-icon { width: 19px; height: 19px; color: var(--ink-soft); flex: none; }
.f-text { font-size: .95rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.f-text.placeholder { color: var(--ink-soft); font-weight: 400; }
.search-sep { width: 1px; height: 26px; background: var(--line); flex: none; }
.search-btn {
  border: 0;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 30px;
  border-radius: 999px;
  cursor: pointer;
  flex: none;
  transition: background .15s;
}
.search-btn:hover { background: var(--green-hover); }
.search-error { margin-top: 12px; color: #c0392b; font-size: .9rem; }

/* ═══ Popovers ═══ */
.popover {
  position: absolute;
  top: calc(100% + 12px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-pop);
  z-index: 50;
}
.pop-dest { inset-inline-start: 0; width: 320px; padding: 14px; }
.dest-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
  font-size: .95rem;
  outline: none;
}
.dest-input:focus { border-color: var(--green); }
.dest-list { max-height: 290px; overflow-y: auto; margin-top: 10px; }
.dest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: none;
  font: inherit;
  font-size: .95rem;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: start;
  color: var(--ink);
}
.dest-item:hover { background: #f4f6fa; }
.dest-flag { font-size: 1.15rem; }
.dest-secondary { margin-inline-start: auto; color: var(--ink-soft); font-size: .8rem; }
.dest-empty { color: var(--ink-soft); font-size: .9rem; padding: 14px 12px; }

/* לוח שנה */
.pop-cal { inset-inline-start: 0; padding: 22px 26px; }
.cal-wrap { display: flex; gap: 34px; }
.cal-month { width: 252px; }
.cal-head { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 14px; }
.cal-title { font-weight: 600; font-size: .98rem; color: var(--ink); }
.cal-nav {
  position: absolute;
  top: -4px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 1.15rem;
  padding: 4px 10px;
  border-radius: 50%;
}
.cal-nav:hover { background: var(--chip); color: var(--ink); }
.cal-nav.prev { inset-inline-start: -10px; }
.cal-nav.next { inset-inline-end: -10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 36px); gap: 0; }
.cal-dow {
  font-size: .68rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  padding: 6px 0 10px;
  letter-spacing: .04em;
}
.cal-day {
  width: 36px; height: 36px;
  border: 0;
  background: none;
  font: inherit;
  font-size: .88rem;
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cal-day:hover:not(:disabled) { background: var(--chip); }
.cal-day:disabled { color: #c9cfda; cursor: default; }
.cal-day.outside { visibility: hidden; }
.cal-day.in-range { background: #f0f3f8; border-radius: 0; }
.cal-day.sel { background: var(--green); color: #fff; }
.cal-day.range-start { border-start-start-radius: 50%; border-end-start-radius: 50%; }
.cal-day.range-end { border-start-end-radius: 50%; border-end-end-radius: 50%; }

/* נוסעים */
.pop-guests { inset-inline-end: 90px; width: 300px; padding: 22px; }
.guests-row { display: flex; align-items: center; justify-content: space-between; }
.guests-label { font-weight: 600; font-size: 1.02rem; }
.stepper { display: flex; align-items: center; gap: 16px; }
.step-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--chip);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
}
.step-btn:hover { background: #e2e7ef; }
.step-btn:disabled { opacity: .35; cursor: default; }
.step-num { font-size: 1.25rem; font-weight: 600; min-width: 26px; text-align: center; }
.guests-note { margin-top: 14px; font-size: .8rem; color: var(--ink-soft); }

/* ═══ How + FAQ ═══ */
.sec-title { font-size: 1.7rem; font-weight: 700; margin-bottom: 26px; }
.how { padding: 30px 36px 10px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-card { border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; }
.how-num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.how-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.how-card p { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }
.faq { padding: 44px 36px 60px; max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1rem; list-style: none; position: relative; padding-inline-end: 28px; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 2px; top: 0; color: var(--ink-soft); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; color: var(--ink-soft); font-size: .93rem; line-height: 1.7; }

/* ═══ תוצאות ═══ */
#screenResults { padding: 34px 36px 60px; }
.results-eyebrow { color: var(--ink-soft); font-size: .92rem; }
.results-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--teal-deep);
  letter-spacing: -.02em;
  margin-top: 6px;
}
.results-meta { margin-top: 8px; font-size: 1.12rem; color: var(--ink); }

.edit-chip {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.edit-chip svg { width: 15px; height: 15px; color: var(--ink-soft); }
.edit-chip:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 1020px) {
  .edit-chip { display: inline-flex; }
}
.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}
.globe-panel {
  position: relative;
  height: 540px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #12314e 0%, #081527 55%, #040b18 100%);
  border: 1px solid var(--line);
}
.globe-mount { position: absolute; inset: 0; display: grid; place-items: center; }
.globe-caption {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: .98rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  pointer-events: none;
}
.results-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
.results-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.results-table th {
  text-align: start;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fafbfd;
  white-space: nowrap;
}
.results-table td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.results-table tr:last-child td { border-bottom: 0; }
.row-best { background: #f4faf7; }

.cell-company { display: flex; align-items: center; gap: 14px; }
.company-logo {
  width: 84px; height: 40px;
  object-fit: contain;
  object-position: center;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 9px;
}
.company-name { font-weight: 600; font-size: 1rem; }
.company-product { color: var(--ink-soft); font-size: .82rem; margin-top: 2px; }
.best-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
  margin-inline-start: 8px;
  vertical-align: 2px;
}
.price-day { font-weight: 500; white-space: nowrap; direction: ltr; }
.price-total { font-weight: 800; font-size: 1.35rem; color: var(--teal-deep); white-space: nowrap; direction: ltr; unicode-bidi: embed; }
.cell-medical { color: var(--ink-soft); font-size: .88rem; max-width: 220px; }
.buy-btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 24px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s;
}
.buy-btn:hover { background: var(--green-hover); }
.buy-btn.disabled { background: var(--chip); color: var(--ink-soft); pointer-events: none; }
.results-note { margin-top: 18px; color: var(--ink-soft); font-size: .85rem; line-height: 1.7; max-width: 760px; }

/* ═══ Footer ═══ */
.site-footer { border-top: 1px solid var(--line); padding: 26px 36px; }
.foot-brand .brand-name { font-size: 1.05rem; }
.foot-legal { margin-top: 8px; color: var(--ink-soft); font-size: .8rem; line-height: 1.7; max-width: 720px; }

/* ═══ רספונסיב ═══ */
@media (max-width: 1020px) {
  .results-layout { grid-template-columns: 1fr; }
  .globe-panel { height: 340px; order: -1; }
  .hero { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-photo { order: -1; }
  .hero-photo img { height: 300px; }
  .cal-wrap { flex-direction: column; gap: 20px; }
  .pop-cal { inset-inline-start: 0; max-height: 420px; overflow-y: auto; }
  .how-grid { grid-template-columns: 1fr; }
  .mini-search { display: none !important; }
}
@media (max-width: 760px) {
  .page { margin: 0; border-radius: 0; min-height: 100vh; min-height: 100dvh; }
  .site-header { padding: 12px 16px; gap: 10px; }
  .site-nav { gap: 10px; }
  .site-nav .nav-link { display: none; }
  .lang-btn { padding: 7px 13px; font-size: .82rem; }
  .nav-cta { padding: 8px 15px; font-size: .85rem; }
  .brand-mark { width: 22px; height: 22px; }
  .brand-name { font-size: 1.15rem; }

  .hero { padding: 20px 16px 34px; gap: 18px; }
  .hero-photo img { height: 210px; border-radius: 20px; }
  .hero-title { font-size: 2.15rem; }
  .hero-sub { margin-top: 12px; font-size: 1rem; }

  /* בר החיפוש נערם אנכית; הפופאובר נפתח כגיליון תחתון */
  .search-bar { margin-top: 22px; flex-wrap: wrap; border-radius: 24px; max-width: none; padding: 10px; gap: 2px; }
  .search-field { flex: 1 1 100%; padding: 12px 10px; }
  .search-sep { display: none; }
  .search-btn { flex: 1 1 100%; margin-top: 8px; padding: 15px; font-size: 1rem; }
  .popover {
    position: fixed !important;
    inset-inline: 10px !important;
    top: auto !important;
    bottom: 10px !important;
    width: auto !important;
    max-height: 76vh;
    max-height: 76dvh;
    overflow-y: auto;
    z-index: 90;
    box-shadow: 0 -8px 40px rgba(30,42,59,.28);
  }
  .pop-cal { padding: 16px; }
  .cal-month { width: 100%; }
  .cal-grid { grid-template-columns: repeat(7, 1fr); justify-items: center; }
  .dest-input { position: sticky; top: 0; background: #fff; z-index: 2; }
  .dest-list { max-height: 46vh; }

  .how { padding: 20px 16px 6px; }
  .faq { padding: 34px 16px 44px; }
  .sec-title { font-size: 1.35rem; margin-bottom: 18px; }

  #screenResults { padding: 20px 16px 40px; }
  .results-title { font-size: 1.9rem; }
  .results-meta { font-size: 1rem; }
  .results-layout { gap: 16px; margin-top: 20px; }
  .globe-panel { height: 260px; }
  .globe-caption { font-size: .88rem; bottom: 10px; }
  .results-table td, .results-table th { padding: 10px 8px; }
  .site-footer { padding: 20px 16px; }
}

/* מסכים צרים מאוד: הטבלה נכנסת בלי גלילה — מסתירים את עמודת הכיסוי ומקטינים */
@media (max-width: 560px) {
  .results-table { min-width: 0; }
  .results-table td, .results-table th { padding: 10px 5px; }
  .results-table th { font-size: .68rem; }
  .th-medical, .cell-medical { display: none; }
  .results-table td:nth-child(4), .results-table th:nth-child(4) { display: none; }
  .company-logo { width: 46px; height: 26px; padding: 2px 4px; border-radius: 7px; }
  .cell-company { gap: 7px; }
  .company-name { font-size: .84rem; }
  .company-product { font-size: .68rem; }
  .best-badge { display: block; width: fit-content; margin: 3px 0 0; font-size: .62rem; padding: 2px 8px; }
  .price-day { font-size: .82rem; }
  .price-total { font-size: 1.02rem; }
  .buy-btn { padding: 7px 10px; font-size: .74rem; }
}
