/* דפי הנחיתה /afula/*. המחלקות נבנות ב-silo-render.js וב-brokers-render.js.
   גובה שמור מראש (יחס קבוע, בלי ספרייה) כדי שהגלילה לא תזיז את הדף. */

.land-page .doc > .wrap,
.land-hero .wrap { max-width: 1120px; }

/* גובה: בטלפון צר min(56svh, 460px). מ-760px min(460px, 100svh - 67px):
   שולחן בגובה רגיל נשאר 460px, וטלפון לרוחב מתכווץ כדי שהכפתורים יישארו
   בקיפול. 67px הוא גובה הכותרת הדביקה. svh לא זז עם סרגל הכתובת. */
.land-hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 420px;
  height: min(56svh, 460px);
  min-height: 420px;
  min-height: min(56svh, 460px);
  max-height: 56svh;
  background: #060c20;
  overflow: hidden;
}
@media (min-width: 760px) {
  .land-hero-media {
    height: 460px;
    height: min(460px, calc(100svh - 67px));
    min-height: 0;
    max-height: none;
  }
}
.land-hero-bg {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  max-height: none;
  background: #060c20;
}
.land-hero-bg picture,
.land-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.land-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* הטקסט יושב בתחתית, על 0.6 ומעלה. 0.6 של #060c20 על לבן הוא מעל 5:1. */
  background: linear-gradient(180deg, rgba(6, 12, 32, .25) 0%, rgba(6, 12, 32, .60) 42%, rgba(6, 12, 32, .92) 100%);
}
.land-hero-copy,
.wrap.land-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 16px 20px;
  padding-inline: 16px;
  color: #fff;
}
/* הרווח בין מספר למילה בעברית. רווח רגיל נבלע בגבול ה-bidi של bdi. */
.land-sp { display: inline-block; width: 0.35em; }
.land-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #fff;
}
.land-crumbs li { display: inline-flex; align-items: center; }
.land-crumbs li + li::before {
  content: "‹";
  margin-inline: 6px;
  opacity: .8;
}
.land-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 2px; min-height: 44px; display: inline-flex; align-items: center; }
.land-crumb-sep { opacity: .8; }
.land-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(6, 12, 32, .45);
}
.land-benefit { margin: 6px 0 0; color: #fff; font-size: 16px; line-height: 1.4; max-width: 40ch; }
.land-updated { margin: 6px 0 0; color: #fff; font-size: 13px; }
.land-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.land-chips li {
  background: #12306f;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.3;
}
.land-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.land-btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3em;
  padding: 0 16px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.land-btn-primary { background: #0e2a6b; color: #fff; border: 2px solid #0e2a6b; }
.land-btn-ghost { background: #fff; color: #0e2a6b; border: 2px solid #0e2a6b; }
.land-hero .land-btn-primary { background: #fff; color: #0e2a6b; border-color: #fff; }
.land-hero .land-btn-ghost { background: transparent; color: #fff; border-color: #fff; }

.land-page .back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
/* .doc a ב-content-page צובע כל קישור בכחול עם קו. כאן הצבע של הרכיב. */
.land-page .doc a.land-btn,
.land-page .doc a.land-card,
.land-page .doc a.land-hood,
.land-page .doc .land-filters a {
  text-decoration: none;
}
.land-page .doc a.land-btn-primary { color: #fff; }
.land-page .doc a.land-btn-ghost { color: #0e2a6b; }
.land-page .doc a.land-card,
.land-page .doc a.land-hood { color: #102044; }
.land-page .doc .land-filters a { color: #0e2a6b; }
.land-page .doc .land-filters a[aria-current="page"] { color: #fff; }

.land-page a:focus-visible,
.land-page button:focus-visible,
.land-page summary:focus-visible {
  outline: 3px solid #f5c451;
  outline-offset: 2px;
}

.land-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
@media (max-width: 759px) {
  .land-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .land-filters::-webkit-scrollbar { display: none; }
  .land-filters a { scroll-snap-align: start; flex: 0 0 auto; }
}
.land-filters a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .3em;
  white-space: nowrap;
  padding: 0 12px;
  border: 1px solid #d5dbe8;
  border-radius: 999px;
  background: #fff;
  color: #0e2a6b;
  text-decoration: none;
  font-size: 14px;
}
.land-filters a[aria-current="page"] { background: #0e2a6b; color: #fff; border-color: #0e2a6b; }

.land-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 520px) {
  .land-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (min-width: 900px) {
  .land-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.land-page .doc .land-grid > li { margin: 0; max-width: none; font-size: 14px; line-height: 1.4; }
.land-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  color: #102044;
  text-decoration: none;
  border: 1px solid #e3e7ef;
  border-radius: 14px;
  overflow: hidden;
}
.land-card:hover { border-color: #0e2a6b; }
.land-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #e6ebf5;
  overflow: hidden;
}
.land-media img,
.land-skel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.land-skel { background: linear-gradient(90deg, #e6ebf5, #f4f7fe 50%, #e6ebf5); }
.land-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12306f;
  color: #fff;
}
.land-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  background: #0e2a6b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 8px;
}
.land-card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.land-price { font-size: 22px; line-height: 1.2; color: #0e2a6b; }
.land-meta { color: #243356; font-size: 13px; }
.land-card-body strong {
  font-size: 15px;
  font-weight: 650;
  color: #102044;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.land-more { margin: 14px 0 8px; }
.land-empty {
  background: #f4f7fe;
  border-radius: 14px;
  padding: 18px 16px;
  margin: 0 0 16px;
}
.land-empty p { margin: 0 0 12px; }

.land-hoods {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (min-width: 800px) {
  .land-hoods { grid-template-columns: repeat(4, 1fr); }
}
.land-page .doc .land-hoods > li { margin: 0; max-width: none; }
.land-hood {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: 12px;
  color: #102044;
  text-decoration: none;
  font-size: 14px;
}
.land-hood > span { flex: 1; min-width: 0; }
.land-hood bdi { color: #0e2a6b; font-weight: 800; flex: 0 0 auto; }

.land-trust { margin-top: 8px; }
.land-stat { margin: 0; font-size: clamp(22px, 4vw, 34px); font-weight: 800; color: #0e2a6b; line-height: 1.25; }
.land-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.land-logos img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: grayscale(1);
  background: #f4f7fe;
  border-radius: 10px;
}

.land-seo p { max-width: 65ch; }
.land-faq details { border-bottom: 1px solid #e3e7ef; }
.land-faq summary {
  min-height: 44px;
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
  font-weight: 750;
  color: #102044;
  list-style: none;
}
.land-faq summary::-webkit-details-marker { display: none; }
.land-faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}
.land-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.land-faq details p { margin: 0 0 12px; }
.land-final {
  margin: 22px 0 8px;
  padding: 18px 16px;
  background: #f4f7fe;
  border-radius: 14px;
}
.land-final h2 { margin-top: 0; }
.land-related { margin-top: 8px; }

.land-office {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}
.land-office .land-card-body { padding: 0; min-width: 0; }
.land-office img,
.land-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: 0 0 auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.land-office img { object-fit: contain; background: #f4f7fe; }
.land-avatar { background: #12306f; color: #fff; font-weight: 800; font-size: 14px; }

@media (max-width: 759px) {
  body.land-page { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .land-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    gap: 8px;
    min-height: 48px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -6px 18px rgba(6, 12, 32, .12);
    transform: translateY(110%);
    transition: transform .22s ease;
  }
  .land-bar.is-on { transform: translateY(0); }
  .land-bar-wa,
  .land-bar-alert {
    min-height: 48px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
  }
  .land-bar-wa { flex: 1.4; background: #075e54; color: #fff; border: 0; }
  .land-bar-alert { flex: 1; background: #fff; color: #0e2a6b; border: 2px solid #0e2a6b; }
}
@media (min-width: 760px) {
  .land-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .land-bar { transition: none; }
}

#siloBody h2, #brokersBody h2 { margin: 22px 0 10px; font-size: 22px; color: #102044; }
#siloBody .deals-note, #brokersBody .deals-note { color: #243356; }
