/* ═══════════════════════════════════════════════════════
   THEME VARIABLES — DARK (default)
   ═══════════════════════════════════════════════════════ */
:root, [data-theme="dark"] {
  --bg:#0C0B09;--bg-warm:#141210;--bg-card:#1A1815;--surface:#211F1B;--surface-hover:#2A2722;
  --border:rgba(196,176,140,0.12);--border-hover:rgba(196,176,140,0.3);
  --gold:#C4B08C;--gold-light:#D4C4A0;--gold-dark:#A08A60;
  --cream:#F5F0E8;--text-muted:rgba(245,240,232,0.55);--text-body:rgba(245,240,232,0.75);
  --green:#7A8F6E;--red-soft:#9E5E5E;
  --nav-bg:rgba(12,11,9,0.92);--overlay:rgba(12,11,9,0.95);
  --shadow:rgba(0,0,0,0.4);--card-shadow:rgba(0,0,0,0.3);
  --hero-gradient:linear-gradient(180deg,rgba(12,11,9,0.3) 0%,rgba(12,11,9,0.1) 30%,rgba(12,11,9,0.55) 70%,rgba(12,11,9,0.95) 100%);
  --toggle-bg:var(--surface);--toggle-icon:'☽';
}

/* ═══════════════════════════════════════════════════════
   THEME VARIABLES — LIGHT
   ═══════════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg:#F8F6F1;--bg-warm:#F0EDE6;--bg-card:#FFFFFF;--surface:#EBE7DF;--surface-hover:#E0DBD1;
  --border:rgba(120,100,70,0.12);--border-hover:rgba(120,100,70,0.25);
  --gold:#8B7748;--gold-light:#A08A58;--gold-dark:#6B5A38;
  --cream:#1A1815;--text-muted:rgba(26,24,21,0.5);--text-body:rgba(26,24,21,0.7);
  --green:#5A7A4E;--red-soft:#9E5E5E;
  --nav-bg:rgba(248,246,241,0.92);--overlay:rgba(248,246,241,0.97);
  --shadow:rgba(0,0,0,0.08);--card-shadow:rgba(0,0,0,0.06);
  --hero-gradient:linear-gradient(180deg,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.05) 30%,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0.75) 100%);
  --toggle-bg:var(--surface);--toggle-icon:'☀';
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;overflow-x:hidden;font-size:18px}
@media(max-width:768px){html{font-size:16px}}
body{font-family:'Outfit','Helvetica Neue',sans-serif;background:var(--bg);color:var(--cream);line-height:1.7;overflow-x:hidden;transition:background 0.5s,color 0.5s}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{cursor:pointer;border:none;background:none;font-family:inherit}
ul{list-style:none}
::selection{background:var(--gold);color:var(--bg)}
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--gold-dark)}

.fd{font-family:'Cormorant Garamond',Georgia,serif}
.reveal{opacity:0;transform:translateY(30px);transition:opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94),transform 0.8s cubic-bezier(0.16,1,0.3,1)}
.reveal.vis{opacity:1;transform:translateY(0)}

/* Grain — static canvas-generated noise (no GPU-intensive SVG filter) */
.grain{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:9999;opacity:0.03;background-repeat:repeat}
[data-theme="light"] .grain{opacity:0.02}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav{position:fixed;top:0;left:0;right:0;z-index:1000;padding:1.1rem 2.5rem;display:flex;align-items:center;justify-content:space-between;transition:all 0.5s;background:transparent}
.nav::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;transition:opacity 0.5s;pointer-events:none}
.nav:not(.scrolled)::before{opacity:1;background:linear-gradient(180deg,rgba(12,11,9,0.6) 0%,rgba(12,11,9,0.3) 50%,transparent 100%)}
[data-theme="light"] .nav:not(.scrolled)::before{background:linear-gradient(180deg,rgba(0,0,0,0.35) 0%,rgba(0,0,0,0.15) 50%,transparent 100%)}
.nav.scrolled::before{opacity:0}
.nav.scrolled{background:var(--nav-bg);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:0.7rem 2.5rem;border-bottom:1px solid var(--border)}
.nav-logo{display:flex;align-items:center;gap:1.25rem;text-decoration:none}
.nav-logo-text{display:flex;flex-direction:column;line-height:1.1;gap:0.15rem}
.nav-logo-name{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.1rem;font-weight:300;letter-spacing:0.05em;color:var(--cream)}
.nav-logo-name span{color:var(--gold)}
.nav-logo-sub{font-size:0.5rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--text-muted);font-family:'Outfit',sans-serif;font-weight:400}
.nav-kw{height:52px;width:auto;opacity:1;transition:opacity 0.3s}
.nav-kw:hover{opacity:1}
[data-theme="light"] .nav-kw{filter:invert(1)}
.nav-divider{width:1px;height:36px;background:var(--border);flex-shrink:0}
.nav-center{display:flex;align-items:center;gap:1.75rem}
.nav-center a{font-size:0.6rem;font-weight:400;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-muted);transition:color 0.3s;position:relative}
.nav-center a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:1px;background:var(--gold);transition:width 0.4s cubic-bezier(0.16,1,0.3,1)}
.nav-center a:hover{color:var(--gold)}
.nav-center a:hover::after{width:100%}
.nav-right{display:flex;align-items:center;gap:1.5rem}
.nav-phone{display:flex;align-items:center;gap:0.4rem;font-size:0.68rem;color:var(--text-body);letter-spacing:0.04em;white-space:nowrap}
.nav-phone svg{width:13px;height:13px;stroke:var(--gold);fill:none;stroke-width:2}

/* Theme toggle */
.theme-toggle{
  width:40px;height:40px;border-radius:50%;
  background:rgba(12,11,9,0.5);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(196,176,140,0.2);
  color:var(--gold);
  cursor:pointer;transition:all 0.3s;
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
.theme-toggle:hover{background:var(--gold);border-color:var(--gold);color:var(--bg)}
[data-theme="light"] .theme-toggle{background:rgba(255,255,255,0.7)}
.theme-toggle .t-sun{display:none;font-size:0.9rem;line-height:1}
.theme-toggle .t-moon{display:inline;font-size:0.9rem;line-height:1}
[data-theme="light"] .theme-toggle .t-sun{display:inline}
[data-theme="light"] .theme-toggle .t-moon{display:none}
/* First-visit tooltip */
.theme-tooltip{
  position:absolute;top:calc(100% + 10px);right:0;
  background:var(--gold);color:var(--bg);
  padding:0.6rem 0.9rem;font-size:0.65rem;font-family:'Outfit',sans-serif;
  letter-spacing:0.05em;white-space:nowrap;z-index:1002;
  opacity:0;transform:translateY(-5px);
  transition:opacity 0.4s,transform 0.4s;pointer-events:none;
}
.theme-tooltip.show{opacity:1;transform:translateY(0);pointer-events:auto}
.theme-tooltip::before{
  content:'';position:absolute;bottom:100%;right:16px;
  border:6px solid transparent;border-bottom-color:var(--gold);
}


/* Light mode nav — light text over dark gradient on hero photo */
[data-theme="light"] .nav:not(.scrolled) .nav-logo-name{color:#F5F0E8}
[data-theme="light"] .nav:not(.scrolled) .nav-logo-name span{color:var(--gold-light)}
[data-theme="light"] .nav:not(.scrolled) .nav-logo-sub{color:rgba(245,240,232,0.55)}
[data-theme="light"] .nav:not(.scrolled) .nav-center a{color:rgba(245,240,232,0.6)}
[data-theme="light"] .nav:not(.scrolled) .nav-center a:hover{color:var(--gold-light)}
[data-theme="light"] .nav:not(.scrolled) .nav-phone{color:rgba(245,240,232,0.75)}
[data-theme="light"] .nav:not(.scrolled) .nav-phone svg{stroke:var(--gold-light)}
[data-theme="light"] .nav:not(.scrolled) .nav-kw{filter:none}
[data-theme="light"] .nav:not(.scrolled) .nav-divider{background:rgba(245,240,232,0.2)}
[data-theme="light"] .nav:not(.scrolled) .theme-toggle{background:rgba(0,0,0,0.3)}
[data-theme="light"] .nav:not(.scrolled) .nav-toggle span{background:#F5F0E8}

[data-theme="light"] .hero-scroll span{color:var(--gold-light);text-shadow:0 1px 4px rgba(0,0,0,0.3)}
[data-theme="light"] .hero-scroll .scroll-line{background:rgba(160,138,88,0.4)}

/* Mobile nav */
.nav-toggle{display:none;flex-direction:column;gap:5px;padding:5px;z-index:1001}
.nav-toggle span{width:22px;height:1.5px;background:var(--cream);transition:all 0.3s}
.mobile-menu{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--overlay);z-index:999;flex-direction:column;align-items:center;justify-content:flex-start;gap:1.5rem;padding:5rem 2rem 3rem;overflow-y:auto;-webkit-overflow-scrolling:touch;opacity:0;pointer-events:none;transition:opacity 0.4s;overscroll-behavior:contain}
.mobile-menu.open{opacity:1;pointer-events:all}
.mobile-menu a{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.8rem;font-weight:300;color:var(--cream);letter-spacing:0.05em}


/* Light mode hero — keep light text over photo, darken gradient for contrast */
[data-theme="light"] .hero-content .hero-badge{color:var(--gold-light);text-shadow:0 1px 6px rgba(0,0,0,0.4);background:rgba(0,0,0,0.4);border-color:rgba(196,176,140,0.3)}
[data-theme="light"] .hero-content .hero-title{color:#F5F0E8;text-shadow:0 2px 12px rgba(0,0,0,0.5),0 1px 3px rgba(0,0,0,0.3)}
[data-theme="light"] .hero-content .hero-title em{color:var(--gold-light)}
[data-theme="light"] .hero-content .hero-sub{color:rgba(245,240,232,0.8);text-shadow:0 1px 8px rgba(0,0,0,0.4)}
[data-theme="light"] .hero .btn-secondary{color:#F5F0E8;border-color:rgba(245,240,232,0.35)}
[data-theme="light"] .hero .btn-secondary:hover{color:var(--gold-light);border-color:var(--gold-light)}
[data-theme="light"] .hero-badge img{filter:none}
[data-theme="light"] .hero-search-bar{
  background:rgba(12,11,9,0.45);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(196,176,140,0.2);
}
[data-theme="light"] .hero .hs-field{border-right:1px solid rgba(196,176,140,0.12)}
[data-theme="light"] .hero .hs-label{color:var(--gold-light)}
[data-theme="light"] .hero .hs-select,
[data-theme="light"] .hero .hs-input,
[data-theme="light"] .hero .hs-multi-label{color:#F5F0E8}
[data-theme="light"] .hero .hs-input::placeholder{color:rgba(245,240,232,0.4)}
[data-theme="light"] .hero .hs-tab{color:rgba(245,240,232,0.55)}
[data-theme="light"] .hero .hs-tab.active{background:rgba(196,176,140,0.2);color:#F5F0E8}
[data-theme="light"] .hero .hp-trigger{color:#F5F0E8}
[data-theme="light"] .hero .hp-trigger .hp-placeholder{color:rgba(245,240,232,0.4)}
[data-theme="light"] .hero .hp-trigger .hp-val{color:var(--gold-light)}
[data-theme="light"] .hero .hero-sell-form{background:rgba(12,11,9,0.45);border:1px solid rgba(196,176,140,0.2)}
[data-theme="light"] .hero .hsf-input{background:rgba(245,240,232,0.1);color:#F5F0E8;border-color:rgba(196,176,140,0.2)}
[data-theme="light"] .hero .hsf-input::placeholder{color:rgba(245,240,232,0.35)}
[data-theme="light"] .hero .hero-search-note{color:rgba(245,240,232,0.5)}
[data-theme="light"] .hero .hero-search-note svg{stroke:rgba(245,240,232,0.5)}

/* ═══════════════════════════════════════════════════════
   PAGE SECTIONS (shared)
   ═══════════════════════════════════════════════════════ */
.section-label{display:inline-flex;align-items:center;gap:1rem;font-size:0.62rem;letter-spacing:0.3em;text-transform:uppercase;color:var(--gold);margin-bottom:1.25rem}
.section-label::before{content:'';width:35px;height:1px;background:var(--gold)}
.section-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2rem,4.5vw,3.5rem);font-weight:300;line-height:1.15;color:var(--cream);margin-bottom:1.25rem}
.section-title em{font-style:italic;color:var(--gold-light)}
.gold-line{height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:0.3}

/* Buttons */
.btn-primary{display:inline-flex;align-items:center;gap:0.7rem;padding:0.9rem 2.2rem;background:var(--gold);color:var(--bg);font-size:0.68rem;font-weight:600;letter-spacing:0.2em;text-transform:uppercase;transition:all 0.4s;position:relative;overflow:hidden}
.btn-primary:hover{background:var(--gold-light)}
.btn-primary svg{width:15px;height:15px;transition:transform 0.3s}
.btn-primary:hover svg{transform:translateX(3px)}
.btn-secondary{display:inline-flex;align-items:center;gap:0.7rem;padding:0.9rem 1.8rem;border:1px solid var(--border-hover);color:var(--cream);font-size:0.68rem;font-weight:400;letter-spacing:0.2em;text-transform:uppercase;transition:all 0.4s}
.btn-secondary:hover{border-color:var(--gold);color:var(--gold)}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero{position:relative;min-height:100vh;min-height:100dvh;display:flex;align-items:flex-end;padding:0 3rem 5.5rem;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg-overlay{position:absolute;inset:0;background:var(--hero-gradient);z-index:1}
.hero-bg-fallback{position:absolute;inset:-20% 0;height:140%;background:url('images/hero-bg.webp') center/cover no-repeat;z-index:0;will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform 0.3s ease-out}
.hero-content{position:relative;z-index:2;max-width:960px}
.hero-badge{display:inline-flex;align-items:center;gap:0.7rem;padding:0.45rem 1.1rem;border:1px solid var(--border);margin-bottom:1.75rem;font-size:0.6rem;letter-spacing:0.3em;text-transform:uppercase;color:var(--gold);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.3s both;text-shadow:0 1px 6px rgba(0,0,0,0.4)}
.hero-badge img{height:18px;width:auto}
.hero-badge::before{content:'';width:6px;height:6px;background:var(--gold);border-radius:50%}
.hero-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.8rem,6.5vw,6rem);font-weight:300;line-height:1.05;color:var(--cream);margin-bottom:1.25rem;animation:fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.5s both;text-shadow:0 2px 12px rgba(0,0,0,0.6),0 1px 3px rgba(0,0,0,0.4)}
.hero-title em{font-style:italic;color:var(--gold-light)}
.hero-sub{font-size:1rem;font-weight:300;color:var(--text-body);max-width:500px;line-height:1.8;margin-bottom:2.25rem;animation:fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.7s both;text-shadow:0 1px 8px rgba(0,0,0,0.5),0 1px 2px rgba(0,0,0,0.3)}
.hero-actions{display:flex;align-items:center;gap:1.25rem;animation:fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.9s both}
@keyframes fadeUp{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
@keyframes counterPulse{0%{transform:scale(1)}40%{transform:scale(1.15);background:rgba(196,176,140,0.7)}100%{transform:scale(1)}}

.hero-scroll{position:fixed;top:50%;transform:translateY(-50%);right:3rem;display:flex;flex-direction:column;align-items:center;gap:0.7rem;z-index:900;transition:opacity 0.4s;opacity:0.7}.hero-scroll:hover{opacity:1}
.hero-scroll span{font-size:0.55rem;letter-spacing:0.3em;text-transform:uppercase;color:var(--text-muted);writing-mode:vertical-rl}
.scroll-line{width:1px;height:50px;background:var(--border);position:relative;overflow:hidden}
.scroll-line::after{content:'';position:absolute;top:-100%;width:100%;height:100%;background:var(--gold);animation:scrollD 2s cubic-bezier(0.25,0.46,0.45,0.94) 6;will-change:transform}
@keyframes scrollD{0%{transform:translateY(0)}100%{transform:translateY(200%)}}

/* Hero Search Bar */
.hero-search{
  animation:fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.9s both;
  margin-bottom:1.75rem;max-width:960px;
}
.hero-search-bar{
  display:flex;align-items:stretch;
  background:rgba(12,11,9,0.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(196,176,140,0.2);
  position:relative;z-index:10;
}
.hs-field{flex:1;display:flex;flex-direction:column;padding:0.55rem 1.15rem;border-right:1px solid rgba(196,176,140,0.1);position:relative;min-width:0}
.hs-field:last-of-type{border-right:none}
.hs-label{font-size:0.5rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);margin-bottom:0.2rem;white-space:nowrap}
.hs-select,.hs-input{
  background:transparent;border:none;color:#F5F0E8;
  font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:300;
  outline:none;width:100%;padding:0;appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23C4B08C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 0 center;padding-right:14px;
}
.hs-select option{background:var(--bg-card);color:var(--cream)}
.hs-multi-field{cursor:pointer}
.hs-multi-label{background:transparent;border:none;color:#F5F0E8;font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:300;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23C4B08C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0 center;padding-right:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.hs-loc-dropdown{background:#0C0B09!important;z-index:99999}
[data-theme="light"] .hs-loc-dropdown{background:#F8F6F1!important}
.hs-input{background-image:none;padding-right:0}
.hs-input::placeholder{color:rgba(245,240,232,0.35)}
.hs-btn{
  padding:0 2rem;background:var(--gold);color:var(--bg);
  display:flex;align-items:center;justify-content:center;gap:0.5rem;
  font-size:0.65rem;font-weight:600;letter-spacing:0.2em;text-transform:uppercase;
  border:none;cursor:pointer;transition:background 0.3s;white-space:nowrap;
  font-family:'Outfit',sans-serif;flex-shrink:0;
}
.hs-btn:hover{background:var(--gold-light)}
.hs-btn svg{width:16px;height:16px;stroke:var(--bg);fill:none;stroke-width:2}
.hero-search-tabs{display:flex;gap:0;margin-bottom:0.6rem}
.hs-tab{
  padding:0.5rem 1.25rem;font-size:0.6rem;letter-spacing:0.18em;text-transform:uppercase;
  color:var(--text-muted);background:transparent;border:1px solid transparent;
  transition:all 0.3s;cursor:pointer;font-family:'Outfit',sans-serif;
}
.hs-tab.active{color:var(--gold);border-color:rgba(196,176,140,0.2);background:rgba(12,11,9,0.4);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.hs-tab:hover{color:var(--gold)}
.hero-search-note{font-size:0.62rem;color:var(--text-muted);margin-top:0.6rem;display:flex;align-items:center;gap:0.4rem}
.hero-search-note svg{width:10px;height:10px;stroke:var(--green);fill:none;stroke-width:2;flex-shrink:0}

/* Hero Text Search */
.hero-search-text{display:flex;align-items:center;gap:0.75rem;background:rgba(12,11,9,0.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(196,176,140,0.2);border-top:none;padding:1.05rem 1.15rem}
.hero-search-text svg{width:16px;height:16px;stroke:var(--gold);fill:none;stroke-width:2;flex-shrink:0;opacity:0.5}
.hs-text-input{background:transparent;border:none;outline:none;color:#F5F0E8;font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:300;width:100%}
.hs-text-input::placeholder{color:rgba(245,240,232,0.3)}
[data-theme="light"] .hero-search-text{background:rgba(255,255,255,0.7);border-color:rgba(139,119,72,0.2);border-top:none}
[data-theme="light"] .hs-text-input{color:var(--cream)}
[data-theme="light"] .hs-text-input::placeholder{color:rgba(26,24,21,0.35)}

/* Hero Sell Form */
.hero-sell-form{
  background:rgba(12,11,9,0.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(196,176,140,0.2);padding:1.5rem;
  animation:fadeUp 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
.hsf-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:0.75rem;margin-bottom:0.75rem}
.hsf-row-2{display:grid;grid-template-columns:1.5fr 1fr;gap:0.75rem;margin-bottom:0.75rem}
.hsf-field{display:flex;flex-direction:column;gap:0.2rem}
.hsf-req{color:var(--gold);font-weight:500}
.hsf-opt{color:var(--text-muted);font-weight:300;font-style:italic;letter-spacing:0.05em;text-transform:none;font-size:0.55rem}
.hsf-input{
  background:rgba(33,31,27,0.5);border:1px solid rgba(196,176,140,0.15);
  color:#F5F0E8;font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:300;
  padding:0.65rem 0.85rem;outline:none;transition:border-color 0.3s;width:100%;
}
.hsf-input:focus{border-color:var(--gold)}
.hsf-input::placeholder{color:rgba(245,240,232,0.3)}
.hsf-input.error{border-color:var(--red-soft)}
.hsf-textarea{resize:vertical;min-height:56px;max-height:120px;line-height:1.5}
.hsf-error{font-size:0.6rem;color:var(--red-soft);display:none}
.hsf-error.show{display:block}
.hsf-pw-wrap{position:relative}
.hsf-pw-wrap .hsf-input{padding-right:3.5rem}
.hsf-pw-toggle{
  position:absolute;right:0.7rem;top:50%;transform:translateY(-50%);
  background:none;border:none;color:var(--text-muted);cursor:pointer;
  font-size:0.65rem;letter-spacing:0.05em;font-family:'Outfit',sans-serif;transition:color 0.2s;
}
.hsf-pw-toggle:hover{color:var(--gold)}
.hsf-pw-note{font-size:0.6rem;color:var(--text-muted);line-height:1.5;margin-top:0.3rem}
.hsf-submit{
  width:100%;padding:0.85rem 2rem;margin-top:0.25rem;justify-content:center;
}
.hsf-submit.sent{background:var(--green);pointer-events:none}
.hsf-success{
  display:flex;align-items:center;gap:0.6rem;margin-top:0.75rem;
  padding:0.75rem 1rem;background:rgba(122,143,110,0.15);border:1px solid rgba(122,143,110,0.3);
  font-size:0.78rem;color:var(--green);
}
.hsf-success svg{width:16px;height:16px;stroke:var(--green);fill:none;stroke-width:2;flex-shrink:0}

@media(max-width:768px){
  .hsf-row{grid-template-columns:1fr 1fr}
  .hsf-row-2{grid-template-columns:1fr}
  .hero-sell-form{padding:1.15rem}
}

@media(max-width:768px){
  .hero-search-bar{flex-direction:column}
  .hs-field{border-right:none;border-bottom:1px solid rgba(196,176,140,0.1);padding:0.7rem 1rem}
  .hs-btn{padding:0.9rem 2rem}
}

/* ═══════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════ */
.stats-bar{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg-warm)}
.stat-item{padding:2.25rem 2.5rem;text-align:center;border-right:1px solid var(--border);transition:background 0.4s}
.stat-item:last-child{border-right:none}
.stat-item:hover{background:var(--surface)}
.stat-number{font-family:'Cormorant Garamond',Georgia,serif;font-size:2.5rem;font-weight:300;color:var(--gold);line-height:1;margin-bottom:0.4rem}
.stat-label{font-size:0.65rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--text-muted)}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about{padding:7rem 3rem;display:grid;grid-template-columns:1fr 1fr;gap:5rem;max-width:1400px;margin:0 auto;align-items:center}
.about-img{position:relative;overflow:hidden;aspect-ratio:3/4}
.about-img img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform 0.8s}
.about-img:hover img{transform:scale(1.03)}
.about-accent{position:absolute;bottom:-1.5rem;right:-1.5rem;width:150px;height:150px;border:1px solid var(--gold);opacity:0.25;z-index:-1}
.about-kw{position:absolute;bottom:1.5rem;left:-1.5rem;padding:1rem 1.25rem;background:var(--gold);z-index:2;display:flex;align-items:center;justify-content:center}
.about-kw img{height:40px;width:auto;filter:brightness(0)}
.about-kw .kw-num{display:none}
.about-kw .kw-text{display:none}
.about-text p{font-size:0.98rem;font-weight:300;color:var(--text-body);line-height:1.85;margin-bottom:1.25rem}
.about-values{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:2rem}
.value-item{padding:1.25rem;border:1px solid var(--border);transition:all 0.4s}
.value-item:hover{border-color:var(--border-hover);background:var(--surface)}
.value-icon{width:28px;height:28px;margin-bottom:0.6rem;color:var(--gold)}
.value-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.05rem;font-weight:500;color:var(--cream);margin-bottom:0.25rem}
.value-desc{font-size:0.78rem;color:var(--text-muted);line-height:1.55}

/* ═══════════════════════════════════════════════════════
   AREAS
   ═══════════════════════════════════════════════════════ */
.areas{padding:7rem 3rem;background:var(--bg-warm);position:relative}
.areas-header{max-width:1400px;margin:0 auto 3.5rem;display:flex;justify-content:space-between;align-items:flex-end}
.areas-header p{max-width:380px;font-size:0.9rem;color:var(--text-muted);line-height:1.7}
.areas-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.area-card{position:relative;overflow:hidden;aspect-ratio:3/4;cursor:pointer;display:block;text-decoration:none;color:inherit}
.area-card img{width:100%;height:100%;object-fit:cover;transition:transform 0.8s}
.area-card:hover img{transform:scale(1.08)}
.area-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(12,11,9,0.85) 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:1.75rem}
.area-name{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.45rem;font-weight:400;color:#F5F0E8;margin-bottom:0.2rem}
.area-county{font-size:0.65rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold)}

/* ═══════════════════════════════════════════════════════
   FEATURED LISTINGS (mini version from IDX)
   ═══════════════════════════════════════════════════════ */
.featured{padding:7rem 3rem;max-width:1400px;margin:0 auto}
.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3rem}
.f-card{border:1px solid var(--border);background:var(--bg-card);overflow:hidden;transition:all 0.4s;cursor:pointer}
.f-card:hover{border-color:var(--border-hover);transform:translateY(-3px);box-shadow:0 12px 40px var(--card-shadow)}
.f-card-img{position:relative;aspect-ratio:16/10;overflow:hidden}
.f-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s}
.f-card:hover .f-card-img img{transform:scale(1.04)}
.f-card-badge{position:absolute;top:0.75rem;left:0.75rem;padding:0.3rem 0.65rem;font-size:0.55rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;background:var(--gold);color:var(--bg)}
.f-card-badge.land{background:var(--green)}
/* Card favorite heart icon */
.card-fav-heart{
  position:absolute;bottom:0.6rem;right:0.6rem;z-index:3;
  width:32px;height:32px;border-radius:50%;border:none;
  background:rgba(40,40,40,0.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  color:#eee;cursor:pointer;opacity:0.75;
  display:flex;align-items:center;justify-content:center;
  padding:0;transition:all 0.25s;
}
.card-fav-heart svg{width:16px;height:16px;transition:transform 0.25s}
.card-fav-heart:hover{opacity:1;transform:scale(1.1)}
.card-fav-heart.saved{color:#dfc077;background:rgba(12,11,9,0.8);border-color:rgba(196,176,140,0.5);box-shadow:0 0 8px rgba(196,176,140,0.35);opacity:1}
.card-fav-heart.saved svg{transform:scale(1.2);filter:drop-shadow(0 0 3px rgba(196,176,140,0.5))}
.card-fav-heart.saved:hover{color:#f0d898;background:rgba(12,11,9,0.85);box-shadow:0 0 12px rgba(196,176,140,0.5)}
[data-theme="light"] .card-fav-heart{background:rgba(60,60,60,0.5);color:#eee}
[data-theme="light"] .card-fav-heart:hover{opacity:0.6}
[data-theme="light"] .card-fav-heart.saved{color:#b8922e;background:rgba(255,255,255,0.9);box-shadow:0 0 8px rgba(184,146,46,0.25);opacity:1}
[data-theme="light"] .card-fav-heart.saved:hover{color:#a07e1e;box-shadow:0 0 12px rgba(184,146,46,0.35)}

.f-card-body{padding:1.15rem 1.35rem}
.f-card-price{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.45rem;font-weight:500;color:var(--cream);margin-bottom:0.15rem}
.f-card-addr{font-size:0.82rem;color:var(--text-body);margin-bottom:0.1rem}
.f-card-city{font-size:0.65rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold);margin-bottom:0.65rem}
.f-card-features{display:flex;gap:1rem;padding-top:0.65rem;border-top:1px solid var(--border)}
.f-feat{font-size:0.72rem;color:var(--text-muted)}
.f-feat strong{color:var(--cream);font-weight:500}
.featured-cta{text-align:center;margin-top:3rem}

/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */
.services{padding:7rem 3rem;max-width:1400px;margin:0 auto}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:3.5rem;border:1px solid var(--border)}
.service-card{padding:3rem 2.25rem;border-right:1px solid var(--border);position:relative;overflow:hidden;transition:all 0.5s}
.service-card:last-child{border-right:none}
.service-card::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,var(--surface) 0%,transparent 100%);opacity:0;transition:opacity 0.5s}
.service-card:hover::before{opacity:1}
.service-num{font-family:'Cormorant Garamond',Georgia,serif;font-size:3rem;font-weight:300;color:var(--gold);opacity:0.15;line-height:1;margin-bottom:1.5rem;position:relative}
.service-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.5rem;font-weight:400;color:var(--cream);margin-bottom:0.75rem;position:relative}
.service-desc{font-size:0.85rem;color:var(--text-muted);line-height:1.75;position:relative;margin-bottom:1.5rem}
.service-step{display:flex;align-items:flex-start;gap:0.65rem;padding:0.5rem 0;font-size:0.78rem;color:var(--text-body);position:relative}
.service-step::before{content:'';width:4px;height:4px;background:var(--gold);border-radius:50%;margin-top:0.45rem;flex-shrink:0}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials{padding:7rem 3rem;background:var(--bg-warm)}
.testimonials-inner{max-width:1400px;margin:0 auto}
.testimonials-header{text-align:center;margin-bottom:4rem}
.testimonials-header p{max-width:450px;margin:0 auto;color:var(--text-muted);font-size:0.9rem}
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.test-card{padding:2.25rem;border:1px solid var(--border);background:var(--bg-card);transition:all 0.4s}
.test-card:hover{border-color:var(--border-hover);transform:translateY(-3px)}
.test-quote{font-family:'Cormorant Garamond',Georgia,serif;font-size:3.5rem;color:var(--gold);opacity:0.25;line-height:1;margin-bottom:0.4rem}
.test-text{font-size:0.9rem;font-weight:300;color:var(--text-body);line-height:1.8;margin-bottom:1.5rem;font-style:italic}
.test-author{display:flex;align-items:center;gap:0.75rem;padding-top:1.25rem;border-top:1px solid var(--border)}
.test-avatar{width:40px;height:40px;border-radius:50%;background:var(--gold);display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',Georgia,serif;font-size:1rem;font-weight:600;color:var(--bg)}
.test-name{font-size:0.85rem;font-weight:500;color:var(--cream)}
.test-source{font-size:0.55rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--text-muted);margin-top:1px}
.test-stars{display:flex;gap:2px;margin-top:2px}
.test-stars svg{width:11px;height:11px;fill:var(--gold)}

/* ═══════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════ */
.blog{padding:7rem 3rem;background:var(--bg)}
.blog-inner{max-width:1400px;margin:0 auto}
.blog-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:3.5rem}
.blog-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.blog-card{border:1px solid var(--border);background:var(--bg-card);overflow:hidden;transition:all 0.4s;display:flex;flex-direction:column}
.blog-card:hover{border-color:var(--border-hover);transform:translateY(-3px)}
.blog-card-img{height:220px;overflow:hidden;position:relative}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s}
.blog-card:hover .blog-card-img img{transform:scale(1.05)}
.blog-card-cat{position:absolute;bottom:0.75rem;left:0.75rem;padding:0.3rem 0.75rem;font-size:0.55rem;letter-spacing:0.15em;text-transform:uppercase;background:rgba(12,11,9,0.75);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--gold);border:1px solid rgba(196,176,140,0.2)}
[data-theme="light"] .blog-card-cat{background:rgba(255,255,255,0.8);border-color:rgba(120,100,70,0.2)}
.blog-card-body{padding:1.5rem;display:flex;flex-direction:column;flex:1}
.blog-card-meta{font-size:0.6rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--text-muted);margin-bottom:0.6rem;display:flex;align-items:center;gap:0.75rem}
.blog-card-meta span{display:flex;align-items:center;gap:0.3rem}
.blog-card-meta svg{width:10px;height:10px;stroke:var(--gold);fill:none;stroke-width:2}
.blog-card h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.35rem;font-weight:400;color:var(--cream);line-height:1.3;margin-bottom:0.75rem;transition:color 0.3s}
.blog-card:hover h3{color:var(--gold)}
.blog-card p{font-size:0.82rem;font-weight:300;color:var(--text-body);line-height:1.7;margin-bottom:1.25rem;flex:1}
.blog-card-link{font-size:0.6rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);display:inline-flex;align-items:center;gap:0.5rem;transition:gap 0.3s}
.blog-card:hover .blog-card-link{gap:0.75rem}
.blog-card-link svg{width:12px;height:12px;stroke:var(--gold);fill:none;stroke-width:2}
.blog-link{font-size:0.65rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);display:inline-flex;align-items:center;gap:0.5rem;padding:0.65rem 1.5rem;border:1px solid var(--border);transition:all 0.3s;white-space:nowrap}
.blog-link:hover{border-color:var(--gold);background:rgba(196,176,140,0.05)}
.blog-link svg{width:12px;height:12px;stroke:var(--gold);fill:none;stroke-width:2}

/* ═══════════════════════════════════════════════════════
   CTA / CONTACT
   ═══════════════════════════════════════════════════════ */
.cta{padding:8rem 3rem;background:var(--bg-warm);position:relative;overflow:hidden}
.cta-bg{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(5rem,16vw,18rem);font-weight:300;color:var(--cream);opacity:0.02;white-space:nowrap;pointer-events:none}
.cta-inner{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.cta-text p{font-size:1rem;color:var(--text-body);line-height:1.8;margin-bottom:2rem;max-width:460px}
.cta-info{display:flex;flex-direction:column;gap:1.25rem;margin-top:1.75rem}
.cta-info-item{display:flex;align-items:center;gap:0.85rem}
.cta-info-icon{width:44px;height:44px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cta-info-icon svg{width:16px;height:16px;stroke:var(--gold);fill:none;stroke-width:1.5}
.cta-info-label{font-size:0.6rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--text-muted);margin-bottom:0.1rem}
.cta-info-value{font-size:0.95rem;color:var(--cream);font-weight:300}
.kw-badge{display:inline-flex;align-items:center;gap:0.65rem;padding:0.5rem 1rem;border:1px solid var(--border);font-size:0.65rem;color:var(--text-muted);letter-spacing:0.1em;margin-top:0.85rem}
.kw-badge img{height:22px;width:auto;opacity:0.8}
[data-theme="light"] .kw-badge img{filter:invert(1)}
.kw-badge span{color:var(--gold);font-weight:500}

/* Contact form */
.cta-form{padding:2.5rem;border:1px solid var(--border);background:var(--bg-card)}
.form-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.4rem;font-weight:400;color:var(--cream);margin-bottom:0.35rem}
.form-sub{font-size:0.8rem;color:var(--text-muted);margin-bottom:1.75rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:0.8rem;margin-bottom:0.8rem}
.form-group{margin-bottom:0.8rem}
.form-label{display:block;font-size:0.6rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-muted);margin-bottom:0.3rem}
.form-input{width:100%;padding:0.75rem 0.85rem;background:var(--surface);border:1px solid var(--border);color:var(--cream);font-family:'Outfit',sans-serif;font-size:0.85rem;font-weight:300;outline:none;transition:border-color 0.3s}
.form-input:focus{border-color:var(--gold)}
.form-input::placeholder{color:var(--text-muted)}
textarea.form-input{resize:vertical;min-height:100px}
.form-select{width:100%;padding:0.75rem 0.85rem;background:var(--surface);border:1px solid var(--border);color:var(--cream);font-family:'Outfit',sans-serif;font-size:0.85rem;font-weight:300;outline:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23C4B08C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0.8rem center;transition:border-color 0.3s}
.form-select:focus{border-color:var(--gold)}
.form-submit{width:100%;padding:0.9rem;background:var(--gold);color:var(--bg);font-size:0.68rem;font-weight:600;letter-spacing:0.2em;text-transform:uppercase;transition:all 0.3s;margin-top:0.3rem}
.form-submit:hover{background:var(--gold-light)}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer{padding:3.5rem 3rem 1.5rem;border-top:1px solid var(--border)}
.footer-inner{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3.5rem;margin-bottom:3rem}
.footer-brand .nav-logo{margin-bottom:0.85rem;display:inline-flex;font-size:1.5rem}
.footer-brand .nav-logo-name{font-size:1.2rem}
.footer-brand .nav-kw{height:48px}
.footer-brand p{font-size:0.85rem;color:var(--text-muted);line-height:1.7;max-width:300px;margin-bottom:1.25rem}
.footer-bottom-logo{height:16px;width:auto;display:inline-block;vertical-align:middle;margin:0 0.4rem;opacity:0.5}
[data-theme="light"] .footer-bottom-logo{filter:invert(1)}
.footer-social{display:flex;gap:0.6rem}
.footer-social a{width:36px;height:36px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;transition:all 0.3s}
.footer-social a:hover{border-color:var(--gold);background:var(--gold)}
.footer-social a:hover svg{stroke:var(--bg)}
.footer-social svg{width:14px;height:14px;stroke:var(--text-muted);fill:none;stroke-width:2;transition:stroke 0.3s}
.footer-col h4{font-size:0.65rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);margin-bottom:1.25rem}
.footer-col a{display:block;font-size:0.82rem;color:var(--text-muted);padding:0.3rem 0;transition:color 0.3s}
.footer-col a:hover{color:var(--cream)}
.footer-bottom{max-width:1400px;margin:0 auto;padding-top:1.5rem;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}
.footer-bottom p{font-size:0.7rem;color:var(--text-muted)}

/* ═══════════════════════════════════════════════════════
   CHATBOT (embedded — compact version)
   ═══════════════════════════════════════════════════════ */
.chat-trigger{
  position:fixed;bottom:2rem;right:2rem;z-index:10000;
  display:flex;align-items:center;gap:0.65rem;
  padding:0.7rem 1.25rem 0.7rem 0.7rem;
  border-radius:50px;border:1px solid rgba(196,176,140,0.35);
  background:linear-gradient(135deg,rgba(26,24,21,0.92) 0%,rgba(12,11,9,0.95) 100%);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 8px 40px rgba(0,0,0,0.4),0 0 0 0 rgba(196,176,140,0.3),inset 0 1px 0 rgba(196,176,140,0.1);
  transition:all 0.4s cubic-bezier(0.16,1,0.3,1);
  animation:chatEntrance 0.6s cubic-bezier(0.16,1,0.3,1) 1.5s both;
  overflow:hidden;cursor:pointer;
}
[data-theme="light"] .chat-trigger{
  background:linear-gradient(135deg,rgba(255,255,255,0.95) 0%,rgba(245,240,232,0.95) 100%);
  border-color:rgba(139,119,72,0.3);
  box-shadow:0 8px 40px rgba(0,0,0,0.1),inset 0 1px 0 rgba(255,255,255,0.5);
}
.chat-trigger::before{
  content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;
  background:conic-gradient(from 0deg,transparent 0%,rgba(196,176,140,0.15) 10%,transparent 20%);
  animation:shimmer 4s linear 3;
}
.chat-trigger:hover{transform:translateY(-2px);box-shadow:0 12px 48px rgba(0,0,0,0.5),0 0 20px rgba(196,176,140,0.15),inset 0 1px 0 rgba(196,176,140,0.15)}
[data-theme="light"] .chat-trigger:hover{box-shadow:0 12px 48px rgba(0,0,0,0.12),0 0 20px rgba(139,119,72,0.1),inset 0 1px 0 rgba(255,255,255,0.6)}
.chat-trigger.open{border-radius:50%;padding:0.85rem;gap:0}
.chat-trigger.open .chat-trigger-av,.chat-trigger.open .chat-trigger-label,.chat-trigger.open .chat-trigger-dot{display:none}
.chat-trigger.compact{border-radius:50%;padding:0.65rem;gap:0}
.chat-trigger.compact .chat-trigger-label,.chat-trigger.compact .chat-trigger-dot{display:none}
@keyframes chatEntrance{0%{opacity:0;transform:translateY(20px) scale(0.9)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes shimmer{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}

.chat-trigger-av{
  width:38px;height:38px;border-radius:50%;flex-shrink:0;position:relative;z-index:1;
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);
  display:flex;align-items:center;justify-content:center;
  font-family:'Cormorant Garamond',Georgia,serif;font-size:1rem;font-weight:600;color:var(--bg);
}
.chat-trigger-av::after{
  content:'';position:absolute;bottom:1px;right:1px;width:10px;height:10px;
  border-radius:50%;background:var(--green);border:2px solid var(--bg);
}
.chat-trigger-label{display:flex;flex-direction:column;position:relative;z-index:1}
.chat-trigger-name{font-size:0.78rem;font-weight:500;color:var(--cream);white-space:nowrap;letter-spacing:0.01em}
.chat-trigger-status{font-size:0.58rem;color:var(--gold);letter-spacing:0.08em;text-transform:uppercase;font-weight:400}
.chat-trigger-dot{
  width:8px;height:8px;border-radius:50%;background:var(--gold);flex-shrink:0;position:relative;z-index:1;
  animation:dotPulse 2s ease-in-out infinite;margin-left:0.15rem;
}
@keyframes dotPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(0.7)}}

.chat-trigger svg{width:22px;height:22px;fill:var(--cream);transition:transform 0.3s;position:relative;z-index:1;display:none}
.chat-trigger.open svg{display:block;transform:rotate(0)}

.chat-badge{position:absolute;top:-2px;right:-2px;width:18px;height:18px;border-radius:50%;background:var(--green);color:#F5F0E8;font-size:0.55rem;font-weight:600;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(0);transition:all 0.3s;z-index:2}
.chat-badge.show{opacity:1;transform:scale(1)}

/* ── Nav Chat Icon (mobile only — hidden on desktop) ── */
.nav-chat{display:none;position:relative;align-items:center;justify-content:center;gap:0.35rem;height:34px;padding:0 0.7rem;border:none;background:var(--gold);border-radius:999px;cursor:pointer;z-index:1001;animation:navChatPulse 3s ease-in-out 2s 3}
.nav-chat svg{width:18px;height:18px;stroke:var(--bg);fill:none;stroke-width:2;transition:stroke 0.3s;flex-shrink:0}
.nav-chat-label{font-size:0.65rem;font-weight:600;color:var(--bg);letter-spacing:0.06em;text-transform:uppercase;white-space:nowrap}
.nav-chat:active{transform:scale(0.95)}
.nav-chat-dot{position:absolute;top:0;right:0;width:8px;height:8px;background:var(--green);border-radius:50%;border:2px solid var(--nav-bg);animation:pulse 2s ease-in-out 5}
.nav-chat.open{background:transparent}
.nav-chat.open svg{stroke:var(--gold);stroke-width:1.5}
.nav-chat.open .nav-chat-dot,.nav-chat.open .nav-chat-label{display:none}
@keyframes navChatPulse{0%,100%{box-shadow:0 0 0 0 rgba(196,176,140,0)}50%{box-shadow:0 0 0 6px rgba(196,176,140,0.25)}}
[data-theme="light"] .nav-chat{background:var(--gold)}
[data-theme="light"] .nav-chat svg{stroke:#fff}
[data-theme="light"] .nav-chat-label{color:#fff}
[data-theme="light"] @keyframes navChatPulse{0%,100%{box-shadow:0 0 0 0 rgba(139,119,72,0)}50%{box-shadow:0 0 0 6px rgba(139,119,72,0.2)}}

/* ── Chat Preview Widget ── */
.chat-preview{position:fixed;bottom:6.5rem;right:2rem;z-index:10000;width:320px;background:var(--bg-warm);border:1px solid var(--border);box-shadow:0 16px 48px var(--shadow);display:flex;flex-direction:column;opacity:0;transform:translateY(12px) scale(0.95);pointer-events:none;transition:all 0.4s cubic-bezier(0.16,1,0.3,1);overflow:hidden}
.chat-preview.show{opacity:1;transform:translateY(0) scale(1);pointer-events:all}
.chat-preview-header{padding:0.7rem 0.85rem;background:var(--bg-card);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.chat-preview-hinfo{display:flex;align-items:center;gap:0.5rem}
.chat-preview-hinfo .chat-av{width:28px;height:28px;font-size:0.8rem}
.chat-preview-hinfo .chat-hname{font-size:0.78rem}
.chat-preview-hinfo .chat-hstatus{font-size:0.55rem}
.chat-preview-body{padding:0.85rem;display:flex;flex-direction:column;gap:0.5rem}
.chat-preview-body .msg{max-width:100%}
.chat-preview-body .msg-bubble{font-size:0.8rem}
.chat-preview-body .quick-actions{margin-top:0}
.chat-preview-body .chip{font-size:0.65rem;padding:0.3rem 0.65rem}
.chat-preview-input{padding:0.55rem 0.85rem;border-top:1px solid var(--border);background:var(--bg-card)}
.chat-preview-input .chat-input{padding:0.45rem 0.7rem;font-size:0.78rem;min-height:32px;height:32px;resize:none}
.chat-preview-input .chat-send{width:32px;height:32px}
.chat-preview-input .chat-send svg{width:14px;height:14px}

.chat-panel{position:fixed;bottom:2rem;right:2rem;z-index:10001;width:400px;height:650px;max-height:calc(100vh - 4rem);max-height:calc(100dvh - 4rem);background:var(--bg-warm);border:1px solid var(--border);display:flex;flex-direction:column;opacity:0;transform:translateY(20px) scale(0.95);pointer-events:none;transition:all 0.4s;overflow:hidden;box-shadow:0 12px 40px var(--shadow);overscroll-behavior:contain}
.chat-panel.open{opacity:1;transform:translateY(0) scale(1);pointer-events:all}
.chat-panel.minimized{height:48px;width:280px;transition:all 0.3s cubic-bezier(0.16,1,0.3,1)}
.chat-panel.minimized .chat-messages,
.chat-panel.minimized .chat-input-area{display:none}
.chat-panel.minimized .chat-header{cursor:pointer;border-bottom:none}
.chat-header{padding:1rem 1.25rem;background:var(--bg-card);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.chat-hinfo{display:flex;align-items:center;gap:0.65rem}
.chat-av{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold-dark));display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',Georgia,serif;font-size:1rem;font-weight:600;color:var(--bg)}
.chat-hname{font-size:0.88rem;font-weight:500;color:var(--cream)}
.chat-hstatus{font-size:0.65rem;color:var(--green);display:flex;align-items:center;gap:0.3rem}
.chat-hstatus::before{content:'';width:5px;height:5px;background:var(--green);border-radius:50%}
.chat-hbtn{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text-muted);transition:all 0.2s;background:transparent;border:none}
.chat-hbtn:hover{background:var(--surface);color:var(--cream)}
.chat-hbtn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}

.chat-messages{flex:1;overflow-y:auto;padding:1.25rem;display:flex;flex-direction:column;gap:0.85rem;scroll-behavior:smooth}
.chat-messages::-webkit-scrollbar{width:3px}
.chat-messages::-webkit-scrollbar-thumb{background:var(--gold-dark);border-radius:2px}

.msg{max-width:85%;display:flex;flex-direction:column;gap:0.2rem;animation:msgIn 0.3s cubic-bezier(0.16,1,0.3,1) both}
@keyframes msgIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.msg.assistant{align-self:flex-start}
.msg.user{align-self:flex-end}
.msg-bubble{padding:0.75rem 1rem;font-size:0.82rem;line-height:1.6;color:var(--text-body)}
.msg.assistant .msg-bubble{background:var(--surface);border:1px solid var(--border);border-radius:2px 10px 10px 10px}
.msg.user .msg-bubble{background:linear-gradient(135deg,var(--gold-dark),var(--gold));color:var(--bg);font-weight:400;border-radius:10px 2px 10px 10px}
.typing-indicator{display:flex;gap:3px;padding:0.75rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:2px 10px 10px 10px;align-self:flex-start}
.typing-dot{width:5px;height:5px;border-radius:50%;background:var(--gold);opacity:0.4;animation:typBounce 1.4s ease-in-out infinite}
.typing-dot:nth-child(2){animation-delay:0.2s}
.typing-dot:nth-child(3){animation-delay:0.4s}
@keyframes typBounce{0%,60%,100%{transform:translateY(0);opacity:0.4}30%{transform:translateY(-5px);opacity:1}}
.quick-actions{display:flex;flex-wrap:wrap;gap:0.4rem;margin-top:0.3rem;animation:msgIn 0.3s cubic-bezier(0.16,1,0.3,1) 0.15s both}
.chip{padding:0.4rem 0.85rem;font-size:0.7rem;color:var(--gold);border:1px solid var(--border-hover);background:transparent;transition:all 0.3s;font-family:'Outfit',sans-serif}
.chip:hover{background:var(--gold);color:var(--bg);border-color:var(--gold)}
.chat-input-area{padding:0.85rem 1.25rem;border-top:1px solid var(--border);background:var(--bg-card);flex-shrink:0}
.chat-input-wrap{display:flex;align-items:flex-end;gap:0.6rem}
.chat-input{flex:1;padding:0.65rem 0.85rem;background:var(--surface);border:1px solid var(--border);color:var(--cream);font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:300;resize:none;outline:none;min-height:38px;max-height:100px;line-height:1.5;transition:border-color 0.3s}
.chat-input:focus{border-color:var(--gold)}
.chat-input::placeholder{color:var(--text-muted)}
.chat-send{width:38px;height:38px;flex-shrink:0;background:var(--gold);display:flex;align-items:center;justify-content:center;transition:all 0.3s;border:none}
.chat-send:hover{background:var(--gold-light)}
.chat-send:disabled{opacity:0.4}
.chat-send svg{width:16px;height:16px;fill:var(--bg)}
.chat-powered{text-align:center;margin-top:0.4rem;font-size:0.55rem;color:var(--text-muted)}
.chat-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0;overflow:hidden;pointer-events:none;tabindex:-1}
.grecaptcha-badge{visibility:hidden!important}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media(max-width:1024px){
  /* Solid nav background on mobile — prevents hero badge bleeding through */
  .nav{background:var(--nav-bg)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
  .nav::before{display:none!important}
  .nav-center,.nav-phone{display:none}
  /* Hide nav-right clutter on mobile — moved to hamburger menu */
  .nav-right .theme-toggle,
  .nav-right .nav-acct,
  .nav-right .nav-notif,
  .nav-right .nav-admin-link{display:none!important}
  /* Show nav chat icon on mobile, hide floating trigger */
  .nav-chat{display:flex}
  .chat-trigger{display:none!important}
  /* Reposition chat preview to drop down from nav */
  .chat-preview{top:60px;bottom:auto;right:0.75rem;transform-origin:top right;transform:translateY(-12px) scale(0.95)}
  .chat-preview.show{transform:translateY(0) scale(1)}
  .nav-toggle{display:flex}
  .mobile-menu{display:flex}
  .about{grid-template-columns:1fr;gap:2.5rem}
  .areas-grid{grid-template-columns:repeat(2,1fr)}
  .services-grid{grid-template-columns:1fr}
  .service-card{border-right:none;border-bottom:1px solid var(--border)}
  .service-card:last-child{border-bottom:none}
  .test-grid{grid-template-columns:1fr}
  .cta-inner{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr 1fr;gap:2rem}
  .stats-bar{grid-template-columns:repeat(2,1fr)}
  .featured-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .hero{padding:0 1.5rem 3.5rem}
  .about,.areas,.featured,.services,.testimonials,.blog,.cta{padding-left:1.25rem;padding-right:1.25rem}
  .nav{padding:0.85rem 1.5rem}
  .nav-logo-name{font-size:1rem}
  .nav-logo-sub{font-size:0.4rem;letter-spacing:0.2em}
  .nav-kw{height:38px}
  .nav-divider{height:24px}
  .nav-logo{gap:0.75rem}
  .hero-actions{flex-direction:column;align-items:flex-start}
  .hero-scroll{display:none}
  .areas-grid,.featured-grid{grid-template-columns:1fr}
  .blog-grid{grid-template-columns:1fr}
  .blog-header{flex-direction:column;align-items:flex-start;gap:1rem}
  .areas-header{flex-direction:column;gap:1rem}
  .form-row{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:0.75rem;text-align:center}
  .stats-bar{grid-template-columns:1fr 1fr}
  .about-values{grid-template-columns:1fr}
  .about-kw{left:0.75rem}
  .chat-preview{width:calc(100vw - 4rem);right:2rem;bottom:5.5rem}
  .chat-panel{width:calc(100vw - 1.5rem);height:calc(100dvh - 5rem);max-height:calc(100dvh - 5rem);bottom:0.75rem;right:0.75rem;border:1px solid var(--border);border-radius:12px}
  .chat-panel.minimized{width:280px;height:48px;max-height:none;bottom:2rem;right:2rem;border:1px solid var(--border)}
  .chat-trigger{padding:0.55rem 1rem 0.55rem 0.55rem}
  .chat-trigger-av{width:32px;height:32px;font-size:0.85rem}
  .chat-trigger-name{font-size:0.72rem}
  .chat-trigger-status{font-size:0.52rem}
  /* Prevent iOS Safari auto-zoom on input focus (triggers at <16px) */
  input,select,textarea{font-size:16px !important}
}




/* ═══════════════════════════════════════════════════════
   HERO PRICE POPOVER
   ═══════════════════════════════════════════════════════ */
.hp-field{position:relative;flex:0 0 175px!important;min-width:175px!important;max-width:175px!important}
.hp-trigger{
  cursor:pointer;font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:300;
  color:#F5F0E8;padding-right:14px;height:1.3rem;line-height:1.3rem;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23C4B08C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 0 center;
}
.hp-trigger .hp-val{color:var(--gold);font-weight:400}
.hp-trigger .hp-placeholder{color:rgba(245,240,232,0.35)}

/* Popover panel — desktop */
.hp-pop{
  display:none;position:absolute;bottom:100%;left:50%;transform:translateX(-50%);
  width:440px;z-index:9998;padding-bottom:16px;
}
.hp-pop-inner{
  background:var(--bg-card);border:1px solid var(--border-hover);
  box-shadow:0 -10px 50px rgba(0,0,0,0.5);padding:1.15rem 1.35rem 0.85rem;position:relative;width:100%;box-sizing:border-box;
}
[data-theme="light"] .hp-pop-inner{box-shadow:0 -10px 50px rgba(0,0,0,0.12)}
.hp-pop.open{display:block}
/* Arrow */
.hp-pop-inner::before{
  content:'';position:absolute;bottom:-7px;left:50%;transform:translateX(-50%) rotate(45deg);
  width:12px;height:12px;background:var(--bg-card);border-right:1px solid var(--border-hover);
  border-bottom:1px solid var(--border-hover);
}
.hp-pop-label{font-size:0.5rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--gold);margin-bottom:0.6rem}
.hp-pop-slider .ps-track{height:8px;border-radius:4px}
.hp-pop-slider .ps-fill{border-radius:4px}
.hp-pop-slider .ps-thumb{width:24px;height:24px;border-width:3px}
.hp-pop-slider .ps-ticks{margin-top:0.5rem}
.hp-pop-slider .ps-ticks span{font-size:0.6rem}
.hp-pop-slider .ps-display{font-size:0.88rem;margin-bottom:0.35rem;height:1.2rem;line-height:1.2rem;font-weight:400;overflow:hidden;white-space:nowrap;width:100%;text-align:center;box-sizing:border-box}
.hp-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:0.4rem;margin-top:0.65rem;margin-bottom:0.15rem}
.hp-preset{
  padding:0.5rem 0.4rem;border:1px solid var(--border);background:transparent;
  color:var(--text-body);font-family:'Outfit',sans-serif;font-size:0.68rem;
  cursor:pointer;transition:all 0.25s;text-align:center;letter-spacing:0.02em;
}
.hp-preset:hover,.hp-preset.active{border-color:var(--gold);color:var(--gold);background:rgba(196,176,140,0.08)}
.hp-quick-label{font-size:0.45rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--text-muted);margin-top:0.55rem;margin-bottom:0.3rem}

/* Mobile: bottom sheet */
.hp-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.6);z-index:5500}
.hp-overlay.open{display:block}
.hp-sheet{
  position:fixed;bottom:0;left:0;right:0;z-index:5501;
  background:var(--bg-card);border-top:1px solid var(--border-hover);
  padding:1.5rem 1.5rem 2.5rem;padding-bottom:calc(2.5rem + env(safe-area-inset-bottom, 0px));
  transform:translateY(100%);transition:transform 0.35s cubic-bezier(0.16,1,0.3,1);
  border-radius:16px 16px 0 0;max-height:85vh;max-height:85dvh;overflow-y:auto;overscroll-behavior:contain;
}
.hp-sheet.open{transform:translateY(0)}
.hp-sheet-handle{width:36px;height:4px;background:var(--border);border-radius:2px;margin:0 auto 1.25rem}
.hp-sheet .hp-pop-label{margin-bottom:1rem}
.hp-sheet .hp-pop-slider .ps-track{height:10px}
.hp-sheet .hp-pop-slider .ps-thumb{width:28px;height:28px}
.hp-sheet .hp-pop-slider .ps-display{font-size:1.15rem;height:1.5rem;line-height:1.5rem;overflow:hidden}
.hp-sheet .hp-pop-slider .ps-ticks span{font-size:0.65rem}
.hp-sheet .hp-presets{grid-template-columns:1fr 1fr;gap:0.5rem}
.hp-sheet .hp-preset{padding:0.7rem 0.5rem;font-size:0.78rem}
.hp-sheet-done{
  width:100%;padding:0.9rem;margin-top:1.25rem;background:var(--gold);color:var(--bg);
  border:none;font-family:'Outfit',sans-serif;font-size:0.72rem;font-weight:600;
  letter-spacing:0.18em;text-transform:uppercase;cursor:pointer;transition:background 0.3s;
}
.hp-sheet-done:hover{background:var(--gold-light)}

/* Show popover on desktop, sheet on mobile */
@media(min-width:769px){
  .hp-field:hover .hp-pop,.hp-pop.pinned{display:block}
  .hp-sheet,.hp-overlay{display:none!important}
}
@media(max-width:768px){
  .hp-pop{display:none!important}
}

/* ═══════════════════════════════════════════════════════
   PRICE RANGE SLIDER
   ═══════════════════════════════════════════════════════ */
.ps-wrap{position:relative;width:100%;padding-top:0.1rem}
.ps-track{position:relative;height:6px;background:var(--border);width:100%;border-radius:3px;cursor:pointer;touch-action:none}
.ps-fill{position:absolute;height:100%;background:var(--gold);border-radius:3px;pointer-events:none;top:0;left:0;width:0}
.ps-thumb{
  position:absolute;top:50%;width:18px;height:18px;
  background:var(--gold);border:2px solid var(--bg-card);
  border-radius:50%;transform:translate(-50%,-50%);cursor:grab;
  z-index:3;transition:box-shadow 0.15s;left:0;touch-action:none;
}
.ps-thumb:hover,.ps-thumb.active{box-shadow:0 0 0 5px rgba(196,176,140,0.25)}
.ps-thumb.active{cursor:grabbing;z-index:4}
.ps-thumb.idle{opacity:0.35;z-index:2}
.ps-ticks{display:flex;justify-content:space-between;margin-top:0.45rem;user-select:none}
.ps-ticks span{font-size:0.48rem;color:var(--text-muted);letter-spacing:0.05em}
.ps-display{
  font-family:'Outfit',sans-serif;font-size:0.72rem;font-weight:400;
  color:var(--gold);text-align:center;height:1.1rem;line-height:1.1rem;margin-bottom:0.25rem;
  letter-spacing:0.05em;
}
.tp-search-field .price-slider-display{font-size:0.8rem;margin-bottom:0.45rem}

/* ═══════════════════════════════════════════════════════
   TOWN PAGE SEARCH
   ═══════════════════════════════════════════════════════ */
.tp-search{margin:2.5rem 0 2rem;padding:2rem;border:1px solid var(--border);background:var(--bg-warm)}
.tp-search-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.4rem;font-weight:400;color:var(--cream);margin-bottom:0.25rem}
.tp-search-sub{font-size:0.78rem;color:var(--text-muted);margin-bottom:1.25rem}
.tp-search-bar{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:0.75rem;align-items:end}
.tp-search-field{display:flex;flex-direction:column;gap:0.25rem}
.tp-search-field label{font-size:0.5rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold)}
.tp-search-field select,.tp-search-field input{
  background:var(--bg-card);border:1px solid var(--border);color:var(--cream);
  font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:300;
  padding:0.7rem 0.9rem;outline:none;appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23C4B08C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 0.75rem center;transition:border-color 0.3s;
}
.tp-search-field input{background-image:none}
.tp-search-field select:focus,.tp-search-field input:focus{border-color:var(--gold)}
.tp-search-field select option{background:var(--bg-card);color:var(--cream)}
[data-theme="light"] .tp-search-field select,[data-theme="light"] .tp-search-field input{color:#1A1815}
.tp-search-btn{
  padding:0.72rem 1.5rem;background:var(--gold);color:var(--bg);border:none;
  font-family:'Outfit',sans-serif;font-size:0.65rem;font-weight:600;
  letter-spacing:0.18em;text-transform:uppercase;cursor:pointer;transition:background 0.3s;
  display:flex;align-items:center;gap:0.5rem;white-space:nowrap;
}
.tp-search-btn:hover{background:var(--gold-light)}
.tp-search-btn svg{width:15px;height:15px;stroke:var(--bg);fill:none;stroke-width:2}
.tp-results-info{font-size:0.78rem;color:var(--text-muted);margin:1.5rem 0 1rem;display:flex;align-items:center;justify-content:space-between}
.tp-results-info .tp-clear{color:var(--gold);cursor:pointer;font-size:0.7rem;letter-spacing:0.1em;text-transform:uppercase;background:none;border:none;font-family:'Outfit',sans-serif;transition:color 0.3s}
.tp-results-info .tp-clear:hover{color:var(--gold-light)}
.tp-no-results{text-align:center;padding:3rem 2rem;color:var(--text-muted);font-size:0.9rem}
.tp-no-results strong{color:var(--cream);display:block;margin-bottom:0.5rem;font-family:'Cormorant Garamond',Georgia,serif;font-size:1.3rem;font-weight:400}
@media(max-width:768px){
  .tp-search-bar{grid-template-columns:1fr 1fr}
  .tp-search-btn{grid-column:1/-1;justify-content:center}
}
@media(max-width:480px){
  .tp-search-bar{grid-template-columns:1fr}
}

/* ═══════════════════════════════════════════════════════
   PAGE OVERLAYS (Town Landing Pages + Blog Posts)
   ═══════════════════════════════════════════════════════ */
.page-overlay{position:fixed;inset:0;z-index:5000;background:var(--bg);overflow-y:auto;opacity:0;pointer-events:none;transition:opacity 0.4s;overscroll-behavior:contain}
.page-overlay.active{opacity:1;pointer-events:all}
.page-overlay-close{position:fixed;top:1.5rem;right:2rem;z-index:5001;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:var(--surface);border:1px solid var(--border);color:var(--cream);cursor:pointer;transition:all 0.3s;font-size:1.2rem}
.page-overlay-close:hover{background:var(--gold);color:var(--bg);border-color:var(--gold)}
.page-hero{position:relative;height:50vh;min-height:350px;overflow:hidden;display:flex;align-items:flex-end}
.page-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.page-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,11,9,0.1) 0%,rgba(12,11,9,0.85) 100%)}
[data-theme="light"] .page-hero-overlay{background:linear-gradient(180deg,rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.7) 100%)}
[data-theme="light"] .page-hero-content h1{color:#F5F0E8}
[data-theme="light"] .page-hero-content h1 em{color:var(--gold-light)}
[data-theme="light"] .page-hero-content .page-sub{color:rgba(245,240,232,0.75)}
[data-theme="light"] .page-hero-content .section-label{color:var(--gold-light)}
.page-hero-content{position:relative;z-index:2;padding:3rem;max-width:900px}
.page-hero-content .section-label{margin-bottom:0.75rem}
.page-hero-content h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.2rem,5vw,3.8rem);font-weight:300;color:var(--cream);line-height:1.1;margin-bottom:0.5rem}
.page-hero-content h1 em{color:var(--gold-light);font-style:italic}
.page-hero-content .page-sub{font-size:0.95rem;color:var(--text-body);max-width:550px}
.page-body{max-width:860px;margin:0 auto;padding:4rem 2rem 5rem}
.page-body h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.8rem;font-weight:400;color:var(--cream);margin:2.5rem 0 1rem}
.page-body h2 em{color:var(--gold-light);font-style:italic}
.page-body p{font-size:0.95rem;color:var(--text-body);line-height:1.85;margin-bottom:1.25rem}
.page-body ul{margin:0 0 1.5rem 1.5rem}
.page-body ul li{font-size:0.92rem;color:var(--text-body);line-height:1.8;margin-bottom:0.3rem}
.page-body ul li::marker{color:var(--gold)}
.page-body blockquote{border-left:3px solid var(--gold);padding:1rem 1.5rem;margin:1.5rem 0;background:var(--surface);font-style:italic;color:var(--text-body);font-size:0.95rem}
.page-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin:2rem 0}
.page-stat{text-align:center;padding:1.5rem;border:1px solid var(--border)}
.page-stat-num{font-family:'Cormorant Garamond',Georgia,serif;font-size:2rem;color:var(--gold);font-weight:300}
.page-stat-label{font-size:0.65rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--text-muted);margin-top:0.25rem}
.page-listings-sub{font-size:0.85rem;color:var(--text-muted);margin-bottom:2rem}
.page-cta{text-align:center;padding:3rem 2rem;margin-top:2rem;border:1px solid var(--border);background:var(--bg-warm)}
.page-cta h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.6rem;font-weight:300;color:var(--cream);margin-bottom:0.5rem}
.page-cta p{color:var(--text-muted);font-size:0.88rem;margin-bottom:1.25rem}
@media(max-width:768px){
  .page-hero{height:40vh;min-height:280px}
  .page-stats{grid-template-columns:1fr}
  .page-hero-content{padding:2rem}
}


/* ═══════════════════════════════════════════════════════
   PROPERTY DETAIL PAGE
   ═══════════════════════════════════════════════════════ */
.prop-overlay{position:fixed;inset:0;z-index:5000;background:var(--bg);overflow-y:auto;overflow-x:hidden;opacity:0;pointer-events:none;transition:opacity 0.5s cubic-bezier(0.16,1,0.3,1);overscroll-behavior:contain}
.prop-overlay.active{opacity:1;pointer-events:all}

/* View Transitions: Card <-> Property Detail */
::view-transition-old(root),
::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-group(card-hero){animation-duration:0.4s;animation-timing-function:cubic-bezier(0.16,1,0.3,1)}
::view-transition-old(card-hero){animation:vt-fade-out 0.25s ease forwards}
::view-transition-new(card-hero){animation:vt-fade-in 0.25s ease 0.1s forwards;opacity:0}
@keyframes vt-fade-out{to{opacity:0}}
@keyframes vt-fade-in{to{opacity:1}}
html:has(::view-transition) .prop-overlay.active{opacity:1;transition:none}
html:has(::view-transition) .prop-overlay:not(.active){opacity:0;transition:none}

/* Property page theme toggle */
.prop-theme-toggle{
  position:fixed;top:1.5rem;right:5.5rem;z-index:5002;width:48px;height:48px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(12,11,9,0.7);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(196,176,140,0.2);color:var(--gold);cursor:pointer;border-radius:50%;
  transition:all 0.3s;font-size:1rem;
}
.prop-theme-toggle:hover{background:var(--gold);border-color:var(--gold);color:var(--bg)}
[data-theme="light"] .prop-theme-toggle{background:rgba(255,255,255,0.8)}
.prop-toggle-sun{display:none;font-size:1rem}
.prop-toggle-moon{display:inline;font-size:1rem}
[data-theme="light"] .prop-toggle-sun{display:inline}
[data-theme="light"] .prop-toggle-moon{display:none}
.prop-close{position:fixed;top:1.5rem;right:2rem;z-index:5002;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(12,11,9,0.7);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(196,176,140,0.2);color:var(--cream);cursor:pointer;transition:all 0.3s;font-size:1.3rem;border-radius:50%}
.prop-close:hover{background:var(--gold);color:var(--bg);border-color:var(--gold)}
[data-theme="light"] .prop-close{background:rgba(255,255,255,0.8);color:var(--cream)}

/* Hero gallery — sticky with scroll-over */
.prop-hero-wrap{position:sticky;top:0;height:70vh;min-height:500px;z-index:0}
.prop-hero{position:relative;width:100%;height:100%;overflow:hidden}
.prop-hero::after{content:'';position:absolute;inset:0;background:#000;opacity:var(--hero-fade,0);pointer-events:none;z-index:1;transition:opacity 0.1s ease}
.prop-hero-img{width:100%;height:130%;background-size:cover;background-position:center center;background-repeat:no-repeat;transition:opacity 0.5s ease,transform 0.3s ease-out;cursor:zoom-in;will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.prop-hero-img.fade{opacity:0}
.prop-hero-content{position:absolute;bottom:1rem;left:1.25rem;right:1.25rem;z-index:2;display:flex;align-items:flex-end;gap:0.75rem}
/* Scroll-over gradient — sits between sticky image and content */
.prop-content-area{position:relative;z-index:2;background:var(--bg)}
.prop-content-area::before{
  content:'';position:absolute;top:-8rem;left:0;right:0;height:8rem;
  background:linear-gradient(180deg,transparent 0%,var(--bg) 100%);
  pointer-events:none;opacity:0;transition:opacity 0.6s ease;z-index:3;
}
.prop-content-area.scroll-fade::before{opacity:1}

/* Image navigation arrows */
.prop-nav{position:absolute;top:0;bottom:0;width:80px;z-index:3;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity 0.35s}
.prop-nav:hover{opacity:1}
.prop-nav-left{left:0;background:linear-gradient(90deg,rgba(0,0,0,0.3) 0%,transparent 100%)}
.prop-nav-right{right:0;background:linear-gradient(-90deg,rgba(0,0,0,0.3) 0%,transparent 100%)}
.prop-nav svg{width:32px;height:32px;stroke:#fff;stroke-width:2;fill:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,0.3))}
.prop-nav:active svg{transform:scale(0.9)}
/* Image counter — overlays active thumbnail */
.prop-img-count{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:0.5rem;letter-spacing:0.15em;color:#fff;background:rgba(0,0,0,0.45);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:opacity 0.3s;text-transform:uppercase}
.prop-thumb.active .prop-img-count{opacity:1}
/* Fullscreen hint */
.prop-hero-expand{position:absolute;top:1.25rem;left:1.25rem;z-index:3;background:rgba(0,0,0,0.4);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.15);padding:0.4rem 0.75rem;display:flex;align-items:center;gap:0.4rem;cursor:pointer;opacity:0;transition:opacity 0.35s;color:rgba(255,255,255,0.8);font-size:0.58rem;letter-spacing:0.15em;text-transform:uppercase}
.prop-hero-counter{position:absolute;top:1.25rem;right:1.25rem;z-index:3;background:rgba(0,0,0,0.5);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.1);padding:0.3rem 0.7rem;font-size:0.7rem;letter-spacing:0.08em;color:rgba(255,255,255,0.85);font-family:var(--font-body);display:none;align-items:center;gap:0.35rem}
.prop-hero:hover .prop-hero-expand{opacity:1}
.prop-hero-expand svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}

/* Fullscreen lightbox */
.prop-lightbox{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,0.95);display:none;align-items:center;justify-content:center;cursor:zoom-out}
.prop-lightbox.open{display:flex}
.prop-lightbox img{max-width:92vw;max-height:92vh;object-fit:contain;user-select:none}
.prop-lightbox-close{position:fixed;top:1.5rem;right:2rem;z-index:10001;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.15);color:#fff;cursor:pointer;font-size:1.5rem;border-radius:50%;transition:all 0.3s}
.prop-lightbox-close:hover{background:rgba(255,255,255,0.2)}
.prop-lb-nav{position:fixed;top:50%;transform:translateY(-50%);z-index:10001;width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);cursor:pointer;border-radius:50%;transition:all 0.3s}
.prop-lb-nav:hover{background:rgba(255,255,255,0.18)}
.prop-lb-nav svg{width:24px;height:24px;stroke:#fff;stroke-width:2;fill:none}
.prop-lb-prev{left:1.5rem}
.prop-lb-next{right:1.5rem}
.prop-lb-count{position:fixed;bottom:2rem;left:50%;transform:translateX(-50%);z-index:10001;color:rgba(255,255,255,0.5);font-size:0.65rem;letter-spacing:0.25em}

/* Price/address bar below hero image */
.prop-info-bar{position:relative;z-index:2;background:var(--bg);border-bottom:1px solid var(--border);border-top:1px solid var(--border)}
.prop-info-bar-inner{max-width:1200px;margin:0 auto;padding:1.75rem 4rem;display:flex;align-items:center;justify-content:space-between}
.prop-info-left{}
.prop-hero-price{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.2rem,4.5vw,3.2rem);font-weight:300;color:var(--cream);line-height:1;margin-bottom:0.3rem;letter-spacing:-0.02em}
.prop-hero-addr{font-size:0.95rem;color:var(--text-body);font-weight:300;margin-bottom:0.1rem}
.prop-hero-city{font-size:0.6rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--gold)}
.prop-info-right{display:flex;align-items:center;gap:0.75rem}
.prop-admin-mls{display:flex;flex-direction:column;align-items:flex-end;gap:0.35rem}
.prop-admin-mls-chip{display:inline-flex;align-items:center;gap:0.4rem;padding:0.35rem 0.7rem;border:1px solid var(--border);border-radius:6px;font-size:0.7rem;letter-spacing:0.04em;color:var(--text-body);font-family:var(--font-body);white-space:nowrap;cursor:pointer;transition:all 0.2s;background:transparent}
.prop-admin-mls-chip:hover{border-color:var(--gold);color:var(--gold)}
.prop-admin-mls-chip:active{transform:scale(0.96)}
.prop-admin-mls-chip svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;flex-shrink:0}
.prop-admin-mls-chip.copied{border-color:var(--green,#4ade80);color:var(--green,#4ade80)}
.prop-info-scroll-hint{display:flex;align-items:center;gap:0.4rem;color:var(--text-muted);font-size:0.6rem;letter-spacing:0.15em;text-transform:uppercase;animation:hintPulse 2s ease-in-out 4}
@keyframes hintPulse{0%,100%{opacity:0.4}50%{opacity:1}}
.prop-info-print-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.6rem 1.2rem;background:transparent;border:1px solid var(--border);color:var(--text-muted);font-family:'Outfit',sans-serif;font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;transition:all 0.3s}
.prop-info-print-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;transition:all 0.3s}
.prop-info-print-btn:hover{border-color:var(--gold);color:var(--gold)}
.prop-share-topbar{display:inline-flex;align-items:center;gap:0.5rem;padding:0.6rem 1.2rem;background:transparent;border:1px solid var(--border);color:var(--text-muted);font-family:'Outfit',sans-serif;font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;transition:all 0.3s}
.prop-share-topbar svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;transition:all 0.3s}
.prop-share-topbar:hover{border-color:var(--gold);color:var(--gold)}
@media(max-width:768px){
  .prop-info-bar-inner{padding:1.25rem 1.5rem}
  .prop-info-scroll-hint{display:none}
  .prop-info-print-btn span{display:none}
  .prop-info-print-btn{padding:0.5rem}
  .prop-share-topbar span{display:none}
  .prop-share-topbar{padding:0.5rem}
}

.prop-hero-status{display:inline-flex;align-items:center;gap:0.5rem;padding:0.4rem 0.9rem;font-size:0.55rem;font-weight:600;letter-spacing:0.2em;text-transform:uppercase;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.prop-hero-status.active-status{background:var(--gold);color:var(--bg)}
.prop-hero-status.pending-status{background:var(--red-soft);color:#fff}
.prop-hero-status.sold-status{background:var(--green);color:#fff}
.prop-hero-status::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}


/* Gallery thumbnails */
.prop-thumbs{display:flex;gap:0.4rem;overflow-x:auto;scrollbar-width:none}
.prop-thumbs::-webkit-scrollbar{display:none}
.prop-thumb{position:relative;width:64px;height:46px;border:2px solid transparent;cursor:zoom-in;overflow:hidden;opacity:0.6;transition:all 0.3s;flex-shrink:0}
.prop-thumb:hover,.prop-thumb.active{opacity:1;border-color:var(--gold)}
.prop-thumb img{width:100%;height:100%;object-fit:cover}

/* Quick stats ribbon */
.prop-stats{display:flex;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg-warm)}
.prop-stat{flex:1;padding:1.5rem 2rem;text-align:center;border-right:1px solid var(--border);transition:background 0.3s}
.prop-stat:last-child{border-right:none}
.prop-stat:hover{background:var(--surface)}
.prop-stat-val{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.8rem;font-weight:300;color:var(--cream);line-height:1;margin-bottom:0.3rem}
.prop-stat-label{font-size:0.55rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--text-muted)}

/* Body layout */
.prop-body{max-width:1200px;margin:0 auto;padding:3.5rem 4rem;display:grid;grid-template-columns:1fr 380px;gap:4rem}

/* Left column */
.prop-main{}
.prop-section-label{display:inline-flex;align-items:center;gap:0.75rem;font-size:0.55rem;letter-spacing:0.3em;text-transform:uppercase;color:var(--gold);margin-bottom:0.75rem}
.prop-section-label::before{content:'';width:25px;height:1px;background:var(--gold)}
.prop-section-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.8rem;font-weight:300;color:var(--cream);margin-bottom:1.25rem;line-height:1.2}
.prop-section-title em{font-style:italic;color:var(--gold-light)}
.prop-desc{font-size:0.92rem;color:var(--text-body);line-height:1.9;margin-bottom:1rem}

/* Features grid */
.prop-features{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:2rem 0;border:1px solid var(--border)}
.prop-feat{display:flex;align-items:center;gap:0.85rem;padding:1rem 1.25rem;border-bottom:1px solid var(--border);border-right:1px solid var(--border);transition:background 0.3s}
.prop-feat:nth-child(even){border-right:none}
.prop-feat:nth-last-child(-n+2){border-bottom:none}
.prop-feat:hover{background:var(--surface)}
.prop-feat svg{width:20px;height:20px;stroke:var(--gold);fill:none;stroke-width:1.5;flex-shrink:0}
.prop-feat-info{}
.prop-feat-val{font-size:0.88rem;color:var(--cream);font-weight:400}
.prop-feat-label{font-size:0.6rem;color:var(--text-muted);letter-spacing:0.1em;text-transform:uppercase;margin-top:0.1rem}

/* Highlights */
.prop-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin:2rem 0}
.prop-highlight{padding:1.5rem;border:1px solid var(--border);text-align:center;transition:all 0.4s}
.prop-highlight:hover{border-color:var(--gold);transform:translateY(-2px)}
.prop-highlight svg{width:28px;height:28px;stroke:var(--gold);fill:none;stroke-width:1.5;margin:0 auto 0.75rem}
.prop-highlight-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1rem;color:var(--cream);margin-bottom:0.25rem}
.prop-highlight-desc{font-size:0.72rem;color:var(--text-muted);line-height:1.5}

/* Property detail map */
.prop-map{position:relative;height:300px;background:var(--surface);border:1px solid var(--border);margin:2rem 0;overflow:hidden;border-radius:4px;z-index:1}
.prop-map .maplibregl-map{height:100%;width:100%}
.prop-map canvas{filter:sepia(0.08) brightness(0.97)}

/* BBO Admin Notes (property overlay) */
.prop-admin-notes{margin-top:2rem;padding:1.25rem 1.5rem;border-left:3px solid var(--gold);background:rgba(196,176,140,0.06);border-radius:0 4px 4px 0}
.prop-admin-notes .prop-section-label{margin-top:0;display:flex;align-items:center;gap:0.6rem}
.admin-badge{font-size:0.55rem;letter-spacing:0.1em;text-transform:uppercase;background:var(--gold);color:var(--bg);padding:0.15rem 0.5rem;border-radius:10px;font-weight:600;font-family:'Outfit',sans-serif}
.admin-mls-copy{margin:0.75rem 0 0.25rem}
.admin-mls-btn{display:inline-flex;align-items:center;gap:0.4rem;padding:0.45rem 0.85rem;font-size:0.72rem;font-weight:600;font-family:'Outfit',sans-serif;letter-spacing:0.06em;color:var(--bg);background:var(--gold);border:none;border-radius:4px;cursor:pointer;transition:all 0.2s}
.admin-mls-btn:hover{background:var(--gold-light);transform:translateY(-1px)}
.admin-mls-btn svg{stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.prop-admin-field{margin-top:0.75rem}
.prop-admin-field:empty{display:none}
.prop-admin-field-label{font-size:0.62rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:0.2rem;font-family:'Outfit',sans-serif}
.prop-admin-field-value{font-size:0.82rem;color:var(--cream);line-height:1.55;white-space:pre-wrap}
/* Collapsible admin sections */
.admin-section{border-bottom:1px solid var(--border);margin-top:0}
.admin-section:first-of-type{margin-top:0.75rem}
.admin-section-header{display:flex;align-items:center;justify-content:space-between;padding:0.65rem 0;cursor:pointer;font-size:0.72rem;letter-spacing:0.08em;text-transform:uppercase;font-weight:600;color:var(--cream);font-family:'Outfit',sans-serif;user-select:none;-webkit-user-select:none}
.admin-section-header:hover{color:var(--gold)}
.admin-section-header svg{stroke:var(--text-muted);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform 0.3s;flex-shrink:0}
.admin-section.open .admin-section-header svg{transform:rotate(180deg)}
.admin-section-body{max-height:0;overflow:hidden;transition:max-height 0.35s cubic-bezier(0.16,1,0.3,1)}
.admin-section.open .admin-section-body{max-height:2000px}

/* Right column — sidebar */
.prop-sidebar{position:sticky;top:2rem;align-self:start}

/* Agent card */
.prop-agent{border:1px solid var(--border);padding:2rem;margin-bottom:1.5rem;background:var(--bg-card)}
.prop-agent-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}
.prop-agent-avatar{width:56px;height:56px;border-radius:50%;background:var(--gold);display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',Georgia,serif;font-size:1.2rem;color:var(--bg);font-weight:500}
.prop-agent-name{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.2rem;color:var(--cream);font-weight:400}
.prop-agent-brokerage{font-size:0.75rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold);font-weight:500}
.prop-agent-cta{width:100%;padding:0.9rem;font-family:'Outfit',sans-serif;font-size:0.68rem;font-weight:600;letter-spacing:0.2em;text-transform:uppercase;cursor:pointer;transition:all 0.3s;display:flex;align-items:center;justify-content:center;gap:0.6rem;border:none;margin-bottom:0.65rem;text-decoration:none}
.prop-agent-cta.primary{background:var(--gold);color:var(--bg)}
.prop-agent-cta.primary:hover{background:var(--gold-light)}
.prop-agent-cta.secondary{background:transparent;border:1px solid var(--border-hover);color:var(--cream)}
.prop-agent-cta.secondary:hover{border-color:var(--gold);color:var(--gold)}
.prop-agent-cta svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
.prop-agent-phone{display:flex;align-items:center;justify-content:center;gap:0.5rem;margin-top:1rem;font-size:0.82rem;color:var(--text-body);text-decoration:none;transition:color 0.3s}
.prop-agent-phone:hover{color:var(--gold)}
.prop-agent-phone svg{width:14px;height:14px;stroke:var(--gold);fill:none;stroke-width:2}

/* Mortgage calculator */
.prop-calc{border:1px solid var(--border);padding:1.5rem;margin-bottom:1.5rem;background:var(--bg-card)}
.prop-calc-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.15rem;color:var(--cream);margin-bottom:1rem}
.prop-calc-row{display:flex;justify-content:space-between;align-items:center;padding:0.55rem 0;border-bottom:1px solid var(--border);font-size:0.82rem}
.prop-calc-row:last-of-type{border-bottom:none}
.prop-calc-label{color:var(--text-muted)}
.prop-calc-val{color:var(--cream);font-weight:400}
.prop-calc-total{display:flex;justify-content:space-between;align-items:center;padding:1rem 0 0;margin-top:0.5rem;border-top:2px solid var(--gold)}
.prop-calc-total .prop-calc-label{color:var(--gold);font-size:0.6rem;letter-spacing:0.2em;text-transform:uppercase;font-weight:500}
.prop-calc-total .prop-calc-val{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.6rem;color:var(--gold);font-weight:400}
.prop-calc-note{font-size:0.6rem;color:var(--text-muted);margin-top:0.75rem;line-height:1.5;font-style:italic}

/* Share row */
.prop-share{display:flex;gap:0.5rem;margin-bottom:1.5rem}
.prop-share-btn{flex:1;padding:0.65rem;border:1px solid var(--border);background:transparent;color:var(--text-muted);font-family:'Outfit',sans-serif;font-size:0.6rem;letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:0.4rem;transition:all 0.3s}
.prop-share-btn:hover{border-color:var(--gold);color:var(--gold)}
.prop-share-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.5}

/* Similar listings */
.prop-similar{padding:4rem 4rem;border-top:1px solid var(--border);position:relative;z-index:2;background:var(--bg)}
.prop-similar-inner{max-width:1200px;margin:0 auto}
.prop-similar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}

/* Responsive */
@media(max-width:1024px){
  .prop-body{grid-template-columns:1fr;gap:2.5rem;padding:2.5rem 2rem}
  .prop-sidebar{position:static}
  .prop-hero-content{left:1rem;right:1rem}
  .prop-similar{padding:3rem 2rem}
}
@media(max-width:768px){
  .prop-hero-wrap{height:50vh;min-height:320px}
  .prop-hero-content{padding:0 1.5rem 2rem}
  .prop-hero-price{font-size:2.5rem}
  .prop-stats{flex-wrap:wrap}
  .prop-stat{flex:1 1 50%;border-bottom:1px solid var(--border)}
  .prop-features{grid-template-columns:1fr}
  .prop-feat{border-right:none}
  .prop-feat:last-child{border-bottom:none}
  .prop-highlights{grid-template-columns:1fr}
  .prop-thumbs{display:none!important}
  .prop-hero-counter{display:flex;align-items:center;gap:0.25rem;font-size:0.65rem;font-weight:500;letter-spacing:0.05em;padding:0.2rem 0.5rem;background:rgba(0,0,0,0.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border:none;top:0.75rem;right:0.75rem}
  .prop-hero-counter svg{width:12px;height:12px;opacity:0.8;flex-shrink:0}
  .prop-hero-counter.loaded{animation:counterPulse 0.6s ease}
  .prop-nav{opacity:0.7;width:54px}
  .prop-nav svg{width:28px;height:28px}
  .prop-hero-expand{opacity:0.8}
  .prop-similar-grid{grid-template-columns:1fr}
  .prop-body{padding:2rem 1.25rem}
}



/* ═══════════════════════════════════════════════════
   SEARCH RESULTS PAGE
   ═══════════════════════════════════════════════════ */
.search-overlay{position:fixed;inset:0;z-index:4000;background:var(--bg);display:none;flex-direction:column;overflow:hidden;overscroll-behavior:contain}
.search-overlay.active{display:flex}

/* Top bar */
.sr-topbar{display:flex;align-items:center;justify-content:space-between;padding:0.75rem 1.5rem;border-bottom:1px solid var(--border);background:var(--bg);z-index:2;flex-shrink:0}
.sr-topbar-left{display:flex;align-items:center;gap:1rem}
.sr-back{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--border);cursor:pointer;color:var(--cream);transition:all 0.3s;border-radius:50%}
.sr-back:hover{border-color:var(--gold);color:var(--gold)}
.sr-back svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.sr-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.3rem;font-weight:300;color:var(--cream)}
.sr-title em{font-style:italic;color:var(--gold)}
.sr-count{font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold);font-weight:500}
.sr-topbar-right{display:flex;align-items:center;gap:0.75rem}

/* Filter bar */
.sr-filters{display:flex;align-items:center;gap:0.5rem;padding:0.65rem 1.5rem;border-bottom:1px solid var(--border);background:var(--bg-warm);flex-shrink:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.sr-filters::-webkit-scrollbar{height:0}
.sr-filter-chip{display:flex;align-items:center;gap:0.35rem;padding:0.4rem 0.85rem;border:1px solid var(--border);background:transparent;color:var(--text-body);font-size:0.65rem;letter-spacing:0.08em;cursor:pointer;transition:all 0.3s;white-space:nowrap;font-family:'Outfit',sans-serif}
.sr-filter-chip:hover{border-color:var(--gold);color:var(--gold)}
.sr-filter-chip.active{border-color:var(--gold);background:rgba(196,176,140,0.1);color:var(--gold)}
.sr-filter-chip svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2}
.sr-filter-chip select{background:transparent;border:none;color:inherit;font-size:inherit;font-family:inherit;letter-spacing:inherit;cursor:pointer;outline:none;appearance:none;-webkit-appearance:none;padding-right:0.75rem}
.sr-filter-chip select option{background:var(--bg);color:var(--cream)}
/* Multi-select area dropdown */
.sr-multi-chip{position:relative;user-select:none}
.sr-multi-label{font-size:inherit;letter-spacing:inherit;pointer-events:none}
.sr-multi-arrow{width:10px!important;height:10px!important;transition:transform 0.2s;flex-shrink:0}
.sr-multi-chip.open .sr-multi-arrow{transform:rotate(180deg)}
.sr-multi-dropdown{display:none;position:fixed;min-width:180px;background:var(--bg);border:1px solid var(--border);border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,0.25);z-index:1000;padding:0.35rem 0;max-height:320px;overflow-y:auto}
.sr-multi-dropdown.open{display:block}
.sr-multi-option{display:flex;align-items:center;gap:0.5rem;padding:0.45rem 0.75rem;cursor:pointer;transition:background 0.15s;font-size:0.72rem;font-family:'Outfit',sans-serif;color:var(--cream);white-space:nowrap}
.sr-multi-option:hover{background:rgba(196,176,140,0.08)}
.sr-multi-option input[type="checkbox"]{width:14px;height:14px;accent-color:var(--gold);cursor:pointer;flex-shrink:0}
.sr-multi-option span{pointer-events:none}
.sr-text-search{flex:0 0 auto;min-width:160px;max-width:240px;padding:0.4rem 0.65rem;gap:0.3rem}
.sr-text-search svg{width:12px;height:12px;flex-shrink:0}
.sr-text-input{background:transparent;border:none;outline:none;color:var(--cream);font-family:'Outfit',sans-serif;font-size:0.65rem;letter-spacing:0.05em;width:100%;min-width:0}
.sr-text-input::placeholder{color:var(--text-muted)}
.sr-text-search.active{border-color:var(--gold);background:rgba(196,176,140,0.1)}
.sr-filter-clear{padding:0.4rem 0.75rem;border:none;background:transparent;color:var(--text-muted);font-size:0.6rem;letter-spacing:0.15em;text-transform:uppercase;cursor:pointer;transition:color 0.3s;font-family:'Outfit',sans-serif}
.sr-filter-clear:hover{color:var(--gold)}

/* Split layout */
.sr-body{display:flex;flex:1;overflow:hidden}
.sr-list-panel{width:520px;flex-shrink:0;overflow-y:auto;border-right:1px solid var(--border);background:var(--bg);order:-1}
.sr-map-panel{flex:1;position:relative;min-width:0;contain:layout style paint}
.sr-list-panel::-webkit-scrollbar{width:6px}
.sr-list-panel::-webkit-scrollbar-track{background:var(--bg)}
.sr-list-panel::-webkit-scrollbar-thumb{background:var(--gold-dark);border-radius:3px}

/* Map toggle for mobile */
.sr-view-toggle{display:none;position:fixed;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px));left:50%;transform:translateX(-50%);z-index:4001;background:var(--gold);color:var(--bg);padding:0.65rem 1.5rem;font-size:0.65rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;border:none;cursor:pointer;box-shadow:0 4px 20px rgba(0,0,0,0.4);font-family:'Outfit',sans-serif;transition:all 0.3s}
.sr-view-toggle:hover{background:var(--gold-light)}
.sr-view-toggle svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;vertical-align:middle;margin-right:0.4rem}

/* Listing cards in results */
.sr-cards{padding:0.75rem;display:grid;grid-template-columns:1fr 1fr;gap:0.65rem}
.sr-card{display:flex;flex-direction:column;gap:0;padding:0;border:1px solid var(--border);cursor:pointer;transition:all 0.3s;overflow:hidden;background:var(--bg-card)}
.sr-card:hover{border-color:var(--gold);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.2);background:var(--surface)}
.sr-card.highlighted{border-color:var(--gold);background:rgba(196,176,140,0.06);box-shadow:0 4px 16px rgba(196,176,140,0.15)}
.sr-card-img{width:100%;height:120px;flex-shrink:0;overflow:hidden;position:relative}
.sr-card-img img{width:100%;height:100%;object-fit:cover}
/* Card photo swipe */
.card-swipe-peek{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:2;will-change:transform;pointer-events:none}
.card-swipe-dots{position:absolute;bottom:0.3rem;left:50%;transform:translateX(-50%);display:flex;gap:3px;z-index:5;pointer-events:none}
.card-swipe-dots span{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,0.4);transition:background 0.2s,transform 0.2s}
.card-swipe-dots span.active{background:#fff;transform:scale(1.2)}
.card-swipe-dots span.more{background:none;color:rgba(255,255,255,0.5);font-size:8px;line-height:5px;width:auto}
.sr-card-img .sr-card-badge{position:absolute;top:0.35rem;left:0.35rem;font-size:0.45rem;letter-spacing:0.1em;text-transform:uppercase;padding:0.15rem 0.45rem;background:var(--gold);color:var(--bg);font-weight:600}
.sr-card-img .sr-card-badge.land{background:var(--green-soft, #5a8a5a)}
.sr-card-img .card-fav-heart{width:26px;height:26px;bottom:0.35rem;right:0.35rem}
.sr-card-img .card-fav-heart svg{width:13px;height:13px}
.sr-card-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:0.65rem 0.75rem 0.75rem}
.sr-card-price{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.25rem;font-weight:400;color:var(--cream);line-height:1.1;margin-bottom:0.15rem;display:flex;align-items:baseline;gap:0.5rem}
.sr-card-value{font-family:'Outfit',sans-serif;font-size:0.55rem;font-weight:500;color:var(--gold);letter-spacing:0.06em;white-space:nowrap}
.sr-card-addr{font-size:0.78rem;color:var(--text-body);margin-bottom:0.1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sr-card-city{font-size:0.55rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);margin-bottom:0.35rem}
.sr-card-feats{display:flex;gap:0.65rem;font-size:0.65rem;color:var(--text-muted)}
.sr-card-feats strong{color:var(--cream);font-weight:500}
/* Status tag overlay (Under Contract / Pending) on card images — always bottom-left */
.card-status-tag{position:absolute;bottom:0.5rem;left:0.6rem;padding:0.2rem 0.55rem;font-size:0.48rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;background:rgba(160,65,65,0.92);color:#fff;z-index:4;border-radius:2px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.sr-card-img .card-status-tag{bottom:0.35rem;left:0.35rem;padding:0.15rem 0.4rem;font-size:0.42rem}
.card-photo-count{position:absolute;top:0.35rem;right:0.35rem;background:rgba(0,0,0,0.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);color:rgba(255,255,255,0.9);font-size:0.5rem;font-weight:500;letter-spacing:0.05em;padding:0.15rem 0.4rem;display:flex;align-items:center;gap:0.25rem;font-family:var(--font-body)}
.card-photo-count svg{opacity:0.8}

/* No results */
.sr-no-results{padding:3rem 2rem;text-align:center;grid-column:1/-1}
.sr-no-results h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.5rem;font-weight:300;color:var(--cream);margin-bottom:0.75rem}
.sr-no-results p{color:var(--text-muted);font-size:0.85rem;margin-bottom:1.5rem}

/* Sort dropdown */
.sr-sort{display:flex;align-items:center;gap:0.5rem;font-size:0.6rem;color:var(--text-muted);letter-spacing:0.1em;padding:0.65rem 0.85rem;border-bottom:1px solid var(--border)}
.sr-sort select{background:transparent;border:1px solid var(--border);color:var(--cream);padding:0.3rem 0.5rem;font-size:0.6rem;font-family:'Outfit',sans-serif;cursor:pointer;letter-spacing:0.08em}
.sr-sort select option{background:var(--bg)}

/* MapLibre map overrides for luxury feel */
/* Map container background prevents flash while vector tiles load */
.sr-map-panel .maplibregl-map{height:100%;width:100%;background:#58513f}
[data-theme="light"] .sr-map-panel .maplibregl-map{background:#e8e4db}
/* GPU perf: no CSS filter on canvas — use static overlay div for tint instead */
/* Zoom controls */
.sr-map-panel .maplibregl-ctrl-group{border:none!important;border-radius:4px!important;overflow:hidden;box-shadow:none!important}
.sr-map-panel .maplibregl-ctrl-group button{background:rgba(12,11,9,0.88)!important;color:var(--gold)!important;border:1px solid rgba(196,176,140,0.25)!important;width:38px!important;height:38px!important;transition:all 0.3s!important}
.sr-map-panel .maplibregl-ctrl-group button:hover{background:var(--gold)!important;color:var(--bg)!important;border-color:var(--gold)!important}
.sr-map-panel .maplibregl-ctrl-group button .maplibregl-ctrl-icon{filter:invert(0.7) sepia(1) hue-rotate(10deg) saturate(0.5)}
.sr-map-panel .maplibregl-ctrl-group button:hover .maplibregl-ctrl-icon{filter:invert(0) sepia(0) saturate(1)}
[data-theme="light"] .sr-map-panel .maplibregl-ctrl-group button{background:rgba(255,255,255,0.85)!important;color:var(--gold-dark)!important;border:1px solid rgba(139,119,72,0.25)!important}
/* Attribution */
.sr-map-panel .maplibregl-ctrl-attrib{background:rgba(12,11,9,0.75)!important;color:rgba(196,176,140,0.35)!important;font-size:9px!important;padding:3px 8px!important}
.sr-map-panel .maplibregl-ctrl-attrib a{color:rgba(196,176,140,0.5)!important}
[data-theme="light"] .sr-map-panel .maplibregl-ctrl-attrib{background:rgba(248,246,241,0.7)!important;color:rgba(139,119,72,0.4)!important}

/* Subtle edge vignette — lighter opacity + removed will-change to reduce compositing cost */
.sr-map-overlay{position:absolute;inset:0;z-index:400;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,transparent 60%,rgba(12,11,9,0.22) 100%)}
[data-theme="light"] .sr-map-overlay{background:radial-gradient(ellipse at 50% 50%,transparent 60%,rgba(248,246,241,0.18) 100%)}

/* Map compass/branding */
.sr-map-brand{position:absolute;top:1.25rem;left:1.25rem;z-index:402;pointer-events:none}
.sr-map-brand-text{font-family:'Cormorant Garamond',Georgia,serif;font-size:0.85rem;font-weight:300;color:rgba(196,176,140,0.45);letter-spacing:0.05em;line-height:1}
.sr-map-brand-sub{font-size:0.45rem;letter-spacing:0.3em;text-transform:uppercase;color:rgba(196,176,140,0.3);font-family:'Outfit',sans-serif;margin-top:0.15rem}
[data-theme="light"] .sr-map-brand-text{color:rgba(139,119,72,0.35)}
[data-theme="light"] .sr-map-brand-sub{color:rgba(139,119,72,0.25)}

/* Popup styling */
.sr-popup.maplibregl-popup .maplibregl-popup-content{background:var(--bg-card);border:1px solid var(--border);border-radius:0;box-shadow:0 12px 40px rgba(0,0,0,0.4),0 0 0 1px rgba(196,176,140,0.1);padding:0;font-family:'Outfit',sans-serif}
.sr-popup.maplibregl-popup .maplibregl-popup-tip{border-top-color:var(--bg-card)}
.sr-popup.maplibregl-popup .maplibregl-popup-close-button{color:var(--text-muted);font-size:18px;top:6px;right:6px;background:none;border:none}
.sr-popup-inner{width:220px;cursor:pointer}
.sr-popup-img{width:100%;height:110px;object-fit:cover;display:block}
.sr-popup-body{padding:0.65rem}
.sr-popup-price{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.15rem;color:var(--cream);margin-bottom:0.15rem}
.sr-popup-addr{font-size:0.72rem;color:var(--text-body);margin-bottom:0.1rem}
.sr-popup-city{font-size:0.5rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);margin-bottom:0.35rem}
.sr-popup-feats{font-size:0.6rem;color:var(--text-muted)}
.sr-popup-btn{display:block;width:100%;padding:0.5rem;background:var(--gold);color:var(--bg);border:none;font-size:0.58rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;cursor:pointer;font-family:'Outfit',sans-serif;margin-top:0.5rem}
.sr-popup-btn:hover{background:var(--gold-light)}

/* Map loading state */
.sr-map-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--bg);z-index:1}
.sr-map-loading span{font-size:0.65rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--text-muted);animation:pulse 1.5s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:0.3}50%{opacity:1}}

/* Cluster styles — clusters are now canvas-rendered circles in MapLibre;
   these DOM-based styles are no longer used but kept as reference */

/* Drawing Toolbar */
.sr-draw-toolbar{position:absolute;top:6.5rem;right:1.25rem;z-index:1000;display:flex;flex-direction:column;gap:1px}
.sr-draw-btn{width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:rgba(12,11,9,0.88);color:var(--gold);border:1px solid rgba(196,176,140,0.25);cursor:pointer;padding:0;transition:all 0.3s}
.sr-draw-btn svg{width:18px;height:18px}
.sr-draw-btn:first-child{border-radius:4px 4px 0 0}
.sr-draw-btn:nth-child(3){border-radius:0 0 4px 4px}
.sr-draw-btn.sr-draw-clear{border-radius:4px;margin-top:6px}
.sr-draw-btn:hover{background:var(--gold);color:var(--bg);border-color:var(--gold)}
.sr-draw-btn.active{background:var(--gold);color:var(--bg);border-color:var(--gold)}
[data-theme="light"] .sr-draw-btn{background:rgba(255,255,255,0.85);color:var(--gold-dark);border:1px solid rgba(139,119,72,0.25)}
[data-theme="light"] .sr-draw-btn:hover,[data-theme="light"] .sr-draw-btn.active{background:var(--gold);color:#fff;border-color:var(--gold)}

/* Show More cards button */
.sr-show-more{width:100%;padding:0.85rem;background:var(--surface);border:1px solid var(--border);color:var(--gold);font-family:'Outfit',sans-serif;font-size:0.75rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;cursor:pointer;transition:all 0.2s;grid-column:1/-1}
.sr-show-more:hover{background:var(--gold);color:var(--bg);border-color:var(--gold)}
[data-theme="light"] .sr-show-more:hover{color:#fff}

/* Search this area button */
.sr-search-area-btn{position:absolute;top:1rem;left:50%;transform:translateX(-50%);z-index:1000;display:none;align-items:center;gap:0.4rem;background:rgba(12,11,9,0.92);color:var(--gold);border:1px solid rgba(196,176,140,0.35);padding:0.55rem 1.25rem;font-size:0.65rem;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;cursor:pointer;font-family:'Outfit',sans-serif;box-shadow:0 4px 20px rgba(0,0,0,0.35);border-radius:4px;transition:all 0.3s cubic-bezier(0.16, 1, 0.3, 1);white-space:nowrap}
.sr-search-area-btn:hover{background:var(--gold);color:var(--bg);border-color:var(--gold)}
.sr-search-area-btn.visible{display:flex}
.sr-search-area-btn svg{stroke:currentColor;flex-shrink:0}
[data-theme="light"] .sr-search-area-btn{background:rgba(255,255,255,0.92);color:var(--gold-dark);border:1px solid rgba(139,119,72,0.3);box-shadow:0 4px 16px rgba(0,0,0,0.12)}
[data-theme="light"] .sr-search-area-btn:hover{background:var(--gold);color:#fff;border-color:var(--gold)}

/* Curate Collection — Admin selection mode */
.sr-curate-btn{width:36px;height:36px;border-radius:50%;background:transparent;border:1px solid var(--border);color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s}
.sr-curate-btn svg{width:18px;height:18px;stroke:currentColor;fill:none}
.sr-curate-btn:hover{border-color:var(--gold);color:var(--gold)}
.sr-curate-btn.active{background:var(--gold);color:var(--bg);border-color:var(--gold)}
[data-theme="light"] .sr-curate-btn.active{color:#fff}

/* Curate checkboxes on cards */
.sr-curate-check{position:absolute;top:0.5rem;left:0.5rem;width:30px;height:30px;border-radius:50%;border:2px solid rgba(255,255,255,0.85);background:rgba(0,0,0,0.4);display:none;align-items:center;justify-content:center;cursor:pointer;z-index:5;transition:all 0.2s}
.sr-curate-check:hover{background:rgba(196,176,140,0.5);border-color:var(--gold);transform:scale(1.1)}
.sr-curate-check svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:3;opacity:0;transition:opacity 0.15s}
.curate-mode .sr-curate-check{display:flex}
.sr-card.curate-selected .sr-curate-check{background:var(--gold);border-color:var(--gold)}
.sr-card.curate-selected .sr-curate-check svg{opacity:1}
.sr-card.curate-selected{outline:2px solid var(--gold);outline-offset:-2px}

/* Floating curate action bar */
.sr-curate-bar{display:none;position:sticky;bottom:0;left:0;right:0;z-index:10;background:var(--bg-card);border-top:1px solid var(--gold);padding:0.75rem 1rem;align-items:center;justify-content:space-between;gap:0.75rem;grid-column:1/-1;animation:fadeUp 0.25s ease}
.sr-curate-bar.visible{display:flex}
.sr-curate-bar-count{font-family:'Outfit',sans-serif;font-size:0.75rem;font-weight:600;color:var(--gold);letter-spacing:0.04em;white-space:nowrap}
.sr-curate-bar-actions{display:flex;gap:0.5rem;align-items:center}
.sr-curate-bar-btn{padding:0.5rem 1rem;font-family:'Outfit',sans-serif;font-size:0.7rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;border-radius:4px;cursor:pointer;transition:all 0.2s;white-space:nowrap}
.sr-curate-copy{background:var(--gold);color:var(--bg);border:1px solid var(--gold)}
.sr-curate-copy:hover{filter:brightness(1.1)}
[data-theme="light"] .sr-curate-copy{color:#fff}
.sr-curate-clear{background:transparent;color:var(--text-muted);border:1px solid var(--border)}
.sr-curate-clear:hover{border-color:var(--gold);color:var(--gold)}

/* Collection banner */
.sr-collection-banner{background:rgba(196,176,140,0.08);border:1px solid rgba(196,176,140,0.25);border-radius:8px;padding:0.85rem 1rem;margin-bottom:0.75rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;grid-column:1/-1}
.sr-collection-banner-text{font-family:'Outfit',sans-serif;font-size:0.8rem;color:var(--cream);line-height:1.5}
.sr-collection-banner-text strong{color:var(--gold);font-weight:600}
.sr-collection-expand{font-family:'Outfit',sans-serif;font-size:0.65rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--gold);background:transparent;border:1px solid var(--gold);padding:0.45rem 0.85rem;border-radius:4px;cursor:pointer;white-space:nowrap;transition:all 0.2s}
.sr-collection-expand:hover{background:var(--gold);color:var(--bg)}
[data-theme="light"] .sr-collection-expand:hover{color:#fff}

/* Responsive */
@media(max-width:900px){
  .sr-body{flex-direction:column}
  .sr-map-panel{height:50vh;flex:none}
  .sr-list-panel{width:100%;flex:1;border-right:none;border-top:1px solid var(--border);order:0}
  .sr-view-toggle{display:flex;align-items:center}
  .sr-cards{padding-bottom:5rem}
  .sr-body.map-hidden .sr-map-panel{display:none}
  .sr-body.map-hidden .sr-list-panel{height:100%;flex:1}
  .sr-body.list-hidden .sr-list-panel{display:none}
  .sr-body.list-hidden .sr-map-panel{height:100%;flex:1}
  .sr-draw-toolbar{top:auto;bottom:5rem;right:0.75rem}
  .sr-draw-btn{width:34px;height:34px}
  .sr-draw-btn svg{width:16px;height:16px}
  .sr-search-area-btn{top:0.75rem;padding:0.5rem 1rem;font-size:0.6rem}
  .sr-curate-bar{padding:0.65rem 0.75rem}
  .sr-collection-banner{flex-direction:column;align-items:flex-start;gap:0.5rem}
}
@media(max-width:600px){
  .sr-topbar{padding:0.65rem 1rem}
  .sr-filters{padding:0.5rem 1rem}
  .sr-cards{grid-template-columns:1fr}
  .sr-card{flex-direction:row}
  .sr-card-img{width:110px;height:85px}
  .sr-card-body{padding:0.5rem 0.65rem}
  .sr-card-price{font-size:1.1rem}
  .sr-card-value{font-size:0.5rem}
  .sr-curate-check{width:22px;height:22px;top:0.35rem;left:0.35rem}
  .sr-curate-check svg{width:12px;height:12px}
}

/* ═══════════════════════════════════════════════════════
   MOBILE FILTER DRAWER
   ═══════════════════════════════════════════════════════ */
.srd-bar{display:none;align-items:center;gap:0.5rem;padding:0.55rem 1rem;border-bottom:1px solid var(--border);background:var(--bg-warm);flex-shrink:0}
.srd-bar-count{font-family:'Outfit',sans-serif;font-size:0.7rem;color:var(--text-muted);letter-spacing:0.05em;white-space:nowrap}
.srd-bar-summary{flex:1;font-family:'Outfit',sans-serif;font-size:0.65rem;color:var(--text-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srd-bar-btn{display:flex;align-items:center;gap:0.35rem;padding:0.45rem 0.85rem;border:1px solid var(--gold);background:rgba(196,176,140,0.08);color:var(--gold);font-family:'Outfit',sans-serif;font-size:0.65rem;letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.srd-badge{display:none;min-width:16px;height:16px;background:var(--gold);color:var(--bg);border-radius:50%;font-size:0.55rem;line-height:16px;text-align:center;font-weight:600}
.srd-badge.visible{display:inline-block}

.srd-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.6);z-index:5500}
.srd-overlay.open{display:block}
.srd-drawer{position:fixed;bottom:0;left:0;right:0;z-index:5501;background:var(--bg);border-radius:16px 16px 0 0;transform:translateY(100%);transition:transform 0.35s cubic-bezier(0.16,1,0.3,1);max-height:90vh;max-height:90dvh;display:flex;flex-direction:column;overscroll-behavior:contain}
.srd-drawer.open{transform:translateY(0)}

.srd-handle{width:36px;height:4px;background:var(--border);border-radius:2px;margin:0.75rem auto 0}
.srd-header{display:flex;align-items:center;justify-content:space-between;padding:0.75rem 1.25rem}
.srd-title{font-family:'Cormorant Garamond',serif;font-size:1.2rem;color:var(--cream)}
.srd-close{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:0.5rem}
.srd-content{flex:1;overflow-y:auto;padding:0 1.25rem 1rem;-webkit-overflow-scrolling:touch}

.srd-section{margin-bottom:1.25rem}
.srd-section-label{font-size:0.55rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);margin-bottom:0.65rem;font-family:'Outfit',sans-serif}

.srd-area-grid{display:flex;flex-wrap:wrap;gap:0.4rem}
.srd-area-pill{display:flex;align-items:center;gap:0.3rem;padding:0.5rem 0.75rem;border:1px solid var(--border);font-family:'Outfit',sans-serif;font-size:0.72rem;color:var(--text-body);cursor:pointer;transition:all 0.2s}
.srd-area-pill input{display:none}
.srd-area-pill.active{border-color:var(--gold);background:rgba(196,176,140,0.1);color:var(--gold)}

.srd-pill-row{display:flex;flex-wrap:wrap;gap:0.4rem}
.srd-pill{padding:0.5rem 0.85rem;border:1px solid var(--border);background:transparent;color:var(--text-body);font-family:'Outfit',sans-serif;font-size:0.72rem;cursor:pointer;transition:all 0.2s}
.srd-pill.active{border-color:var(--gold);background:rgba(196,176,140,0.1);color:var(--gold)}

.srd-drawer .ps-track{height:12px;border-radius:6px}
.srd-drawer .ps-fill{height:12px;border-radius:6px}
.srd-drawer .ps-thumb{width:32px;height:32px;border-width:3px}
.srd-drawer .ps-display{font-size:1.1rem;height:1.5rem;line-height:1.5rem}
.srd-drawer .ps-ticks span{font-size:0.65rem}
.srd-drawer .ps-ticks{margin-top:0.6rem}

.srd-presets{display:grid;grid-template-columns:1fr 1fr;gap:0.4rem;margin-top:0.75rem}
.srd-preset{padding:0.6rem 0.5rem;border:1px solid var(--border);background:transparent;color:var(--text-body);font-family:'Outfit',sans-serif;font-size:0.72rem;cursor:pointer;transition:all 0.2s}
.srd-preset:hover,.srd-preset.active{border-color:var(--gold);color:var(--gold);background:rgba(196,176,140,0.08)}

.srd-restrict-section{position:relative}
.srd-restrict-lock{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(12,11,9,0.7);backdrop-filter:blur(4px);cursor:pointer;z-index:5;border-radius:4px}
.srd-restrict-lock span{font-size:0.65rem;color:var(--gold);letter-spacing:0.08em}
.srd-restrict-unlocked .srd-restrict-lock{display:none}

.srd-footer{display:flex;gap:0.75rem;padding:1rem 1.25rem;padding-bottom:calc(1rem + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:var(--bg)}
.srd-reset{flex:1;padding:0.85rem;border:1px solid var(--border);background:transparent;color:var(--text-muted);font-family:'Outfit',sans-serif;font-size:0.7rem;letter-spacing:0.12em;text-transform:uppercase;cursor:pointer}
.srd-apply{flex:2;padding:0.85rem;border:none;background:var(--gold);color:var(--bg);font-family:'Outfit',sans-serif;font-size:0.72rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;cursor:pointer}

@media(max-width:900px){
  .sr-filters{display:none !important}
  .srd-bar{display:flex}
}

/* ═══════════════════════════════════════════════════════
   ACCOUNT GATING — Blurred content
   ═══════════════════════════════════════════════════════ */
.gated-wrap{position:relative;cursor:pointer}
.gated-wrap.locked .gated-content{filter:blur(8px);-webkit-filter:blur(8px);pointer-events:none;user-select:none;-webkit-user-select:none;transition:filter 0.4s}
.gated-wrap.locked::after{content:'';position:absolute;inset:0;z-index:2}
.gated-prompt{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3;opacity:0;transition:opacity 0.3s;pointer-events:none;text-align:center;padding:1rem}
.gated-wrap.locked:hover .gated-prompt{opacity:1}
.gated-prompt-icon{width:32px;height:32px;stroke:var(--gold);fill:none;stroke-width:1.5;margin-bottom:0.5rem}
.gated-prompt-text{font-size:0.72rem;color:var(--cream);font-weight:400;line-height:1.5;max-width:220px}
.gated-prompt-text strong{color:var(--gold);font-weight:500}
.gated-prompt-sub{font-size:0.55rem;color:var(--text-muted);margin-top:0.3rem;letter-spacing:0.1em;text-transform:uppercase}

/* ═══════════════════════════════════════════════════════
   ACCOUNT CREATION MODAL
   ═══════════════════════════════════════════════════════ */
.acct-modal-bg{position:fixed;inset:0;background:rgba(0,0,0,0.7);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:10000;display:none;align-items:center;justify-content:center;padding:1rem;opacity:0;transition:opacity 0.35s;overflow-y:auto;-webkit-overflow-scrolling:touch}
.acct-modal-bg.open{display:flex;opacity:1}
.acct-modal{background:var(--bg-card);border:1px solid var(--border);max-width:420px;width:100%;padding:2.5rem 2rem 2rem;position:relative;animation:acctSlide 0.4s cubic-bezier(0.16,1,0.3,1);max-height:90vh;overflow-y:auto;margin:auto}
@keyframes acctSlide{from{opacity:0;transform:translateY(24px) scale(0.97)}to{opacity:1;transform:none}}
.acct-modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;color:var(--text-muted);font-size:1.5rem;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:color 0.3s}
.acct-modal-close:hover{color:var(--cream)}
.acct-modal-badge{display:inline-flex;align-items:center;gap:0.5rem;font-size:0.55rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--gold);margin-bottom:1rem}
.acct-modal-badge::before{content:'';width:20px;height:1px;background:var(--gold)}
.acct-modal h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.6rem;font-weight:300;color:var(--cream);margin-bottom:0.5rem;line-height:1.2}
.acct-modal h3 em{font-style:italic;color:var(--gold-light)}
.acct-modal-sub{font-size:0.75rem;color:var(--text-muted);margin-bottom:1.5rem;line-height:1.6}
.acct-field{margin-bottom:1rem}
.acct-field label{display:block;font-size:0.55rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--text-muted);margin-bottom:0.35rem}
.acct-field input{width:100%;padding:0.7rem 0.85rem;background:var(--surface);border:1px solid var(--border);color:var(--cream);font-family:'Outfit',sans-serif;font-size:0.82rem;transition:border-color 0.3s;outline:none;box-sizing:border-box}
.acct-field input:focus{border-color:var(--gold)}
.acct-field-row{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem}
.acct-pass-note{font-size:0.5rem;color:var(--text-muted);margin-top:0.2rem;letter-spacing:0.02em}
.acct-field input::placeholder{color:var(--text-muted)}
.acct-submit{width:100%;padding:0.85rem;background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:var(--bg);font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;border:none;cursor:pointer;transition:all 0.3s;margin-top:0.5rem}
.acct-submit:hover{transform:translateY(-1px);box-shadow:0 6px 24px rgba(196,176,140,0.3)}
.acct-or{text-align:center;font-size:0.65rem;color:var(--text-muted);margin:1rem 0 0.75rem}
.acct-login-link{text-align:center;font-size:0.72rem;color:var(--gold);cursor:pointer;transition:color 0.3s}
.acct-login-link:hover{color:var(--gold-light)}
.acct-create-btn{width:100%;padding:0.75rem;background:transparent;border:1px solid var(--gold);color:var(--gold);font-family:'Outfit',sans-serif;font-size:0.78rem;font-weight:500;letter-spacing:0.08em;cursor:pointer;transition:all 0.3s;margin-top:0.25rem}
.acct-create-btn:hover{background:rgba(196,176,140,0.1);color:var(--gold-light);border-color:var(--gold-light)}
.acct-complete-email{text-align:center;padding:0.45rem 1rem;border:1px solid var(--border);border-radius:20px;font-size:0.8rem;color:var(--gold);margin:0.5rem auto 1rem;display:inline-block;letter-spacing:0.02em;background:rgba(196,176,140,0.06)}
#acctCompleteView{text-align:left}
#acctCompleteView .acct-complete-email{display:block;text-align:center}
.mobile-acct-email-badge{text-align:center;padding:0.4rem 0.8rem;border:1px solid var(--border);border-radius:16px;font-size:0.78rem;color:var(--gold);margin:0.25rem 0 0.75rem;background:rgba(196,176,140,0.06)}
.acct-optional{font-weight:300;font-size:0.7rem;color:var(--text-muted);letter-spacing:0}
.acct-oauth-btns{display:flex;flex-direction:column;gap:0.5rem;margin-bottom:0.75rem}
.acct-oauth-btn{display:flex;align-items:center;justify-content:center;gap:0.6rem;width:100%;padding:0.7rem 1rem;border:1px solid var(--border);border-radius:8px;background:var(--bg-card);color:var(--cream);font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:500;cursor:pointer;transition:all 0.2s;letter-spacing:0.01em}
.acct-oauth-btn:hover{border-color:var(--gold);background:rgba(196,176,140,0.08)}
.acct-oauth-btn svg{width:18px;height:18px;flex-shrink:0}
.acct-oauth-google:hover{border-color:#4285F4}
.acct-oauth-facebook:hover{border-color:#1877F2}
.acct-error{background:rgba(192,112,112,0.15);color:#e07070;padding:0.6rem 0.85rem;border-radius:8px;font-size:0.78rem;margin-bottom:0.5rem;line-height:1.4;border:1px solid rgba(192,112,112,0.25)}
.acct-success{text-align:center;padding:2rem 1rem}
.acct-success-icon{width:48px;height:48px;stroke:var(--gold);fill:none;stroke-width:1.5;margin:0 auto 1rem}
.acct-success h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.4rem;color:var(--cream);margin-bottom:0.5rem}
.acct-success p{font-size:0.75rem;color:var(--text-muted);line-height:1.6}

/* ═══════════════════════════════════════════════════════
   FIRST-VISIT AUTH POPUP
   ═══════════════════════════════════════════════════════ */
.auth-popup{position:fixed;bottom:24px;right:24px;z-index:9999;width:340px;background:var(--card-bg);border:1px solid var(--border);border-radius:16px;padding:1.5rem;box-shadow:0 20px 60px rgba(0,0,0,0.4);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transform:translateY(20px);transition:opacity 0.4s ease,transform 0.4s ease}
.auth-popup.visible{opacity:1;transform:translateY(0)}
.auth-popup-close{position:absolute;top:10px;right:14px;background:none;border:none;color:var(--text-muted);font-size:1.3rem;cursor:pointer;padding:4px;line-height:1;transition:color 0.2s}
.auth-popup-close:hover{color:var(--cream)}
.auth-popup-badge{font-size:0.6rem;letter-spacing:0.3em;text-transform:uppercase;color:var(--gold);margin-bottom:0.5rem;font-weight:500}
.auth-popup-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.35rem;font-weight:300;color:var(--cream);margin-bottom:0.4rem;line-height:1.2}
.auth-popup-sub{font-size:0.78rem;color:var(--text-muted);line-height:1.5;margin-bottom:1rem}
.auth-popup-btns{display:flex;flex-direction:column;gap:0.4rem}
.auth-popup-btns .acct-oauth-btn{font-size:0.78rem;padding:0.6rem 0.8rem}
.auth-popup-or{text-align:center;font-size:0.6rem;color:var(--text-muted);margin:0.6rem 0}
.auth-popup-email{width:100%;padding:0.55rem;background:transparent;border:1px solid var(--border);color:var(--gold);font-family:'Outfit',sans-serif;font-size:0.75rem;font-weight:400;cursor:pointer;transition:all 0.2s;letter-spacing:0.04em}
.auth-popup-email:hover{border-color:var(--gold);background:rgba(196,176,140,0.06)}
.auth-popup-privacy{text-align:center;font-size:0.6rem;color:var(--text-muted);margin-top:0.5rem}
@media(max-width:600px){
  .auth-popup{bottom:0;right:0;left:0;width:100%;border-radius:16px 16px 0 0;padding:1.25rem 1.25rem 1.5rem;padding-bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))}
  .auth-popup-img{height:60px}
}
.auth-popup-img{width:calc(100% + 3rem);height:100px;object-fit:cover;border-radius:16px 16px 0 0;margin:-1.5rem -1.5rem 1rem;display:block}

/* ═══════════════════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════════════════ */
.social-proof{text-align:center;padding:0.6rem 0.5rem;margin:0.5rem 0;font-size:0.7rem;line-height:1.5;color:var(--text-muted)}
.social-proof-stars{color:var(--gold);font-size:0.8rem;letter-spacing:0.1em;display:block;margin-bottom:0.2rem}
.social-proof-quote{font-style:italic;display:block;margin-bottom:0.15rem}
.social-proof-name{color:var(--gold);font-weight:500;font-style:normal}
.social-proof-mini{font-size:0.65rem;color:var(--text-muted);margin-top:0.3rem}
.social-proof-mini .social-proof-stars{font-size:0.7rem;display:inline;margin-right:0.3rem}

/* ═══════════════════════════════════════════════════════
   GUEST PREVIEW BANNER
   ═══════════════════════════════════════════════════════ */
.guest-preview-banner{display:flex;align-items:center;justify-content:space-between;padding:0.5rem 1.25rem;background:var(--bg-card);border-bottom:1px solid rgba(196,176,140,0.2);font-size:0.75rem;color:var(--text-muted);gap:0.75rem;flex-wrap:wrap;position:sticky;top:0;z-index:10}
.guest-preview-banner strong{color:var(--gold)}
.guest-preview-banner button{padding:0.35rem 0.8rem;background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:var(--bg);font-family:'Outfit',sans-serif;font-size:0.68rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;border:none;cursor:pointer;white-space:nowrap;transition:all 0.2s}
.guest-preview-banner button:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(196,176,140,0.3)}
.guest-preview-banner.last-preview{background:var(--surface);border-bottom-color:var(--gold)}
@media(max-width:600px){
  .guest-preview-banner{flex-direction:column;text-align:center;gap:0.4rem;padding:0.5rem 0.75rem}
  .guest-preview-banner button{width:100%}
}

/* ═══════════════════════════════════════════════════════
   EXIT-INTENT POPUP (reuses .auth-popup base)
   ═══════════════════════════════════════════════════════ */
.exit-popup{z-index:10000}

/* ═══════════════════════════════════════════════════════
   MARKET URGENCY BANNER
   ═══════════════════════════════════════════════════════ */
.market-urgency-banner{text-align:center;padding:1rem 1.5rem;font-size:0.78rem;color:var(--text-muted);font-style:italic;display:flex;align-items:center;justify-content:center;gap:0.5rem}
.market-urgency-banner svg{width:16px;height:16px;stroke:var(--gold);fill:none;stroke-width:1.5;flex-shrink:0}

/* ═══════════════════════════════════════════════════════
   FAVORITE BUTTON (property detail)
   ═══════════════════════════════════════════════════════ */
.prop-fav-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.6rem 1.2rem;background:transparent;border:1px solid var(--border);color:var(--text-muted);font-family:'Outfit',sans-serif;font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;transition:all 0.3s}
.prop-fav-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;transition:all 0.3s}
.prop-fav-btn:hover{border-color:var(--gold);color:var(--gold)}
.prop-fav-btn.favorited{border-color:var(--gold);color:var(--gold);background:rgba(196,176,140,0.08)}
.prop-fav-btn.favorited svg{fill:var(--gold);stroke:var(--gold)}
.prop-info-actions{display:flex;align-items:center;gap:0.75rem;margin-top:0.35rem}

/* ═══════════════════════════════════════════════════════
   VIEWED / FAVORITED — Card & Marker states
   ═══════════════════════════════════════════════════════ */
/* Viewed but NOT favorited — muted text below image */
.sr-card.viewed:not(.fav-card) .sr-card-price{color:var(--text-muted)}
.sr-card.viewed:not(.fav-card) .sr-card-addr{color:var(--text-muted)}
.sr-card.viewed:not(.fav-card) .sr-card-city{color:var(--text-muted)}
.sr-card.viewed:not(.fav-card) .sr-card-feats{color:var(--text-muted)}
.sr-card.viewed:not(.fav-card) .sr-card-feats strong{color:var(--text-muted)}
/* Favorited — highlighted card border */
.sr-card.fav-card{border-color:var(--gold);box-shadow:0 0 12px rgba(196,176,140,0.12)}

/* Account indicator in nav */
.nav-acct{display:flex;align-items:center;gap:0.35rem;font-size:0.65rem;color:var(--gold);cursor:pointer;padding:0.3rem 0.75rem;border:1px solid var(--border);transition:all 0.3s;letter-spacing:0.05em;white-space:nowrap}
.nav-acct:hover{border-color:var(--gold)}
.nav-acct svg{width:14px;height:14px;stroke:var(--gold);fill:none;stroke-width:1.5}
.nav-acct.logged-in{background:rgba(196,176,140,0.06)}

/* Gated restriction filters — inline approach */
/* Hero search restriction */
.hs-restrict-gated{position:relative!important;cursor:pointer!important}
.hs-restrict-gated .hs-restrict-select{filter:blur(5px)!important;-webkit-filter:blur(5px)!important;pointer-events:none!important;user-select:none!important;opacity:0.6!important}
.hs-restrict-lock-overlay{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:50!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;background:transparent!important;transition:background 0.3s!important}
.hs-restrict-lock-overlay:hover{background:rgba(0,0,0,0.5)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important}
.hs-restrict-lock-overlay span{font-size:0.55rem;letter-spacing:0.08em;color:var(--gold);opacity:0;transition:opacity 0.3s;white-space:nowrap;pointer-events:none}
.hs-restrict-lock-overlay:hover span{opacity:1}
[data-theme="light"] .hs-restrict-lock-overlay span{color:var(--gold-light);text-shadow:0 1px 4px rgba(0,0,0,0.5)}
/* When unlocked hide overlay and unblur */
.hs-restrict-unlocked .hs-restrict-select{filter:none!important;-webkit-filter:none!important;pointer-events:auto!important;user-select:auto!important;opacity:1!important}
.hs-restrict-unlocked .hs-restrict-lock-overlay{display:none!important}

/* Search results restriction chip — gated */
.sr-restrict-gated{position:relative!important;cursor:pointer!important;overflow:hidden!important}
.sr-restrict-gated .sr-restrict-select{filter:blur(5px)!important;-webkit-filter:blur(5px)!important;pointer-events:none!important;user-select:none!important;opacity:0.6!important}
.sr-restrict-unlocked .sr-restrict-select{filter:none!important;-webkit-filter:none!important;pointer-events:auto!important;user-select:auto!important;opacity:1!important}
.sr-restrict-unlocked .restrict-lock-overlay{display:none!important}

/* Town page restriction fields — gated */
.tp-restrict-gated{position:relative!important;cursor:pointer!important;overflow:hidden!important}
.tp-restrict-gated .tp-restrict-select{filter:blur(5px)!important;-webkit-filter:blur(5px)!important;pointer-events:none!important;user-select:none!important;opacity:0.6!important}
.tp-restrict-gated label{opacity:0.6}
.tp-restrict-unlocked .tp-restrict-select{filter:none!important;-webkit-filter:none!important;pointer-events:auto!important;user-select:auto!important;opacity:1!important}
.tp-restrict-unlocked label{opacity:1}
.tp-restrict-unlocked .restrict-lock-overlay{display:none!important}

/* Shared lock overlay for sr + tp */
.restrict-lock-overlay{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:50!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;background:transparent!important;transition:background 0.3s!important}
.restrict-lock-overlay:hover{background:rgba(0,0,0,0.5)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important}
.restrict-lock-overlay span{font-size:0.55rem;letter-spacing:0.08em;color:var(--gold);opacity:0;transition:opacity 0.3s;white-space:nowrap;pointer-events:none}
.restrict-lock-overlay:hover span{opacity:1}

/* Consultation form account opt-in */
.form-acct-opt{margin:0.3rem 0 0.1rem;padding:0.6rem 0.7rem;border:1px solid rgba(184,157,105,0.25);border-radius:8px;background:rgba(184,157,105,0.05)}
.form-acct-toggle{display:flex;align-items:center;gap:0.5rem;cursor:pointer;font-size:0.78rem;letter-spacing:0.02em;color:var(--text-secondary)}
.form-acct-toggle input{display:none}
.form-acct-check-box{width:17px;height:17px;border:2px solid var(--gold);border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all 0.2s}
.form-acct-toggle input:checked ~ .form-acct-check-box{background:var(--gold)}
.form-acct-toggle input:checked ~ .form-acct-check-box::after{content:'';display:block;width:4px;height:8px;border:solid var(--bg);border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}
.form-acct-pass-row{margin-top:0.5rem}
.form-privacy{display:flex;align-items:center;gap:0.35rem;font-size:0.62rem;color:var(--text-secondary);opacity:0.7;margin-top:0.5rem;text-align:center;justify-content:center;letter-spacing:0.02em}
.form-privacy svg{width:11px;height:11px;stroke:var(--gold);fill:none;flex-shrink:0}


/* ── EVENTS PREVIEW ── */
.events-preview-section{padding:80px 20px;max-width:1200px;margin:0 auto;text-align:center}
.events-preview-title{font-size:2.2rem;margin-bottom:8px}
.events-preview-sub{color:var(--text-muted);font-size:1.05rem;max-width:600px;margin:0 auto 40px}
.events-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;text-align:left;margin-bottom:36px}
.ep-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:transform 0.2s,box-shadow 0.2s;background:var(--card-bg);cursor:pointer;text-decoration:none;color:inherit;display:block}
.ep-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,0.12)}
.ep-card-inner{display:flex;align-items:stretch}
.ep-date{min-width:68px;padding:14px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--gold);color:#1a1a1a}
.ep-date .ep-month{font-size:0.7rem;text-transform:uppercase;letter-spacing:1.5px;opacity:0.7}
.ep-date .ep-day{font-size:1.5rem;font-weight:700;line-height:1.1}
.ep-date .ep-dow{font-size:0.65rem;opacity:0.6;margin-top:2px}
.ep-info{flex:1;padding:14px 16px}
.ep-info h3{font-size:0.98rem;margin:0 0 5px;line-height:1.3;color:var(--text)}
.ep-meta{font-size:0.8rem;color:var(--text-muted);display:flex;flex-wrap:wrap;gap:8px}
.ep-meta span{display:flex;align-items:center;gap:3px}
.ep-meta svg{width:13px;height:13px;opacity:0.5;fill:none;stroke:currentColor;stroke-width:2}
.ep-tag{display:inline-block;font-size:0.68rem;padding:2px 8px;border-radius:10px;background:rgba(194,167,115,0.15);color:var(--gold);text-transform:capitalize;margin-top:8px}
.ep-card.featured-ep{border-color:var(--gold);border-width:2px}
.events-preview-cta{margin-top:8px}
.events-cta-btn{display:inline-block;padding:14px 36px;border:2px solid var(--gold);border-radius:8px;color:var(--gold);font-weight:600;font-size:0.95rem;text-decoration:none;letter-spacing:0.03em;transition:all 0.25s}
.events-cta-btn:hover{background:var(--gold);color:#1a1a1a}
.event-skeleton{background:var(--card-bg);border:1px solid var(--border);border-radius:12px;padding:24px;animation:evtPulse 1.5s infinite}
@keyframes evtPulse{0%,100%{opacity:1}50%{opacity:0.5}}
.event-skeleton .sk-line{height:14px;background:var(--border);border-radius:6px;margin-bottom:10px}
.event-skeleton .sk-line.short{width:60%}
@media(max-width:600px){.events-preview-grid{grid-template-columns:1fr}.events-preview-title{font-size:1.6rem}.ep-card-inner{flex-direction:column}.ep-date{flex-direction:row;gap:8px;padding:10px 16px;min-width:auto}}


/* ═══════════════════════════════════════════════════════
   YOUR NOTES (sidebar, logged-in only)
   ═══════════════════════════════════════════════════════ */
.prop-notes-wrap{
  margin-bottom:1.5rem;
  border:1px solid var(--border);
  padding:1.25rem;
  background:var(--bg-card);
  border-left:3px solid var(--gold);
  transition:border-color 0.3s;
}
.prop-notes-wrap:focus-within{border-color:var(--gold)}
.prop-notes-header{
  display:flex;align-items:center;gap:0.6rem;margin-bottom:0.65rem;
}
.prop-notes-header svg{
  width:18px;height:18px;stroke:var(--gold);fill:none;stroke-width:1.5;flex-shrink:0;
}
.prop-notes-title{
  font-family:'Cormorant Garamond',Georgia,serif;font-size:1.15rem;
  color:var(--cream);font-weight:400;
}
.prop-notes-ta{
  width:100%;min-height:90px;padding:0.75rem;
  background:var(--surface);border:1px solid var(--border);
  color:var(--text-body);font-family:'Outfit',sans-serif;font-size:0.82rem;
  line-height:1.6;resize:vertical;transition:border-color 0.3s,box-shadow 0.3s;
}
.prop-notes-ta:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 2px rgba(196,176,140,0.15)}
.prop-notes-ta::placeholder{color:var(--text-muted);font-style:italic}
.prop-notes-hint{
  display:flex;align-items:center;gap:0.35rem;
  margin-top:0.5rem;font-size:0.6rem;
  color:var(--text-muted);letter-spacing:0.05em;
}
.prop-notes-hint svg{stroke:var(--text-muted);fill:none;stroke-width:1.5;flex-shrink:0}


/* ═══════════════════════════════════════════════════════
   CORY'S TAKE — Market Insights
   ═══════════════════════════════════════════════════════ */
.corys-take-gated{margin-top:2.5rem}
.corys-take{
  position:relative;
  padding:2rem 2rem 1.5rem;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-left:3px solid var(--gold);
  box-shadow:0 4px 20px rgba(0,0,0,0.08);
  transform:rotate(-0.3deg);
}
.corys-take-pin{
  position:absolute;top:-10px;right:24px;z-index:1;
}
.corys-take-header{margin-bottom:1rem}
.corys-take-label{
  font-size:0.5rem;letter-spacing:0.25em;text-transform:uppercase;
  color:var(--gold);margin-bottom:0.35rem;
}
.corys-take-title{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:1.4rem;font-style:italic;color:var(--gold-light);font-weight:400;
}
.corys-take-insights{}
.corys-take-insight{
  display:flex;align-items:flex-start;gap:0.75rem;
  padding:0.6rem 0;border-bottom:1px solid var(--border);
  font-size:0.85rem;color:var(--text-body);line-height:1.6;
}
.corys-take-insight:last-child{border-bottom:none}
.corys-take-insight-icon{flex-shrink:0;width:20px;height:20px;margin-top:2px}
.corys-take-insight-icon svg{width:20px;height:20px;stroke:var(--gold);fill:none;stroke-width:1.5}
.corys-take-insight strong{color:var(--cream);font-weight:500}
.corys-take-insight .insight-great{color:var(--green,#4CAF50);font-weight:500}
.corys-take-insight .insight-note{color:var(--gold);font-weight:500}
.corys-take-sig{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:0.82rem;font-style:italic;color:var(--text-muted);
  margin-top:1rem;text-align:right;
}
@media(max-width:768px){
  .corys-take{margin:2rem 0;padding:1.5rem 1.25rem 1.25rem;transform:none}
}


/* ═══════════════════════════════════════════════════════
   CORY'S SUGGESTIONS
   ═══════════════════════════════════════════════════════ */
.corys-suggestions{
  padding:4rem 4rem;border-top:1px solid var(--border);
  position:relative;z-index:2;background:var(--bg-warm);
}
.corys-suggestions-inner{max-width:1200px;margin:0 auto}
.corys-suggestions-reason{
  font-size:0.85rem;color:var(--text-muted);line-height:1.6;
  margin-bottom:1.5rem;font-style:italic;
  padding-left:1rem;border-left:2px solid var(--gold);
}
.corys-suggestions-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:1rem;
}
.suggestion-mini{
  display:flex;align-items:center;gap:0.75rem;
  padding:0.6rem;margin-bottom:0.5rem;
  border:1px solid var(--border);cursor:pointer;
  transition:border-color 0.3s,background 0.3s;
}
.suggestion-mini:hover{border-color:var(--gold);background:var(--surface)}
.suggestion-mini-img{width:60px;height:45px;object-fit:cover;flex-shrink:0;background:var(--surface)}
.suggestion-mini-info{}
.suggestion-mini-price{font-family:'Cormorant Garamond',Georgia,serif;font-size:1rem;color:var(--cream)}
.suggestion-mini-addr{font-size:0.7rem;color:var(--text-muted)}
@media(max-width:1024px){.corys-suggestions{padding:3rem 2rem}}
@media(max-width:768px){.corys-suggestions-grid{grid-template-columns:1fr}.corys-suggestions{padding:2.5rem 1.25rem}}


/* ═══════════════════════════════════════════════════════
   COMPARE PROPERTIES
   ═══════════════════════════════════════════════════════ */
.compare-overlay{
  position:fixed;inset:0;z-index:6000;background:var(--bg);
  display:none;flex-direction:column;overflow:hidden;
}
.compare-overlay.active{display:flex}

.compare-topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:0.75rem 1.5rem;border-bottom:1px solid var(--border);
  background:var(--bg);z-index:2;flex-shrink:0;
}
.compare-topbar-left{display:flex;align-items:center;gap:1rem}
.compare-title{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:1.2rem;font-weight:300;color:var(--cream);
}
.compare-title em{font-style:italic;color:var(--gold-light)}
.compare-count{font-size:0.7rem;color:var(--text-muted);letter-spacing:0.05em}

/* Selection phase */
.compare-select{
  flex:1;overflow-y:auto;padding:2rem 3rem;
  max-width:1400px;margin:0 auto;width:100%;
}
.compare-select-header{margin-bottom:2rem}
.compare-select-sub{font-size:0.85rem;color:var(--text-muted);margin-top:0.5rem}
.compare-fav-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;
}
.compare-fav-card{
  border:2px solid var(--border);padding:1rem;cursor:pointer;
  transition:all 0.3s;position:relative;background:var(--bg-card);
}
.compare-fav-card:hover{border-color:var(--gold)}
.compare-fav-card.selected{border-color:var(--gold);background:rgba(196,176,140,0.06)}
.compare-fav-card.selected::after{
  content:'';position:absolute;top:8px;right:8px;width:22px;height:22px;
  background:var(--gold);border-radius:50%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C0B09' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size:14px;background-position:center;background-repeat:no-repeat;
}
.compare-fav-card-img{width:100%;height:100px;object-fit:cover;margin-bottom:0.75rem;background:var(--surface)}
.compare-fav-card-price{
  font-family:'Cormorant Garamond',Georgia,serif;font-size:1.3rem;color:var(--cream);margin-bottom:0.25rem;
}
.compare-fav-card-addr{font-size:0.78rem;color:var(--text-body)}
.compare-fav-card-city{font-size:0.65rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.1em;margin-top:0.15rem}
.compare-fav-card-type{font-size:0.6rem;color:var(--gold);text-transform:uppercase;letter-spacing:0.15em;margin-top:0.5rem}

.compare-select-actions{display:flex;justify-content:center;padding:2rem 0}
.compare-go-btn{
  padding:0.85rem 3rem;background:var(--gold);color:var(--bg);
  font-family:'Outfit',sans-serif;font-size:0.72rem;font-weight:600;
  letter-spacing:0.2em;text-transform:uppercase;border:none;cursor:pointer;transition:all 0.3s;
}
.compare-go-btn:hover:not(:disabled){background:var(--gold-light)}
.compare-go-btn:disabled{opacity:0.4;cursor:not-allowed}

/* Table phase */
.compare-table-wrap{flex:1;overflow:auto;padding:1.5rem}
.compare-table-actions{margin-bottom:1rem}
.compare-back-btn{
  padding:0.5rem 1rem;border:1px solid var(--border);background:transparent;
  color:var(--text-muted);font-family:'Outfit',sans-serif;font-size:0.68rem;
  letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;transition:all 0.3s;
}
.compare-back-btn:hover{border-color:var(--gold);color:var(--gold)}

.compare-table-scroll{overflow-x:auto}
.compare-table{width:100%;border-collapse:collapse;min-width:600px}
.compare-table th{
  padding:1rem 1rem;background:var(--surface);border:1px solid var(--border);
  font-family:'Cormorant Garamond',Georgia,serif;font-size:1rem;font-weight:400;
  color:var(--cream);text-align:center;vertical-align:bottom;min-width:140px;
}
.compare-table th:first-child{
  min-width:130px;text-align:left;font-family:'Outfit',sans-serif;
  font-size:0.6rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);
}
.compare-table td{
  padding:0.65rem 1rem;border:1px solid var(--border);font-size:0.82rem;
  color:var(--text-body);text-align:center;vertical-align:middle;
}
.compare-table td:first-child{
  text-align:left;background:var(--bg-card);padding:0;
}
.compare-table tbody tr:hover td{background:var(--surface)}

.compare-criteria-cell{position:relative;padding:0!important}
.compare-row-header{display:flex;flex-direction:column;align-items:stretch;height:100%;min-height:2.6rem}
.compare-criteria-label{
  display:flex;align-items:center;justify-content:flex-start;
  padding:0 1rem;flex:1;font-size:0.65rem;letter-spacing:0.1em;
  text-transform:uppercase;color:var(--text-muted);font-weight:400;white-space:nowrap;
}
.compare-move-zone{
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;color:var(--text-muted);font-size:0.5rem;line-height:1;
  padding:0.2rem 1rem;transition:background 0.2s,color 0.2s;user-select:none;
}
.compare-move-zone:hover{background:var(--surface);color:var(--gold)}
.compare-move-up{border-bottom:1px solid transparent}
.compare-move-down{border-top:1px solid transparent}

.compare-th-card{cursor:pointer;transition:opacity 0.3s}
.compare-th-card:hover{opacity:0.8}
.compare-th-img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin-bottom:0.4rem;border:1px solid var(--border);border-radius:2px}
.compare-th-addr{font-size:0.65rem;color:var(--text-muted);font-family:'Outfit',sans-serif;margin-top:0.2rem}
.compare-best{color:var(--gold)!important;font-weight:500}

@media(max-width:768px){
  .compare-select{padding:1.5rem 1.25rem}
  .compare-fav-grid{grid-template-columns:1fr 1fr}
  .compare-table th,.compare-table td{padding:0.5rem 0.6rem;font-size:0.75rem}
}
@media(max-width:480px){
  .compare-fav-grid{grid-template-columns:1fr}
}


/* ═══════════════════════════════════════════════════════
   GATED PRINT BUTTON
   ═══════════════════════════════════════════════════════ */
.gated-print-btn.gated{filter:blur(3px);pointer-events:none;user-select:none}
.prop-share.has-gated-print{position:relative}
.prop-share .gated-print-overlay{position:absolute;right:0;top:0;bottom:0;width:33.4%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:rgba(12,11,9,0.3);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);font-size:0.5rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold);transition:background 0.3s}
.prop-share .gated-print-overlay:hover{background:rgba(196,176,140,0.15)}
[data-theme="light"] .prop-share .gated-print-overlay{background:rgba(248,246,241,0.5)}

/* ═══════════════════════════════════════════════════════
   PRINT-ONLY PROPERTY SHEET
   ═══════════════════════════════════════════════════════ */
.print-page{display:none}

@media print{
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}

  /* Hide everything except the print page */
  body{background:#fff!important;color:#111!important;overflow:visible!important}
  .nav,.mobile-menu,.grain,.hero,.stats-bar,.about,.areas,.featured,.services,
  .testimonials,.blog,.cta,.footer,.hero-scroll,.hp-overlay,.hp-sheet,
  #eventsSection,.events-preview,
  .prop-close,.prop-theme-toggle,
  .prop-nav-left,.prop-nav-right,.prop-img-count,.prop-hero-expand,.prop-hero-counter,
  .prop-thumbs,.prop-hero-status,
  .prop-hero-wrap,.prop-info-bar,.prop-content-area,
  .prop-similar,.corys-suggestions,.corys-take-gated,
  .prop-share,.prop-fav-btn,.prop-notes-wrap,.prop-info-print-btn,.prop-info-right,
  .search-overlay,.acct-modal-bg,.prop-lightbox,
  .compare-overlay,
  .chat-trigger,.chat-panel,.chat-greeting,
  #themeTooltip,.scroll-icon-wrap,
  /* Town page elements */
  .page-hero,.page-body,.page-cta,.page-stats,.tp-search,
  .featured-grid,.section-label,
  header,main,article,
  /* New feature overlays */
  .admin-overlay,.afford-overlay,.col-overlay,.qa-overlay,
  .notif-panel,.nav-notif,.nav-admin-link,
  .admin-print-btns,.prop-showing-btn,.prop-ask-cory,
  .showing-form,
  .prop-demo-banner,.prop-demo-notice,.demo-banner,
  .compare-print-btn
  {display:none!important}

  /* Property overlay: static flow */
  .prop-overlay{position:static!important;overflow:visible!important;opacity:1!important;pointer-events:all!important}
  .prop-overlay.active{position:static!important}

  /* Show print page — flex column fills exactly one page */
  .print-page{
    display:flex!important;
    flex-direction:column;
    background:#fff!important;
    color:#111!important;
    padding:0;
    font-family:'Outfit',Arial,sans-serif;
    min-height:0;
    height:10.2in; /* letter 11in minus 0.4in top + 0.4in bottom margins */
    max-height:10.2in;
    overflow:hidden;
  }

  /* ── Custom print header (replaces browser title) ── */
  .print-page-header{
    font-size:0.5rem;
    letter-spacing:0.15em;
    text-transform:uppercase;
    color:#6B5728;
    font-weight:600;
    text-align:right;
    margin-bottom:0.25rem;
    padding-bottom:0.12rem;
  }

  /* ── Hero row: large photo + info/stats to the right ── */
  .print-hero-row{
    display:flex;
    align-items:stretch;
    gap:0.7rem;
    padding-bottom:0.35rem;
    border-bottom:2px solid #8B7748;
    margin-bottom:0.3rem;
  }
  .print-hero-left{flex-shrink:0}
  .print-page-thumb{
    width:240px;
    height:164px;
    object-fit:cover;
    border:1px solid #999;
    display:block;
  }
  .print-hero-right{
    flex:1;
    display:flex;
    flex-direction:column;
  }
  .print-page-price{
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:1.5rem;
    font-weight:600;
    color:#111;
    line-height:1;
    margin-bottom:0.1rem;
  }
  .print-page-addr{font-size:0.82rem;color:#222;font-weight:500}
  .print-page-city{font-size:0.55rem;letter-spacing:0.2em;text-transform:uppercase;color:#6B5728;font-weight:600;margin-top:0.06rem}
  .print-page-date{font-size:0.5rem;color:#666;margin-top:0.08rem}
  .print-page-broker{font-size:0.5rem;color:#444;margin-top:0.15rem;font-style:italic}

  /* ── Stats ribbon (single row of 4, inside hero-right) ── */
  .print-page-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:0;
    border:1px solid #999;
    margin-top:auto;
  }
  .print-page-stat{
    padding:0.18rem 0.2rem;
    text-align:center;
    border-right:1px solid #999;
  }
  .print-page-stat:last-child{border-right:none}
  .print-page-stat-val{
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:1.1rem;
    color:#111;
    font-weight:600;
    line-height:1.1;
  }
  .print-page-stat-label{
    font-size:0.35rem;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:#555;
    font-weight:500;
    margin-top:0.02rem;
  }

  /* ── Section labels ── */
  .print-section-label{
    font-size:0.46rem;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:#6B5728;
    font-weight:700;
    margin-bottom:0.15rem;
    margin-top:0.3rem;
    padding-left:0.35rem;
    border-left:2px solid #8B7748;
  }

  /* ── Property Overview (description) ── */
  .print-page-desc{
    font-size:0.78rem;
    color:#222;
    line-height:1.45;
    margin-bottom:0.3rem;
  }

  /* ── Property Details (features grid) ── */
  .print-page-details{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:0;
    border:1px solid #999;
    margin-bottom:0.3rem;
  }
  .print-detail-item{
    display:flex;
    flex-direction:column;
    padding:0.22rem 0.45rem;
    border-right:1px solid #bbb;
    border-bottom:1px solid #bbb;
  }
  .print-detail-item:nth-child(3n){border-right:none}
  .print-detail-item:nth-last-child(-n+3){border-bottom:none}
  .print-detail-label{
    font-size:0.42rem;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:#555;
    font-weight:600;
    margin-bottom:0.02rem;
  }
  .print-detail-val{
    font-size:0.78rem;
    color:#111;
    font-weight:500;
  }

  /* ── Cory's Take ── */
  .print-corys-take{
    border:1px solid #999;
    border-left:3px solid #8B7748;
    padding:0.3rem 0.5rem;
    margin-bottom:0.3rem;
    background:#fdfaf3;
  }
  .print-corys-take .print-section-label{
    margin-top:0;
    border-left:none;
    padding-left:0;
    margin-bottom:0.12rem;
  }
  .print-ct-insight{
    font-size:0.72rem;
    color:#222;
    line-height:1.35;
    padding:0.12rem 0;
    border-bottom:1px solid #d8d0c0;
  }
  .print-ct-insight:last-child{border-bottom:none}

  /* ── Notes: flex-grow to fill remaining page space ── */
  .print-bottom-row{
    display:flex;
    flex-direction:column;
    gap:0.15rem;
    margin-bottom:0.15rem;
    flex:1 1 auto;
    min-height:0;
  }
  .print-notes-section{
    border-left:3px solid #8B7748;
    padding:0.2rem 0 0.2rem 0.5rem;
    flex-shrink:0;
  }
  .print-notes-title{
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:0.72rem;
    color:#6B5728;
    font-weight:600;
    margin-bottom:0.1rem;
  }
  .print-notes-content{
    font-size:0.68rem;
    color:#222;
    line-height:1.4;
    white-space:pre-wrap;
  }

  .print-notepad-section{
    padding:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  .print-notepad-title{
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:0.72rem;
    color:#6B5728;
    font-weight:600;
    margin-bottom:0.1rem;
    padding-left:0.1rem;
    flex-shrink:0;
  }
  .print-notepad-lines{
    padding:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
  }
  .print-line{flex:1 1 auto;min-height:0.6rem;max-height:1.3rem;border-bottom:1px solid #999}

  /* ── Footer ── */
  .print-page-footer{
    font-size:0.48rem;
    color:#666;
    text-align:center;
    letter-spacing:0.1em;
    text-transform:uppercase;
    font-weight:500;
    border-top:2px solid #999;
    padding-top:0.2rem;
    margin-top:0.15rem;
  }

  /* ── Neighborhood Details (print) ── */
  .print-neighborhood{
    margin-bottom:0.25rem;
  }
  .print-nd-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    gap:0;
    border:1px solid #999;
    margin-bottom:0.15rem;
  }
  .print-nd-card{
    padding:0.2rem 0.35rem;
    text-align:center;
    border-right:1px solid #999;
  }
  .print-nd-card:last-child{border-right:none}
  .print-nd-label{font-size:0.4rem;letter-spacing:0.1em;text-transform:uppercase;color:#555;font-weight:600}
  .print-nd-value{font-size:0.8rem;color:#111;font-weight:600;margin:0.06rem 0}
  .print-nd-detail{font-size:0.46rem;color:#444;line-height:1.25}
  .print-nd-amenities{
    display:flex;
    gap:0.25rem;
    flex-wrap:wrap;
  }
  .print-nd-tag{
    font-size:0.44rem;
    color:#333;
    font-weight:500;
    padding:0.08rem 0.3rem;
    border:1px solid #bbb;
    background:#f8f6f0;
  }

  /* ── Distances (print) ── */
  .print-distances{
    margin-bottom:0.25rem;
  }
  .print-dist-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:0.15rem;
  }
  .print-dist-card{
    border:1px solid #999;
    padding:0.15rem 0.35rem;
  }
  .print-dist-cat{
    font-size:0.42rem;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:#6B5728;
    font-weight:700;
    margin-bottom:0.08rem;
    border-bottom:1px solid #bbb;
    padding-bottom:0.05rem;
  }
  .print-dist-item{
    display:flex;
    justify-content:space-between;
    font-size:0.56rem;
    color:#222;
    padding:0.05rem 0;
  }
  .print-dist-time{font-weight:600;color:#111}

  /* ── Q&A / Ask Cory (print) ── */
  .print-qa{
    border:1px solid #999;
    padding:0.25rem 0.45rem;
    margin-bottom:0.25rem;
  }
  .print-qa-item{
    padding:0.1rem 0;
    border-bottom:1px solid #bbb;
  }
  .print-qa-item:last-child{border-bottom:none}
  .print-qa-q{font-size:0.65rem;color:#222;font-weight:500}
  .print-qa-a{font-size:0.65rem;color:#444;margin-top:0.06rem;padding-left:0.4rem;border-left:2px solid #8B7748}

  @page{margin:0.4in;size:letter;margin-top:0.25in;margin-bottom:0.25in}
  @page{@top-left{content:none}@top-center{content:none}@top-right{content:none}@bottom-left{content:none}@bottom-center{content:none}@bottom-right{content:none}}

  .print-agent-section { display: block !important; page-break-before: avoid; margin-top: 1rem; }
  .print-agent-header { font-size: 11pt; font-weight: 700; color: #c0392b; border: 3px solid #c0392b; padding: 6px 12px; text-align: center; margin-bottom: 10px; }
  .print-agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .print-agent-field label { font-size: 8pt; text-transform: uppercase; letter-spacing: 0.1em; color: #555; font-weight: 600; }
  .print-agent-value { font-size: 10pt; color: #222; border: 1px solid #999; padding: 6px 8px; min-height: 40px; margin-top: 3px; }

  /* ── Compare Print Sheet ── */
  .compare-print-page[class*="cp-cols-"] {
    display:block!important;
    background:#fff!important;
    color:#111!important;
    padding:0;
    font-family:'Outfit',Arial,sans-serif;
    page-break-before:always;
  }
  .compare-print-page:not([class*="cp-cols-"]) { display:none!important }
  .cp-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:0.15rem}
  .cp-header-brand{font-size:0.65rem;letter-spacing:0.15em;text-transform:uppercase;color:#6B5728;font-weight:700}
  .cp-header-agent{font-size:0.5rem;color:#666;letter-spacing:0.1em;text-transform:uppercase}
  .cp-title-row{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid #8B7748;padding-bottom:0.15rem;margin-bottom:0.3rem}
  .cp-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.2rem;font-weight:600;color:#111}
  .cp-date{font-size:0.5rem;color:#666}
  .cp-props-row{display:flex;gap:0.4rem;margin-bottom:0.3rem}
  .cp-prop-card{flex:1;text-align:center;border:1px solid #999;padding:0.2rem}
  .cp-prop-img{width:100%;height:80px;object-fit:cover;display:block;margin-bottom:0.15rem}
  .cp-prop-price{font-family:'Cormorant Garamond',Georgia,serif;font-size:1rem;font-weight:600;color:#111;line-height:1.1}
  .cp-prop-addr{font-size:0.6rem;color:#222;font-weight:500}
  .cp-prop-city{font-size:0.42rem;letter-spacing:0.15em;text-transform:uppercase;color:#6B5728;font-weight:600}
  .cp-table{width:100%;border-collapse:collapse;margin-bottom:0.25rem}
  .cp-table th{padding:0.2rem 0.3rem;background:#f0ebe0;border:1px solid #999;font-size:0.5rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:#6B5728;text-align:center}
  .cp-criteria-th{text-align:left!important;width:90px}
  .cp-table td{padding:0.18rem 0.3rem;border:1px solid #bbb;font-size:0.7rem;color:#222;text-align:center}
  .cp-criteria-cell{text-align:left!important;font-weight:600;font-size:0.52rem;letter-spacing:0.08em;text-transform:uppercase;color:#555;background:#faf8f4}
  .cp-best{color:#6B5728!important;font-weight:600}
  .cp-brokers{margin-bottom:0.2rem}
  .cp-broker-line{font-size:0.48rem;color:#444;font-style:italic;line-height:1.4}
  .cp-disclaimer{border-top:1px solid #bbb;padding-top:0.15rem;margin-bottom:0.15rem}
  .cp-disclaimer-text{font-size:0.42rem;color:#666;line-height:1.3}
  .cp-disclaimer-updated{font-size:0.42rem;color:#888;margin-top:0.06rem}
  .cp-footer{font-size:0.48rem;color:#666;text-align:center;letter-spacing:0.1em;text-transform:uppercase;font-weight:500;border-top:2px solid #999;padding-top:0.2rem}

  /* Scale for many properties */
  .cp-cols-5 .cp-prop-img,.cp-cols-6 .cp-prop-img{height:65px}
  .cp-cols-7 .cp-prop-img,.cp-cols-8 .cp-prop-img,.cp-cols-9 .cp-prop-img,.cp-cols-10 .cp-prop-img{height:55px}
  .cp-cols-7 .cp-table td,.cp-cols-8 .cp-table td,.cp-cols-9 .cp-table td,.cp-cols-10 .cp-table td{font-size:0.55rem;padding:0.12rem 0.2rem}
}

/* ═══════════════════════════════════════════════════
   NEW FEATURES STYLES
   ═══════════════════════════════════════════════════ */

/* --- Nav Extras: Notification Bell + Admin Link --- */
.nav-notif { position:relative; cursor:pointer; padding:0.4rem; }
.nav-notif svg { width:20px; height:20px; stroke:var(--cream); fill:none; stroke-width:1.5; transition:stroke 0.3s; }
.nav-notif:hover svg { stroke:var(--gold); }
.notif-badge { position:absolute; top:0; right:0; background:var(--gold); color:var(--bg); font-size:0.55rem; font-weight:700; width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; line-height:1; }
.nav-admin-link { cursor:pointer; padding:0.4rem; }
.nav-admin-link svg { width:20px; height:20px; stroke:var(--gold); fill:none; stroke-width:1.5; transition:opacity 0.3s; }
.nav-admin-link:hover svg { opacity:0.7; }

/* --- Notification Panel --- */
.notif-panel { position:fixed; top:60px; right:16px; width:340px; max-height:420px; background:var(--bg-card); border:1px solid var(--border); z-index:9500; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 12px 40px rgba(0,0,0,0.3); }
.notif-header { display:flex; justify-content:space-between; align-items:center; padding:0.8rem 1rem; border-bottom:1px solid var(--border); font-size:0.75rem; font-weight:500; color:var(--cream); letter-spacing:0.08em; text-transform:uppercase; }
.notif-list { overflow-y:auto; flex:1; }
.notif-item { display:flex; gap:0.6rem; padding:0.8rem 1rem; border-bottom:1px solid var(--border); cursor:pointer; transition:background 0.2s; }
.notif-item:hover { background:var(--surface); }
.notif-item.unread { background:rgba(196,176,140,0.06); }
.notif-item.unread .notif-msg { color:var(--cream); font-weight:500; }
.notif-icon { font-size:1.1rem; flex-shrink:0; margin-top:0.1rem; }
.notif-msg { font-size:0.8rem; color:var(--text-body); line-height:1.4; }
.notif-time { font-size:0.65rem; color:var(--text-muted); margin-top:0.2rem; }

/* --- Showing Request --- */
.prop-showing-btn { display:flex; align-items:center; justify-content:center; gap:0.5rem; width:100%; padding:0.75rem; margin-top:0.5rem; background:linear-gradient(135deg, var(--gold), var(--gold-dark)); color:var(--bg); font-family:'Outfit',sans-serif; font-size:0.72rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; border:none; cursor:pointer; transition:all 0.3s; }
.prop-showing-btn svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; }
.prop-showing-btn:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(196,176,140,0.3); }
.showing-form { margin-top:1rem; padding:1.2rem; background:var(--surface); border:1px solid var(--border); }
.showing-form-sub { font-size:0.78rem; color:var(--text-muted); margin-bottom:1rem; line-height:1.5; }
.showing-slot { margin-bottom:0.8rem; }
.showing-slot label { display:block; font-size:0.55rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--text-muted); margin-bottom:0.3rem; }
.showing-slot-row { display:grid; grid-template-columns:1fr 1fr; gap:0.5rem; }
.showing-input { padding:0.6rem 0.7rem; background:var(--bg-card); border:1px solid var(--border); color:var(--cream); font-family:'Outfit',sans-serif; font-size:0.8rem; outline:none; transition:border-color 0.3s; }
.showing-input:focus { border-color:var(--gold); }
.showing-success { text-align:center; padding:1.5rem 1rem; }
.showing-success h4 { color:var(--gold); margin:0.5rem 0; font-family:'Cormorant Garamond',serif; font-size:1.2rem; }
.showing-success p { color:var(--text-muted); font-size:0.82rem; }

/* --- Ask Cory --- */
.prop-ask-cory { margin-top:1rem; }
.prop-ask-send { width:100%; padding:0.55rem; margin-top:0.4rem; background:var(--gold); color:var(--bg); font-family:'Outfit',sans-serif; font-size:0.68rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; border:none; cursor:pointer; transition:all 0.3s; }
.prop-ask-send:hover { background:var(--gold-light); }
.prop-qa-item { padding:0.6rem; margin-bottom:0.5rem; background:var(--surface); border:1px solid var(--border); font-size:0.8rem; }
.prop-qa-q { color:var(--cream); margin-bottom:0.3rem; }
.prop-qa-a { color:var(--gold); margin-top:0.3rem; }
.prop-qa-pending { font-size:0.72rem; color:var(--text-muted); font-style:italic; margin-top:0.2rem; }

/* --- Neighborhood Deep Dives --- */
.nd-grid { display:grid; grid-template-columns:1fr 1fr; gap:0.75rem; margin-bottom:1rem; }
.nd-card { background:var(--surface); border:1px solid var(--border); padding:1rem; text-align:center; }
.nd-card-icon svg { width:24px; height:24px; stroke:var(--gold); fill:none; stroke-width:1.5; margin-bottom:0.3rem; }
.nd-card-label { font-size:0.55rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--text-muted); margin-bottom:0.2rem; }
.nd-card-value { font-family:'Cormorant Garamond',serif; font-size:1.5rem; color:var(--gold); font-weight:400; }
.nd-card-detail { font-size:0.72rem; color:var(--text-body); margin-top:0.3rem; line-height:1.4; }
.nd-amenities { display:flex; flex-wrap:wrap; gap:0.4rem; }
.nd-am-tag { padding:0.3rem 0.7rem; background:var(--surface); border:1px solid var(--border); font-size:0.68rem; color:var(--text-body); }

/* --- Distances --- */
.prop-distances { display:grid; grid-template-columns:1fr 1fr; gap:0.75rem; }
.prop-distance-card { background:var(--surface); border:1px solid var(--border); padding:0.8rem; }
.prop-distance-category { display:flex; align-items:center; gap:0.3rem; font-size:0.55rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); margin-bottom:0.4rem; }
.prop-distance-category svg { width:14px; height:14px; stroke:var(--gold); fill:none; stroke-width:1.5; }
.prop-distance-item { display:flex; justify-content:space-between; padding:0.3rem 0; border-bottom:1px solid var(--border); font-size:0.76rem; color:var(--text-body); }
.prop-distance-item:last-child { border-bottom:none; }
.prop-distance-time { color:var(--gold); font-weight:500; }

/* --- Admin Dashboard --- */
.admin-overlay { position:fixed; inset:0; z-index:9000; background:var(--bg); display:none; flex-direction:column; overflow:hidden; }
.admin-overlay[style*="flex"] { display:flex; }
.admin-topbar { display:flex; align-items:center; justify-content:space-between; padding:0 1.5rem; height:60px; border-bottom:1px solid var(--border); background:var(--bg-card); position:sticky; top:0; z-index:2; }
.admin-topbar-left { display:flex; align-items:center; gap:0.8rem; }
.admin-body { display:grid; grid-template-columns:220px 1fr; flex:1; overflow:hidden; }
.admin-nav { background:var(--bg-card); border-right:1px solid var(--border); padding:1rem 0; overflow-y:auto; }
.admin-nav-item { display:flex; align-items:center; gap:0.6rem; padding:0.75rem 1.2rem; font-size:0.75rem; letter-spacing:0.03em; color:var(--text-muted); cursor:pointer; transition:all 0.2s; border-left:2px solid transparent; }
.admin-nav-item svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.5; flex-shrink:0; }
.admin-nav-item:hover,.admin-nav-item.active { color:var(--gold); background:var(--surface); border-left-color:var(--gold); }
.admin-content { padding:1.5rem 2rem; overflow-y:auto; }
.admin-section-title { font-family:'Cormorant Garamond',serif; font-size:1.4rem; color:var(--cream); margin-bottom:1.2rem; }
.admin-subsection-title { font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); margin:1.5rem 0 0.8rem; border-bottom:1px solid var(--border); padding-bottom:0.4rem; }
.admin-table-wrap { overflow-x:auto; }
.admin-table { width:100%; border-collapse:collapse; font-size:0.78rem; }
.admin-table th { padding:0.6rem 0.8rem; background:var(--surface); border:1px solid var(--border); text-align:left; font-size:0.6rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-muted); font-weight:500; }
.admin-table td { padding:0.55rem 0.8rem; border:1px solid var(--border); color:var(--text-body); }
.admin-table tr:hover td { background:var(--surface); }
.admin-msg-cell { max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-badge { display:inline-block; padding:0.15rem 0.5rem; background:rgba(196,176,140,0.15); color:var(--gold); font-size:0.65rem; letter-spacing:0.05em; text-transform:uppercase; }
.admin-stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:1.5rem; }
.admin-stat-card { background:var(--surface); border:1px solid var(--border); padding:1.2rem; text-align:center; }
.admin-stat-num { font-family:'Cormorant Garamond',serif; font-size:2rem; color:var(--gold); }
.admin-stat-label { font-size:0.6rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-muted); margin-top:0.3rem; }
.admin-top-list { display:flex; flex-direction:column; gap:0.3rem; }
.admin-top-item { display:flex; justify-content:space-between; padding:0.5rem 0.8rem; background:var(--surface); border:1px solid var(--border); font-size:0.8rem; color:var(--text-body); }
.admin-top-count { color:var(--gold); font-weight:500; }

/* Admin Showings */
.admin-showings { display:flex; flex-direction:column; gap:1rem; }
.admin-showing-card { background:var(--surface); border:1px solid var(--border); padding:1.2rem; }
.admin-showing-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:0.6rem; }
.admin-showing-prop { font-size:0.9rem; color:var(--cream); font-weight:500; }
.admin-status { padding:0.2rem 0.6rem; font-size:0.6rem; letter-spacing:0.08em; text-transform:uppercase; font-weight:600; }
.admin-status.pending { background:rgba(196,176,140,0.15); color:var(--gold); }
.admin-status.confirmed { background:rgba(122,143,110,0.2); color:var(--green); }
.admin-status.completed { background:rgba(122,143,110,0.1); color:var(--green); }
.admin-status.cancelled { background:rgba(158,94,94,0.15); color:var(--red-soft); }
.admin-showing-info { display:flex; gap:1rem; font-size:0.78rem; color:var(--text-muted); margin-bottom:0.6rem; flex-wrap:wrap; }
.admin-showing-slots { font-size:0.8rem; color:var(--text-body); }
.admin-slot { padding:0.2rem 0; margin-left:0.5rem; }
.admin-showing-actions { display:flex; gap:0.5rem; align-items:center; margin-top:0.8rem; }
.admin-showing-actions select { padding:0.4rem 0.6rem; background:var(--bg-card); border:1px solid var(--border); color:var(--cream); font-size:0.78rem; }
/* Admin Questions */
.admin-questions { display:flex; flex-direction:column; gap:0.8rem; }
.admin-q-group-title { font-size:0.65rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); padding-bottom:0.3rem; border-bottom:1px solid var(--border); }
.admin-question-card { background:var(--surface); border:1px solid var(--border); padding:1rem; }
.admin-question-card.unanswered { border-left:3px solid var(--gold); }
.admin-q-header { display:flex; justify-content:space-between; font-size:0.72rem; margin-bottom:0.4rem; }
.admin-q-prop { color:var(--cream); font-weight:500; }
.admin-q-from { color:var(--text-muted); }
.admin-q-text { font-size:0.85rem; color:var(--text-body); margin-bottom:0.6rem; line-height:1.5; }
.admin-q-reply { font-size:0.82rem; color:var(--gold); margin-top:0.4rem; padding-top:0.4rem; border-top:1px solid var(--border); }
.admin-reply-ta { width:100%; padding:0.6rem; background:var(--bg-card); border:1px solid var(--border); color:var(--cream); font-family:'Outfit',sans-serif; font-size:0.82rem; resize:vertical; min-height:60px; outline:none; margin-bottom:0.4rem; }
.admin-reply-ta:focus { border-color:var(--gold); }
/* --- Affordability Overlay --- */
.afford-overlay { position:fixed; inset:0; z-index:7000; background:var(--bg); display:none; flex-direction:column; overflow:hidden; }
.afford-overlay[style*="flex"] { display:flex; }
.afford-topbar,.col-topbar,.qa-topbar { display:flex; align-items:center; padding:0 1.5rem; height:60px; border-bottom:1px solid var(--border); background:var(--bg-card); }
.afford-body { display:grid; grid-template-columns:1fr 1fr; flex:1; overflow-y:auto; padding:2rem; gap:2rem; }
.afford-section-title { font-family:'Cormorant Garamond',serif; font-size:1.3rem; color:var(--cream); margin-bottom:1.2rem; }
.afford-field { margin-bottom:0.8rem; }
.afford-field label { display:block; font-size:0.55rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--text-muted); margin-bottom:0.3rem; }
.afford-row { display:grid; grid-template-columns:1fr 1fr; gap:0.8rem; }
.afford-result-card { background:var(--surface); border:1px solid var(--border); padding:2rem; text-align:center; }
.afford-max-label { font-size:0.6rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--text-muted); }
.afford-max-price { font-family:'Cormorant Garamond',serif; font-size:2.5rem; color:var(--gold); margin:0.3rem 0 1.5rem; }
.afford-breakdown { text-align:left; max-width:320px; margin:0 auto; }
.afford-bk-row { display:flex; justify-content:space-between; padding:0.4rem 0; font-size:0.82rem; color:var(--text-body); }
.afford-bk-row.total { font-size:0.95rem; color:var(--gold); font-weight:500; }
.afford-bk-divider { border-top:1px solid var(--border); margin:0.4rem 0; }
.afford-note { font-size:0.7rem; color:var(--text-muted); margin-top:1.2rem; text-align:center; }

/* --- Cost of Living Overlay --- */
.col-overlay { position:fixed; inset:0; z-index:7000; background:var(--bg); display:none; flex-direction:column; overflow:hidden; }
.col-overlay[style*="flex"] { display:flex; }
.col-body { flex:1; overflow-y:auto; padding:2rem; }
.col-container { max-width:700px; margin:0 auto; }
.col-selects { display:flex; align-items:center; gap:1rem; margin-bottom:2rem; }
.col-select-wrap { flex:1; }
.col-select-wrap label { display:block; font-size:0.55rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--text-muted); margin-bottom:0.3rem; }
.col-select-wrap select { width:100%; padding:0.65rem; background:var(--surface); border:1px solid var(--border); color:var(--cream); font-size:0.85rem; font-family:'Outfit',sans-serif; }
.col-vs { font-family:'Cormorant Garamond',serif; font-size:1.1rem; color:var(--text-muted); margin-top:1rem; }
.col-summary { text-align:center; margin-bottom:2rem; padding:1.5rem; background:var(--surface); border:1px solid var(--border); }
.col-summary-title { font-size:0.6rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--text-muted); margin-bottom:0.3rem; }
.col-summary-diff { font-size:1.1rem; color:var(--cream); }
.col-bars { display:flex; flex-direction:column; gap:1rem; }
.col-bar-row { display:grid; grid-template-columns:110px 1fr 50px; align-items:center; gap:0.8rem; }
.col-bar-label { font-size:0.72rem; color:var(--text-muted); text-align:right; }
.col-bar-tracks { display:flex; flex-direction:column; gap:0.2rem; }
.col-bar-track { position:relative; height:18px; background:var(--surface); }
.col-bar-fill { height:100%; transition:width 0.6s ease; }
.col-bar-fill.from { background:var(--text-muted); }
.col-bar-fill.to { background:var(--gold); }
.col-bar-val { position:absolute; right:6px; top:50%; transform:translateY(-50%); font-size:0.6rem; color:var(--cream); font-weight:500; }
.col-bar-diff { font-size:0.72rem; font-weight:500; text-align:right; }
.col-legend { display:flex; align-items:center; gap:0.5rem; justify-content:center; margin-top:1.5rem; font-size:0.75rem; color:var(--text-body); }
.col-legend-dot { display:inline-block; width:10px; height:10px; }
.col-legend-dot.from { background:var(--text-muted); }
.col-legend-dot.to { background:var(--gold); }

/* --- Q&A Library Overlay --- */
.qa-overlay { position:fixed; inset:0; z-index:7000; background:var(--bg); display:none; flex-direction:column; overflow:hidden; }
.qa-overlay[style*="flex"] { display:flex; }
.qa-body { flex:1; overflow-y:auto; padding:2rem; }
.qa-container { max-width:700px; margin:0 auto; }
.qa-category { margin-bottom:2rem; }
.qa-cat-title { font-family:'Cormorant Garamond',serif; font-size:1.2rem; color:var(--gold); margin-bottom:0.8rem; padding-bottom:0.4rem; border-bottom:1px solid var(--border); }
.qa-item { border:1px solid var(--border); margin-bottom:0.3rem; }
.qa-question { display:flex; justify-content:space-between; align-items:center; width:100%; padding:0.8rem 1rem; background:transparent; border:none; color:var(--cream); font-family:'Outfit',sans-serif; font-size:0.85rem; text-align:left; cursor:pointer; transition:background 0.2s; }
.qa-question:hover { background:var(--surface); }
.qa-question svg { width:16px; height:16px; stroke:var(--text-muted); fill:none; stroke-width:2; flex-shrink:0; transition:transform 0.3s; }
.qa-item.open .qa-question svg { transform:rotate(180deg); }
.qa-answer { max-height:0; overflow:hidden; transition:max-height 0.3s ease, padding 0.3s; padding:0 1rem; font-size:0.82rem; color:var(--text-body); line-height:1.6; }
.qa-item.open .qa-answer { max-height:500px; padding:0.8rem 1rem; }

/* --- Account Dashboard Tools --- */
.acct-dash-tools { display:grid; grid-template-columns:1fr 1fr 1fr; gap:0.5rem; margin-bottom:1rem; }
.acct-tool-btn { display:flex; flex-direction:column; align-items:center; gap:0.3rem; padding:0.6rem 0.4rem; background:var(--surface); border:1px solid var(--border); color:var(--text-body); font-family:'Outfit',sans-serif; font-size:0.62rem; letter-spacing:0.05em; text-transform:uppercase; cursor:pointer; transition:all 0.2s; }
.acct-tool-btn svg { width:18px; height:18px; stroke:var(--gold); fill:none; stroke-width:1.5; }
.acct-tool-btn:hover { border-color:var(--gold); color:var(--gold); }

/* --- Journey Timeline --- */
.timeline { position:relative; padding-left:1.5rem; }
.timeline::before { content:''; position:absolute; left:0.45rem; top:0; bottom:0; width:1px; background:var(--border); }
.timeline-item { position:relative; margin-bottom:1rem; }
.timeline-dot { position:absolute; left:-1.35rem; top:0.2rem; width:8px; height:8px; border-radius:50%; background:var(--gold); border:2px solid var(--bg); }
.timeline-date { font-size:0.55rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-muted); }
.timeline-text { font-size:0.78rem; color:var(--text-body); margin-top:0.1rem; }

/* --- Admin Print Buttons --- */
.admin-print-btns { display:flex; gap:0.3rem; margin-top:0.3rem; }
.admin-print-btns .prop-info-print-btn { font-size:0.65rem; padding:0.3rem 0.6rem; }

/* --- Print Agent Section (screen hidden) --- */
.print-agent-section { display:none; }

/* --- Responsive --- */
@media(max-width:768px) {
  .admin-body { grid-template-columns:1fr; }
  .admin-nav { display:flex; overflow-x:auto; border-right:none; border-bottom:1px solid var(--border); padding:0; }
  .admin-nav-item { white-space:nowrap; border-left:none; border-bottom:2px solid transparent; padding:0.6rem 1rem; }
  .admin-nav-item.active { border-bottom-color:var(--gold); border-left-color:transparent; }
  .admin-nav-item span { display:none; }
  .admin-stats-grid { grid-template-columns:1fr; }
  .afford-body { grid-template-columns:1fr; }
  .col-selects { flex-direction:column; }
  .col-vs { margin:0; }
  .col-bar-row { grid-template-columns:80px 1fr 40px; }
  .nd-grid { grid-template-columns:1fr; }
  .prop-distances { grid-template-columns:1fr; }
  .acct-dash-tools { grid-template-columns:1fr 1fr; }
  .notif-panel { right:8px; width:calc(100vw - 16px); max-width:360px; }
}

/* ═══ TOWN FAQ SECTIONS ═══ */

.town-faq {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.town-faq .section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 2rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid rgba(196, 176, 140, 0.15);
}
.faq-item:first-child {
  border-top: 1px solid rgba(196, 176, 140, 0.15);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  margin-left: 1rem;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary:hover {
  color: var(--gold);
}
.faq-item p {
  padding: 0 0 1.25rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 800px;
}
.faq-item p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-item p a:hover {
  color: var(--gold-light);
}

/* Light theme FAQ adjustments */
[data-theme="light"] .faq-item {
  border-bottom-color: rgba(139, 119, 72, 0.2);
}
[data-theme="light"] .faq-item:first-child {
  border-top-color: rgba(139, 119, 72, 0.2);
}
[data-theme="light"] .faq-item summary {
  color: var(--cream);
}

@media (max-width: 768px) {
  .town-faq {
    padding: 2rem 1.25rem;
  }
  .faq-item summary {
    font-size: 0.9rem;
    padding: 1rem 0;
  }
  .faq-item p {
    font-size: 0.85rem;
    padding-bottom: 1rem;
  }
}

/* ═══ MLS/IDX COMPLIANCE ELEMENTS ═══ */

/* Demo data banner — fixed below nav */
.demo-banner {
  background: linear-gradient(135deg, #2a2208 0%, #1a1508 100%);
  border-bottom: 1px solid rgba(196, 176, 140, 0.3);
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
}
.demo-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.demo-banner-icon { font-size: 1rem; }
[data-theme="light"] .demo-banner {
  background: linear-gradient(135deg, #faf5e8 0%, #f0e8d0 100%);
  border-bottom-color: var(--gold);
}
[data-theme="light"] .demo-banner-inner { color: #6b5a2e; }

/* Demo banner inside property overlay */
.prop-demo-banner {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, #2a2208 0%, #1a1508 100%);
  border-bottom: 1px solid rgba(196, 176, 140, 0.3);
  padding: 0.55rem 1.5rem;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}
[data-theme="light"] .prop-demo-banner {
  background: linear-gradient(135deg, #faf5e8 0%, #f0e8d0 100%);
  color: #6b5a2e;
}

/* DEMO badge on cards */
.f-card-demo-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.15rem 0.45rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(196, 176, 140, 0.9);
  color: #0C0B09;
  border-radius: 3px;
  z-index: 2;
}

/* Listing office on cards (IDX broker attribution) */
.f-card-office {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.sr-card-office {
  font-family: 'Outfit', sans-serif;
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.sr-popup-office {
  font-family: 'Outfit', sans-serif;
  font-size: 0.5rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  opacity: 0.8;
}
.compare-fav-card-office {
  font-family: 'Outfit', sans-serif;
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  opacity: 0.8;
}

/* Listing broker attribution below property map */
.prop-listing-broker {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* Demo notice on property overlay */
.prop-demo-notice {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.2rem 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(196, 176, 140, 0.85);
  color: #0C0B09;
  border-radius: 3px;
}

/* IDX disclaimer footer */
.idx-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(196, 176, 140, 0.15);
}
.idx-disclaimer p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
  opacity: 0.7;
}
.idx-disclaimer .idx-demo-note {
  font-weight: 600;
  color: var(--gold);
  opacity: 0.9;
}
.idx-disclaimer .idx-timestamp {
  font-size: 0.65rem;
  opacity: 0.5;
  margin-bottom: 0;
}

/* Fair Housing statement */
.fair-housing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 0.5rem;
  border-top: 1px solid rgba(196, 176, 140, 0.1);
}
.fair-housing-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.fair-housing-logo {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.7;
  margin-top: 0.1rem;
}
.fair-housing-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.6;
  opacity: 0.7;
}
.fair-housing-text strong {
  color: var(--cream);
  opacity: 0.9;
}

/* IDX source attribution (Rule 23) */
.idx-disclaimer .idx-source {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

/* DMCA notice (Rule 30) */
.idx-dmca {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(196, 176, 140, 0.1);
}
.idx-dmca p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
  opacity: 0.6;
}
.idx-dmca .idx-dmca-title {
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--cream);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* Anti-scraping notice (Rule 29) */
.idx-scraping-notice {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  border-top: 1px solid rgba(196, 176, 140, 0.1);
}
.idx-scraping-notice p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
  opacity: 0.6;
  font-weight: 500;
}

/* ═══ PROPERTY HISTORY ═══ */

.prop-history { margin-top: 0 }
.prop-history-section { border-bottom: 1px solid var(--border); margin-bottom: 0 }
.prop-history-section:last-child { border-bottom: none }
.prop-history-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; font-family: 'Outfit', sans-serif; font-size: 0.85rem;
  font-weight: 500; color: var(--cream); cursor: pointer; list-style: none; transition: color 0.2s;
}
.prop-history-toggle::-webkit-details-marker { display: none }
.prop-history-toggle-icon::after {
  content: '+'; font-size: 1.1rem; font-weight: 300; color: var(--gold);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.prop-history-section[open] .prop-history-toggle-icon::after { content: '\2212' }
.prop-history-toggle:hover { color: var(--gold) }
.prop-history-content { padding-bottom: 1rem }
.prop-history-table { width: 100%; border-collapse: collapse; font-size: 0.82rem }
.prop-history-table th {
  padding: 0.5rem 0.6rem; text-align: left; font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 600; border-bottom: 1px solid var(--border);
}
.prop-history-table td {
  padding: 0.55rem 0.6rem; color: var(--text-body); border-bottom: 1px solid rgba(196, 176, 140, 0.08); font-size: 0.82rem;
}
.prop-history-table tbody tr:hover td { background: var(--surface) }
.prop-history-event {
  display: inline-block; padding: 0.12rem 0.45rem; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border); color: var(--cream);
}
.prop-history-price { font-weight: 500; color: var(--cream) }
.prop-history-up { color: #e74c3c; font-weight: 500 }
.prop-history-down { color: #27ae60; font-weight: 500 }
[data-theme="light"] .prop-history-up { color: #c0392b }
[data-theme="light"] .prop-history-down { color: #1e8449 }
.prop-history-source { font-size: 0.7rem; color: var(--text-muted); font-style: italic }
.prop-history-empty { padding: 1rem 0; font-size: 0.82rem; color: var(--text-muted); font-style: italic }

/* ═══ COMPARE PRINT BUTTON ═══ */

.compare-table-actions { display: flex; align-items: center; gap: 0.75rem }
.compare-print-btn {
  display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem;
  border: 1px solid var(--gold); background: transparent; color: var(--gold);
  font-family: 'Outfit', sans-serif; font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer; transition: all 0.3s;
}
.compare-print-btn svg { stroke: currentColor; fill: none; stroke-width: 2 }
.compare-print-btn:hover { background: var(--gold); color: var(--bg) }

/* Hidden on screen */
.compare-print-page { display: none }


/* ═══════════════════════════════════════════════════════════════════════
   MOBILE ENHANCEMENT — Bigger text, better touch targets, mobile CTA
   Everything below is inside @media queries → desktop unchanged
   ═══════════════════════════════════════════════════════════════════════ */

/* Mobile menu divider */
.mobile-menu-divider{width:100%;max-width:340px;height:1px;background:var(--border);margin:0.5rem 0}

/* ── Mobile Menu: Inline Account Section ── */
.mobile-acct-section{width:100%;max-width:340px;text-align:left}
.mobile-acct-badge{font-size:0.5rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--gold);margin-bottom:0.75rem;display:flex;align-items:center;gap:0.5rem}
.mobile-acct-badge::before{content:'';width:16px;height:1px;background:var(--gold)}
.mobile-acct-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.4rem;font-weight:300;color:var(--cream);margin-bottom:0.75rem;line-height:1.2}
.mobile-acct-field{margin-bottom:0.5rem}
.mobile-acct-field input{width:100%;padding:0.65rem 0.8rem;background:var(--surface);border:1px solid var(--border);color:var(--cream);font-family:'Outfit',sans-serif;font-size:0.82rem;transition:border-color 0.3s;outline:none;box-sizing:border-box}
.mobile-acct-field input:focus{border-color:var(--gold)}
.mobile-acct-field input::placeholder{color:var(--text-muted)}
.mobile-acct-submit{width:100%;padding:0.75rem;background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:var(--bg);font-family:'Outfit',sans-serif;font-size:0.78rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;border:none;cursor:pointer;transition:all 0.3s;margin-top:0.25rem}
.mobile-acct-submit:hover{transform:translateY(-1px);box-shadow:0 6px 24px rgba(196,176,140,0.3)}
.mobile-acct-create{width:100%;padding:0.7rem;background:transparent;border:1px solid var(--gold);color:var(--gold);font-family:'Outfit',sans-serif;font-size:0.75rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;transition:all 0.3s;margin-top:0.5rem}
.mobile-acct-create:hover{background:rgba(196,176,140,0.15);transform:translateY(-1px)}
.mobile-acct-privacy{text-align:center;font-size:0.6rem;color:var(--text-muted);margin:0.6rem 0 0;line-height:1.4;opacity:0.7}
.mobile-acct-toggle{text-align:center;font-size:0.7rem;color:var(--gold);cursor:pointer;margin-top:0.75rem;transition:color 0.3s}
.mobile-acct-toggle:hover{color:var(--gold-light)}
.mobile-acct-error{background:rgba(192,112,112,0.15);color:#e07070;padding:0.5rem 0.75rem;font-size:0.75rem;margin-bottom:0.5rem;line-height:1.4;border:1px solid rgba(192,112,112,0.25)}

/* Logged-in user section */
.mobile-acct-user{text-align:center}
.mobile-acct-avatar{margin-bottom:0.5rem}
.mobile-acct-avatar svg{width:36px;height:36px;stroke:var(--gold);fill:none;stroke-width:1.5}
.mobile-acct-email{font-size:0.72rem;color:var(--text-muted);margin-bottom:1rem}
.mobile-acct-tools{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0.4rem;margin-bottom:0.75rem}
.mobile-tool-btn{display:flex;flex-direction:column;align-items:center;gap:0.25rem;padding:0.55rem 0.3rem;background:var(--surface);border:1px solid var(--border);color:var(--text-body);font-family:'Outfit',sans-serif;font-size:0.55rem;letter-spacing:0.05em;text-transform:uppercase;cursor:pointer;transition:all 0.2s}
.mobile-tool-btn svg{width:16px;height:16px;stroke:var(--gold);fill:none;stroke-width:1.5}
.mobile-tool-btn:hover{border-color:var(--gold);color:var(--gold)}
.mobile-admin-btn{width:100%;padding:0.55rem;border:1px solid var(--gold);background:rgba(196,176,140,0.1);color:var(--gold);font-family:'Outfit',sans-serif;font-size:0.65rem;letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;transition:all 0.2s;margin-bottom:0.5rem;display:flex;align-items:center;justify-content:center;gap:0.4rem}
.mobile-admin-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.5}
.mobile-admin-btn:hover{background:rgba(196,176,140,0.2)}
.mobile-signout-btn{width:100%;padding:0.5rem;border:1px solid var(--border);background:transparent;color:var(--text-muted);font-family:'Outfit',sans-serif;font-size:0.65rem;letter-spacing:0.08em;text-transform:uppercase;cursor:pointer;transition:all 0.2s}
.mobile-signout-btn:hover{border-color:#c0392b;color:#e07070}

/* Sticky bottom CTA bar — hidden on desktop */
.mobile-cta-bar{display:none}

/* ── Tablet & Mobile (≤768px) ── */
@media(max-width:768px){

  /* ── STICKY BOTTOM CTA BAR ── */
  .mobile-cta-bar{
    display:flex;position:fixed;bottom:0;left:0;right:0;z-index:3500;
    padding:0.5rem 0.75rem;padding-bottom:calc(0.5rem + env(safe-area-inset-bottom, 0px));gap:0.5rem;
    background:var(--bg);border-top:1px solid var(--border);
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  }
  .mobile-cta-bar.hidden{display:none}
  .mcta-btn{
    flex:1;display:flex;align-items:center;justify-content:center;gap:0.5rem;
    min-height:48px;border-radius:4px;
    font-family:'Outfit',sans-serif;font-size:0.78rem;
    font-weight:600;letter-spacing:0.1em;text-transform:uppercase;
    border:none;cursor:pointer;text-decoration:none;transition:all 0.3s;
  }
  .mcta-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
  .mcta-call{background:var(--gold);color:var(--bg)}
  .mcta-call:hover{background:var(--gold-light)}
  .mcta-search{background:transparent;border:1px solid var(--gold);color:var(--gold)}
  .mcta-search:hover{background:rgba(196,176,140,0.1)}

  /* ── GLOBAL TYPOGRAPHY BUMP ── */
  .section-label{font-size:0.72rem}
  .section-title{font-size:clamp(1.8rem,5vw,2.8rem)}
  .stat-number{font-size:2.2rem}
  .stat-label{font-size:0.72rem}

  /* ── HERO SECTION ── */
  .hero-badge{font-size:0.68rem;padding:0.55rem 1.2rem}
  .hs-field{padding:0.85rem 1.1rem;min-height:48px}
  .hs-label{font-size:0.58rem}
  .hs-select,.hs-input,.hp-trigger{font-size:0.88rem}
  .hp-trigger .hp-placeholder{color:#F5F0E8}
  .hs-btn{padding:1rem 2rem;font-size:0.72rem;min-height:52px}
  /* Fix: hp-field flex-basis=175px becomes HEIGHT in column layout — must come after line 714 base rule */
  .hp-field{flex:0 0 auto!important;min-width:0!important;max-width:none!important}

  /* ── PROPERTY DETAIL OVERLAY ── */
  .prop-hero-price{font-size:2.8rem}
  .prop-stat{padding:1.25rem 1rem}
  .prop-stat-val{font-size:1.6rem}
  .prop-stat-label{font-size:0.65rem}
  .prop-section-label{font-size:0.65rem}
  .prop-section-title{font-size:1.6rem}
  .prop-desc{font-size:1rem;line-height:1.75}
  .prop-feat{padding:1.1rem 1.15rem;gap:0.75rem}
  .prop-feat-val{font-size:0.95rem}
  .prop-feat-label{font-size:0.68rem}
  .prop-share-btn{font-size:0.7rem;padding:0.75rem;min-height:44px}
  .prop-map{height:350px}
  .prop-listing-broker{font-size:0.65rem}

  /* ── SEARCH RESULTS FILTERS ── */
  .sr-filter-chip{min-height:42px;font-size:0.7rem;padding:0.45rem 0.8rem}
  .sr-filter-chip svg{width:14px;height:14px}
  .sr-multi-dropdown{min-width:200px}
  .sr-multi-option{padding:0.55rem 0.85rem;font-size:0.82rem;min-height:42px}
  .sr-multi-option input[type="checkbox"]{width:18px;height:18px}
  .sr-filter-chip select{font-size:0.78rem}
  .sr-filter-clear{min-height:42px;font-size:0.65rem;padding:0.45rem 0.85rem}
  .sr-sort{font-size:0.68rem;padding:0.7rem 0.85rem}
  .sr-sort select{font-size:0.68rem;padding:0.35rem 0.55rem;min-height:36px}

  /* ── PRICE SLIDER MOBILE BOTTOM SHEET ── */
  .hp-sheet .hp-pop-slider .ps-track{height:16px;border-radius:8px}
  .hp-sheet .hp-pop-slider .ps-fill{height:16px;border-radius:8px}
  .hp-sheet .hp-pop-slider .ps-thumb{width:36px;height:36px;border-width:3px}
  .hp-sheet .hp-pop-slider .ps-display{font-size:1.3rem;height:1.6rem}
  .hp-sheet .hp-pop-slider .ps-ticks{font-size:0.75rem;margin-top:0.75rem}
  .hp-sheet .hp-presets{gap:0.6rem}
  .hp-sheet .hp-preset{padding:0.95rem 0.7rem;font-size:0.88rem;min-height:48px}
  .hp-sheet .hp-done{padding:1.1rem;font-size:0.82rem;min-height:52px}

  /* Body bottom padding to account for sticky CTA bar */
  body{padding-bottom:64px}
}

/* ── Small Mobile (≤640px) ── */
@media(max-width:640px){

  /* ── FEATURED LISTING CARDS ── */
  .f-card-badge{font-size:0.65rem;padding:0.35rem 0.75rem}
  .f-card-body{padding:1.15rem 1.15rem}
  .f-card-price{font-size:1.65rem}
  .f-card-addr{font-size:0.92rem}
  .f-card-city{font-size:0.75rem}
  .f-feat{font-size:0.82rem}
  .card-fav-heart{width:38px;height:38px}
  .card-fav-heart svg{width:18px;height:18px}
  .card-status-tag{font-size:0.56rem;padding:0.25rem 0.65rem}

  /* ── AREA CARDS ── */
  .area-name{font-size:1.6rem}
  .area-county{font-size:0.72rem}

  /* ── STATS BAR ── */
  .stat-number{font-size:2rem}
  .stat-label{font-size:0.7rem}

  /* ── BLOG CARDS ── */
  .blog-card-cat{font-size:0.62rem}
  .blog-card-meta{font-size:0.65rem}
  .blog-card h3{font-size:1.4rem}
  .blog-card p{font-size:0.88rem}
  .blog-card-link{font-size:0.65rem}

  /* ── CHAT WIDGET — adjust for CTA bar ── */
  .chat-trigger{bottom:calc(4.5rem + env(safe-area-inset-bottom, 0px))}
  .chat-preview{bottom:8rem}
  .chat-trigger-av{width:36px;height:36px;font-size:0.9rem}
  .chat-trigger-name{font-size:0.78rem}
  .chat-trigger-status{font-size:0.58rem}
}

/* ── Narrow Mobile (≤600px) — Search Result Cards ── */
@media(max-width:600px){

  /* Switch from tiny horizontal cards back to stacked vertical */
  .sr-card{flex-direction:column}
  .sr-card-img{width:100%;height:200px}
  .sr-card-body{padding:0.85rem 1rem}
  .sr-card-price{font-size:1.35rem}
  .sr-card-value{font-size:0.65rem}
  .sr-card-addr{font-size:0.88rem}
  .sr-card-city{font-size:0.7rem}
  .sr-card-feats{font-size:0.78rem;gap:0.75rem}
  .sr-card-img .sr-card-badge{font-size:0.55rem;padding:0.2rem 0.55rem}
  .sr-card-img .card-status-tag{font-size:0.5rem;padding:0.2rem 0.5rem}
  .sr-card-img .card-fav-heart{width:36px;height:36px}
  .sr-card-img .card-fav-heart svg{width:16px;height:16px}
  .sr-card-office{font-size:0.62rem}
}

/* ═══════════════════════════════════════════════════════
   SEARCH PARTY — Transcript Notes & Shared Favorites
   ═══════════════════════════════════════════════════════ */

/* Party member badge in notes header */
.party-member-badge{display:inline-flex;align-items:center;background:rgba(196,176,140,0.15);color:var(--gold);font-size:0.65rem;padding:2px 8px;border-radius:10px;margin-left:auto;font-weight:500;letter-spacing:0.03em}

/* Transcript container */
.party-transcript{max-height:300px;overflow-y:auto;padding:0.5rem 0;margin-bottom:0.5rem;scrollbar-width:thin;scrollbar-color:rgba(196,176,140,0.2) transparent}
.party-transcript::-webkit-scrollbar{width:4px}
.party-transcript::-webkit-scrollbar-thumb{background:rgba(196,176,140,0.2);border-radius:2px}
.party-empty-notes{text-align:center;padding:1.5rem 0.5rem;color:var(--text-muted);font-size:0.8rem;font-style:italic}

/* Individual note in transcript */
.party-note{display:flex;gap:0.5rem;padding:0.4rem 0;align-items:flex-start}
.party-note + .party-note{border-top:1px solid var(--border)}
.party-note-avatar{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0.55rem;font-weight:700;color:#fff;flex-shrink:0;letter-spacing:-0.02em}
.party-note-body{flex:1;min-width:0}
.party-note-meta{display:flex;align-items:baseline;gap:0.4rem;margin-bottom:2px}
.party-note-name{font-size:0.75rem;font-weight:600;color:var(--text-body)}
.party-note-time{font-size:0.65rem;color:var(--text-muted)}
.party-note-text{font-size:0.82rem;color:var(--text-body);line-height:1.45;word-break:break-word}

/* Note input row */
.party-note-input-row{display:flex;gap:0.4rem;align-items:flex-end}
.party-note-ta{flex:1;resize:none;padding:0.5rem 0.65rem;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-body);font-family:'Outfit',sans-serif;font-size:0.82rem;line-height:1.4;transition:border-color 0.2s}
.party-note-ta:focus{outline:none;border-color:var(--gold)}
.party-note-ta::placeholder{color:var(--text-muted)}
.party-note-send{padding:0.5rem 0.85rem;border:none;background:var(--gold);color:var(--bg);border-radius:8px;font-family:'Outfit',sans-serif;font-size:0.75rem;font-weight:600;letter-spacing:0.05em;text-transform:uppercase;cursor:pointer;transition:opacity 0.2s;white-space:nowrap}
.party-note-send:hover{opacity:0.85}

/* Party fav dots on detail page */
.prop-fav-party-dots{display:flex;gap:3px;justify-content:center;margin-top:4px}
.party-fav-dot{width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:0.5rem;font-weight:700;color:#fff;letter-spacing:-0.02em}

/* ═══ Toast notification ═══ */
.cc-toast{position:fixed;bottom:2rem;left:50%;transform:translateX(-50%) translateY(20px);background:var(--surface);color:var(--text-body);padding:0.75rem 1.5rem;border-radius:10px;font-size:0.85rem;font-family:'Outfit',sans-serif;box-shadow:0 4px 20px var(--shadow);z-index:99999;opacity:0;transition:opacity 0.3s,transform 0.3s cubic-bezier(0.16,1,0.3,1);border:1px solid var(--border);pointer-events:none;max-width:400px;text-align:center}
.cc-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.cc-toast.success{border-color:var(--green);background:var(--surface)}
.cc-toast.error{border-color:var(--red-soft);background:var(--surface)}

/* ═══ Save Search button in filter bar ═══ */
.sr-save-search-btn{display:inline-flex;align-items:center;gap:0.35rem;padding:0.45rem 0.85rem;border-radius:20px;border:1px solid var(--gold);background:transparent;color:var(--gold);font-family:'Outfit',sans-serif;font-size:0.72rem;font-weight:500;cursor:pointer;transition:all 0.2s;white-space:nowrap;letter-spacing:0.02em}
.sr-save-search-btn:hover{background:var(--gold);color:var(--bg)}
.sr-save-search-btn:disabled{opacity:0.5;cursor:default}
.sr-save-search-btn svg{flex-shrink:0}

/* ═══ Price Drop Alert button ═══ */
.prop-pricedrop-btn{display:flex;align-items:center;justify-content:center;gap:0.5rem;width:100%;padding:0.7rem 1rem;border:1px solid var(--border);background:transparent;color:var(--text-body);border-radius:10px;font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:500;cursor:pointer;transition:all 0.25s;margin-top:0.5rem}
.prop-pricedrop-btn:hover{border-color:var(--gold);color:var(--gold)}
.prop-pricedrop-btn.subscribed{border-color:var(--green);color:var(--green);cursor:default}
.prop-pricedrop-btn svg{width:18px;height:18px;flex-shrink:0}

/* ═══ Share with Search Party button ═══ */
.prop-partyshare-btn{display:flex;align-items:center;justify-content:center;gap:0.5rem;width:100%;padding:0.7rem 1rem;border:1px solid var(--gold);background:rgba(196,176,140,0.08);color:var(--gold);border-radius:10px;font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:500;cursor:pointer;transition:all 0.25s;margin-top:0.5rem}
.prop-partyshare-btn:hover{background:rgba(196,176,140,0.15)}
.prop-partyshare-btn svg{width:18px;height:18px;flex-shrink:0}

/* ═══ SMS Share (mobile only) ═══ */
.prop-sms-share{display:none}
@media(max-width:768px){
  .prop-sms-share{display:inline-flex}
}

/* ═══ View More Like This button ═══ */
.suggest-view-more{display:flex;align-items:center;justify-content:center;gap:0.4rem;width:100%;margin-top:1rem;padding:0.75rem 1rem;border:1px solid var(--gold);background:transparent;color:var(--gold);border-radius:10px;font-family:'Outfit',sans-serif;font-size:0.82rem;font-weight:500;letter-spacing:0.05em;text-transform:uppercase;cursor:pointer;transition:all 0.25s}
.suggest-view-more:hover{background:var(--gold);color:var(--bg)}

/* ═══ Suggestions grid — 6 cards layout ═══ */
.corys-suggestions .featured-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}

/* ═══ Neighborhood links ═══ */
.nd-links{display:flex;gap:0.5rem;justify-content:center;margin-top:0.75rem;flex-wrap:wrap}
.nd-link-btn{display:inline-flex;align-items:center;gap:0.35rem;padding:0.45rem 0.85rem;border-radius:20px;border:1px solid var(--border);background:transparent;color:var(--text-body);font-family:'Outfit',sans-serif;font-size:0.72rem;font-weight:500;text-decoration:none;transition:all 0.2s}
.nd-link-btn:hover{border-color:var(--gold);color:var(--gold)}

/* ═══ Print styles for party notes ═══ */
@media print{
  .party-transcript,.party-note-input-row,.party-member-badge,.cc-toast,.sr-save-search-btn,.prop-pricedrop-btn,.prop-partyshare-btn,.suggest-view-more,.nd-links,.prop-sms-share{display:none!important}
}
