/* ---------- Theme 3: "Dashboard / Bento" — sidebar nav, ticker, asymmetric grid ---------- */
:root {
  --black: #23262b;
  --white: #ffffff;
  --off: #f2f1f0;
  --panel: #1a1c20;
  --gray-700: #55585d;
  --gray-500: #86898e;
  --accent: #7a2e33;
  --mono: "SF Mono", "IBM Plex Mono", "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sidebar-w: 232px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, button { font-family: var(--sans); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; border: 2px solid var(--black); cursor: pointer; background: var(--white); color: var(--black); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--black); color: var(--white); }

/* ---------- Sidebar ---------- */
.dash-sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-w); background: var(--panel); color: #d8d8d8; display: flex; flex-direction: column; z-index: 60; overflow-y: auto; }
.dash-sidebar .sb-logo { padding: 26px 22px; border-bottom: 1px solid #2a2b2e; display: flex; align-items: center; gap: 10px; }
.dash-sidebar .sb-logo .mark { width: 34px; height: 34px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.dash-sidebar .sb-logo strong { display: block; color: #fff; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.dash-sidebar .sb-logo span { display: block; font-family: var(--mono); font-size: 9.5px; color: #888; letter-spacing: .05em; }
.sb-nav { padding: 18px 12px; flex: 1; }
.sb-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-size: 13px; font-weight: 600; color: #b8b8b8; border-radius: 4px; text-transform: uppercase; letter-spacing: .02em; }
.sb-nav a .n { font-family: var(--mono); font-size: 10.5px; color: #666; }
.sb-nav a:hover { background: #2a2d32; color: #fff; }
.sb-nav a.active { background: var(--accent); color: #fff; }
.sb-nav a.active .n { color: rgba(255,255,255,.7); }
.sb-foot { padding: 18px 22px; border-top: 1px solid #2a2b2e; font-size: 12.5px; }
.sb-foot .phone { color: #fff; font-weight: 700; display: block; margin-bottom: 4px; }
.sb-foot .addr { color: #888; line-height: 1.5; font-size: 11.5px; }
.sb-toggle { display: none; }

/* ---------- Main shell ---------- */
.dash-main { margin-left: var(--sidebar-w); min-height: 100vh; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 36px; }

/* ---------- Info bar (static, no motion) ---------- */
.ticker { background: var(--black); color: #cfd6d4; border-bottom: 1px solid #2a2f31; }
.ticker-track { display: flex; align-items: center; gap: 28px; padding: 11px 0; font-size: 12px; letter-spacing: .02em; flex-wrap: wrap; }
.ticker-track span { color: var(--accent); font-weight: 600; }

/* ---------- Top bar (inside main, above hero) ---------- */
.dash-topbar { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding: 16px 36px; border-bottom: 1px solid #eee; font-size: 12.5px; font-family: var(--mono); text-transform: uppercase; }
.dash-topbar a:hover { color: var(--accent); }

/* ---------- Hero: no photo, headline + bento stat tiles ---------- */
.dash-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--black); }
.dash-hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.dash-hero .eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--accent); }
.dash-hero h1 { font-weight: 800; font-size: 52px; line-height: 1.04; margin: 14px 0 18px; letter-spacing: -0.01em; }
.dash-hero p { font-size: 16px; color: var(--gray-700); max-width: 460px; line-height: 1.55; margin: 0 0 26px; }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-tiles .tile { border: 2px solid var(--black); padding: 18px; }
.hero-tiles .tile strong { display: block; font-size: 28px; font-weight: 800; }
.hero-tiles .tile span { font-size: 10.5px; font-family: var(--mono); text-transform: uppercase; color: var(--gray-500); }
.hero-tiles .tile.wide { grid-column: 1 / 3; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.hero-tiles .tile.wide input { flex: 1; border: none; background: transparent; color: #fff; padding: 8px; font-size: 13.5px; }
.hero-tiles .tile.wide input::placeholder { color: #999; }
.hero-tiles .tile.wide button { border: none; background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 700; font-size: 11.5px; text-transform: uppercase; cursor: pointer; }

/* ---------- Section heads ---------- */
.dash-section { padding: 60px 0; border-bottom: 1px solid var(--black); }
.dash-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 20px; }
.dash-section-head .eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.dash-section-head h2 { font-weight: 800; font-size: 30px; margin: 10px 0 0; letter-spacing: -0.01em; }
.dash-section-head p { font-size: 14px; color: var(--gray-700); max-width: 480px; margin: 10px 0 0; }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 10px; }
.bento-item { position: relative; border: 2px solid var(--black); overflow: hidden; display: block; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; }
.bento-item .bi-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.82) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 16px; color: #fff; }
.bento-item .bi-price { font-size: 20px; font-weight: 800; }
.bento-item .bi-addr { font-size: 11.5px; opacity: .85; margin-top: 2px; }
.bento-item .bi-tag { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 4px 9px; font-family: var(--mono); z-index: 2; }
.bento-featured { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento-item.plain { background: var(--off); }
.bento-item.plain .bi-overlay { background: none; justify-content: flex-start; color: var(--black); padding: 16px; }
.bento-item.plain .bi-price { font-size: 18px; }
.bento-item.plain .bi-addr { color: var(--gray-700); opacity: 1; }

/* ---------- Listings table ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table thead th { text-align: left; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); padding: 0 12px 12px; border-bottom: 2px solid var(--black); }
.data-table tbody td { padding: 14px 12px; border-bottom: 1px solid #ddd; vertical-align: middle; }
.data-table tbody tr:hover { background: var(--off); }
.data-table .dt-thumb { width: 64px; height: 48px; object-fit: cover; border: 1px solid var(--black); }
.data-table .dt-price { font-weight: 800; }
.data-table .dt-link { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--accent); font-weight: 700; }

/* ---------- Sidebar valuation widget style panel ---------- */
.calc-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: var(--black); color: #fff; padding: 40px; }
.calc-panel .eyebrow { color: #c98a90; }
.calc-panel h2 { font-weight: 800; font-size: 26px; margin: 10px 0 14px; }
.calc-panel p { font-size: 14px; color: #ccc; line-height: 1.6; }
.calc-form { background: #fff; color: var(--black); padding: 22px; }
.calc-form label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 6px; color: var(--gray-700); }
.calc-form input { width: 100%; border: 2px solid var(--black); padding: 11px 12px; font-size: 14px; margin-bottom: 12px; }
.calc-form .estimate { font-family: var(--mono); font-size: 12.5px; margin-top: 8px; text-align: center; }

/* ---------- Why / numbered list ---------- */
.numbered-list { display: flex; flex-direction: column; }
.numbered-list li { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid #ddd; align-items: baseline; list-style: none; }
.numbered-list li:first-child { border-top: none; }
.numbered-list .nl-num { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 800; flex: 0 0 34px; }
.numbered-list h3 { font-size: 16.5px; font-weight: 800; margin: 0 0 6px; text-transform: uppercase; }
.numbered-list p { font-size: 14px; color: var(--gray-700); margin: 0; max-width: 560px; }

/* ---------- Testimonials (static grid) ---------- */
.quote-ticker { background: var(--off); padding: 60px 0; }
.quote-ticker-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; padding: 0 36px; }
.quote-card { background: #fff; border: 1px solid #d8d8d6; padding: 26px; }
.quote-card .stars { color: var(--accent); font-size: 13px; margin-bottom: 10px; letter-spacing: 2px; }
.quote-card p { font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.quote-card .who { font-size: 12px; color: var(--gray-500); }

/* ---------- Footer ---------- */
.dash-footer { padding: 40px 0; }
.dash-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--gray-500); }
.dash-footer a:hover { color: var(--accent); }

/* ---------- Property detail ---------- */
.pd-hero-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; padding: 30px 0; }
.pd-hero-row .main-photo { border: 2px solid var(--black); overflow: hidden; height: 420px; }
.pd-hero-row .main-photo img { width: 100%; height: 100%; object-fit: cover; }
.pd-stat-stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; }
.pd-stat-stack .tile { border: 2px solid var(--black); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.pd-stat-stack .tile.dark { background: var(--black); color: #fff; }
.pd-stat-stack .tile strong { font-size: 26px; font-weight: 800; }
.pd-stat-stack .tile span { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--gray-500); }
.pd-stat-stack .tile.dark span { color: #999; }
.pd-thumbs { display: flex; gap: 8px; padding-bottom: 30px; overflow-x: auto; }
.pd-thumbs img { width: 140px; height: 96px; object-fit: cover; border: 2px solid var(--black); flex: 0 0 auto; cursor: pointer; }

.console-block { font-size: 15.5px; line-height: 1.8; color: var(--gray-700); margin: 24px 0 30px; }
.console-block .prompt { display: none; }

.pd-detail-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding-bottom: 60px; }
.pd-fact-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.pd-fact-table td { padding: 11px 4px; border-bottom: 1px solid #ddd; font-size: 13.5px; }
.pd-fact-table td:first-child { font-family: var(--mono); color: var(--gray-500); text-transform: uppercase; font-size: 11px; }
.pd-fact-table td:last-child { text-align: right; font-weight: 700; }

.pd-contact-box { border: 2px solid var(--black); padding: 24px; position: sticky; top: 24px; }
.pd-contact-box .agent-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--black); }
.pd-contact-box .agent-line .mark { width: 42px; height: 42px; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.pd-contact-box input, .pd-contact-box textarea { width: 100%; border: 2px solid var(--black); padding: 11px 12px; font-size: 13.5px; margin-bottom: 10px; }
.pd-contact-box textarea { min-height: 80px; resize: vertical; }

@media (max-width: 1080px) {
  .dash-sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  .dash-sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .sb-toggle { display: flex; align-items: center; gap: 8px; }
  .dash-hero .wrap { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-featured { grid-column: 1 / 3; }
  .calc-panel { grid-template-columns: 1fr; }
  .pd-hero-row { grid-template-columns: 1fr; }
  .pd-stat-stack { grid-template-rows: auto; grid-template-columns: repeat(3, 1fr); }
  .pd-detail-layout { grid-template-columns: 1fr; }
  .pd-contact-box { position: static; }
}
@media (max-width: 640px) {
  .dash-hero h1 { font-size: 36px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-featured { grid-column: 1; grid-row: auto; height: 320px; }
  .data-table { font-size: 12.5px; }
  .data-table .dt-thumb { display: none; }
}

/* ---------- Rentals additions ---------- */
.mo { font-size: 13px; font-weight: 600; color: var(--gray-500); }
.avail-line { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--gray-500); margin-top: 6px; }
.dt-avail { font-family: var(--mono); font-size: 11.5px; color: var(--gray-500); text-transform: uppercase; }
