/* ═══════════════════════════════════════════════════════════════════════
   FLN — search + property design system
   Shares Blackburn Group FL's palette and type (Keyes green, peach, cream;
   Cormorant Garamond + Barlow) so the two sites read as one family.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  color-scheme: light only;
  --g: #044439;          /* Keyes deep green */
  --g2: #096454;         /* green mid */
  --g3: #e7efec;         /* green tint */
  --peach: #edc6a1;
  --peach2: #e2ad7c;
  --cream: #fbf7f1;
  --ink: #1f2a26;
  --ink2: #4b5853;
  --ink3: #7c8782;
  --line: #e4ded4;
  --line2: #efeae2;
  --white: #fff;
  --red: #c4462f;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cond: 'Barlow Condensed', 'Barlow', sans-serif;
  --r: 10px;
  --shadow: 0 1px 2px rgba(31, 42, 38, .06), 0 4px 16px rgba(31, 42, 38, .06);
  --shadow2: 0 10px 40px rgba(4, 68, 57, .18);
  --hdr: 68px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #fff; color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
html.fln-lock, html.fln-lock body { overflow: hidden; }

/* ── Header (slim, app-like) ───────────────────────────────────────────── */
.fh { position: sticky; top: 0; z-index: 900; height: var(--hdr); background: var(--g); color: #fff; display: flex; align-items: center; gap: 28px; padding: 0 24px; }
.fh-logo { display: flex; align-items: center; gap: 14px; line-height: 1.05; white-space: nowrap; }
.fh-lt { display: flex; flex-direction: column; }
.fh-100 { height: 46px; width: auto; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.25); }
.fh-logo b { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: .01em; }
.fh-logo b i { color: var(--peach); font-style: italic; }
.fh-logo small { display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin-top: 3px; }
.fh-logo small span { opacity: .8; }
.fh-logo small em { width: 1px; height: 14px; background: rgba(255,255,255,.35); }
.fh-logo small img { height: 17px; width: auto; }
.fh-nav { display: flex; gap: 22px; font-family: var(--cond); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; }
.fh-nav a { opacity: .85; padding: 6px 0; border-bottom: 1px solid transparent; }
.fh-nav a:hover, .fh-nav a.on { opacity: 1; border-bottom-color: var(--peach); }
.fh-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.fh-link { font-family: var(--cond); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.fh-cta { white-space: nowrap; background: var(--peach); color: var(--g); font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; }
.fh-cta:hover { background: #f3d8be; }
.fh-burger { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }
@media (max-width: 1080px) { .fh-nav { display: none; } .fh-burger { display: block; } }
@media (max-width: 640px) { .fh { padding: 0 14px; gap: 12px; } .fh-link { display: none; } .fh-logo b { font-size: 18px; } .fh-logo small { font-size: 9.5px; letter-spacing: .16em; } .fh-logo small img { height: 14px; } .fh-100 { display: none; } .fh-cta { padding: 9px 12px; font-size: 12px; letter-spacing: .1em; } .fh-cta .long { display: none; } }
.fh-drawer { position: fixed; inset: var(--hdr) 0 0 auto; width: min(340px, 90vw); background: #fff; z-index: 950; transform: translateX(100%); transition: transform .25s; box-shadow: var(--shadow2); padding: 18px 22px; overflow: auto; }
.fh-drawer.open { transform: none; }
.fh-drawer a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line2); font-weight: 500; }
.fh-drawer .lbl { display: block; margin-top: 16px; font-family: var(--cond); letter-spacing: .2em; font-size: 11px; text-transform: uppercase; color: var(--ink3); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.fln-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 10px 16px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.fln-btn:hover { border-color: var(--g); }
.fln-btn-primary { background: var(--g); border-color: var(--g); color: #fff; }
.fln-btn-primary:hover { background: var(--g2); border-color: var(--g2); }
.fln-btn-peach { background: var(--peach); border-color: var(--peach); color: var(--g); }
.fln-btn-peach:hover { background: #f3d8be; }
.fln-btn-ghost { background: transparent; border-color: transparent; }
.fln-btn-block { width: 100%; padding: 13px 16px; font-size: 15px; }

/* ═══════════════════════════ SEARCH PAGE ═══════════════════════════════ */
body.fs-body { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.fs-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 800; flex-wrap: nowrap; }
.fs-q { position: relative; flex: 0 1 340px; min-width: 200px; }
.fs-q input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 40px 0 14px; background: #fff; }
.fs-q input:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 3px rgba(4, 68, 57, .1); }
.fs-q svg { position: absolute; right: 12px; top: 11px; color: var(--ink3); pointer-events: none; }
.fs-suggest { position: absolute; top: 44px; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow2); max-height: 340px; overflow: auto; display: none; }
.fs-suggest.open { display: block; }
.fs-suggest .h { font-family: var(--cond); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); padding: 10px 14px 4px; }
.fs-suggest a { display: block; padding: 8px 14px; cursor: pointer; }
.fs-suggest a:hover, .fs-suggest a.act { background: var(--g3); }
.fs-filters { display: flex; gap: 8px; align-items: center; overflow: visible; }
.fs-dd { position: relative; }
.fs-dd > button { height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 12px 0 14px; display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.fs-dd > button::after { content: ''; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.fs-dd > button.on { border-color: var(--g); background: var(--g3); color: var(--g); }
.fs-pop { position: absolute; top: 46px; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow2); padding: 16px; min-width: 300px; display: none; z-index: 850; }
.fs-dd.open .fs-pop { display: block; }
.fs-pop h4 { font-size: 13px; font-weight: 700; margin: 2px 0 10px; }
.fs-pop h4 + h4, .fs-pop .sec + h4 { margin-top: 18px; }
.fs-pop .row { display: flex; gap: 10px; align-items: center; }
.fs-pop select, .fs-pop input[type=number], .fs-pop input[type=text] { height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; width: 100%; background: #fff; }
.fs-pop .apply { margin-top: 14px; width: 100%; }
.fs-seg { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.fs-seg button { flex: 1; height: 40px; border: 0; border-right: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; min-width: 44px; }
.fs-seg button:last-child { border-right: 0; }
.fs-seg button.on { background: var(--g); color: #fff; }
.fs-checks label { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; }
.fs-checks input { width: 18px; height: 18px; accent-color: var(--g); }
.fs-more { width: 420px; max-height: calc(100vh - 160px); overflow: auto; }
.fs-save { margin-left: auto; }
@media (max-width: 1280px) { .fs-hide-md { display: none; } }
@media (max-width: 900px) {
  .fs-bar { flex-wrap: wrap; padding: 8px 10px; }
  .fs-q { flex: 1 1 100%; }
  .fs-filters { overflow-x: auto; flex: 1; padding-bottom: 2px; }
  /* Phones: filters open as a bottom sheet that scrolls inside itself, with
     the Apply / Reset buttons pinned to the bottom so they're always reachable. */
  .fs-pop { position: fixed; left: 0 !important; right: 0; top: auto; bottom: 0; min-width: 0; width: auto;
    max-height: 82vh; max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    border-radius: 16px 16px 0 0; padding: 18px 16px 0; z-index: 1200; box-shadow: 0 -8px 30px rgba(0,0,0,.25); }
  .fs-dd.open::before { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1150; }
  .fs-pop > .apply, .fs-pop > .row:last-child { position: sticky; bottom: 0; background: #fff; margin: 14px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .fs-pop > .apply { width: calc(100% + 32px); border-radius: 0; }
  .fs-more { width: auto; max-height: 82vh; max-height: 82dvh; }
  .fs-save { margin-left: 0; }
}

.fs-main { flex: 1; display: flex; min-height: 0; }
.fs-map { flex: 1 1 auto; position: relative; min-width: 0; background: #e9efe9; }
#fs-map { position: absolute; inset: 0; }
.fs-list { flex: 0 0 760px; overflow-y: auto; border-left: 1px solid var(--line); background: #fff; scroll-behavior: auto; }
@media (max-width: 1400px) { .fs-list { flex-basis: 52%; } }
.fs-list-head { padding: 16px 18px 6px; }
.fs-list-head h1 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.fs-list-head h1 i { color: var(--g2); }
.fs-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; color: var(--ink2); font-size: 14px; }
.fs-meta select { border: 0; background: transparent; font-weight: 700; color: var(--g); cursor: pointer; }
.fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 10px 18px 18px; }
.fs-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink2); }
.fs-empty h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.fs-pages { display: flex; justify-content: center; gap: 6px; padding: 6px 18px 24px; flex-wrap: wrap; }
.fs-pages button { min-width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-weight: 600; }
.fs-pages button.on { background: var(--g); color: #fff; border-color: var(--g); }
.fs-pages button:disabled { opacity: .4; cursor: default; }
.fs-note { padding: 0 18px 10px; font-size: 13px; color: var(--ink2); }

/* Registration ribbon inside results */
.fs-reg { grid-column: 1 / -1; background: var(--g); color: #fff; border-radius: var(--r); padding: 22px 22px; display: flex; gap: 18px; align-items: center; }
.fs-reg h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; }
.fs-reg h3 i { color: var(--peach); }
.fs-reg p { opacity: .85; font-size: 14px; margin-top: 4px; }
.fs-reg .fln-btn { margin-left: auto; }
@media (max-width: 600px) { .fs-reg { flex-direction: column; align-items: flex-start; } .fs-reg .fln-btn { margin-left: 0; } }

.fs-mob-toggle { display: none; }
@media (max-width: 900px) {
  .fs-list { flex-basis: 100%; border-left: 0; }
  .fs-map { display: none; }
  body.fs-show-map .fs-map { display: block; }
  body.fs-show-map .fs-list { display: none; }
  .fs-grid { grid-template-columns: 1fr; gap: 16px; padding: 10px 12px 18px; }
  .fs-list-head { padding: 14px 12px 4px; }
  .fs-list-head h1 { font-size: 24px; }
  .fs-mob-toggle { display: inline-flex; position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 860; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; box-shadow: var(--shadow2); }
}
@media (min-width: 901px) and (max-width: 1100px) { .fs-grid { grid-template-columns: 1fr; } }

/* ── Listing card (Zillow anatomy) ─────────────────────────────────────── */
.lc { position: relative; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.lc:hover, .lc.hot { box-shadow: 0 2px 4px rgba(31, 42, 38, .08), 0 12px 32px rgba(31, 42, 38, .14); }
.lc a.lc-link { display: block; }
.lc-img { position: relative; aspect-ratio: 16 / 10; background: var(--line2) center / cover no-repeat; overflow: hidden; }
.lc-img img { width: 100%; height: 100%; object-fit: cover; }
.lc-img .nophoto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink3); font-size: 13px; }
.lc-badge { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.lc-badge.new { background: var(--g); color: #fff; }
.lc-badge.drop { background: var(--red); color: #fff; }
.lc-heart { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.lc-heart svg { width: 26px; height: 26px; fill: rgba(0, 0, 0, .35); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); transition: transform .12s; }
.lc-heart:hover svg { transform: scale(1.1); }
.lc-heart.is-saved svg { fill: var(--red); }
.lc-count { position: absolute; bottom: 8px; right: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.lc-body { padding: 10px 12px 12px; }
.lc-price { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.lc-facts { font-size: 14px; color: var(--ink); margin-top: 1px; }
.lc-facts b { font-weight: 700; }
.lc-facts .sep { color: var(--line); margin: 0 6px; }
.lc-facts .st { color: var(--ink2); }
.lc-addr { font-size: 14px; color: var(--ink); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-attr { font-size: 11px; color: var(--ink3); margin-top: 6px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-more { position: absolute; bottom: 10px; right: 10px; border: 0; background: none; color: var(--ink3); font-size: 18px; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.lc-more:hover { background: var(--line2); }

/* ── Map pins ─────────────────────────────────────────────────────────── */
.pin { background: var(--g); color: #fff; font: 700 12px/1 var(--sans); padding: 5px 7px; border-radius: 6px; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); position: relative; transform: translate(-50%, -100%); display: inline-block; cursor: pointer; }
.pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--g); }
.pin.hot, .pin:hover { background: var(--red); z-index: 1000; }
.pin.hot::after, .pin:hover::after { border-top-color: var(--red); }
.pin.seen { background: #5a6b66; }
.pin.seen::after { border-top-color: #5a6b66; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--g); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); transform: translate(-50%, -50%); cursor: pointer; }
.dot.hot { background: var(--red); transform: translate(-50%, -50%) scale(1.5); }
.leaflet-div-icon { background: transparent !important; border: 0 !important; }
.fs-map-ctl { position: absolute; top: 12px; left: 12px; z-index: 500; display: flex; gap: 8px; }
.fs-map-ctl label { background: #fff; border-radius: 8px; padding: 8px 12px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.fs-map-ctl input { accent-color: var(--g); }
.fs-map-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 500; background: rgba(31, 42, 38, .85); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.fs-pop-card { width: 240px; }
.fs-pop-card img { width: 100%; height: 130px; object-fit: cover; border-radius: 6px; }
.fs-pop-card b { display: block; font-size: 17px; margin-top: 6px; }
.fs-pop-card span { font-size: 12.5px; color: var(--ink2); }
.leaflet-popup-content { margin: 10px !important; }
.leaflet-popup-content-wrapper { border-radius: 10px !important; }

/* ═════════════════════════ PROPERTY PAGE ═══════════════════════════════ */
.pp-top { position: sticky; top: var(--hdr); z-index: 700; background: #fff; border-bottom: 1px solid var(--line); }
.pp-top-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 54px; display: flex; align-items: center; gap: 12px; }
.pp-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--g); padding: 8px 12px 8px 6px; border-radius: 8px; }
.pp-back:hover { background: var(--g3); }
.pp-back svg { width: 18px; height: 18px; }
.pp-tabs { display: flex; gap: 22px; margin: 0 auto; font-weight: 600; font-size: 14px; color: var(--ink2); }
.pp-tabs a { padding: 16px 0; border-bottom: 2px solid transparent; }
.pp-tabs a.on { color: var(--g); border-bottom-color: var(--g); }
.pp-acts { display: flex; gap: 4px; }
.pp-acts button { border: 0; background: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.pp-acts button:hover { background: var(--line2); }
.pp-acts button.is-saved svg { fill: var(--red); stroke: var(--red); }
.pp-acts svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 900px) { .pp-tabs { display: none; } .pp-acts span { display: none; } .pp-top-in { padding: 0 10px; justify-content: space-between; } }

.pp-gal { max-width: 1280px; margin: 16px auto 0; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 6px; position: relative; }
.pp-gal div { background: var(--line2) center / cover no-repeat; cursor: pointer; }
.pp-gal div:first-child { grid-row: 1 / 3; border-radius: 12px 0 0 12px; }
.pp-gal div:nth-child(3) { border-radius: 0 12px 0 0; }
.pp-gal div:nth-child(5) { border-radius: 0 0 12px 0; }
.pp-gal .all { position: absolute; right: 38px; bottom: 14px; }
@media (max-width: 900px) {
  .pp-gal { grid-template-columns: 1fr; grid-template-rows: 280px; padding: 0; margin-top: 0; }
  .pp-gal div:first-child { border-radius: 0; grid-row: auto; }
  .pp-gal div:not(:first-child) { display: none; }
  .pp-gal .all { right: 12px; }
}

.pp-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 24px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
@media (max-width: 1080px) { .pp-wrap { grid-template-columns: 1fr; padding: 18px 14px 40px; gap: 24px; } }
.pp-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; }
.pp-status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #2a9d5c; }
.pp-price { font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.pp-facts-line { display: flex; gap: 22px; margin-top: 6px; align-items: baseline; flex-wrap: wrap; }
.pp-facts-line div b { font-size: 22px; font-weight: 700; }
.pp-facts-line div span { color: var(--ink2); margin-left: 4px; }
.pp-addr { font-size: 17px; margin-top: 8px; }
.pp-pay { margin-top: 10px; font-size: 14px; color: var(--ink2); }
.pp-pay a { color: var(--g); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.pp-tile { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; }
.pp-tile svg { width: 22px; height: 22px; flex: 0 0 22px; stroke: var(--g); fill: none; stroke-width: 1.6; }
.pp-tile b { display: block; font-size: 14.5px; }
.pp-tile span { font-size: 12.5px; color: var(--ink3); }
@media (max-width: 640px) { .pp-tiles { grid-template-columns: 1fr 1fr; } .pp-price { font-size: 30px; } }
.pp-sec { border-top: 1px solid var(--line); padding: 28px 0; scroll-margin-top: 130px; }
.pp-sec h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; margin-bottom: 14px; }
.pp-sec h3 { font-size: 16px; font-weight: 700; margin: 18px 0 8px; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pp-tags span { background: var(--g3); color: var(--g); font-weight: 600; font-size: 13px; padding: 5px 10px; border-radius: 6px; }
.pp-desc { white-space: pre-line; color: var(--ink); max-height: 9.5em; overflow: hidden; position: relative; }
.pp-desc.open { max-height: none; }
.pp-desc:not(.open)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(transparent, #fff); }
.pp-linkbtn { background: none; border: 0; color: var(--g); font-weight: 700; cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.pp-attr { font-size: 13px; color: var(--ink2); margin-top: 16px; line-height: 1.6; }
.pp-ff { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.pp-ff ul { list-style: none; }
.pp-ff li { padding: 3px 0; font-size: 14.5px; }
.pp-ff li b { font-weight: 600; }
@media (max-width: 700px) { .pp-ff { grid-template-columns: 1fr; } }
.pp-ff-group { break-inside: avoid; margin-bottom: 8px; }
.pp-ff-group h4 { font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; color: var(--ink3); margin: 16px 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line2); }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-table th { text-align: left; font-weight: 600; color: var(--ink2); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.pp-table td { padding: 10px 6px; border-bottom: 1px solid var(--line2); }

/* Payment calculator */
.calc { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
@media (max-width: 700px) { .calc { grid-template-columns: 1fr; } }
.calc-donut { position: relative; width: 210px; height: 210px; margin: 0 auto; }
.calc-donut .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.calc-donut .c b { font-size: 26px; }
.calc-donut .c span { font-size: 12.5px; color: var(--ink2); }
.calc-legend div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.calc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; }
.calc-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.calc-in label { font-size: 12px; color: var(--ink2); font-weight: 600; }
.calc-in input, .calc-in select { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; margin-top: 4px; }
@media (max-width: 700px) { .calc-in { grid-template-columns: 1fr 1fr; } }

#pp-mini-map { height: 320px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }

/* Carousels */
.car { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; }
.car .lc { scroll-snap-align: start; }
@media (max-width: 900px) { .car { grid-auto-columns: 78%; } }
.car-head { display: flex; justify-content: space-between; align-items: center; }
.car-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; }

/* Right rail */
.rail { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1080px) { .rail { position: static; } }
.rail-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; box-shadow: var(--shadow); }
.rail-card .fln-btn { width: 100%; padding: 13px 14px; font-size: 15px; }
.rail-card .fln-btn + .fln-btn { margin-top: 10px; }
.rail-sub { font-size: 12.5px; color: var(--ink2); text-align: center; margin-top: 8px; }
.rail-agents { display: flex; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line2); }
.rail-agents div { flex: 1; display: flex; gap: 8px; align-items: center; font-size: 12px; line-height: 1.3; }
.rail-agents img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.rail-agents b { display: block; font-size: 13px; }

/* Lead magnets (the squares) — compact, premium */
.lm { border-radius: 12px; padding: 18px; position: relative; overflow: hidden; display: block; transition: transform .15s, box-shadow .15s; }
.lm:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }
.lm .ey { font-family: var(--cond); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.lm h4 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.12; margin: 6px 0 6px; }
.lm h4 i { font-style: italic; }
.lm p { font-size: 13.5px; line-height: 1.5; }
.lm .go { display: inline-block; margin-top: 12px; font-family: var(--cond); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; }
.lm-green { background: var(--g); color: #fff; }
.lm-green .ey, .lm-green h4 i, .lm-green .go { color: var(--peach); }
.lm-green p { opacity: .85; }
.lm-cream { background: var(--cream); border: 1px solid var(--line); }
.lm-cream .ey, .lm-cream h4 i, .lm-cream .go { color: var(--g2); }
.lm-cream p { color: var(--ink2); }
.lm-peach { background: #f8e6d3; }
.lm-peach .ey, .lm-peach .go { color: #8a5527; }
.lm-peach h4 i { color: #8a5527; }
.lm-peach p { color: var(--ink2); }
.calc-mini { margin: 12px 0 2px; background: rgba(255, 255, 255, .08); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.calc-mini div { display: flex; justify-content: space-between; padding: 2px 0; }
.calc-mini .t { border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 6px; padding-top: 6px; font-weight: 700; font-size: 15px; }

/* Breadcrumbs, disclaimer */
.pp-crumbs { font-size: 13px; color: var(--ink2); display: flex; flex-wrap: wrap; gap: 6px; }
.pp-crumbs a { color: var(--g); text-decoration: underline; text-underline-offset: 2px; }
.pp-disc { font-size: 12px; color: var(--ink3); line-height: 1.6; }

/* Lightbox / all photos */
.lb { position: fixed; inset: 0; background: #fff; z-index: 2000; display: none; flex-direction: column; }
.lb.open { display: flex; }
.lb-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.lb-grid { overflow: auto; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 1100px; margin: 0 auto; width: 100%; }
.lb-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; cursor: zoom-in; }
.lb-grid img:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.lb-one { position: fixed; inset: 0; background: rgba(10, 14, 12, .96); z-index: 2100; display: none; align-items: center; justify-content: center; }
.lb-one.open { display: flex; }
.lb-one img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb-one button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lb-one .p { left: 18px; top: 50%; } .lb-one .n { right: 18px; top: 50%; } .lb-one .x { right: 18px; top: 18px; }
.lb-one .ct { position: absolute; bottom: 18px; color: #fff; font-size: 13px; }

/* ═════════════════════════ MODAL / TOAST ═══════════════════════════════ */
.fln-modal-back { position: fixed; inset: 0; background: rgba(4, 30, 25, .62); backdrop-filter: blur(3px); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.fln-modal-back.show { opacity: 1; }
.fln-modal { background: #fff; width: 100%; max-width: 480px; max-height: 94vh; overflow: auto; border-radius: 14px; padding: 26px 26px 20px; position: relative; box-shadow: var(--shadow2); }
.fln-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink3); width: 36px; height: 36px; border-radius: 50%; }
.fln-x:hover { background: var(--line2); }
.fln-eyebrow { font-family: var(--cond); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--g2); }
.fln-modal h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.08; margin: 6px 0 6px; }
.fln-modal-head p { color: var(--ink2); font-size: 14.5px; }
.fln-mini { display: flex; gap: 10px; align-items: center; margin-top: 12px; background: var(--cream); border-radius: 8px; padding: 8px; }
.fln-mini img { width: 64px; height: 48px; object-fit: cover; border-radius: 5px; }
.fln-mini span { display: block; font-size: 12.5px; color: var(--ink2); }
.fln-form { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.fln-form input, .fln-form select, .fln-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: #fff; }
.fln-form input:focus, .fln-form select:focus, .fln-form textarea:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 3px rgba(4, 68, 57, .1); }
.fln-row { display: flex; gap: 10px; }
.fln-row > * { flex: 1; min-width: 0; }
.fln-label { font-size: 13px; font-weight: 700; }
.fln-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fln-day input { position: absolute; opacity: 0; }
.fln-day span { display: block; border: 1px solid var(--line); border-radius: 8px; text-align: center; padding: 7px 4px; font-size: 12.5px; cursor: pointer; line-height: 1.25; }
.fln-day span b { display: block; font-size: 13px; }
.fln-day input:checked + span { border-color: var(--g); background: var(--g3); color: var(--g); }
.fln-check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink2); line-height: 1.4; }
.fln-check input { width: 16px !important; height: 16px; margin-top: 2px; accent-color: var(--g); flex: 0 0 16px; }
.fln-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.fln-err { color: var(--red); font-size: 13.5px; }
.fln-fine { font-size: 11px; color: var(--ink3); line-height: 1.45; }
.fln-agents { display: flex; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.fln-agent { flex: 1; display: flex; gap: 8px; align-items: center; font-size: 12px; line-height: 1.3; }
.fln-agent img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 40px; }
.fln-agent strong { display: block; font-size: 13px; }
.fln-agent span { display: block; color: var(--ink3); }
.fln-agent a { color: var(--g); font-weight: 600; }
.fln-done { text-align: center; padding: 10px 0 4px; }
.fln-done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--g3); color: var(--g); font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.fln-done p { color: var(--ink2); margin: 6px 0 16px; }
.fln-toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; z-index: 4000; opacity: 0; transition: all .25s; max-width: 92vw; box-shadow: var(--shadow2); }
.fln-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 520px) { .fln-modal { padding: 22px 18px 16px; } .fln-modal h2 { font-size: 26px; } .fln-days { grid-template-columns: repeat(4, 1fr); } .fln-row { flex-direction: column; } }

/* Footer (property page) */
.ff { background: var(--g); color: rgba(255, 255, 255, .8); padding: 36px 24px; font-size: 13.5px; }
.ff-in { max-width: 1280px; margin: 0 auto; display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.ff b { color: #fff; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.ff a { color: var(--peach); }
.ff-links { display: flex; gap: 18px; flex-wrap: wrap; }
/* Account menu */
.fh-menu { position: relative; display: inline-block; }
.fh-me { background: none; border: 0; cursor: pointer; font-family: var(--cond); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: 6px 4px; }
.fh-pop { display: none; position: absolute; right: 0; top: 34px; background: #fff; border-radius: 10px; box-shadow: var(--shadow2); min-width: 230px; padding: 6px; z-index: 960; }
.fh-menu.open .fh-pop { display: block; }
.fh-pop a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink) !important; font-family: var(--sans); font-size: 14.5px; letter-spacing: 0; text-transform: none; }
.fh-pop a:hover { background: var(--g3); }
@media (max-width: 640px) { #fh-acct { display: none; } }

/* Soften the OpenStreetMap tiles so pins stand out (Zillow-like muted map) */
.fln-tiles{filter:saturate(.55) brightness(1.04) contrast(.95)}
.lc-badge.uc { background: #b7791f; color: #fff; }
.pp-status.uc::before { background: #d69e2e; }
.fs-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.fs-chip { border: 1.5px solid var(--g); background: #fff; color: var(--g); border-radius: 999px; padding: 8px 14px; font: 600 14px/1 var(--sans, inherit); cursor: pointer; }
.fs-chip span { margin-left: 6px; opacity: .7; }
.fs-chip:hover { background: var(--g); color: #fff; }
body:has(.fs-dd.open) .fs-mob-toggle { display: none !important; }
