/* Project + developer pages.
   Built ON TOP of upside's own nbx.css (the street/neighbourhood design system, loaded from
   upside.co.il/wp-content/mu-plugins/upside-nb/nbx.css) so the pages stay aligned when nbx changes.
   This file only adds: site header/footer (pages are served outside WordPress) and the
   project-specific blocks (gallery, lead box, project cards, developer header). */

@font-face {
  font-family: FreeSans;
  src: url("https://upside.co.il/wp-content/uploads/2026/04/FreeSans.ttf") format("truetype"); /* live: same-origin https://upside.co.il/wp-content/uploads/2026/04/FreeSans.ttf */
  font-display: swap;
}

body { margin: 0; background: #fff; font-family: FreeSans, -apple-system, "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; display: block; }

/* sample banner (not part of the real page) */
.sample-flag { background: #FFF4D6; color: #6B4E00; text-align: center; font: 13px/1.5 FreeSans, Arial, sans-serif; padding: 6px 12px; border-bottom: 1px solid #F0DC9A; direction: rtl; }

/* ---------- site header (mirrors upside's Elementor header 334) ---------- */
.up-header { position: relative; z-index: 1300; background: #fff; direction: rtl; font-family: FreeSans, Arial, sans-serif; }
.up-header .in { max-width: 1400px; margin: 0 auto; padding: 0 24px; height: 92px; display: flex; align-items: center; gap: 36px; }
.up-header .logo img { height: 58px; width: auto; }
.up-header nav { display: flex; gap: 30px; flex: 1; }
.up-header nav a { color: #1B1C1C; text-decoration: none; font-size: 16px; }
.up-header nav a:hover { color: #006A68; }
.up-header .cta { background: linear-gradient(150deg, #006A68 21%, rgba(0, 106, 104, .42) 100%); color: #fff; text-decoration: none; font-weight: 700; padding: 18px 22px; border-radius: 10px; }
.up-header .burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 6px; background: #F5F3F4; font-size: 20px; }

/* ---------- gallery strip ---------- */
.nbx-gal { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 150px 150px; gap: 6px; border-radius: 10px; overflow: hidden; margin: 4px 0 6px; position: relative; }
.nbx-gal > * { background: linear-gradient(160deg, #E6EFEE, #CFE0DE); }
.nbx-gal img { width: 100%; height: 100%; object-fit: cover; }
.nbx-gal .g-main { grid-row: span 2; }
.nbx-gal .g-ph { display: grid; place-items: center; text-align: center; color: #33373D; font-size: 13px; padding: 10px; }
.nbx-gal .g-all { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .95); border: 0; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 13px; color: #0C0D0E; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }

/* by-line under the title: developer + stage */
.nbx-by { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; font-size: 14px; color: var(--nbx-txt); }
.nbx-by a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--nbx-ink) !important; font-weight: 700; }
.nbx-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--nbx-teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.nbx-stage { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 20px; background: #DDF1EF; color: #0F766E; }
.nbx-stage.s-build { background: #FFF1DC; color: #8A5300; }
.nbx-stage.s-ready { background: #ECEBEB; color: #33373D; }
.nbx-adv { font-size: 12px; color: var(--nbx-mut); }

/* contact actions under the stats */
.nbx-actions { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; margin: 12px 0 0; }
.nbx-act { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 10px; border: 1px solid #D4D4D8; background: #fff; color: var(--nbx-ink) !important; text-decoration: none; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; }
.nbx-act:hover { border-color: var(--nbx-teal); color: var(--nbx-teal) !important; }
.nbx-act.wa { border-color: #1FA855; color: #128A43 !important; }
.nbx-act.go { border: 0; color: #fff !important; background: linear-gradient(150deg, #006A68 21%, rgba(0, 106, 104, .42) 100%); }
.nbx-act svg { flex: none; }

/* unit mix table */
.nbx-units td b { color: var(--nbx-ink); }
.nbx-units td.p { color: var(--nbx-teal); font-weight: 700; white-space: nowrap; }

/* feature chips */
.nbx-feat { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.nbx-feat li { font-size: 13px; padding: 5px 12px; border-radius: 20px; background: var(--nbx-panel); color: var(--nbx-ink2); }

/* planning block: upside's own analysis of the compound */
.nbx-plan { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
.nbx-plan img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--nbx-line); }
.nbx-steps { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.nbx-steps li { position: relative; padding: 20px 0 0 6px; font-size: 12.5px; color: var(--nbx-mut); line-height: 1.4; }
.nbx-steps li::before { content: ""; position: absolute; top: 5px; right: 0; left: 0; height: 3px; background: var(--nbx-line); }
.nbx-steps li::after { content: ""; position: absolute; top: 0; right: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--nbx-line); }
.nbx-steps li.done::before, .nbx-steps li.done::after { background: var(--nbx-teal); border-color: var(--nbx-teal); }
.nbx-steps li.now::after { border-color: var(--nbx-teal); box-shadow: 0 0 0 4px rgba(0, 106, 104, .14); }
.nbx-steps li b { display: block; font-size: 13px; color: var(--nbx-ink); }

/* lead box (same shell as .nbx-cta, with the form) */
.nbx-lead-box { background: var(--nbx-panel); border-radius: 10px; padding: 22px 20px; margin: 26px 0 0; }
.nbx-lead-box h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; color: #000; line-height: 1.2; }
.nbx-lead-box .nbx-sub { margin-bottom: 12px; }
.nbx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nbx-form label { display: grid; gap: 3px; font-size: 13px; color: var(--nbx-teal); }
.nbx-form .full { grid-column: span 2; }
.nbx-form input, .nbx-form textarea { font: inherit; font-size: 15px; height: 44px; padding: 0 12px; border: 1px solid #D4D4D8; border-radius: 8px; background: #fff; color: var(--nbx-ink); }
.nbx-form textarea { height: 70px; padding: 10px 12px; resize: vertical; }
.nbx-form input:focus, .nbx-form textarea:focus { outline: 0; border-color: var(--nbx-teal); box-shadow: 0 0 0 3px rgba(0, 106, 104, .12); }
.nbx-form { position: relative; }
.nbx-form .nbx-hp { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nbx-form .consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--nbx-txt); grid-column: span 2; }
.nbx-form .consent input { height: auto; margin-top: 3px; }
.nbx-form button { grid-column: span 2; height: 48px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; font-size: 16px; color: #fff; cursor: pointer; background: linear-gradient(150deg, #006A68 21%, rgba(0, 106, 104, .42) 100%); }

/* developer card (on the project page) */
.nbx-devcard { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--nbx-line); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--nbx-ink) !important; }
.nbx-devcard:hover { border-color: var(--nbx-teal); }
.nbx-devcard .nbx-mark { width: 52px; height: 52px; font-size: 18px; border-radius: 12px; }
.nbx-devcard strong { display: block; font-size: 16px; }
.nbx-devcard small { color: var(--nbx-mut); font-size: 13px; }
.nbx-devcard .nbx-go { color: var(--nbx-teal); font-size: 13px; white-space: nowrap; }

/* project cards (developer page, "more projects") — .nbx-cc with a thumbnail */
.nbx-pc { display: grid; grid-template-columns: 112px 1fr auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--nbx-line); border-radius: 10px; text-decoration: none; color: var(--nbx-ink) !important; background: #fff; margin-bottom: 10px; }
.nbx-pc:hover { border-color: var(--nbx-teal); }
.nbx-pc.nbx-on { border: 2px solid var(--nbx-teal); background: #F2FAF9; }
.nbx-pc .th { width: 112px; height: 84px; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #E6EFEE, #CFE0DE); }
.nbx-pc .th img { width: 100%; height: 100%; object-fit: cover; }
.nbx-pc strong { display: block; font-size: 15px; }
.nbx-pc small { display: block; color: var(--nbx-mut); font-size: 12.5px; margin-top: 2px; }
.nbx-pc .meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 12.5px; color: var(--nbx-txt); }
.nbx-pc .pr { text-align: left; font-size: 12px; color: var(--nbx-mut); white-space: nowrap; }
.nbx-pc .pr b { display: block; font-size: 15px; color: var(--nbx-teal); white-space: nowrap; }

/* developer page header */
.nbx-dhead { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin: 4px 0 6px; }
.nbx-dhead .nbx-mark { width: 76px; height: 76px; border-radius: 16px; font-size: 26px; }
.nbx-dhead .nbx-h1 { margin: 0; }
.nbx-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--nbx-teal); background: #E6F2F1; border-radius: 20px; padding: 2px 10px; vertical-align: middle; }
.nbx-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.nbx-filter button { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--nbx-line); background: #fff; color: var(--nbx-txt); cursor: pointer; }
.nbx-filter button[aria-pressed="true"] { background: var(--nbx-teal); border-color: var(--nbx-teal); color: #fff; }

/* map pins for projects */
.nbx-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--nbx-teal, #006A68); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.nbx-pin.dim { background: #5F5E5E; }
.nbx-pin-lbl { background: #fff; border-radius: 8px; padding: 4px 8px; font: 700 12px/1.3 FreeSans, Arial, sans-serif; color: #0C0D0E; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); white-space: nowrap; }

/* ---------- footer (mirrors upside's Elementor footer 724) ---------- */
.up-footer { background: #090909; color: #CFCFCF; direction: rtl; font: 14px/1.7 FreeSans, Arial, sans-serif; padding: 48px 0 22px; position: relative; z-index: 1; }
.up-footer .in { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.up-footer .cols { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.up-footer .brand { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: .03em; }
.up-footer .brand i { font-style: normal; color: #7FD1C7; }
.up-footer p { margin: 8px 0 16px; }
.up-footer .cta { display: inline-block; background: linear-gradient(150deg, #006A68 21%, rgba(0, 106, 104, .42) 100%); color: #fff; padding: 12px 20px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.up-footer .links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 24px; align-content: start; }
.up-footer a { color: #CFCFCF; text-decoration: none; }
.up-footer .links a:hover { color: #fff; }
.up-footer .legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid #222; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8A8A8A; font-size: 13px; }
.up-footer .legal a { color: #8A8A8A; margin-inline-start: 16px; }

/* ---------- mobile ---------- */
.nbx-mbar { display: none; }
@media (max-width: 1024px) {
  .up-header nav { display: none; }
  .up-header .in { height: 68px; justify-content: space-between; }
  .up-header .logo img { height: 42px; }
  .up-header .cta { padding: 11px 14px; font-size: 14px; }
  .up-header .burger { display: grid; place-items: center; cursor: pointer; color: #1B1C1C; }
  /* the burger opens the site menu as a panel under the header */
  .up-header.open nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; right: 0; left: 0; background: #fff; padding: 4px 20px 14px; border-top: 1px solid var(--nbx-line, #E4E3E3); box-shadow: 0 14px 24px rgba(12, 13, 14, .12); }
  .up-header.open nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--nbx-line, #E4E3E3); }
  .up-header.open nav a:last-child { border-bottom: 0; }
  .nbx-actions { display: none; }
  .nbx-mbar { display: flex; gap: 8px; position: fixed; z-index: 1200; right: 0; left: 0; bottom: 0; background: #fff; border-top: 1px solid var(--nbx-line, #E4E3E3); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(12, 13, 14, .08); direction: rtl; }
  .nbx-mbar > * { flex: 1 1 0; min-width: 0; }
  body { padding-bottom: 70px; }
  .up-footer .cols { grid-template-columns: 1fr; }
  .up-footer .links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nbx-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 90px; }
  .nbx-gal .g-main { grid-column: span 2; grid-row: auto; }
  .nbx-gal > :nth-child(n+4):not(.g-all) { display: none; }
  .nbx-form { grid-template-columns: 1fr; }
  .nbx-form .full, .nbx-form .consent, .nbx-form button { grid-column: auto; }
  .nbx-steps { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .nbx-plan { grid-template-columns: 1fr; }
  .nbx-pc { grid-template-columns: 88px 1fr; }
  .nbx-pc .th { width: 88px; height: 72px; }
  .nbx-pc .pr { grid-column: 2; text-align: right; }
  .nbx-devcard { grid-template-columns: auto 1fr; }
  .nbx-devcard .nbx-go { grid-column: 2; }
  .up-header .cta { display: none; }
}

/* =====================================================================
   Project LANDING page (lp-*). Same nbx tokens; full-width hero, no split map.
   ===================================================================== */
.lp { direction: rtl; }
.lp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* hero */
.lp-hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #10312F; }
.lp-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 13, 14, .88) 0%, rgba(12, 13, 14, .55) 38%, rgba(12, 13, 14, .05) 70%); }
.lp-hero .lp-wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 96px; }
.lp-crumbs { font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }
.lp-crumbs a { color: rgba(255, 255, 255, .75) !important; text-decoration: none; }
.lp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.lp-tag { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); color: #fff; }
.lp-tag.on { background: #fff; color: var(--nbx-teal); }
.lp-hero h1 { font-family: FreeSans, sans-serif; font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1; margin: 0 0 12px; }
.lp-hero .lp-sub { font-size: clamp(17px, 1.8vw, 21px); color: rgba(255, 255, 255, .9); margin: 0 0 22px; max-width: 640px; line-height: 1.45; }
.lp-hero-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none !important; cursor: pointer; border: 0; }
.lp-btn.go { color: #fff !important; background-color: #006A68; background-image: linear-gradient(150deg, #006A68 21%, rgba(0, 106, 104, .42) 100%); }
.lp-btn.ghost { color: #fff !important; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.lp-btn.ghost:hover { background: rgba(255, 255, 255, .2); }
.lp-dev { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; margin-inline-start: auto; font-size: 14px; }
.lp-dev .nbx-mark { background: #fff; color: var(--nbx-teal); width: 40px; height: 40px; }
.lp-dev small { display: block; color: rgba(255, 255, 255, .7); font-size: 12px; }
.lp-thumbs { position: absolute; z-index: 1; left: 24px; top: 24px; display: flex; gap: 8px; }
.lp-thumbs span { width: 86px; height: 62px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .7); background: linear-gradient(160deg, #3E6E6B, #1D4A47); display: grid; place-items: center; font-size: 11px; color: #fff; text-align: center; padding: 4px; }
.lp-thumbs button { height: 62px; padding: 0 14px; border-radius: 8px; border: 0; background: #fff; color: var(--nbx-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

/* key facts strip overlapping the hero */
.lp-facts { position: relative; z-index: 2; margin-top: -56px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(12, 13, 14, .12); display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--nbx-line); }
.lp-facts div { padding: 18px 16px; text-align: center; }
.lp-facts div + div { border-inline-start: 1px solid var(--nbx-line); }
.lp-facts b { display: block; font-size: 26px; font-weight: 700; color: var(--nbx-ink); line-height: 1.15; }
.lp-facts b.t { color: var(--nbx-teal); }
.lp-facts span { font-size: 13px; color: var(--nbx-ink2); }

/* in-page nav */
.lp-nav { position: sticky; top: 0; z-index: 15; background: #fff; border-bottom: 1px solid var(--nbx-line); margin-top: 28px; }
.lp-nav .lp-wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.lp-nav a { flex: none; padding: 14px 12px; font-size: 15px; font-weight: 700; color: var(--nbx-txt) !important; text-decoration: none; border-bottom: 3px solid transparent; }
.lp-nav a:hover, .lp-nav a.on { color: var(--nbx-teal) !important; border-bottom-color: var(--nbx-teal); }

/* body: content + sticky lead */
.lp-body { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 48px; align-items: start; padding: 40px 0 64px; }
.lp-sec { padding: 0 0 40px; margin: 0 0 40px; border-bottom: 1px solid var(--nbx-line); scroll-margin-top: 70px; }
.lp-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.lp-sec > h2 { font-family: FreeSans, sans-serif; font-size: 28px; font-weight: 600; color: #000; margin: 0 0 6px; line-height: 1.15; }
.lp-sec > .nbx-sub { margin-bottom: 18px; }
.lp-intro { font-size: 18px !important; line-height: 1.7 !important; color: #585858; margin: 0 0 20px; }

/* announcements: first in the content column */
.lp-ann { display: grid; gap: 16px; margin: 0 0 40px; scroll-margin-top: 70px; }
.lp-ann-card { background: #fff; border: 1px solid var(--nbx-line); border-radius: 14px; box-shadow: 0 6px 22px rgba(12, 13, 14, .07); padding: 20px; }
.lp-ann-card header { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.lp-ann-card header i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--nbx-panel); color: var(--nbx-teal); display: grid; place-items: center; }
.lp-ann-card h2 { font-family: FreeSans, sans-serif; font-size: 22px; font-weight: 600; color: #000; margin: 0; line-height: 1.25; }
.lp-ann-img { display: block; border-radius: 10px; overflow: hidden; background: var(--nbx-panel); }
.lp-ann-img img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.lp-ann-card p { font-size: 16px; line-height: 1.65; color: var(--nbx-txt); margin: 14px 0 0; }
.lp-ann-card header + p { margin-top: 0; }
@media (max-width: 560px) {
  .lp-ann-card { padding: 14px; border-radius: 12px; }
  .lp-ann-card h2 { font-size: 19px; }
  .lp-ann-card header i { width: 34px; height: 34px; }
}

/* highlights */
.lp-hl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-hl div { background: var(--nbx-panel); border-radius: 12px; padding: 18px; }
.lp-hl i { width: 42px; height: 42px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--nbx-teal); margin-bottom: 12px; }
.lp-hl b { display: block; font-size: 16px; color: var(--nbx-ink); margin-bottom: 2px; }
.lp-hl small { font-size: 13.5px; color: var(--nbx-txt); line-height: 1.5; display: block; }

/* buildings */
.lp-bld { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.lp-b { border: 1px solid var(--nbx-line); border-radius: 12px; padding: 18px; display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; }
.lp-b .tower { height: 76px; display: flex; align-items: flex-end; justify-content: center; }
.lp-b .tower i { display: block; width: 26px; border-radius: 4px 4px 0 0; background: repeating-linear-gradient(to top, var(--nbx-teal) 0 5px, #4FA19C 5px 7px); }
.lp-b strong { display: block; font-size: 17px; color: var(--nbx-ink); }
.lp-b dl { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 12px; margin: 6px 0 0; font-size: 14px; }
.lp-b dt { color: var(--nbx-mut); }
.lp-b dd { margin: 0; color: var(--nbx-ink); font-weight: 700; }
.lp-total { margin-top: 12px; font-size: 14px; color: var(--nbx-txt); }

/* apartment types */
.lp-apts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lp-apt { border: 1px solid var(--nbx-line); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 128px 1fr; }
.lp-apt .plan { background: var(--nbx-panel); display: grid; place-items: center; padding: 12px; }
.lp-apt .plan svg { width: 100%; height: auto; }
.lp-apt .info { padding: 16px; display: grid; gap: 3px; align-content: start; }
.lp-apt h3 { margin: 0; font-size: 18px; color: var(--nbx-ink); font-family: FreeSans, sans-serif; }
.lp-apt .sz { font-size: 14px; color: var(--nbx-txt); }
.lp-apt .pr { margin-top: 6px; font-size: 13px; color: var(--nbx-mut); }
.lp-apt .pr b { font-size: 20px; color: var(--nbx-teal); }
.lp-apt .left { font-size: 12.5px; color: var(--nbx-txt); }
.lp-apt a { font-size: 13px; font-weight: 700; color: var(--nbx-teal) !important; text-decoration: none; margin-top: 4px; }

/* spec */
.lp-spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.lp-spec li { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--nbx-line); font-size: 15px; color: var(--nbx-ink2); }
.lp-spec li b { color: var(--nbx-ink); min-width: 92px; flex: none; }

/* location */
.lp-map { height: 380px; border-radius: 12px; overflow: hidden; border: 1px solid var(--nbx-line); position: relative; background: #F2F1F1; }
.lp-map #nbx-map { position: absolute; inset: 0; }
.lp-dist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.lp-dist div { background: var(--nbx-panel); border-radius: 10px; padding: 12px 14px; }
.lp-dist b { display: block; font-size: 17px; color: var(--nbx-ink); }
.lp-dist span { font-size: 13px; color: var(--nbx-txt); }

/* neighbourhood */
.lp-nb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.lp-nb-grid .nbx-card h3 { margin: 0 0 10px; font-size: 15px; color: var(--nbx-ink2); font-family: FreeSans, sans-serif; }
.lp-ages .nbx-row { grid-template-columns: 50px 1fr 84px; }
.lp-ages .nbx-row > span:last-child { font-size: 12.5px; color: var(--nbx-txt); text-align: left; }
.lp-sch td:last-child { white-space: nowrap; }
.lp-nb-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

/* sticky lead card (its column stretches to the content height so it can stick) */
.lp-body > aside { align-self: stretch; }
.lp-lead { position: sticky; top: 70px; border: 1px solid var(--nbx-line); border-radius: 14px; box-shadow: 0 10px 30px rgba(12, 13, 14, .08); background: #fff; overflow: hidden; }
.lp-lead-top { background: #10312F; color: #fff; padding: 18px 20px; }
.lp-lead-top small { display: block; font-size: 13px; color: #B9CFCD; }
.lp-lead-top b { font-size: 30px; line-height: 1.15; }
.lp-lead-top p { margin: 6px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.lp-lead .nbx-form { padding: 18px 20px 10px; grid-template-columns: 1fr; }
.lp-lead .nbx-form .full, .lp-lead .nbx-form .consent, .lp-lead .nbx-form button { grid-column: auto; }
.lp-lead .nbx-form textarea { height: 60px; }
.lp-lead-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 20px 18px; }
.lp-lead-acts .nbx-act { height: 42px; }

/* closing CTA band (upside's dark band) */
.lp-band { background: #10312F; color: #fff; padding: 56px 0; }
.lp-band .lp-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lp-band h2 { font-family: FreeSans, sans-serif; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; margin: 0 0 10px; font-weight: 600; }
.lp-band h2 em { font-style: normal; color: #7FD1C7; display: block; }
.lp-band p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 17px; }
.lp-band .nbx-form label { color: #B9CFCD; }
.lp-band .nbx-form .consent { color: rgba(255, 255, 255, .7); }
.lp-band .nbx-form button { background: #fff; color: #10312F; }

@media (max-width: 1024px) {
  .lp-hero { min-height: 520px; }
  .lp-hero .lp-wrap { padding-bottom: 80px; }
  .lp-thumbs { display: none; }
  .lp-dev { margin-inline-start: 0; }
  .lp-facts { grid-template-columns: repeat(3, 1fr); margin-top: -44px; }
  .lp-facts div:nth-child(4) { border-inline-start: 0; }
  .lp-facts div:nth-child(n+4) { border-top: 1px solid var(--nbx-line); }
  .lp-body { grid-template-columns: 1fr; gap: 0; padding-top: 28px; }
  .lp-lead { display: none; }
  .lp-hl { grid-template-columns: 1fr 1fr; }
  .lp-apts, .lp-nb-grid, .lp-band .lp-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-wrap { padding: 0 16px; }
  /* the hero hugs its content instead of leaving empty sky above it */
  .lp-hero { min-height: 0; }
  .lp-hero .lp-wrap { padding-top: 36px; padding-bottom: 72px; }
  .lp-hero-row .lp-btn { flex: 1; padding: 0 12px; }
  /* key facts: the price on its own row, the other figures side by side under it */
  .lp-facts { display: flex; flex-wrap: wrap; }
  .lp-facts div { flex: 1 1 0; min-width: 0; padding: 12px 4px; }
  .lp-facts div.pr { flex-basis: 100%; order: -1; display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 12px; background: #F2FAF9; border-bottom: 1px solid var(--nbx-line); border-inline-start: 0; }
  .lp-facts div.pr span { order: -1; }
  .lp-facts div:nth-child(4):not(.pr) { border-inline-start: 1px solid var(--nbx-line); } /* undo the 3-column row break above */
  .lp-facts div.pr + div, .lp-facts div:first-child:not(.pr) { border-inline-start: 0; }
  .lp-facts b { font-size: 20px; white-space: nowrap; }
  .lp-facts span { font-size: 12px; display: block; line-height: 1.3; }
  .lp-facts div.pr span { display: inline; font-size: 14px; }
  .lp-facts div:nth-child(n) { border-top: 0; }
  .lp-hl { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lp-hl div { padding: 12px; }
  .lp-hl i { width: 34px; height: 34px; margin-bottom: 8px; }
  .lp-hl b { font-size: 14.5px; }
  .lp-hl small { font-size: 12.5px; }
  .lp-apts { gap: 10px; }
  .lp-apt { grid-template-columns: 96px 1fr; }
  .lp-spec { grid-template-columns: 1fr; }
  .lp-dist { grid-template-columns: 1fr 1fr; }
  .lp-sec > h2 { font-size: 24px; }
}

/* build-stage stepper (סטטוס הפרויקט) */
.lp-status { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-status li { position: relative; padding-top: 40px; text-align: right; font-size: 14px; color: var(--nbx-mut); line-height: 1.35; }
.lp-status li::before { content: ""; position: absolute; top: 13px; right: 28px; left: 0; border-top: 3px dotted #BFE3E0; }
.lp-status li:last-child::before { display: none; }
.lp-status li.done::before { border-top-color: var(--nbx-teal); }
.lp-status li.now::before { border-top-color: #BFE3E0; }
.lp-status .dot { position: absolute; top: 0; right: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid #BFE3E0; box-sizing: border-box; }
.lp-status li.done .dot { background: var(--nbx-teal); border-color: var(--nbx-teal); }
.lp-status li.done .dot::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.lp-status li.now { color: var(--nbx-ink); font-weight: 700; }
.lp-select { font: inherit; font-size: 15px; height: 44px; padding: 0 10px; border: 1px solid #D4D4D8; border-radius: 8px; background: #fff; }
@media (max-width: 560px) {
  .lp-status { grid-template-columns: 1fr; gap: 14px; }
  .lp-status li { padding: 3px 40px 0 0; min-height: 28px; }
  .lp-status li::before { top: 30px; bottom: -14px; right: 12px; left: auto; border-top: 0; border-right: 3px dotted #BFE3E0; }
  .lp-status li.done::before { border-right-color: var(--nbx-teal); }
  .lp-status li.now::before { border-right-color: #BFE3E0; }
}

/* logos: developer mark with an uploaded logo, project logo in the hero */
.nbx-mark.has-logo { background: #fff; border: 1px solid var(--nbx-line); padding: 3px; overflow: hidden; }
.nbx-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lp-dev .nbx-mark.has-logo { border: 0; }
.lp-logo { display: inline-flex; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.lp-logo img { display: block; height: 52px; max-width: 200px; object-fit: contain; }
@media (max-width: 560px) { .lp-logo img { height: 42px; } }

/* developer page without a map column (no project coordinates yet) */
.nbx-app.no-map { display: block; max-width: 920px; margin: 0 auto; }

/* developer page: content + sticky lead column (stacked below the content on phones/tablets) */
.dv { max-width: 1240px; margin: 0 auto; padding: 24px 24px 64px; }
.dv-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; margin-top: 8px; }
.dv-body > aside { align-self: stretch; }
.dv-group { margin-bottom: 22px; }
.dv-group .nbx-h3 { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; }
.dv-group .nbx-h3 .nbx-stage { font-size: 13px; padding: 3px 12px; }
.dv-group .nbx-h3 small { color: var(--nbx-mut); font-weight: 400; font-size: 13px; }
.dv-acts { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
@media (max-width: 1024px) {
  .dv-body { grid-template-columns: 1fr; gap: 24px; }
  .lp-lead.dv-lead { display: block; position: static; }
}
@media (max-width: 560px) { .dv { padding: 16px 16px 80px; } }
.dv-lead .lp-lead-top b { font-size: 21px; }

/* ---------- developer page: hero, key figures, motion ---------- */
html:has(.dvp) { scroll-behavior: smooth; }
.dv-hero { min-height: 480px; }
.dv-hero .lp-wrap { padding-bottom: 92px; }
.dv-hero-bg { position: absolute; inset: 0; }
.dv-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; animation: dvKen 22s ease-in-out infinite alternate; }
.dv-hero-bg img.on { opacity: 1; }
/* darker than the project hero: the text block is taller and sits on whatever photo the developer uploaded */
.dv-hero::after { background: linear-gradient(to top, rgba(12, 13, 14, .9) 0%, rgba(12, 13, 14, .6) 45%, rgba(12, 13, 14, .3) 100%), linear-gradient(to left, rgba(12, 13, 14, .4), transparent 65%); }
.dv-hero .lp-crumbs, .dv-hero .lp-sub { text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.dv-hero-bg img:nth-child(2n) { animation-direction: alternate-reverse; }
/* no project photos yet: drifting brand-colour light over the dark teal */
.dv-hero.no-img { background: linear-gradient(135deg, #0B2B29 0%, #10403D 55%, #0B2B29 100%); }
.dv-hero.no-img::after { background: linear-gradient(to top, rgba(12, 13, 14, .45), transparent 60%); }
.dv-hero-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: dvDrift 18s ease-in-out infinite alternate; }
.dv-hero-bg i:nth-child(1) { width: 520px; height: 520px; background: #006A68; top: -160px; right: -80px; }
.dv-hero-bg i:nth-child(2) { width: 420px; height: 420px; background: #2E8C86; bottom: -180px; left: 10%; animation-duration: 24s; animation-direction: alternate-reverse; }
.dv-hero-bg i:nth-child(3) { width: 260px; height: 260px; background: #7FD1C7; top: 30%; left: 45%; opacity: .25; animation-duration: 30s; }
.dv-id { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 26px; }
.dv-id .nbx-mark { width: 128px; height: 128px; border-radius: 26px; font-size: 42px; background: #fff; color: var(--nbx-teal); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); flex: none; }
.dv-id .nbx-mark.has-logo { padding: 12px; }
.dv-id .nbx-mark img { width: 100%; height: 100%; object-fit: contain; }
.dv-hero h1 { margin-bottom: 8px; }
.dv-hero .lp-sub { margin: 0; }
/* entrance: crumbs, identity, buttons rise in turn */
.dv-hero-in > * { animation: dvUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.dv-hero-in > :nth-child(2) { animation-delay: .12s; }
.dv-hero-in > :nth-child(3) { animation-delay: .26s; }
.dv-id .nbx-mark { animation: dvPop .7s .1s cubic-bezier(.3, 1.4, .5, 1) both; }
.lp-btn.go { transition: transform .2s, box-shadow .2s; }
.lp-btn.go:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 106, 104, .35); }

.dv-facts { position: relative; z-index: 2; margin-top: -54px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(12, 13, 14, .12); border: 1px solid var(--nbx-line); display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); overflow: hidden; }
.dv-facts div { padding: 20px 16px; text-align: center; }
.dv-facts div + div { border-inline-start: 1px solid var(--nbx-line); }
.dv-facts b { display: block; font-size: 30px; font-weight: 700; color: var(--nbx-ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.dv-facts b.t { color: var(--nbx-teal); }
.dv-facts span { font-size: 13px; color: var(--nbx-ink2); }
.dvp .dv { padding-top: 28px; }

/* project cards */
.dv .nbx-pc { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .2s; }
.dv .nbx-pc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(12, 13, 14, .1); }
.dv .nbx-pc .th img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.dv .nbx-pc:hover .th img { transform: scale(1.08); }
/* "בשיווק" badge carries a live dot */
.dv-live { display: inline-flex; align-items: center; gap: 7px; }
.dv-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: dvPulse 1.8s ease-out infinite; }
/* the form flashes a ring when reached from "פנייה ליזם" */
.dv-lead:target { animation: dvRing 1.4s ease-out; }

/* scroll reveal (classes set by upsidePage.motion, so without JS everything simply shows) */
/* "backwards" fill so the hover lift on cards still works once the entrance is over */
.rv:not(.in) { opacity: 0; }
.rv.in { animation: dvUp .7s cubic-bezier(.2, .7, .2, 1) calc(min(var(--i, 0), 6) * 70ms) backwards; }

/* projects map */
.dv-mapsec { margin-top: 40px; }
.dv-mapsec h2 { font-family: FreeSans, sans-serif; font-size: 26px; color: var(--nbx-ink); margin: 0 0 14px; }
.dv-map { position: relative; height: 460px; border-radius: 14px; overflow: hidden; border: 1px solid var(--nbx-line); background: #F2F1F1; }
/* Leaflet positions tooltips wrongly inside an RTL page */
.dv-map #nbx-map { position: absolute; inset: 0; direction: ltr; }
.dv-map .leaflet-tooltip { direction: rtl; }
.dv-legend { position: absolute; z-index: 500; top: 14px; right: 14px; margin: 0; padding: 10px 14px; list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 4px 14px rgba(12, 13, 14, .14); display: grid; gap: 6px; font-size: 13.5px; color: var(--nbx-ink2); }
.dv-legend li { display: flex; align-items: center; gap: 8px; }
.dv-dot { display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); background: #C2410C; }
.dv-dot.s-marketing { background: #006A68; }
.dv-pin svg { display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); transform-origin: 50% 100%; transition: transform .2s; cursor: pointer; }
.dv-pin:hover svg { transform: scale(1.15); }
.dv-dot.s-construction { background: #E39B2D; }
.dv-dot.s-planning { background: #6B5BA8; }
.dv-dot.s-occupied { background: #33373D; }

@keyframes dvKen { from { transform: scale(1.02); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes dvDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.15); } }
@keyframes dvUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes dvPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes dvPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 106, 104, .45); } 100% { box-shadow: 0 0 0 9px rgba(0, 106, 104, 0); } }
@keyframes dvRing { 0% { box-shadow: 0 0 0 0 rgba(0, 106, 104, .5), 0 10px 30px rgba(12, 13, 14, .08); } 100% { box-shadow: 0 0 0 16px rgba(0, 106, 104, 0), 0 10px 30px rgba(12, 13, 14, .08); } }

@media (max-width: 1024px) {
  .dv-hero { min-height: 440px; }
  .dv-facts { margin-top: -44px; }
  .dv-map { height: 380px; }
}
@media (max-width: 560px) {
  .dv-hero { min-height: 470px; }
  .dv-hero .lp-wrap { padding-bottom: 76px; }
  .dv-id { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .dv-id .nbx-mark { width: 92px; height: 92px; border-radius: 20px; font-size: 30px; }
  .dv-id .nbx-mark.has-logo { padding: 9px; }
  .dv-facts { grid-template-columns: repeat(2, 1fr); }
  .dv-facts div { padding: 14px 10px; }
  .dv-facts div:nth-child(n) { border-inline-start: 0; border-top: 1px solid var(--nbx-line); }
  .dv-facts div:nth-child(-n+2) { border-top: 0; }
  .dv-facts div:nth-child(even) { border-inline-start: 1px solid var(--nbx-line); }
  .dv-facts b { font-size: 24px; }
  .dv-mapsec h2 { font-size: 22px; }
  .dv-map { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.dvp) { scroll-behavior: auto; }
  .dv-hero-bg img, .dv-hero-bg i, .dv-hero-in > *, .dv-id .nbx-mark, .dv-live::before, .dv-lead:target { animation: none; }
  .rv:not(.in) { opacity: 1; }
  .rv.in { animation: none; }
}

/* ---------------------------------------------------------------- broker pages: listing, office, agent */
.bk .lp-wrap { padding-top: 18px; }
.bk-crumbs { color: var(--nbx-mut); margin-bottom: 12px; }
.bk-crumbs a { color: var(--nbx-teal); }
.bk-gal { display: grid; gap: 6px; border-radius: 14px; overflow: hidden; height: 440px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bk-gal a { position: relative; display: block; overflow: hidden; background: #E6EFEE; }
.bk-gal a:first-child { grid-row: span 2; }
.bk-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.bk-gal a:hover img { transform: scale(1.04); }
.bk-gal a[data-more]::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16, 49, 47, .55); color: #fff; font-size: 22px; font-weight: 700; }
.bk-gal.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.bk-gal.n1 a:first-child { grid-row: auto; }
.bk-gal.n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.bk-gal.n2 a:first-child { grid-row: auto; }
.bk-gal.n3 { grid-template-columns: 2fr 1fr; }
.bk-gal.n4 { grid-template-columns: 2fr 1fr 1fr; }
.bk-gal.n4 a:nth-child(4) { grid-column: span 2; }
.bk-head { margin: 4px 0 18px; }
.bk-head h1 { font-size: 25px; line-height: 1.2; margin: 8px 0 6px; color: var(--nbx-ink); }
.bk-head .lp-tag { background: #E6F2F1; color: var(--nbx-teal); }
.bk-head .lp-sub { color: var(--nbx-txt); margin: 0; }
.bk-price { font-size: 30px; font-weight: 700; color: var(--nbx-teal); margin-top: 12px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.bk-price small { font-size: 14px; font-weight: 400; color: var(--nbx-mut); }
.bk-facts { margin: 0 0 8px; }
.bk-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bk-feats li { padding: 7px 14px 7px 12px; border-radius: 99px; background: #E6F2F1; color: var(--nbx-teal); font-size: 14px; font-weight: 500; }
.bk-feats li::before { content: "✓ "; }
.bk-map { position: relative; height: 300px; border-radius: 12px; overflow: hidden; border: 1px solid var(--nbx-line); }
.bk-map #nbx-map { position: absolute; inset: 0; direction: ltr; }
.bk-agent { display: flex; gap: 14px; align-items: center; padding: 18px 20px 4px; }
.bk-agent strong { display: block; font-size: 17px; }
.bk-agent strong a { color: var(--nbx-ink); text-decoration: none; }
.bk-agent small { display: block; font-size: 13px; color: var(--nbx-mut); }
.bk-agent small a { color: var(--nbx-teal); }
.bk-ava { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--nbx-teal); color: #fff; font-weight: 700; font-size: 22px; }
.bk-ava img { width: 100%; height: 100%; object-fit: cover; }
.bk-agent + .lp-lead-acts { padding-top: 12px; }
.lp-lead-acts.one { grid-template-columns: 1fr; }
.bk-id .bk-ava { width: 128px; height: 128px; font-size: 42px; border: 4px solid #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.bk-flag { position: absolute; top: 6px; right: 6px; background: #F2553F; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.nbx-pc .th { position: relative; }
.bk-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bk-member { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 18px 12px; border: 1px solid var(--nbx-line); border-radius: 12px; text-decoration: none; color: var(--nbx-ink) !important; transition: border-color .2s, transform .2s; }
.bk-member:hover { border-color: var(--nbx-teal); transform: translateY(-2px); }
.bk-member .bk-ava { width: 76px; height: 76px; margin-bottom: 6px; }
.bk-member small, .bk-member .meta { font-size: 12.5px; color: var(--nbx-mut); }
.bk-deals { overflow-x: auto; }
.bk-deals table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bk-deals th, .bk-deals td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--nbx-line); white-space: nowrap; }
.bk-deals th { color: var(--nbx-mut); font-weight: 500; font-size: 13px; }
.bk-deals .muted { color: var(--nbx-mut); }
@media (max-width: 760px) {
  .bk-gal, .bk-gal.n3, .bk-gal.n4 { height: 260px; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
  .bk-gal.n4 a:nth-child(4) { grid-column: auto; }
  .bk-gal a:first-child { grid-column: span 2; grid-row: auto; }
  .bk-gal a:nth-child(n+4) { display: none; }
  .bk-gal.n1, .bk-gal.n2 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .bk-gal.n2 a:nth-child(2) { display: none; }
  .bk-head h1 { font-size: 21px; }
  .bk-price { font-size: 24px; }
  .bk-id .bk-ava { width: 92px; height: 92px; font-size: 30px; }
}
.lp-lead-top + .lp-lead-acts { padding-top: 16px; }
.bk .bk-crumbs a { color: var(--nbx-teal) !important; }
/* listings board (/for-sale, /for-rent, /projects) */
.bd-pin { position: relative; display: inline-block; transform: translate(-50%, calc(-100% - 6px)); white-space: nowrap; padding: 3px 9px; border-radius: 99px; background: #fff; color: #0C0D0E !important; border: 1px solid #C9D7D6; font-weight: 700; font-size: 12.5px; line-height: 1.4; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: background .15s, color .15s; }
.bd-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: inherit; border-right: 1px solid #C9D7D6; border-bottom: 1px solid #C9D7D6; transform: translateX(-50%) rotate(45deg); }
.bd-pin.on, .bd-pin:hover { background: var(--nbx-teal); color: #fff !important; border-color: var(--nbx-teal); }
.bd .nbx-pc.nbx-on { border-color: var(--nbx-teal); }
.bd-about p { font-size: 15.5px; line-height: 1.75; margin: 0 0 10px; color: #33373D; }
.bd .bd-info { display: inline-block; margin: 8px 0 4px; }
.bd-pin { display: inline-block; transform: translate(-50%, -100%); white-space: nowrap; padding: 3px 9px; border-radius: 99px; background: #fff; color: #0C0D0E !important; border: 1px solid #C9D7D6; font: 700 12.5px/1.4 inherit; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: background .15s, color .15s; }
.bd-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: inherit; border-right: 1px solid #C9D7D6; border-bottom: 1px solid #C9D7D6; transform: translateX(-50%) rotate(45deg); }
.bd-pin.on, .bd-pin:hover { background: var(--nbx-teal); color: #fff !important; border-color: var(--nbx-teal); }
.bd .nbx-pc.nbx-on { border-color: var(--nbx-teal); }
.bd-about h2 { margin: 22px 0 6px; font-size: 20px; }
.bd-about h2:first-child { margin-top: 0; }
.bd-about .bd-src { font-size: 12.5px; color: #8A8F98; margin: -4px 0 6px; }
.bd .bd-info { display: inline-block; margin: 8px 0 4px; }
.bd .lp-wrap { max-width: 980px; }
.bd .bk-crumbs a { color: var(--nbx-teal) !important; }
.bd-head { margin: 8px 0 18px; }
.bd-head h1 { font-size: 26px; line-height: 1.25; margin: 6px 0 4px; color: var(--nbx-ink); }
.bd-count { margin: 0 0 8px; color: #52525B; font-size: 15px; }
.bd-info { color: var(--nbx-teal) !important; font-weight: 600; font-size: 14.5px; }
.bd-list { margin-bottom: 8px; }
.bd-pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.bd-pager a, .bd-pager span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #E4E4E7; text-decoration: none; color: var(--nbx-ink) !important; }
.bd-pager span { background: var(--nbx-teal); border-color: var(--nbx-teal); color: #fff !important; font-weight: 700; }
.bd-wider h2 a { color: var(--nbx-ink) !important; text-decoration: none; }
.bd-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; }
.bd-links a { color: var(--nbx-teal) !important; font-size: 14.5px; }
.bd-links small { color: #71717A; }
@media (max-width: 640px) { .bd-head h1 { font-size: 21px; } }

/* board: filter bar */
.bd-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin: 6px 0 4px; padding: 14px; border: 1px solid #E4E4E7; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(12,13,14,.05); }
.bd-f { display: grid; gap: 4px; font-size: 12.5px; color: #52525B; min-width: 120px; flex: 1 1 120px; }
.bd-f select { font: inherit; font-size: 14.5px; height: 40px; padding: 0 10px; border: 1px solid #D4D4D8; border-radius: 10px; background: #fff; color: #0C0D0E; }
.bd-f select:focus { outline: 2px solid var(--nbx-teal); outline-offset: 1px; }
.bd-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; }
.bd-chip { font: inherit; font-size: 13.5px; padding: 6px 14px; border-radius: 99px; border: 1px solid #D4D4D8; background: #fff; color: #33373D; cursor: pointer; transition: background .15s, border-color .15s; }
.bd-chip:hover { border-color: var(--nbx-teal); }
.bd-chip.on { background: var(--nbx-teal); border-color: var(--nbx-teal); color: #fff; }
.bd-clear { font-size: 13.5px; color: var(--nbx-teal) !important; font-weight: 600; margin-inline-start: auto; }

/* board: order and view — a teal segmented switch and a pill select, in upside's own style */
.bd-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.bd-seg { display: inline-flex; padding: 3px; border-radius: 99px; background: #E6F2F1; }
.bd-seg button { font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 16px; border: 0; border-radius: 99px; background: transparent; color: #0B4B49; cursor: pointer; }
.bd-seg button.on { background: var(--nbx-teal); color: #fff; box-shadow: 0 2px 6px rgba(0,106,104,.25); }
.bd-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #52525B; }
.bd-sort select { font: inherit; font-size: 14px; font-weight: 600; color: #0C0D0E; height: 36px; padding: 0 12px; border: 1px solid #D4D4D8; border-radius: 99px; background: #fff; cursor: pointer; }
.bd-sort select:focus { outline: 2px solid var(--nbx-teal); outline-offset: 1px; }
/* list view: a wide row per listing, image beside the text */
.bd-grid.bd-rows { grid-template-columns: 1fr; gap: 12px; }
.bd-rows .bd-card { flex-direction: row; min-width: 0; }
.bd-rows .bd-img { flex: 0 0 min(240px, 40%); width: min(240px, 40%); aspect-ratio: auto; min-height: 150px; }
.bd-rows .bd-img img { position: absolute; inset: 0; }
.bd-rows .bd-body { flex: 1; min-width: 0; align-content: center; padding: 14px 16px; }

/* board: cards */
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.bd-card { display: flex; flex-direction: column; border: 1px solid #E4E4E7; border-radius: 14px; overflow: hidden; background: #fff; color: #0C0D0E !important; text-decoration: none !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.bd-card:hover, .bd-card.on { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(12,13,14,.1); border-color: var(--nbx-teal); }
.bd-img { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #E6EFEE, #CFE0DE); overflow: hidden; }
.bd-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bd-card:hover .bd-img img { transform: scale(1.05); }
.bd-tag, .bd-promo { position: absolute; top: 10px; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.bd-tag { right: 10px; background: #fff; color: var(--nbx-teal); }
.bd-promo { left: 10px; background: #F2553F; color: #fff; }
.bd-body { display: grid; gap: 3px; padding: 12px 14px 14px; }
.bd-price { font-size: 20px; color: var(--nbx-teal); font-weight: 800; }
.bd-price small { font-size: 12.5px; font-weight: 600; color: #52525B; }
.bd-body strong { font-size: 15px; line-height: 1.35; }
.bd-meta { font-size: 13.5px; color: #33373D; }
.bd-place { font-size: 13px; color: #71717A; }
.bd-area-tip { font-weight: 700; }

/* an ended listing, still shown for a while */
.bk-ended { display: grid; gap: 4px; margin: 4px 0 14px; padding: 12px 16px; border-radius: 12px; background: #FFF8E6; border: 1px solid #F3D58A; font-size: 15px; }
.bk-ended a { color: var(--nbx-teal); font-weight: 600; }

/* urban renewal and metro (by parcel) */
.bk-rn-grid { display: grid; gap: 14px; }
.bk-rn { border: 1px solid #E4E4E7; border-radius: 16px; padding: 18px 20px; display: grid; gap: 10px; align-content: start; background: #fff; }
.bk-rn.hit { border-color: #BFDDD9; background: linear-gradient(180deg, #F1F8F7, #fff 120px); }
.bk-metro.hit { border-color: #CFCFF0; background: linear-gradient(180deg, #F2F2FC, #fff 120px); }
.bk-rn-head { display: flex; gap: 12px; align-items: flex-start; }
.bk-rn-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--nbx-teal); color: #fff; }
.bk-metro .bk-rn-ico { background: #2B2F8F; }
.bk-rn-ico svg { width: 26px; height: 26px; }
.bk-rn-head h3 { margin: 0 0 2px; font-size: 18px; color: var(--nbx-ink); }
.bk-rn-head p { margin: 0; font-size: 14.5px; color: #3F3F46; }
.bk-rn p { margin: 0; font-size: 15px; line-height: 1.55; }
.bk-rn .bk-rn-src { font-size: 12.5px; color: #71717A; }
.bk-rn-plan { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid #E4E4E7; border-radius: 12px; background: #fff; }
.bk-rn-plan small { color: #71717A; }
.bk-rn-units b { font-size: 17px; color: var(--nbx-ink); }
.bk-rn-tag { display: inline-block; margin-inline-end: 6px; padding: 1px 8px; border-radius: 99px; background: var(--nbx-teal); color: #fff; font-size: 12px; font-weight: 600; }
.bk-rn-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0; margin: 2px 0; font-size: 13px; }
.bk-rn-steps li { text-align: center; padding: 5px 2px; border-radius: 6px; background: #fff; color: #71717A; border: 1px solid #E4E4E7; }
.bk-rn-steps li.done { background: #DCEEEC; color: #0B4B49; border-color: #DCEEEC; }
.bk-rn-steps li.now { background: var(--nbx-teal); color: #fff; border-color: var(--nbx-teal); font-weight: 700; }
.bk-rn-status { display: grid; gap: 8px; padding-top: 12px; border-top: 1px dashed #D4D4D8; }
.bk-rn-status h4 { margin: 0; font-size: 15px; }
.bk-rn-qs { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-rn-qs span { padding: 5px 12px; border-radius: 99px; font-size: 14px; background: #F4F4F5; color: #3F3F46; }
.bk-rn-qs span.a-yes { background: #DCEEEC; color: #0B4B49; }
.bk-rn .nbx-mt { margin: 0; }
.bk-rn a { color: var(--nbx-teal); font-weight: 600; font-size: 14px; }
.bk-head .lp-tag.bk-src { background: #F1F1F3; color: #52525B; margin-inline-start: 6px; }
.bk-by { margin: 8px 0 0; font-size: 14px; color: var(--nbx-txt); }
.bk-by a { color: var(--nbx-teal); }
.bk-ologo { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--nbx-line); background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; padding: 4px; }
.bk-ologo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bk .dv-lead .lp-lead-top { padding: 14px 20px; }
.bk .dv-lead .lp-lead-top b { font-size: 18px; }
.bk-loc .lp-nb-grid, .bk-loc .nbx-stats { margin-top: 12px; }
/* listing photos: slider + thumbnail strip */
.bk-sl { position: relative; border-radius: 14px; overflow: hidden; background: #E6EFEE; }
.bk-sl { aspect-ratio: 16 / 8; max-height: 520px; outline: none; touch-action: pan-y; }
.bk-sl-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.3, .8, .3, 1); }
.bk-sl-item { flex: 0 0 100%; height: 100%; }
.bk-sl-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-sl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--nbx-ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .2s; }
.bk-sl-nav:hover { transform: translateY(-50%) scale(1.06); }
.bk-sl-nav.prev { right: 14px; } .bk-sl-nav.next { left: 14px; }
.bk-sl-count { position: absolute; bottom: 14px; left: 14px; background: rgba(12, 13, 14, .65); color: #fff; padding: 4px 12px; border-radius: 99px; font-size: 13px; direction: ltr; }
.bk-sl-film { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.bk-sl-film button { flex: 0 0 110px; height: 72px; border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; background: none; }
.bk-sl-film button:hover { opacity: .9; }
.bk-sl-film button.on { border-color: var(--nbx-teal); opacity: 1; }
.bk-sl-film img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .bk-sl { aspect-ratio: 4 / 3; }
  .bk-sl-nav { display: none; }
  .bk-sl-film button { flex-basis: 76px; height: 54px; }
}

/* 404 */
.nf { max-width: 640px; margin: 72px auto 96px; padding: 0 16px; text-align: center; }
.nf h1 { font-size: 34px; margin: 0 0 12px; }
.nf p { color: #33373D; font-size: 17px; line-height: 1.6; margin: 0 0 24px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; align-items: center; }
.nf-links a { color: #006A68; font-weight: 700; }
.nf-links .nf-btn { background: linear-gradient(150deg, #006A68 21%, rgba(0, 106, 104, .42) 100%); color: #fff; padding: 12px 22px; border-radius: 10px; text-decoration: none; }
.lp-ended { max-width: 1180px; margin: 16px auto 0; }
@media (max-width: 760px) { .lp-ended { margin: 12px 16px 0; } }
