/* =====================================================================
   בית ביוון: מערכת העיצוב (v5, אגאי בהיר)
   רקע אבן בהיר בגוון כחלחל, פאנלים לבנים שנראים מוארים, דיו כחול עמוק
   וזהב רק על הפעולה הראשית ועל סכומים. בריף: הנחיות-עיצוב-מחדש.md.
   המערכת המלאה מתועדת ב-DESIGN.md ומוצגת חיה בעמוד /style-guide/.
   ===================================================================== */
:root {
  color-scheme: light;
  /* צבעים: פלטה ב׳, אגאי */
  --bg: #f0f3f4;          /* רקע העמוד: אבן בהירה עם נגיעת ים */
  --surface: #ffffff;     /* פאנלים: בהירים מהרקע, ולכן נראים מוארים */
  --ink: #12283a;         /* כותרות וטקסט רץ (13.5:1) */
  --muted: #46596a;       /* טקסט משני בלבד (6.5:1) */
  --accent: #8a6524;      /* זהב לטקסט ולקישורים (4.8:1) */
  --accent-fill: #c9a55e; /* זהב לכפתור, תמיד עם טקסט בצבע הדיו (6.6:1) */
  --accent-fill-hover: #bf9a50;
  /* שמות קודמים, ממופים לפלטה החדשה (חלק מהכללים עוד משתמשים בהם) */
  --text: var(--ink);
  --text-2: var(--muted);
  --bg-alt: #e6ecee;      /* מדרגת גוון לסעיף מתחלף */
  --accent-hover: #6f5019;
  --accent-soft: rgba(138, 101, 36, .08);
  --on-accent: var(--ink);
  --line: #d3dce0;        /* דקורטיבי בלבד; בעיצוב החדש מעדיפים הפרש גוון */
  --field-border: #74879a;/* מסגרת שדות טופס (3.6:1 על לבן, לפי WCAG 1.4.11) */
  /* מצבי מערכת: תמיד עם טקסט או סמל, לא בצבע בלבד */
  --ok: #1f6b40;
  --err: #a8261d;

  /* תנועה (emil-design-eng) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* גופן אחד */
  --font: "Assistant", "Segoe UI", Arial, sans-serif;

  /* סולם טקסט (נייד → מחשב) */
  --t-h1: clamp(2.25rem, 1.2rem + 3.6vw, 3.5rem);    /* 36 → 56px */
  --t-h2: clamp(1.75rem, 1.5rem + 0.9vw, 2rem);      /* 28 → 32px */
  --t-h3: 1.375rem;                                   /* 22px, כותרות כרטיסים */
  --t-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);/* 17 → 18px */
  --t-ui: 1rem;                                       /* 16px, ניווט וכפתורים */
  --t-small: .9375rem;                                /* 15px */
  --t-min: .875rem;                                   /* 14px, הקטן ביותר באתר */
  /* עמוד הבית: שלושה גדלים גדולים עושים את רוב העבודה */
  --t-d1: clamp(2.75rem, 1.4rem + 4.6vw, 5.5rem);     /* 44 → 88px, כותרת הפתיחה */
  --t-d2: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);     /* 36 → 56px, כותרות סעיפים וסכום */
  --t-d3: clamp(1.5rem, 1.3rem + .6vw, 1.875rem);     /* 24 → 30px */
  --t-d25: clamp(1.875rem, 1.4rem + 1.4vw, 2.5rem);   /* 30 → 40px, כותרות בעמודי קריאה */
  --t-lede: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem);

  /* מרווחים */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 56px; --s-8: 88px; --s-9: 128px;

  /* פינות */
  --r: 10px; --r-lg: 12px;

  /* פריסה */
  --max: 1320px; --max-text: 720px; --gutter: 32px; --header-h: 76px;
}

/* ---------- בסיס ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: var(--t-body); font-weight: 400; line-height: 1.7; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font); font-weight: 600; color: var(--text); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--t-h1); line-height: 1.12; margin: 0 0 var(--s-5); }
h2 { font-size: var(--t-h2); line-height: 1.25; margin: var(--s-7) 0 var(--s-4); }
h3 { font-size: var(--t-h3); line-height: 1.35; margin: var(--s-5) 0 var(--s-2); }
p { margin: 0 0 var(--s-4); }
strong, b { font-weight: 700; }
a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-fill); color: var(--ink); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-2); }
.lede { font-size: var(--t-lede); line-height: 1.6; color: var(--ink); max-width: 56ch; }
.section-lede { color: var(--text-2); max-width: 62ch; }

/* ---------- כותרת עליונה ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); }
.site-header .wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; font-weight: 700; font-size: 1.375rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand svg { width: 32px; height: 32px; flex: none; }
.site-header nav { display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap; }
.site-header nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: var(--t-ui); }
.site-header nav a:hover { color: var(--text); }
.nav-links a { padding-block: 6px; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: rgba(214, 174, 98, .45); }
.nav-links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.nav-menu a[aria-current="page"] { color: var(--accent-fill); }
.site-header nav a.btn { color: var(--on-accent); }
.nav-links { display: flex; gap: var(--s-6); }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: 6px 14px; background: var(--surface); font-weight: 600; font-size: var(--t-ui); color: var(--text); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: var(--ink); color: #fff; }
.nav-menu > div { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 220px; display: grid; background: var(--ink); padding: var(--s-2); }
.nav-menu > div a { padding: 12px 16px; color: #fff; }
.nav-menu > div a:hover { background: rgba(255, 255, 255, .1); }

/* ---------- כפתורים ---------- */
/* פינות ישרות: החלטה אחת לכל הכפתורים והתמונות */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 10px 24px; border-radius: 0; border: 0; background: var(--bg-alt); color: var(--ink); font-family: var(--font); font-weight: 600; font-size: var(--t-ui); text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .16s var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--accent-fill); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--ink); background: var(--line); }
  .btn.primary:hover { background: var(--accent-fill-hover); color: var(--ink); }
}
.btn.small { min-height: 40px; padding: 6px 18px; }
.cta-row { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }

/* ---------- אזור פתיחה ---------- */
/* הטקסט מימין, צילום החזית בסלוניקי משמאל, ועליו פאנל לבן עם הדרך מתל אביב */
.hero { padding-block: var(--s-6) var(--s-9); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(48px, 6vw, 104px); align-items: center; min-height: min(780px, calc(100svh - var(--header-h) - var(--s-6))); }
.hero h1 { font-size: var(--t-d1); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 var(--s-6); }
.hero .lede { font-size: var(--t-lede); line-height: 1.6; color: var(--ink); max-width: 34ch; margin-bottom: var(--s-7); }
.hero .cta-row { gap: var(--s-6); }
.text-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-fill); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.text-link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.hero-media { position: relative; margin: 0; }
.hero-photo { overflow: hidden; background: var(--bg-alt); }
.hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 64px); min-height: 560px; object-fit: cover; object-position: 50% 40%; }
.hero-media figcaption { margin-top: var(--s-3); font-size: var(--t-min); color: var(--muted); }
/* הדרך: תל אביב–סלוניקי. דגלים קטנים כמידע על הערים, לא כקישוט */
.route { position: absolute; inset-inline-start: calc(-1 * clamp(32px, 4vw, 72px)); bottom: var(--s-8); width: 300px; background: var(--surface); padding: var(--s-5) var(--s-5) var(--s-4); }
.route-time { margin: 0 0 var(--s-2); font-size: var(--t-ui); line-height: 1.4; }
.route-time strong { display: block; font-size: var(--t-d3); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.route svg { display: block; width: 100%; height: auto; color: var(--ink); }
.route-ends { display: flex; justify-content: space-between; margin: var(--s-1) 0 0; padding: 0; list-style: none; font-size: var(--t-small); font-weight: 600; }
.route-ends li { display: flex; align-items: center; gap: var(--s-2); }
.route-ends .flag { width: 21px; height: 15px; flex: none; }
/* כניסה: מדורגת, פעם אחת, רק transform ו-opacity */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .7s var(--ease-out) both; }
  .hero-text > :nth-child(2) { animation-delay: 70ms; }
  .hero-text > :nth-child(3) { animation-delay: 140ms; }
  .hero-photo img { animation: settle 1.8s var(--ease-out) both; }
  .route { animation: rise .7s var(--ease-out) 320ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } }

/* ---------- עמוד הבית: סעיפים ---------- */
/* כל סעיף על משטח אחר, כך שהמעבר הוא מדרגת גוון ולא קו */
.h-sec { padding-block: clamp(72px, 9vw, 128px); }
.h-sec h2 { font-size: var(--t-d2); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--s-5); }
.h-sec h3 { font-size: var(--t-d3); font-weight: 700; line-height: 1.25; margin: 0 0 var(--s-3); }
.h-sec h3 a { color: inherit; text-decoration: none; }
.h-sec .category { display: block; color: var(--muted); font-size: var(--t-small); margin: 0 0 var(--s-2); }
.h-sec figure { margin: 0; }
.h-sec figure img { display: block; width: 100%; height: auto; object-fit: cover; }
.h-sec figcaption { margin-top: var(--s-3); font-size: var(--t-min); color: var(--muted); }

/* בדיקת זכאות: הטקסט והספים מימין, הכלי בפאנל לבן משמאל */
.gv-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(48px, 6vw, 104px); align-items: start; }
.gv-intro > p { max-width: 46ch; }
.gv-routes { margin: var(--s-7) 0; display: grid; gap: var(--s-6); }
.gv-routes dt { font-size: var(--t-d3); font-weight: 700; line-height: 1.2; color: var(--accent); direction: ltr; width: fit-content; }
.gv-routes dd { margin: var(--s-1) 0 0; max-width: 46ch; }
.gv-note { color: var(--muted); font-size: var(--t-small); }
.gv-check { background: var(--surface); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: var(--s-6); }
.gv-areas { border: 0; padding: 0; margin: 0; min-width: 0; }
.gv-areas legend, .gv-amount label { padding: 0; margin-bottom: var(--s-3); font-weight: 700; font-size: var(--t-ui); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; background: var(--bg); font-weight: 600; font-size: var(--t-ui); transition: background-color .15s ease, color .15s ease, transform .16s var(--ease-out); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip:active span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { background: var(--bg-alt); } }
.gv-hint { margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--t-small); }
.gv-amount label { margin: 0; margin-inline-end: auto; font-weight: 700; }
.gv-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin: 0 0 var(--s-4); }
.gv-amount output { font-size: var(--t-d2); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--accent); direction: ltr; font-variant-numeric: tabular-nums; }
.gv-ils { color: var(--muted); font-size: var(--t-small); }
/* המחוון: ריבוע בצבע הדיו על מסילה בגוון הרקע */
.gv-price input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; min-height: 0; background: transparent; cursor: pointer; }
.gv-price input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: var(--bg-alt); }
.gv-price input[type="range"]::-moz-range-track { height: 6px; background: var(--bg-alt); }
.gv-price input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; background: var(--ink); border: 0; transition: transform .16s var(--ease-out); }
.gv-price input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 0; background: var(--ink); }
.gv-price input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.gv-price input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.gv-ruler { position: relative; height: 32px; margin-top: var(--s-2); font-size: var(--t-min); color: var(--muted); }
.gv-ruler span { position: absolute; top: 0; inset-inline-start: calc(12px + (100% - 24px) * var(--at)); translate: 50% 0; padding-top: 10px; white-space: nowrap; }
[dir="ltr"] .gv-ruler span { translate: -50% 0; }
.gv-ruler span::before { content: ""; position: absolute; top: 0; inset-inline-start: 50%; width: 2px; height: 6px; background: currentColor; translate: 50% 0; }
.gv-ruler span.is-target { color: var(--ink); font-weight: 700; }
.gv-ruler .u { position: static; padding: 0; translate: none; }
.gv-ruler .u::before { content: none; }
.gv-special { font-size: var(--t-ui); color: var(--ink); }
.gv-result { background: var(--bg); padding: var(--s-5); }
.gv-verdict { margin: 0 0 var(--s-1); font-size: var(--t-d3); font-weight: 700; line-height: 1.25; }
.gv-why { margin: 0; }
.gv-check .btn { justify-self: start; }

/* איך זה עובד: שדה כחול עמוק (הכחול-לבן המשותף), והשלבים על אותה דרך כמו בפתיחה */
.journey { background: var(--ink); color: #fff; }
.journey h2 { color: #fff; }
.journey ::selection { background: var(--accent-fill); color: var(--ink); }
.journey-head { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(48px, 6vw, 104px); align-items: end; }
.journey-head p { font-size: var(--t-lede); line-height: 1.6; max-width: 34ch; margin: 0; }
.journey-photo img { aspect-ratio: 2 / 1; }
.journey-photo figcaption { color: rgba(255, 255, 255, .78); }
.journey-steps { --dot: 14px; position: relative; list-style: none; margin: clamp(56px, 7vw, 104px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
/* הדרך: קו מקווקו בין הנקודות */
.journey-steps::before { content: ""; position: absolute; top: calc(var(--dot) / 2 - 1px); inset-inline: calc(var(--dot) / 2) calc((100% - 3 * var(--s-6)) / 4 - var(--dot) / 2); border-top: 2px dashed rgba(255, 255, 255, .55); }
.journey-steps li { position: relative; padding-top: calc(var(--dot) + var(--s-5)); font-size: var(--t-body); color: rgba(255, 255, 255, .86); max-width: 30ch; }
.journey-steps li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: var(--dot); height: var(--dot); border-radius: 50%; background: #fff; }
.journey-steps li:last-child::before { background: var(--ink); border: 3px solid #fff; box-sizing: border-box; }
.journey-steps strong { display: block; color: #fff; font-size: var(--t-d3); font-weight: 700; line-height: 1.2; margin-bottom: var(--s-2); }

/* מדריכים: אחד עם תמונה, השאר רשימה */
.hg-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-7); }
.hg-head h2 { margin: 0; }
.hg-grid { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(48px, 6vw, 104px); align-items: start; }
.hg-featured figure { margin-bottom: var(--s-5); }
.hg-featured .category, .hg-list .category { margin: var(--s-2) 0 0; }
.hg-featured img { aspect-ratio: 16 / 9; }
.hg-featured > p:last-child { max-width: 52ch; margin: 0; }
.hg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-7); }
.hg-list li > p:last-child { margin: 0; color: var(--muted); }
.h-sec h3 a { background-image: none; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color .15s ease; }
.h-sec h3 a:hover { text-decoration-color: var(--accent-fill); }

/* קהילה: צילום רחב של סלוניקי ועליו פאנל לבן */
.community { background: var(--bg-alt); }
.community .wrap { position: relative; }
.community-photo img { aspect-ratio: 21 / 9; }
.community-panel { position: absolute; inset-inline-start: calc(var(--gutter) + clamp(24px, 4vw, 64px)); bottom: clamp(48px, 6vw, 88px); width: min(460px, 42%); background: var(--surface); padding: clamp(24px, 3vw, 40px); }
.community-panel h2 { margin-bottom: var(--s-4); }
.community-panel .muted { font-size: var(--t-small); margin-bottom: var(--s-5); }

/* כניסת רכיבים (motion.js): פעם אחת, מדורגת, רק transform ו-opacity. בלי סקריפט הכול גלוי */
.motion :is([data-r], .gl-head > *, .gl-featured, .gl-cat, .gl-list > li, .search-head > *, .filters, .property-head, .facts > div, .gv-panel, .lead-box, .faq details:not(.toc-mobile), .contact-intro > *, .contact .lead-form, .contact-mail, .article > h1, .article > .meta, .article-photo, .article > h2, .info-box, .cta-box, .table-wrap, .toc) { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.motion:not(.motion-done) :is([data-r], .gl-head > *, .gl-featured, .gl-cat, .gl-list > li, .search-head > *, .filters, .property-head, .facts > div, .gv-panel, .lead-box, .faq details:not(.toc-mobile), .contact-intro > *, .contact .lead-form, .contact-mail, .article > h1, .article > .meta, .article-photo, .article > h2, .info-box, .cta-box, .table-wrap, .toc):not(.in) { opacity: 0; transform: translateY(24px); }

/* ---------- אזורים ---------- */
.block { padding-block: var(--s-8); }
.block.alt { background: var(--bg-alt); }
.block > .wrap > h2::before, .section-mark::before { content: ""; display: block; width: 40px; height: 2px; background: var(--accent); margin-bottom: var(--s-4); }
.block > .wrap > h2:first-child { margin-top: 0; }
.notice { background: var(--surface); }
.notice .wrap { padding-block: var(--s-5); color: var(--ink); font-size: 1rem; }
.notice p { margin: 0; max-width: 75ch; }
.notice strong { color: var(--ink); font-weight: 700; }


/* ---------- עמוד המדריכים ---------- */
.guides { padding-block: var(--s-7) var(--s-9); }
.gl-head { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(48px, 6vw, 104px); align-items: end; }
.gl-head h1 { font-size: var(--t-d1); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 var(--s-5); }
.gl-head .lede { margin: 0; max-width: 46ch; }
/* הנושאים: קישורי קפיצה עם מספר המדריכים */
.gl-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.gl-index li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); background: var(--surface); }
.gl-index a { flex: 1; padding: 12px 20px; color: var(--ink); font-weight: 700; text-decoration: none; }
.gl-index span { padding-inline-end: 20px; color: var(--muted); font-size: var(--t-small); }
@media (hover: hover) and (pointer: fine) { .gl-index a:hover { text-decoration: underline; text-decoration-color: var(--accent-fill); text-decoration-thickness: 2px; text-underline-offset: 6px; } }
.gl-featured { display: grid; grid-template-columns: minmax(0, 14fr) minmax(0, 10fr); gap: var(--s-6) clamp(48px, 6vw, 104px); align-items: start; margin-top: clamp(72px, 9vw, 128px); }
.gl-featured figure, .gl-cat figure, .article-photo { margin: 0; }
.gl-featured img, .gl-cat img, .article-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.gl-featured figure { grid-column: 1 / -1; }
.gl-featured img { aspect-ratio: 21 / 9; }
.gl-featured figcaption, .gl-cat figcaption, .article-photo figcaption { margin-top: var(--s-3); font-size: var(--t-min); color: var(--muted); }
.gl-featured h2 { font-size: var(--t-d25); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.gl-featured h2 a, .gl-list h3 a { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color .15s ease; }
.gl-featured h2 a:hover, .gl-list h3 a:hover { text-decoration-color: var(--accent-fill); }
.gl-featured p { max-width: 46ch; }
.gl-date { color: var(--muted); font-size: var(--t-small); }
.gl-featured .gl-date { margin-bottom: var(--s-6); }
/* נושא: שם הנושא והצילום שלו, ולידם רשימת המדריכים */
.gl-cat { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 15fr); gap: clamp(48px, 6vw, 104px); align-items: start; margin-top: clamp(96px, 11vw, 160px); scroll-margin-top: calc(var(--header-h) + var(--s-5)); }
.gl-cat h2 { font-size: var(--t-d25); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--s-6); }
.gl-cat img { aspect-ratio: 3 / 2; }
.gl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-7); }
.gl-list h3 { font-size: var(--t-d3); font-weight: 700; line-height: 1.25; margin: 0 0 var(--s-2); }
.gl-list p { margin: 0 0 var(--s-1); max-width: 60ch; }
.gl-list .gl-date { margin: 0; }

/* ---------- מאמר ---------- */
/* משמש גם לדפים הכתובים (אודות, משפטי): טקסט רץ בצבע הדיו, ברוחב קריאה */
.article { max-width: var(--max-text); padding-block: var(--s-7) var(--s-9); }
.article h1 { font-size: var(--t-d2); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--s-4); }
.article h2 { font-size: var(--t-d3); font-weight: 700; line-height: 1.25; margin: var(--s-8) 0 var(--s-4); scroll-margin-top: calc(var(--header-h) + var(--s-5)); }
.article h3 { font-size: 1.25rem; font-weight: 700; margin: var(--s-6) 0 var(--s-2); }
.article .lede { margin-bottom: var(--s-6); }
.article ul, .article ol { padding-inline-start: 1.3em; }
.article li { margin-bottom: var(--s-2); }
.article li::marker { color: var(--accent); }
.meta, .crumbs { color: var(--muted); font-size: var(--t-small); margin: 0 0 var(--s-6); }
.meta a { color: var(--ink); font-weight: 600; }
.article-photo { margin: 0 0 var(--s-7); }
.article-photo img { aspect-ratio: 16 / 9; }
/* פריסת מאמר: תוכן + תוכן עניינים */
.article-layout { display: grid; grid-template-columns: minmax(0, var(--max-text)) 260px; justify-content: space-between; gap: var(--s-8); align-items: start; }
.article-layout .article { max-width: none; }
.toc { position: sticky; top: calc(var(--header-h) + var(--s-6)); margin-top: var(--s-7); font-size: var(--t-small); background: var(--surface); padding: var(--s-5); }
.toc-title { font-weight: 700; color: var(--ink); margin: 0 0 var(--s-3); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.toc li > span { flex: none; color: var(--muted); font-size: var(--t-min); }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; line-height: 1.45; }
.toc a:hover { color: var(--ink); }
.toc a.active, .toc a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.toc-mobile { display: none; }
.category { display: inline-block; color: var(--muted); font-size: var(--t-small); font-weight: 600; margin: 0 0 var(--s-3); text-decoration: none; }
/* "חשוב לדעת": פאנל לבן, בלי פס צבעוני בצד */
.info-box { background: var(--surface); padding: var(--s-5) var(--s-6); margin: var(--s-6) 0; }
.info-box p:last-child { margin-bottom: 0; }
.info-box .info-label { display: block; color: var(--ink); font-weight: 700; margin-bottom: var(--s-2); }
/* הפעולה בסוף המדריך: שדה כחול עמוק עם כפתור הזהב */
.cta-box { background: var(--ink); color: #fff; padding: clamp(24px, 4vw, 48px); margin: var(--s-8) 0 var(--s-4); }
.cta-box p { margin-bottom: var(--s-5); }
.cta-box p strong { display: block; font-size: var(--t-d3); font-weight: 700; line-height: 1.25; color: #fff; }
.cta-box a:not(.btn) { color: #fff; }
.sources { font-size: var(--t-small); color: var(--muted); }
.sources a { color: var(--accent); }
.table-wrap { overflow-x: auto; margin: var(--s-5) 0 var(--s-6); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: var(--t-small); }
th, td { text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--ink); }
td { color: var(--ink); }
tr:last-child td { border-bottom: 0; }
/* עוד מדריכים מאותו נושא, בסוף המאמר */
.related { padding-block: var(--s-6) clamp(72px, 9vw, 128px); }
.related h2 { font-size: var(--t-d25); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--s-7); }
.related .gl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) clamp(32px, 4vw, 64px); }
/* שאלות נפוצות: כל שאלה פאנל לבן, רווח ביניהן במקום קו */
.faq details:not(.toc-mobile) { background: var(--surface); margin-bottom: var(--s-2); }
.faq h2 + details { margin-top: var(--s-5); }
.faq details:not(.toc-mobile) summary { position: relative; list-style: none; cursor: pointer; padding: var(--s-5) var(--s-6); padding-inline-end: 64px; font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.faq details:not(.toc-mobile) summary::-webkit-details-marker { display: none; }
/* פלוס מצויר שהופך למינוס: הקו האנכי מסתובב */
.faq details:not(.toc-mobile) summary::before, .faq details:not(.toc-mobile) summary::after { content: ""; position: absolute; inset-inline-end: var(--s-6); top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--accent); transition: transform .2s var(--ease-out); }
.faq details:not(.toc-mobile) summary::after { transform: rotate(90deg); }
.faq details:not(.toc-mobile)[open] summary::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq details:not(.toc-mobile) summary:hover { text-decoration: underline; text-decoration-color: var(--accent-fill); text-decoration-thickness: 2px; text-underline-offset: 6px; } }
.faq details:not(.toc-mobile) summary:focus-visible { outline-offset: -2px; }
.faq details:not(.toc-mobile) > :not(summary) { margin-inline: var(--s-6); }
.faq details:not(.toc-mobile) > :last-child { padding-bottom: var(--s-5); margin-bottom: 0; }
.faq details:not(.toc-mobile) p, .faq details:not(.toc-mobile) li { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .faq details:not(.toc-mobile)[open] > :not(summary) { animation: rise .35s var(--ease-out) both; }
}
.legal .draft-flag { margin: calc(-1 * var(--s-4)) 0 var(--s-6); }
.legal h2 { margin-top: var(--s-7); }
.draft-flag, .sample-flag { display: inline-block; background: var(--bg-alt); color: var(--ink); padding: 4px 12px; font-size: var(--t-small); font-weight: 600; }

/* ---------- צור קשר ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(48px, 6vw, 104px); align-items: start; padding-block: var(--s-7) var(--s-9); }
.contact h1 { font-size: var(--t-d1); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 var(--s-5); }
.contact-intro > p:last-child { color: var(--ink); max-width: 46ch; }
.contact .lead-form { max-width: none; background: var(--surface); padding: clamp(24px, 3.4vw, 48px); }
.contact-mail { background: var(--surface); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: var(--s-4); justify-items: start; }
.contact-mail p { margin: 0; }
.contact-mail a[dir="ltr"] { font-size: 1.25rem; font-weight: 600; }
.contact .lead-form button { justify-self: start; padding-inline: var(--s-7); }

/* ---------- טפסים ---------- */
/* שדות טופס הם המקום היחיד שבו מסגרת דקה נשארת: היא מה שמסמן שדה */
.lead-form { display: grid; gap: var(--s-2); max-width: 520px; }
.lead-form label, .filters label { font-size: var(--t-small); font-weight: 700; color: var(--ink); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field-border); border-radius: 0; background: var(--surface); color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.check { display: flex; gap: var(--s-2); align-items: flex-start; font-size: var(--t-small); color: var(--ink); }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.lead-form .check { margin-top: var(--s-2); font-weight: 400; }
.lead-form button { margin-top: var(--s-3); min-height: 52px; border: 0; border-radius: 0; background: var(--accent-fill); color: var(--ink); font-family: var(--font); font-weight: 700; font-size: var(--t-ui); cursor: pointer; transition: background-color .15s ease, transform .16s var(--ease-out); }
.lead-form button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .lead-form button:hover { background: var(--accent-fill-hover); } }
.form-msg { font-size: var(--t-small); margin: 0; color: var(--ink); }
.form-msg.err { color: var(--err); }
.form-msg.ok { color: var(--ok); }
.form-msg { display: flex; align-items: flex-start; gap: 8px; }
.form-msg:empty { display: none; }
.form-msg .ic { display: inline-flex; flex: none; margin-top: 4px; }
.form-msg .ic svg { width: 16px; height: 16px; }
[aria-invalid="true"] { border-color: var(--err); }

/* ---------- מנוע חיפוש (אנגלית, LTR) ---------- */
.search { padding-block: var(--s-7) var(--s-9); }
.search-head { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(48px, 6vw, 104px); align-items: end; }
.search-head h1 { font-size: var(--t-d2); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--s-5); }
.search-head .lede { max-width: 46ch; }
.search-head .gv-routes { margin: 0; gap: var(--s-5); }
.search-head .gv-routes dd { font-size: 1rem; }
.sample-note { background: var(--bg-alt); padding: var(--s-3) var(--s-4); font-size: var(--t-small); margin: 0; width: fit-content; }
/* סינון: פאנל לבן אחד */
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: var(--s-4); align-items: end; background: var(--surface); padding: var(--s-5); margin: clamp(48px, 6vw, 88px) 0 var(--s-5); }
.filters > div { display: grid; gap: var(--s-2); }
.filters #f-zone:has(option:checked:not([value=""])), .filters input:not(:placeholder-shown) { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: -2px; }
.filters .check { min-height: 48px; align-items: center; padding: 10px 16px; background: var(--bg); cursor: pointer; font-weight: 600; white-space: nowrap; }
.filters .check input { margin-top: 0; }
.filters .check:has(input:checked) { background: var(--ink); color: #fff; }
.filters .check:has(input:checked) input { accent-color: var(--accent-fill); }
.result-count { color: var(--muted); font-size: var(--t-small); margin-bottom: var(--s-4); }
/* רשימת נכסים: שורות טקסט על פאנלים לבנים, בלי תמונות מדומות */
.listings { display: grid; gap: var(--s-2); }
.listing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px) 200px; gap: var(--s-6); align-items: center; padding: var(--s-5) var(--s-6); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .16s var(--ease-out); }
.listing:active { transform: scale(0.99); }
.listing.has-photo { grid-template-columns: 240px minmax(0, 1fr) minmax(0, 280px) 180px; padding: var(--s-3); padding-inline-end: var(--s-6); }
.l-photo { position: relative; display: block; overflow: hidden; }
.l-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .listing:hover .l-photo img { transform: scale(1.03); } }
/* תמונת המחשה מסומנת על התמונה עצמה */
.l-note { position: absolute; inset-block-end: 8px; inset-inline-start: 8px; background: var(--surface); color: var(--ink); font-size: var(--t-min); font-weight: 600; padding: 2px 8px; }
.l-main { display: grid; gap: 2px; }
.l-title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .15s ease; }
@media (hover: hover) and (pointer: fine) { .listing:hover .l-title { text-decoration-color: var(--accent-fill); } }
.l-where { color: var(--ink); }
.l-facts { color: var(--muted); font-size: var(--t-small); }
.l-price { font-size: var(--t-d3); font-weight: 700; color: var(--accent); text-align: end; font-variant-numeric: tabular-nums; }
.empty { background: var(--surface); padding: var(--s-6); margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: var(--t-small); font-weight: 700; }
.badge .ic { width: 16px; height: 16px; flex: none; }
.badge.ok { color: var(--ok); }
.badge.no { color: var(--muted); }
.tag { font-size: var(--t-min); color: var(--muted); }

/* ---------- עמוד נכס ---------- */
.property { padding-block: var(--s-7) var(--s-9); }
.property-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5) var(--s-8); flex-wrap: wrap; margin: 0 0 var(--s-6); }
.property-head h1 { font-size: var(--t-d2); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--s-3); max-width: 20ch; }
.property-head .where { color: var(--ink); font-size: var(--t-lede); margin: 0 0 var(--s-3); }
.price-block { display: grid; text-align: end; }
.price-block .price { font-size: var(--t-d2); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.price-block .ils { color: var(--muted); font-size: var(--t-small); }
.head-badge { flex-basis: 100%; margin: 0; }
.property .sample-note { margin-bottom: var(--s-7); }
.property-photo { margin: 0 0 var(--s-6); }
.property-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.property-photo figcaption { margin-top: var(--s-3); font-size: var(--t-small); color: var(--muted); }
.property-photo figcaption a { color: var(--muted); }
.property-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(48px, 6vw, 104px); align-items: start; }
.property-grid h2 { font-size: var(--t-d3); font-weight: 700; margin: var(--s-7) 0 var(--s-3); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin: 0; }
.facts div { background: var(--surface); padding: var(--s-4) var(--s-5); }
.facts dt { font-size: var(--t-small); color: var(--muted); }
.facts dd { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.gv-panel { background: var(--surface); padding: var(--s-6); margin: var(--s-7) 0; }
.gv-panel h2 { margin-top: 0; font-size: var(--t-ui); }
.gv-panel .gv-verdict { margin: 0 0 var(--s-3); }
.gv-panel .gv-note { margin: var(--s-4) 0 0; color: var(--muted); font-size: var(--t-small); }
.why { padding-inline-start: 1.2em; margin: 0; color: var(--ink); }
.why li { margin-bottom: var(--s-1); }
.lead-box { position: sticky; top: calc(var(--header-h) + var(--s-5)); background: var(--surface); padding: var(--s-6); }
.lead-box h2 { margin-top: 0; }
.mobile-cta-bar { display: none; }

/* ---------- פוטר ---------- */
.site-footer { background: var(--surface); padding-block: var(--s-8) var(--s-7); font-size: var(--t-small); color: var(--text-2); }
/* סגירה: השם והמשפט שלו, שני טורי קישורים קצרים, ובשורה התחתונה ההבהרה והשנה */
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7) clamp(32px, 5vw, 88px); align-items: start; }
.footer-brand { margin: 0 0 var(--s-3); font-size: var(--t-d3); font-weight: 700; line-height: 1.1; color: var(--ink); }
.footer-about p:last-child { margin: 0; max-width: 34ch; font-size: var(--t-body); color: var(--ink); }
.footer-title { margin: 0 0 var(--s-4); font-weight: 700; font-size: var(--t-ui); color: var(--ink); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.footer-col a { color: var(--muted); text-decoration: none; font-size: var(--t-ui); }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-fill); text-decoration-thickness: 2px; text-underline-offset: 5px; } }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4) var(--s-7); flex-wrap: wrap; margin-top: var(--s-7); padding-top: var(--s-5); color: var(--muted); font-size: var(--t-small); }
.footer-bottom p { margin: 0; max-width: 75ch; }

/* ---------- מדריך סגנון ---------- */
/* מדריך הסגנון משתמש בכל רוחב הרשת; הטקסט נשאר ברוחב קריאה */
.article.sg { max-width: var(--max); }
.sg > p, .sg > ul, .sg > h1 { max-width: 72ch; }
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-2); margin: var(--s-5) 0; }
.sg-swatch { display: grid; gap: 2px; align-content: start; background: var(--surface); padding: var(--s-4); font-size: var(--t-small); color: var(--muted); }
.sg-swatch i { display: block; height: 72px; margin-bottom: var(--s-3); border: 8px solid var(--bg-alt); }
.sg-swatch i[data-mat="stone"] { border-color: var(--bg); }
.sg-swatch b { color: var(--ink); font-size: 1rem; }
.sg-swatch code { direction: ltr; unicode-bidi: isolate; color: var(--ink); }
.sg-type { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: var(--s-2); margin: var(--s-5) 0; }
.sg-type > div { display: grid; gap: var(--s-1); background: var(--surface); padding: var(--s-5); }
.sg-type small { color: var(--muted); font-size: var(--t-small); }
.sg-space { display: grid; gap: var(--s-2); margin: var(--s-5) 0; }
.sg-space div { display: flex; align-items: center; gap: var(--s-4); font-size: var(--t-small); color: var(--muted); }
.sg-space i { display: block; height: 12px; background: var(--ink); }
.sg-demo { display: flex; gap: var(--s-5); flex-wrap: wrap; align-items: center; padding-block: var(--s-4); }
.sg-panel { display: grid; gap: var(--s-6); background: var(--surface); padding: var(--s-5); }
.sg-form { max-width: 360px; }
.sg-note { color: var(--muted); font-size: var(--t-small); }
.route.sg-route { position: static; inset: auto; width: 300px; max-width: 100%; margin: 0; }

/* ---------- רספונסיבי ---------- */
@media (max-width: 960px) {
  .hero { padding-block: var(--s-5) var(--s-8); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); min-height: 0; }
  .hero-media img { aspect-ratio: 4 / 3; min-height: 0; max-height: none; }
    .route { position: relative; inset: auto; width: auto; max-width: 340px; margin-block-start: -64px; margin-inline: var(--s-4) auto; }
  .search-head { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .listing { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3) var(--s-5); }
  .l-gv { grid-row: 2; }
  .listing.has-photo { grid-template-columns: 200px minmax(0, 1fr) auto; }
  .listing.has-photo .l-photo { grid-column: 1; grid-row: 1 / span 2; }
  .listing.has-photo .l-main { grid-column: 2; grid-row: 1; }
  .listing.has-photo .l-gv { grid-column: 2; grid-row: 2; }
  .listing.has-photo .l-price { grid-column: 3; grid-row: 1 / span 2; }
  .gv-grid, .journey-head, .hg-grid { grid-template-columns: minmax(0, 1fr); }
  .journey-head { align-items: start; gap: var(--s-6); }
  .journey-head > div { order: -1; }
  .community-panel { position: relative; inset: auto; width: auto; max-width: 520px; margin-block-start: -72px; margin-inline: var(--s-5) auto; }
  .community-photo img { aspect-ratio: 16 / 9; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .check { grid-column: 1 / -1; }
  .property-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .lead-box { position: static; }
  .price-block { text-align: start; }
  /* הסרגל התחתון צף מעל התוכן, ולכן הוא מקבל צל (taste-skill-ignore) */
  .mobile-cta-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); position: fixed; inset-inline: 0; bottom: 0; z-index: 20; padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); background: var(--surface); box-shadow: 0 -6px 24px rgba(18, 40, 58, .10); } /* taste-skill-ignore */
  .mobile-cta-bar .price { font-weight: 700; font-size: 1.25rem; color: var(--accent); }
  .mobile-cta-bar .btn { min-height: 44px; }
  .property { padding-bottom: 120px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gl-head, .gl-featured, .gl-cat { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .gl-featured { gap: var(--s-6); }
  .gl-cat { gap: var(--s-6); }
  .gl-cat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); align-items: end; }
  .gl-cat-head h2 { margin: 0; }
  .related .gl-list { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .toc-mobile { display: block; margin: 0 0 var(--s-6); background: var(--surface); padding-inline: var(--s-5); }
  .toc-mobile summary { cursor: pointer; padding-block: var(--s-4); font-weight: 700; color: var(--ink); }
  .toc-mobile summary::marker { color: var(--accent); }
  .toc-mobile ol { margin: 0 0 var(--s-3); padding-inline-start: 1.2em; }
  .toc-mobile ol { padding-bottom: var(--s-4); }
  .toc-mobile a { color: var(--ink); text-decoration: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero-media img { aspect-ratio: 1 / 1; }
  .hero .lede { margin-bottom: var(--s-6); }
  .route { max-width: 290px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: var(--s-5); }
  .hero .cta-row .btn { flex: none; }
  /* בנייד הדרך יורדת לאורך הצד הימני */
  .journey-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .journey-steps::before { top: calc(var(--dot) / 2); bottom: 24px; inset-inline: calc(var(--dot) / 2 - 1px) auto; border-top: 0; border-inline-start: 2px dashed rgba(255, 255, 255, .55); }
  .journey-steps li { padding-top: 0; padding-inline-start: calc(var(--dot) + var(--s-4)); }
  .journey-steps li::before { top: .55em; }
  .journey-photo img { aspect-ratio: 3 / 2; }
  .gv-check { padding: var(--s-5) var(--s-4); margin-inline: calc(-1 * var(--s-1)); }
  .gv-check .btn { justify-self: stretch; }
  .community-panel { margin-inline: var(--s-3); }
  .gv-ruler .u { display: none; }
  .gv-amount output { font-size: var(--t-d3); }
  /* הקרדיט של הצילום יורד מתחת לפאנל, כדי שהפאנל לא יסתיר אותו */
  .community .wrap { display: flex; flex-direction: column; }
  .community-photo { display: contents; }
  .community-photo figcaption { order: 3; }
  .community-panel { order: 2; }
  .hero .text-link { align-self: flex-start; }
  .site-header .wrap { flex-wrap: nowrap; }
  .site-header nav { gap: var(--s-2); flex-wrap: nowrap; }
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .brand { font-size: 1.25rem; }
        .gl-cat-head { grid-template-columns: minmax(0, 1fr); }
  .gl-featured .btn { width: 100%; }
  .gl-featured h2 { font-size: 1.5rem; line-height: 1.2; }
  .faq details:not(.toc-mobile) summary { padding: var(--s-4) var(--s-5); padding-inline-end: 52px; font-size: 1.0625rem; }
  .faq details:not(.toc-mobile) summary::before, .faq details:not(.toc-mobile) summary::after { inset-inline-end: var(--s-5); }
  .faq details:not(.toc-mobile) > :not(summary) { margin-inline: var(--s-5); }
  .contact .lead-form { padding: var(--s-5) var(--s-4); margin-inline: calc(-1 * var(--s-1)); }
  .contact .lead-form button { justify-self: stretch; }
  .listing { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); padding: var(--s-5); }
  .listing.has-photo { grid-template-columns: minmax(0, 1fr); padding: 0 0 var(--s-5); }
  .listing.has-photo > :not(.l-photo) { padding-inline: var(--s-5); }
  .listing.has-photo .l-photo, .listing.has-photo .l-main, .listing.has-photo .l-gv, .listing.has-photo .l-price { grid-column: 1; }
  .listing.has-photo .l-photo { grid-row: 1; }
  .listing.has-photo .l-main { grid-row: 2; }
  .listing.has-photo .l-price { grid-row: 3; }
  .listing.has-photo .l-gv { grid-row: 4; }
  .property-photo img { aspect-ratio: 3 / 2; }
  .l-price { grid-row: 2; text-align: start; }
  .l-gv { grid-row: 3; }
  .filters > div:nth-child(4) { grid-column: 1 / -1; }
  .cta-row .btn { flex: 1 1 100%; }
  .block { padding-block: var(--s-7); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- הדפסה ---------- */
@media print {
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header { position: static; }
  .listing, .sg-swatch, .sg-type > div, .faq details { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
