﻿/* =============================================================================
   ICOM ישראל — עיצוב
   מובייל-first · RTL · טיפוגרפיה גדולה וקריאה
   הצבעים והמידות מרוכזים ב־:root למטה לעריכה נוחה.
   ============================================================================= */

:root {
  /* ---- צבעים (נגזרים מאיור ההזמנה של הכנס 2026) ----
     רקע קרם בהיר ואוורירי, כתום ICOM כעוגן, ולצידו הגוונים מהאיור:
     ירוק־מרווה (גבעות), פרוונק (שמיים/פסלים), טרקוטה (כלניות). */
  --bg:        #f8f4ea;   /* קרם חם */
  --surface:   #ffffff;
  --ink:       #4a4a4a;   /* אפור כהה מעודן — טקסט רץ (לא שחור מוחלט) */
  --ink-soft:  #6f6f6f;   /* אפור משני */
  --line:      #ece4d7;
  --surface-soft: #fdfcf9;  /* קרם מולבן — כרטיסים בתוך כרטיס (הסעות, חניות) */

  --heading:   #2c3e50;   /* אפור־פחם אלגנטי — כותרות */
  --brand:     #2c3e50;   /* מבנה */
  --brand-ink: #2c3e50;   /* כותרות כהות */
  --accent:    #f9653d;   /* כתום ICOM הרשמי — הדגשה מובילה */
  --accent-ink:#d64a22;   /* כתום כהה לטקסט/מעבר עכבר */

  /* גוונים משניים מהאיור */
  --sage:      #7c8f45;   /* ירוק־מרווה כהה */
  --sage-soft: #93a35a;   /* ירוק בהיר */
  --peri:      #7f93c4;   /* כחול־פרוונק */
  --peri-ink:  #4f639c;   /* פרוונק כהה לטקסט */
  --terra:     #d84a2f;   /* טרקוטה/כלנית */
  --gold:      #d98b3f;   /* חום־חמרה חמים (משני) */

  --ok:        #4f8f3f;   /* פתוח לרישום (ירוק־מרווה) */
  --full:      #c0392b;   /* מלא */
  --few:       #d98b3f;   /* מקומות אחרונים */

  /* רקעי מקטעים — לחישת גוון בלבד (כמעט off-white אחיד) */
  --bg-sage:   #f4f4ea;
  --bg-peach:  #faf1e9;
  --bg-peri:   #eff1f5;
  --band-bg:   #f8f4ea;   /* רקע המקטע הנוכחי (נדרס ע״י .band--*) */

  /* מידות */
  --wrap: 640px;          /* רוחב תוכן מקסימלי (מובייל-first) */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 34px rgba(0,0,0,.09);
  --shadow-soft: 0 2px 10px rgba(0,0,0,.04);

  /* פונט האתר: IBM Plex Sans Hebrew (Google Fonts, קוד־פתוח) — מוטמע מקומית
     דרך fonts.css. חלופות עבריות למקרה שלא נטען. */
  --font: "IBM Plex Sans Hebrew", "Heebo", "Assistant", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}

h1 { margin: 0; line-height: 1.2; font-weight: 700; }
h2, h3 { margin: 0; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, "SFMono-Regular", monospace; font-size: .85em;
       background: rgba(0,0,0,.05); padding: .1em .35em; border-radius: 6px; }

/* ===== סרגל ניווט מהיר (דביק) ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-block-end: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 6px 20px rgba(0,0,0,.04);
}
.topbar__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: .7rem 1.15rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo {
  display: block; height: 34px; width: auto;
}
@media (min-width: 720px) { .brand__logo { height: 40px; } }

.quicknav {
  display: flex; gap: .3rem; overflow-x: auto;
  margin-inline-start: auto;
  -ms-overflow-style: none; scrollbar-width: none;
}
.quicknav::-webkit-scrollbar { display: none; }
.quicknav a {
  flex-shrink: 0; position: relative;
  font-size: .92rem; font-weight: 600; color: var(--heading);
  padding: .35rem .5rem; border: 0; background: transparent;
  white-space: nowrap;
  transition: color .15s ease;
}
.quicknav a::after {
  content: ""; position: absolute; inset-inline: .5rem; inset-block-end: -.05rem;
  height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: center; transition: transform .2s ease;
}
.quicknav a:hover { color: var(--accent-ink); }
.quicknav a:hover::after, .quicknav a:focus-visible::after { transform: scaleX(1); }

/* ===== Hero גבוה עם קופסת זכוכית ===== */
.hero {
  position: relative; overflow: hidden; background: #cdd6ec;
  height: 78vh; min-height: 460px; max-height: 820px;
  line-height: 1.25;
}
.hero__art { position: absolute; inset: 0; }
.hero__art img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  transform-origin: 50% 45%;
  animation: heroZoom 30s ease-in-out infinite alternate;
}
/* תנועת "זום" עדינה (Ken Burns) — מכובה אוטומטית ב־prefers-reduced-motion */
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* שכבת כיסוי כהה על האיור */
.hero__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 1.15rem clamp(2rem, 8vh, 5rem);
  background: linear-gradient(180deg,
    rgba(18,14,20,.34) 0%, rgba(18,14,20,.20) 38%, rgba(18,14,20,.66) 100%);
}
/* קופסת זכוכית חלבית (Glassmorphism) */
.hero__overlay-in {
  width: 100%; max-width: var(--wrap);
  background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.2);
}
.hero__name {
  color: rgba(255,255,255,.94); font-weight: 600;
  font-size: clamp(.86rem, 3.2vw, 1.05rem);
  line-height: 1.35; letter-spacing: .01em;
  margin-block-end: .7rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.hero__name:empty { display: none; }
.hero__title {
  color: #fff; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.1;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero__title .hl { color: var(--accent); }
.hero__sub {
  color: rgba(255,255,255,.96); font-weight: 300;
  font-size: clamp(.92rem, 3.6vw, 1.18rem);
  letter-spacing: .01em;
  margin-block-start: .7rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
/* ספירה לאחור בתוך קופסת הזכוכית של הבאנר */
.hero__countdown { margin-block-start: 1.4rem; }
.hero__countdown[hidden] { display: none; }
.hero__cdlabel {
  color: rgba(255,255,255,.92); font-weight: 600;
  font-size: .82rem; letter-spacing: .04em;
  margin-block-end: .6rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hcd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.hcd {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 14px; padding: 12px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.hcd__num {
  color: #fff; font-weight: 700; line-height: 1;
  font-size: clamp(1.5rem, 6.5vw, 2.3rem);
  font-variant-numeric: tabular-nums;
}
.hcd__lbl { color: rgba(255,255,255,.9); font-weight: 300; font-size: .72rem; letter-spacing: .02em; }

/* רצועת ההרשמה — שורה אחת מתחת לספירה, למי שעדיין לא נרשם/ה */
.hero__reg {
  margin-block-start: .95rem;
  color: rgba(255,255,255,.92);
  font-size: .88rem; font-weight: 400; line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero__reg a {
  color: #fff; font-weight: 700; text-decoration: none;
  border-block-end: 1px solid rgba(255,255,255,.55);
  padding-block-end: 1px; white-space: nowrap;
}
.hero__reg a:hover, .hero__reg a:focus-visible { border-block-end-color: #fff; }


/* פס כלניות מפריד (כלנית אחת ב־SVG, משוכפלת) */
.fdivider {
  height: 44px; width: 100%; margin-block: .4rem;
  background-image: url('art/anemones-row.svg');
  background-repeat: repeat-x; background-size: 180px 100%; background-position: 0 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: breeze 44s linear infinite; /* רוח עדינה */
}
@keyframes breeze { from { background-position-x: 0; } to { background-position-x: 180px; } }

/* חשיפה עדינה של מקטעים בגלילה */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== ספירה לאחור מוטמעת ===== */
.countdown-embed {
  max-width: var(--wrap); margin-inline: auto;
  padding: 2.6rem 1.25rem 0;
}
.countdown-frame {
  width: 100%; height: 300px; border: 0; display: block; overflow: hidden;
  color-scheme: light;
}

/* ===== כרטיס "עכשיו" חי ===== */
.now {
  position: relative; isolation: isolate;
  padding: 2.4rem 1.25rem 2.8rem;
  background: var(--bg);
}
/* מוצג רק מרגע פתיחת הכנס (ראו applySectionOrder ב-script.js) */
.now[hidden] { display: none; }
.now__wrap { position: relative; max-width: var(--wrap); margin-inline: auto; }
.now__kicker {
  color: var(--accent-ink); font-weight: 800; font-size: .9rem;
  letter-spacing: .02em; margin-block-end: .5rem;
}
.now__kicker:empty { display: none; }
.now__clock {
  font-variant-numeric: tabular-nums;
  font-weight: 800; font-size: 1rem; color: var(--peri-ink);
  letter-spacing: .06em; margin-block-end: .8rem;
}
.now__clock::before { content: "🕐 "; }

.now__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.now__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .82rem; letter-spacing: .01em;
  background: var(--accent); color: #fff;
  padding: .42rem .95rem; border-radius: 999px;
  margin-block-end: 1.1rem;
}
.now__badge::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.8s infinite;
}
.now__badge--next { background: var(--peri); color: #fff; }
.now__badge--next::before { animation: none; box-shadow: none; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.now__title { font-size: clamp(1.5rem, 5.6vw, 1.95rem); color: var(--heading); letter-spacing: -.01em; line-height: 1.15; }
.now__time  { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-soft); margin-block-start: .35rem; }
.now__desc  { color: var(--ink-soft); margin-block-start: .6rem; font-size: .98rem; }
.now__desc:empty { display: none; }

/* כפתור משוב (לאחר סיום הכנס) */
.now__cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-block-start: 1.3rem;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: .95rem;
  padding: .7rem 1.5rem; border-radius: 999px; border: 0;
  box-shadow: 0 4px 14px rgba(249,101,61,.28); text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.now__cta[hidden] { display: none; }
.now__cta:hover { box-shadow: 0 9px 24px rgba(249,101,61,.42); transform: translateY(-1px); }
/* מצב מציין־מקום — כל עוד אין קישור */
.now__cta--todo {
  background: transparent; color: var(--ink-soft); font-weight: 500;
  border: 1.5px dashed color-mix(in srgb, var(--ink-soft) 45%, transparent);
  box-shadow: none; cursor: default;
}
.now__cta--todo:hover { box-shadow: none; transform: none; }

.next {
  margin-block-start: 1rem;
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  box-shadow: var(--shadow);
}
.next__label {
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  color: var(--peri-ink);
}
.next__title { font-weight: 700; color: var(--ink); }
.next__countdown {
  margin-inline-start: auto; font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent-ink);
  padding: .2rem .6rem; border-radius: 999px;
  font-size: .9rem;
}
.next[hidden] { display: none; }

/* ===== מקטעים כלליים (רקעים מתחלפים + עמודה פנימית) ===== */
.section { padding: 3.8rem 1.25rem; }
.section__in { max-width: var(--wrap); margin-inline: auto; }
.section--tight { padding-block: 2.4rem; }

/* רקעי מקטעים רכים (--band-bg מאפשר לרכיבים פנימיים להתאים לרקע) */
.band--sage  { background: var(--bg-sage);  --band-bg: var(--bg-sage); }
.band--peach { background: var(--bg-peach); --band-bg: var(--bg-peach); }
.band--peri  { background: var(--bg-peri);  --band-bg: var(--bg-peri); }

/* כותרות עריכתיות */
.section__head { margin-block-end: 1.8rem; }
.eyebrow {
  font-size: .8rem; font-weight: 800; letter-spacing: .06em;
  color: var(--accent-ink); text-transform: none;
  margin-block-end: .3rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent);
}
.section__head h2 {
  font-size: clamp(1.55rem, 5.6vw, 2rem); color: var(--brand-ink);
  letter-spacing: -.01em; line-height: 1.15;
}
.section__meta { color: var(--ink-soft); font-size: .95rem; margin-block-start: .35rem; }

/* ===== לוח זמנים (timeline) ===== */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.tl {
  position: relative;
  padding-inline-start: 4rem;
  padding-block: .85rem;
}
/* הקו מחבר בין אייקון לאייקון — ולכן נמתח מכל פריט אל הבא אחריו.
   לפריט האחרון אין קו, כדי שהציר ייגמר באייקון ולא ייפול לחלל. */
.tl::before {
  content: ""; position: absolute;
  inset-inline-start: 21px; inset-block-start: 40px; height: 100%;
  width: 2px; border-radius: 2px;
  background: color-mix(in srgb, var(--heading) 12%, transparent);
}
.tl:last-child::before { content: none; }
/* ציר: אייקון + שעות מתחתיו */
.tl__rail {
  position: absolute; inset-inline-start: 0; inset-block-start: 1.15rem;
  width: 44px; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  z-index: 1;
}
.tl__ic {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--accent-ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.tl__ic svg { width: 21px; height: 21px; display: block; }
/* שעות מתחת לאייקון */
.tl__railtime {
  display: flex; flex-direction: column; align-items: center; line-height: 1.15;
  font-variant-numeric: tabular-nums;
  background: var(--band-bg); padding-block: .18rem; border-radius: 6px;
}
.tl__t1 { font-size: .82rem; font-weight: 700; color: var(--heading); }
.tl__t2 { font-size: .7rem; font-weight: 500; color: var(--ink-soft); }
.tl--current .tl__t1 { color: var(--accent-ink); }
.tl__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tl__time {
  font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: .84rem; color: var(--ink-soft);
  letter-spacing: .01em;
  display: flex; align-items: center; gap: .55rem;
}
.tl__pill {
  font-size: .68rem; font-weight: 600; letter-spacing: .02em;
  padding: .18rem .62rem; border-radius: 999px;
  background: color-mix(in srgb, var(--heading) 7%, transparent);
  color: var(--heading);
}
.tl__title { font-size: 1.18rem; color: var(--heading); margin-block-start: .5rem; line-height: 1.3; }
.tl__desc  { color: var(--ink-soft); font-size: .95rem; margin-block-start: .5rem; }
.tl__speakers {
  margin-block-start: .8rem; font-size: .85rem; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
}
.tl__speaker {
  background: color-mix(in srgb, var(--peri) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--peri) 30%, transparent);
  color: var(--peri-ink); font-weight: 500;
  padding: .22rem .7rem; border-radius: 999px;
}
.tl__diet { margin-block-start: .7rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.tl__diet span {
  font-size: .8rem; font-weight: 500;
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--ok) 26%, transparent);
  color: #3a6b46;
  padding: .22rem .7rem; border-radius: 999px;
}
.tl__link {
  display: inline-block; margin-block-start: .5rem; margin-inline-end: .9rem;
  font-weight: 800; font-size: .88rem; color: var(--accent-ink);
}
.tl__link::after { content: " ↓"; }
.tl__link--ext::after { content: " ↗"; }

.tl__pill--parallel {
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  color: #8a5418;
}
.tl[data-type="session"].tl--parallel .tl__card,
.tl--parallel .tl__card { border-style: dashed; }

/* מצבי הזמן */
.tl--past { opacity: .55; }
.tl--past .tl__ic { color: var(--ink-soft); }

/* ===== המשבצת הנוכחית והבאה — הלוח הוא הכרטיס החי ===== */
.tl__live {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  padding: .28rem .7rem; border-radius: 999px;
  margin-block-end: .5rem;
}
.tl__live[hidden] { display: none; }
.tl__live--now { background: var(--accent); color: #fff; }
.tl__live--now::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; animation: pulse 1.8s infinite;
}
.tl__live--next {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

/* המשבצת שמתקיימת עכשיו — ההדגשה עצמה מוגדרת למטה, ליד סימוני הסוג */
.tl--current { opacity: 1; }
.tl--current .tl__t1, .tl--current .tl__t2 { color: var(--accent-ink); }

.tl--next .tl__card { border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }

/* גלילה אוטומטית אל המשבצת הנוכחית — שלא תיתקע מתחת לסרגל הדביק */
.tl { scroll-margin-block-start: 90px; }

.tl--current .tl__ic {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent);
}
.tl--current .tl__card {
  border-color: var(--accent);
  border-inline-start: 5px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}
/* התג ”עכשיו” עצמו הוא אלמנט אמיתי (.tl__live), לא ::before —
   כך אותו מקום מציג גם את הספירה ”בעוד X דק׳” על המשבצת הבאה. */

/* צביעה לפי סוג — הנקודות נשארות ניטרליות; הכתום שמור ל"עכשיו מתקיים" בלבד */
.tl[data-type="lunch"]   .tl__card { background: color-mix(in srgb, var(--gold) 8%, var(--surface)); }
.tl[data-type="break"]   .tl__title { font-weight: 700; color: var(--ink-soft); }
.tl[data-type="break"]   .tl__card { background: transparent; box-shadow: none; border-style: dashed; }

/* ===== הסיור שלי ===== */
.mytour {
  background: linear-gradient(135deg, var(--brand), var(--brand-ink));
  color: #fff; border-radius: var(--radius);
  padding: 1.2rem 1.2rem; box-shadow: var(--shadow-lg);
}
.mytour__tag {
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  color: var(--gold);
}
.mytour__name { font-size: 1.3rem; margin-block-start: .25rem; }
.mytour__time { font-variant-numeric: tabular-nums; font-weight: 700; opacity: .9; margin-block-start: .2rem; }
.mytour__row { margin-block-start: .7rem; font-size: .92rem; opacity: .9; display: flex; gap: .5rem; }
.mytour__row::before { content: "🚌"; }
.mytour__note { margin-block-start: .5rem; font-size: .85rem; opacity: .75; }

/* נקודת התכנסות לסיורים */
.meetpoint {
  background: color-mix(in srgb, var(--sage) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--sage) 22%, transparent);
  border-radius: 12px; padding: .75rem 1.1rem;
  font-size: .93rem; font-weight: 600; color: var(--heading);
  margin-block-end: 1.25rem;
}
.meetpoint[hidden] { display: none; }

/* הערת מגבלת מקומות בסיורים */
.toursnote {
  margin-block-start: -.7rem; margin-block-end: 1.3rem;
  font-size: .89rem; line-height: 1.6; color: var(--ink-soft);
}
.toursnote[hidden] { display: none; }

/* נקודת התכנסות בתוך כרטיס סיור */
/* margin-top:auto מצמיד את התיבה לתחתית הכרטיס, כך שהיא מיושרת בין הכרטיסים
   גם כשאורך התוכן שמעליה שונה */
.tour__meet {
  margin-block-start: auto; padding: .6rem .85rem;
  background: color-mix(in srgb, var(--sage) 10%, var(--surface));
  border-radius: 10px;
  font-size: .89rem; color: var(--heading);
  display: flex; align-items: flex-start; gap: .45rem;
}
.tour__meet::before { content: "📍"; flex-shrink: 0; }
.tour__meet strong { font-weight: 600; }

/* ===== כרטיסים (סיורים / הסעות) ===== */
.cards { display: grid; gap: 1.25rem; }

.tour {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow); cursor: pointer;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.tour__head { display: flex; align-items: flex-start; gap: .7rem; }
.tour__title { font-size: 1.2rem; color: var(--heading); flex: 1; line-height: 1.35; }
.tour__status {
  flex-shrink: 0; font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  padding: .3rem .75rem; border-radius: 999px; white-space: nowrap;
}
.tour__status--open { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.tour__status--few  { background: color-mix(in srgb, var(--few) 18%, transparent); color: var(--few); }
.tour__status--full { background: color-mix(in srgb, var(--ink-soft) 12%, var(--surface)); color: var(--ink-soft); }

.tour__short { color: var(--ink-soft); font-size: .96rem; margin-block-start: .7rem; line-height: 1.6; }
.tour__meta {
  margin-block-start: 1rem; margin-block-end: .9rem;   /* מרווח מובטח מעל תיבת ההתכנסות */
  display: flex; flex-direction: column; gap: .45rem;
  font-size: .89rem; color: var(--ink-soft);
}
.tour__meta div { display: flex; gap: .5rem; }

.tour__full {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, margin .3s ease, opacity .3s ease;
  opacity: 0;
}
.tour.is-open .tour__full {
  max-height: 400px; opacity: 1;
  margin-block-start: .8rem; padding-block-start: .8rem;
  border-block-start: 1px solid var(--line);
}
.tour__desc { font-size: .95rem; line-height: 1.65; }
.tour__more {
  display: inline-flex; align-items: center; gap: .3rem;
  align-self: flex-start;
  padding-block-start: 1rem;
  font-weight: 600; font-size: .9rem;
  color: var(--accent-ink);
}
/* אם אין נקודת התכנסות — הקישור הוא שנצמד לתחתית */
.tour:not(:has(.tour__meet)) .tour__more { margin-block-start: auto; }
.tour__more::after { content: "▾"; transition: transform .2s; }
.tour.is-open .tour__more::after { transform: rotate(180deg); }
.tour.is-full { opacity: .92; }

/* הסעות */
.cards--transport { grid-template-columns: 1fr; gap: .7rem; }
.trans-item { display: flex; flex-direction: column; }
.trans {
  flex: 1;
  background: var(--surface-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.15rem 1.3rem;
  display: flex; flex-direction: column; align-items: stretch; text-align: start; gap: .8rem;
}
.trans__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  align-self: stretch; margin-block-start: auto; text-align: center;
  background: color-mix(in srgb, #25D366 12%, var(--surface));
  border: 1px solid color-mix(in srgb, #25D366 32%, transparent);
  color: #0f7a37; font-weight: 600; font-size: .8rem; line-height: 1.25;
  padding: .5rem .5rem; border-radius: 14px;
  transition: background .15s ease, transform .15s ease;
}
.trans__wa svg { width: 17px; height: 17px; flex-shrink: 0; }
.trans__wa:hover { background: color-mix(in srgb, #25D366 20%, var(--surface)); transform: translateY(-1px); }
.trans__from {
  font-size: 1.05rem; font-weight: 800; min-width: 0; color: var(--heading);
  line-height: 1.2; text-align: start;
  margin: 0 0 .5rem; padding-inline-start: 1.3rem;
}

/* מסלול ההסעה — נקודות האיסוף על ציר אנכי, לפי הסדר */
.trans__route { list-style: none; margin: 0; padding: 0; }
.trans__stop { position: relative; padding-inline-start: 1.15rem; }
.trans__stop + .trans__stop { margin-block-start: .85rem; }
.trans__stop::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .42em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}
.trans__stop:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-start: 4px;
  inset-block-start: calc(.42em + 12px); inset-block-end: -.85rem;
  width: 1px; background: var(--line);
}
.trans__label {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .03em;
  color: var(--accent-ink); line-height: 1.2; margin-block-end: .15rem;
}
.trans__time {
  display: block; font-variant-numeric: tabular-nums; font-weight: 800;
  font-size: 1.15rem; line-height: 1.1; color: var(--accent-ink);
}
.trans__place {
  display: block; font-size: .95rem; font-weight: 600; color: var(--heading);
  line-height: 1.3; margin-block-start: .1rem;
}

/* הערות כלליות להסעות */
.trans-hints { margin-block-start: 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.trans-hint {
  font-size: .9rem; color: var(--ink-soft); line-height: 1.5;
  display: flex; align-items: flex-start; gap: .55rem;
}
.trans-hint::before {
  content: ""; flex-shrink: 0; margin-block-start: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* משפט פתיחה ביום הכנס (מעל "הגעה ומיקום") */
.welcome {
  font-size: clamp(1.02rem, 3.4vw, 1.2rem);
  font-weight: 400; line-height: 1.65;
  color: var(--heading);
  margin-block-end: 1.6rem;
  padding-inline-start: .85rem;
  border-inline-start: 3px solid var(--accent);
}
.welcome[hidden] { display: none; }

/* ===== הגעה ומיקום — תת־כותרות ===== */
.arrive + .arrive { margin-block-start: 2.2rem; }
.subhead {
  font-size: 1.08rem; font-weight: 600; color: var(--heading);
  margin-block-end: .95rem;
  display: flex; align-items: center; gap: .5rem;
}
.subhead::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.arrive__note { margin-block-end: 1rem; }
.arrive[id] { scroll-margin-block-start: 78px; }

/* ===== הגעה ===== */
.venue {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.6rem 1.7rem; box-shadow: var(--shadow);
}
.venue__place { font-size: 1.15rem; font-weight: 800; }
.venue__addr  { color: var(--ink-soft); margin-block-start: .3rem; }
.venue__actions {
  display: flex; flex-wrap: wrap; gap: .7rem; margin-block-start: 1.1rem;
}
/* כפתורי ניווט — נקיים, עם לוגו המותג (Google Maps / Waze) */
.venue__btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--surface); color: var(--heading);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .58rem 1.15rem; font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.venue__btn:hover { box-shadow: var(--shadow); transform: translateY(-1px); border-color: #d9d1c4; }
.venue__btn:active { transform: none; }
.venue__ic { width: 20px; height: 20px; flex-shrink: 0; display: block; }

/* ===== חניות (בתוך כרטיס "למגיעים עצמאית") ===== */
.parking {
  margin-block-start: 1.1rem; padding-block-start: 1rem;
  border-block-start: 1px solid var(--line);
}
.parking__title { font-size: 1rem; font-weight: 600; color: var(--heading); margin-block-end: .3rem; }
.parking__note { font-size: .88rem; color: var(--ink-soft); margin-block-end: 1rem; }
.parking__lots { display: grid; gap: .7rem; }
@media (min-width: 560px) { .parking__lots { grid-template-columns: 1fr 1fr; } }
.parking__lot {
  display: flex; align-items: center; gap: .8rem; text-decoration: none;
  background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: .85rem 1rem;
  transition: background .15s ease, transform .15s ease;
}
.parking__lot:hover { background: color-mix(in srgb, var(--accent) 6%, var(--surface-soft)); transform: translateY(-1px); }
.parking__pin {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
.parking__pin svg { width: 20px; height: 20px; }
.parking__info { display: flex; flex-direction: column; gap: .15rem; flex: 1; min-width: 0; }
.parking__name { font-weight: 700; color: var(--heading); }
.parking__walk { font-size: .83rem; color: var(--ink-soft); }
.parking__walk--todo { font-style: italic; opacity: .85; }
.parking__open { flex-shrink: 0; font-size: .85rem; font-weight: 600; color: var(--accent-ink); }

/* ===== תחבורה ציבורית (בתוך כרטיס "למגיעים עצמאית") ===== */
/* כרטיס נפרד, מתחת לכרטיס החניה */
.transit { margin-block-start: .9rem; }
.transit:empty { display: none; }
.transit .parking__title { margin-block-end: .7rem; }
.transit__cards { display: grid; gap: .55rem; }
.transit__card {
  background: var(--surface-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: .9rem 1.05rem;
}
.transit__title {
  display: flex; align-items: center; gap: .45rem;
  font-size: .95rem; font-weight: 700; color: var(--heading);
  margin: 0 0 .55rem;
}
.transit__title svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-ink); }

.transit__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.transit__lines li { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.transit__nums {
  font-variant-numeric: tabular-nums; font-weight: 800;
  font-size: 1rem; color: var(--accent-ink);
}
.transit__op { font-size: .82rem; color: var(--ink-soft); }

.transit__note { font-size: .85rem; color: var(--ink-soft); margin-block-end: .4rem; }

/* קיפול רשימת מסלולי הרכבת — אותה שפה כמו ”לפרטים נוספים” בכרטיסי הסיורים */
.transit__toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: 0; padding: 0; margin: 0 0 .5rem;
  font: inherit; font-size: .85rem; font-weight: 600;
  color: var(--accent-ink); cursor: pointer; text-align: start;
}
.transit__toggle::after { content: "▾"; transition: transform .2s ease; }
.transit__toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.transit__toggle:hover { opacity: .8; }
.transit__routes[hidden] { display: none; }
.transit__routes {
  list-style: none; margin: 0 0 .6rem; padding: 0;
  display: grid; gap: .25rem;
}
.transit__routes li {
  position: relative; padding-inline-start: .85rem;
  font-size: .88rem; color: var(--heading); line-height: 1.45;
}
.transit__routes li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.transit__last { font-size: .85rem; color: var(--ink-soft); line-height: 1.55; }

/* ===== אחרי סיום הכנס =====
   נשארים רק הבאנר, כרטיס התודה עם המשוב והאירועים הקרובים, והפוטר.
   כל מה שהיה שימושי בדרך לכנס — הגעה, לו״ז, סיורים, מידע שימושי, על הכנס —
   כבר לא רלוונטי, וגם הניווט המהיר אליהם יורד כדי שלא יובילו לשום מקום. */
.is-ended #venue,
.is-ended #schedule,
.is-ended #tours,
.is-ended #useful,
.is-ended #about,
.is-ended .quicknav { display: none; }
.is-ended .now__time:empty { display: none; }

/* המשוב הוא כל תפקידו של העמוד ברגע הזה — הכרטיס והכפתור גדלים בהתאם */
.is-ended .now__card { padding: 2.4rem 1.9rem 2.2rem; text-align: center; }
.is-ended .now__title { font-size: clamp(1.9rem, 7vw, 2.5rem); }
.is-ended .now__desc {
  font-size: 1.05rem; line-height: 1.7; color: var(--ink);
  max-width: 34rem; margin-inline: auto; margin-block-start: .8rem;
}
.is-ended .now__cta {
  display: flex; width: 100%; max-width: 22rem; margin-inline: auto;
  margin-block-start: 1.6rem;
  font-size: 1.15rem; font-weight: 700;
  padding: 1.05rem 1.6rem;
  box-shadow: 0 6px 20px rgba(249,101,61,.34);
}
.is-ended .now__cta:hover { box-shadow: 0 12px 30px rgba(249,101,61,.46); }

/* ===== סרגל תצוגת בדיקה (רק עם ?time=HH:MM בכתובת) ===== */
.previewbar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 90;
  background: var(--heading); color: #fff;
  font-size: .85rem; font-weight: 600; text-align: center;
  padding: .6rem 1rem;
  box-shadow: 0 -2px 14px rgba(0,0,0,.18);
}
.previewbar a { color: #ffd9cd; text-decoration: underline; }

/* ===== אירועים קרובים (מתחת לכרטיס החי, לאחר סיום הכנס) ===== */
.upcoming[hidden] { display: none; }
.upcoming {
  margin-block-start: 1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.3rem 1.4rem; box-shadow: var(--shadow);
  text-align: start;
}
.upcoming__title {
  font-size: 1.05rem; font-weight: 700; color: var(--heading);
  margin-block-end: .8rem;
}
.upcoming__list { list-style: none; margin: 0; padding: 0; }
.upcoming__list li + li {
  margin-block-start: .8rem; padding-block-start: .8rem;
  border-block-start: 1px solid var(--line);
}
.upcoming__item {
  display: flex; align-items: flex-start; gap: .85rem;
  flex-wrap: wrap;
  transition: opacity .15s ease;
}
a.upcoming__item:hover { opacity: .78; }
.upcoming__body { flex: 1; min-width: 11rem; display: flex; flex-direction: column; gap: .15rem; }

/* תמונת ההזמנה — ריבועית, נטענת רק כשמגיעים אליה */
.upcoming__pic {
  flex-shrink: 0; width: 104px; height: 104px;
  border-radius: 10px; overflow: hidden;
  background: var(--surface-soft); border: 1px solid var(--line);
}
.upcoming__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.upcoming__when {
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-ink);
}
.upcoming__name { font-size: 1rem; font-weight: 700; color: var(--heading); line-height: 1.3; }
.upcoming__desc { font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }
.upcoming__go {
  flex-basis: 100%;
  font-size: .85rem; font-weight: 600; color: var(--accent-ink);
  margin-block-start: .1rem;
}

/* ===== מידע שימושי ===== */
.useful { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.uitem {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.15rem 1.3rem;
  display: flex; gap: 1rem; align-items: center;
  box-shadow: var(--shadow);
}
.uitem__ic {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 13%, var(--surface));
  color: var(--accent-ink);
}
.uitem__ic svg { width: 23px; height: 23px; display: block; }
.uitem__ic--emoji { font-size: 1.3rem; }
.uitem__label { font-weight: 800; font-size: .82rem; color: var(--brand); letter-spacing: .02em; }
.uitem__value { font-size: .95rem; margin-block-start: .1rem; }
.uitem__value a { color: var(--accent-ink); font-weight: 700; }
.uitem__value a[href^="#"] { font-weight: 400; }

/* ===== אודות ===== */
.about__text { color: var(--ink); font-size: 1.04rem; font-weight: 400; line-height: 1.85; }

/* שם האיגוד מעל המוטו */
.motto__by {
  margin-block-start: 2.4rem; padding-block-start: 2rem;
  position: relative; text-align: center;
  font-size: clamp(1.12rem, 4vw, 1.42rem);   /* זהה למוטו */
  font-weight: 600; line-height: 1.5; letter-spacing: -.01em;
  color: var(--accent-ink);
}
.motto__by::before {
  content: ""; position: absolute; inset-block-start: 0;
  inset-inline-start: 50%; transform: translateX(50%);
  width: 44px; height: 3px; border-radius: 3px; background: var(--accent);
}
.motto__by[hidden] { display: none; }
/* כששם האיגוד מוצג, הוא נושא את הקו והמרווח — והמוטו נצמד אליו */
.motto__by:not([hidden]) + .motto { margin-block-start: .5rem; padding-block-start: 0; }
.motto__by:not([hidden]) + .motto::before { display: none; }

/* המוטו של האיגוד — מחשבה סוגרת */
.motto {
  margin-block-start: 2.4rem; padding-block-start: 2rem;
  position: relative; text-align: center;
  font-size: clamp(1.12rem, 4vw, 1.42rem);
  font-weight: 600; line-height: 1.5;
  letter-spacing: -.01em; color: var(--heading);
}
.motto::before {
  content: ""; position: absolute; inset-block-start: 0;
  inset-inline-start: 50%; transform: translateX(50%);
  width: 44px; height: 3px; border-radius: 3px; background: var(--accent);
}
.motto[hidden] { display: none; }

/* ===== פוטר ===== */
.footer {
  max-width: var(--wrap); margin-inline: auto;
  padding: 1.1rem 1rem 3rem; text-align: center;
  color: var(--ink-soft); font-size: .9rem;
}
/* המוטו סוגר את מקטע "על הכנס" — אין צורך במרווח מלא לפני הלוגו */
.section--about { padding-block-end: 2.2rem; }
.footer__small { font-size: .78rem; opacity: .7; margin-block-start: .5rem; }
.footer__motif { margin-block-end: 1.1rem; }
.footer__motif img {
  display: block; margin-inline: auto;
  width: 150px; height: auto;
}

/* ===== כפתור עזרה / צור קשר (צף) ===== */
.fab {
  position: fixed; inset-block-end: 1.1rem; inset-inline-start: 1.1rem; z-index: 45;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.fab__actions { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.fab__act {
  display: flex; align-items: center; gap: .55rem; text-decoration: none;
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.fab.is-open .fab__act { opacity: 1; transform: none; pointer-events: auto; }
.fab__act[hidden] { display: none; }
.fab__lbl {
  background: var(--surface); color: var(--heading); font-weight: 600; font-size: .82rem;
  padding: .34rem .68rem; border-radius: 9px; box-shadow: var(--shadow-soft); white-space: nowrap;
}
.fab__circle {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow); flex-shrink: 0;
}
.fab__circle svg { width: 24px; height: 24px; display: block; }
.fab__act--wa   .fab__circle { background: #25D366; }
.fab__act--tel  .fab__circle { background: var(--accent); }
.fab__act--mail .fab__circle { background: var(--peri); }
.fab__toggle {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 20px rgba(249,101,61,.45);
  display: grid; place-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab__toggle:hover { box-shadow: 0 10px 26px rgba(249,101,61,.55); transform: translateY(-2px); }
.fab__toggle svg { width: 30px; height: 30px; }
.fab.is-open .fab__toggle { transform: scale(.94); }

/* ===== חזרה למעלה ===== */
/* כלי־עזר משני: שקט יותר מכפתור העזרה, שהוא הפעולה העיקרית */
.totop {
  position: fixed; inset-block-end: 1.1rem; inset-inline-end: 1.1rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--ink-soft);
  display: grid; place-items: center; font-size: 1.05rem; font-weight: 600;
  box-shadow: var(--shadow-soft); z-index: 40;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .2s, box-shadow .2s, color .2s;
}
.totop.is-visible { opacity: .75; pointer-events: auto; transform: none; }
.totop:hover { opacity: 1; color: var(--accent-ink); box-shadow: var(--shadow); transform: translateY(-2px); }

/* ===== לינקים וכרטיסים — מעברים עדינים ב־hover ===== */
.tl__link, .uitem__value a { transition: opacity .15s ease; }
.tl__link:hover, .uitem__value a:hover { opacity: .72; text-decoration: underline; }
.tour { transition: transform .18s ease, box-shadow .18s ease; }
.tour:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tour__more { transition: opacity .15s ease; }
.tour:hover .tour__more { opacity: .8; }

/* ===== רספונסיביות — טאבלט/דסקטופ ===== */
@media (min-width: 720px) {
  :root { --wrap: 760px; }
  .now__title { font-size: 2.1rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards--transport { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .useful { grid-template-columns: 1fr 1fr; }
  .section__head h2 { font-size: 1.6rem; }
}

@media (min-width: 1000px) {
  :root { --wrap: 900px; }
  .useful { grid-template-columns: 1fr 1fr; }
}

/* גלילה חלקה מתחת לסרגל הדביק */
:target { scroll-margin-block-start: 70px; }
section[id] { scroll-margin-block-start: 66px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

