/* ==========================================================================
   Value Properties LLC — styles.css
   Mobile-first. Palette locked to brand: cream, charcoal, brick red, gold.
   ========================================================================== */

:root {
  --cream: #F5F2E8;
  --cream-2: #EFEADA;       /* slightly deeper cream for cards on cream */
  --charcoal: #2B2B2B;
  --charcoal-soft: #3a3a3a;
  --brick: #B23A2E;
  --brick-dark: #8f2d24;
  --gold: #C8A24D;
  --gold-soft: #d8bd7e;

  --ink: #2B2B2B;
  --ink-muted: #5c574c;     /* readable muted text on cream (not gold) */
  --ink-on-dark: #f0ece0;
  --muted-on-dark: #c7c1b2;

  --rule: rgba(200, 162, 77, 0.55);
  --shadow: 0 2px 10px rgba(43, 43, 43, 0.08);
  --shadow-lg: 0 12px 40px rgba(43, 43, 43, 0.18);

  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);

  --serif: "Cinzel", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---- Reset / base --------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brick); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--brick-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2.5px solid var(--brick); outline-offset: 3px; border-radius: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Eyebrow (gold rule — small-caps label — gold rule) ------------------- */
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-muted);
  margin: 0 0 1.1rem;
}
.eyebrow::before, .eyebrow::after {
  content: ""; height: 1px; width: clamp(28px, 8vw, 64px);
  background: var(--gold); opacity: 0.85;
}
.eyebrow--left { justify-content: flex-start; }
.eyebrow--left::before { display: none; }
.eyebrow--ondark { color: var(--gold-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.03em; padding: 0.85rem 1.6rem; border-radius: 2px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--brick); color: #fff; border-color: var(--brick); }
.btn-primary:hover { background: var(--brick-dark); border-color: var(--brick-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--charcoal); }
.btn-outline-cream { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline-cream:hover { background: var(--cream); color: var(--charcoal); }
.btn-ghost { background: transparent; color: var(--brick); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--brick-dark); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(245, 242, 232, 0.94);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem clamp(20px, 4vw, 32px);
  max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { width: 40px; height: auto; }
.brand-word { display: flex; align-items: baseline; gap: 0.35rem; line-height: 1; }
.brand-word .w-value { font-family: var(--serif); font-weight: 700; color: var(--brick); font-size: 1.22rem; letter-spacing: 0.02em; }
.brand-word .w-props { font-family: var(--serif); font-weight: 600; color: var(--charcoal); font-size: 1.22rem; letter-spacing: 0.02em; }
.brand-word .w-llc { font-family: var(--sans); font-weight: 500; color: var(--gold); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; align-self: flex-end; margin-bottom: 0.12rem; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--charcoal); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em; position: relative; }
.nav a:hover { color: var(--brick); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transition: transform 0.2s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.header-phone { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--charcoal); font-weight: 500; font-size: 0.9rem; white-space: nowrap; }
.header-phone svg { stroke: var(--gold); }
.header-phone:hover { color: var(--brick); }

/* Phone link that lives inside the nav — only shown inside the mobile dropdown. */
.nav-phone { display: none; align-items: center; gap: 0.5rem; color: var(--charcoal); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.nav-phone svg { stroke: var(--gold); flex: none; }
.nav-phone:hover { color: var(--brick); }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--rule);
  border-radius: 2px; padding: 0.4rem 0.55rem; cursor: pointer;
}
.nav-toggle svg { stroke: var(--charcoal); display: block; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.88) 0%, rgba(30,30,30,0.58) 40%, rgba(30,30,30,0.32) 72%, rgba(30,30,30,0.18) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--cream); padding-block: clamp(2.5rem, 6vw, 5rem); max-width: 820px; }
.hero-content .eyebrow { color: var(--gold-soft); justify-content: flex-start; text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 1px 8px rgba(0,0,0,0.55); }
.hero-content .eyebrow::before { display: none; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.5rem); font-weight: 700; text-shadow: 0 2px 18px rgba(0,0,0,0.4); margin-bottom: 0.6rem; }
.hero-sub { color: var(--cream); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px; line-height: 1.55; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

/* ---- Stats band ----------------------------------------------------------- */
.stats-band { background: var(--charcoal); color: var(--ink-on-dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(1.6rem, 4vw, 2.4rem) 0;
}
.stat { text-align: center; padding: 0.5rem clamp(0.5rem, 2vw, 1.5rem); position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--rule);
}
.stat-num { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--gold); line-height: 1; }
.stat-label { display: block; margin-top: 0.5rem; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--muted-on-dark); }

/* ---- Property cards ------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.card-grid--four { grid-template-columns: repeat(4, 1fr); }
.card-grid--two { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }

.pcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--rule); border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard-media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-2); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.pcard:hover .pcard-media img { transform: scale(1.03); }

.badge {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2;
  font-family: var(--sans); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.65rem; border-radius: 2px;
}
.badge--available { background: var(--brick); color: #fff; }
.badge--leased { background: var(--gold); color: var(--charcoal); }

.pcard-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 1.18rem; margin-bottom: 0.15rem; }
.pcard-city { color: var(--ink-muted); font-size: 0.85rem; margin-bottom: 0.7rem; }
.pcard-meta { display: flex; align-items: center; gap: 1.1rem; color: var(--charcoal); font-size: 0.9rem; margin-bottom: 0.6rem; }
.meta-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.meta-item svg { stroke: var(--gold); flex: none; }
.pcard-campus { display: flex; flex-direction: column; gap: 0.3rem; color: var(--ink-muted); font-size: 0.85rem; margin-bottom: 0.9rem; }
.campus-line { display: inline-flex; align-items: center; gap: 0.4rem; }
.pcard-campus svg { stroke: var(--gold); flex: none; }
.pcard-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding-top: 0.6rem; border-top: 1px solid var(--rule); }
.pcard-status { font-size: 0.85rem; color: var(--ink-muted); letter-spacing: 0.04em; }
.pcard-link { font-size: 0.88rem; font-weight: 500; color: var(--brick); }

/* Photos-coming-soon placeholder cover (reusable, no saved image) */
.photo-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.7rem;
  background: var(--charcoal);
  background-image: radial-gradient(circle at 50% 40%, #3a3a3a 0%, #242424 75%);
}
.photo-placeholder img { width: 34%; max-width: 120px; opacity: 0.16; filter: grayscale(0.2); }
.photo-placeholder span {
  font-family: var(--sans); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-on-dark);
}

/* ---- Filter pills --------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.pill {
  font-family: var(--sans); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--gold); border-radius: 100px; background: transparent;
  color: var(--charcoal); cursor: pointer; transition: all 0.2s ease;
}
.pill:hover { background: var(--cream-2); }
.pill.active { background: var(--brick); border-color: var(--brick); color: #fff; }
.result-count { text-align: center; color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ---- Why-us strip --------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 4vw, 2.4rem); }
.why-item { text-align: center; }
.why-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center;
}
.why-icon svg { stroke: var(--charcoal); }
.why-item h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.why-item p { color: var(--ink-muted); font-size: 0.92rem; margin: 0; }

/* ---- Map ------------------------------------------------------------------ */
.map-wrap { position: relative; }
#map, #mini-map { width: 100%; border: 1px solid var(--rule); border-radius: 3px; background: var(--cream-2); }
#map { height: clamp(420px, 55vh, 560px); }
#mini-map { height: 360px; }
/* Google Maps canvas: keep the site font on any UI it injects. */
#map .gm-style, #mini-map .gm-style { font-family: var(--sans); }

/* Quiet fallback shown if the Maps API can't load (bad key / offline). */
.map-fallback { display: flex; align-items: center; justify-content: center; background: var(--cream-2); }
.map-fallback-inner { color: var(--ink-muted); font-size: 0.9rem; letter-spacing: 0.02em; padding: 1rem; text-align: center; }

.map-legend {
  background: var(--cream); border: 1px solid var(--gold); border-radius: 3px;
  padding: 0.8rem 1rem; font-size: 0.82rem; box-shadow: var(--shadow); line-height: 1.5;
}
.map-legend strong { display: block; font-family: var(--sans); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; color: var(--ink-muted); margin-bottom: 0.5rem; }
.legend-row { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.3rem; color: var(--charcoal); }
.legend-row:last-child { margin-bottom: 0; }
.legend-swatch { flex: none; }
.map-legend-control { margin: 12px; }

/* Google InfoWindow: strip the default chrome so .popup-card renders like the old popup. */
.gm-style .gm-style-iw-c { padding: 0; border-radius: 3px; border: 1px solid var(--rule); box-shadow: var(--shadow-lg); }
/* Let the inner scroll area grow to fit content; only scroll (never clip) if a
   marker sits so near the map edge that the full card can't fit above it. This
   keeps both the "View house" and "Open in Google Maps" links reachable. */
.gm-style .gm-style-iw-d { overflow-x: hidden !important; overflow-y: auto !important; }
.gm-style .gm-style-iw-c .popup-card { width: 220px; }
/* Compact popup: the two-link card must fit inside Google's InfoWindow height. */
.popup-card img { width: 100%; height: 72px; object-fit: cover; border-radius: 3px 3px 0 0; display: block; }
.popup-body { padding: 0.5rem 0.8rem 0.6rem; }
.popup-body h4 { font-family: var(--serif); font-size: 0.95rem; margin: 0 0 0.1rem; }
.popup-meta { color: var(--ink-muted); font-size: 0.8rem; margin: 0 0 0.3rem; }
.popup-status { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.popup-status.is-available { color: var(--brick); }
.popup-status.is-leased { color: var(--ink-muted); }
.popup-link { display: inline-block; margin-top: 0.3rem; font-weight: 500; font-size: 0.85rem; }
/* Secondary "Open in Google Maps" link: gold/muted vs the brick-red primary. */
.popup-link--gmaps { display: inline-flex; align-items: center; gap: 0.28rem; margin-top: 0.22rem; color: var(--ink-muted); font-size: 0.78rem; }
.popup-link--gmaps:hover { color: var(--gold-deep, #a5842f); }
.popup-link--gmaps svg { flex: none; }

/* ---- Own-a-property band -------------------------------------------------- */
.dark-band { background: var(--charcoal); color: var(--ink-on-dark); }
.dark-band h2 { color: #fff; }
.dark-band .eyebrow { color: var(--gold-soft); }
.dark-band p { color: var(--muted-on-dark); }
.band-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.band-inner h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }

/* ---- Contact / form ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.contact-aside p { color: var(--ink-muted); }
.contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-lines li { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; color: var(--charcoal); }
.contact-lines svg { stroke: var(--gold); flex: none; }
.contact-note { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: 0.92rem; color: var(--ink-muted); }

.form { background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 0.7rem 0.8rem; border: 1.5px solid var(--rule); border-radius: 2px;
  background: var(--cream); transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brick); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field.is-hidden { display: none; }

.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--gold); border-radius: 2px; overflow: hidden; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  margin: 0; text-align: center; padding: 0.7rem 0.5rem; cursor: pointer;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em; text-transform: none;
  color: var(--charcoal); background: var(--cream); transition: all 0.2s ease;
}
.segmented label + label { border-left: 1.5px solid var(--gold); }
.segmented input:checked + label { background: var(--brick); color: #fff; }
.segmented input:focus-visible + label { outline: 2.5px solid var(--brick); outline-offset: -3px; }

.form-actions { margin-top: 0.5rem; }
.form-actions .btn { width: 100%; justify-content: center; }
.form-hint { text-align: center; margin: 0.9rem 0 0; font-size: 0.88rem; color: var(--ink-muted); }
.phone-note { font-size: 0.85rem; color: var(--ink-muted); }
.site-footer .phone-note { color: var(--muted-on-dark); opacity: 0.8; }
.form-status { margin: 0.9rem 0 0; font-size: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 2px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(200,162,77,0.14); border: 1px solid var(--gold); color: var(--charcoal); }
.form-status.err { background: rgba(178,58,46,0.1); border: 1px solid var(--brick); color: var(--brick-dark); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--muted-on-dark); padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand img { width: 44px; }
.footer-brand .brand-word .w-props { color: var(--cream); }
.footer-tag { color: var(--gold-soft); font-size: 0.85rem; letter-spacing: 0.06em; margin-top: 0.6rem; }
.footer-contact { text-align: right; font-size: 0.92rem; }
.footer-contact a { color: var(--cream); }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-rule { height: 1px; background: var(--rule); margin: 1.8rem 0 1.2rem; }
.footer-legal { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted-on-dark); }
.footer-eho { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.9rem; }
.footer-eho .eho-mark { flex: none; color: var(--cream); opacity: 0.85; }
.footer-eho-text { margin: 0; max-width: 62ch; }

/* ---- Property detail page ------------------------------------------------- */
.breadcrumb { padding: 1.4rem 0 0; font-size: 0.88rem; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--brick); }
.breadcrumb svg { stroke: currentColor; }

.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin: 0.8rem 0 1.5rem; }
.detail-head h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: 0; }
.detail-badge { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 2px; }
.detail-badge.badge--available { position: static; }
.detail-badge.badge--leased { position: static; }
.detail-city { color: var(--ink-muted); font-size: 1rem; margin: -0.6rem 0 1.6rem; }

.gallery-main { position: relative; aspect-ratio: 16 / 10; background: var(--cream-2); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.7rem; overflow-x: auto; padding-bottom: 0.3rem; }
.gallery-thumbs button {
  flex: none; width: 92px; aspect-ratio: 16/10; padding: 0; border: 2px solid transparent;
  border-radius: 2px; overflow: hidden; cursor: pointer; background: var(--cream-2);
  transition: border-color 0.2s ease;
}
.gallery-thumbs button.active { border-color: var(--brick); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); margin-top: clamp(2rem, 5vw, 3rem); align-items: start; }

.facts-row { display: flex; flex-wrap: wrap; gap: 1.6rem; padding: 1.2rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 1.6rem; }
.fact { display: flex; align-items: center; gap: 0.55rem; }
.fact svg { stroke: var(--gold); flex: none; }
.fact .fact-num { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--charcoal); }
.fact .fact-label { color: var(--ink-muted); font-size: 0.85rem; }

.rent-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 0.4rem; }
.rent-table caption { text-align: left; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.6rem; }
.rent-table th, .rent-table td { text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--rule); }
.rent-table th { font-family: var(--sans); font-weight: 500; font-size: 0.85rem; color: var(--ink-muted); }
.rent-table td.rent-val { font-family: var(--serif); font-weight: 600; color: var(--brick); font-size: 1.05rem; }
.rent-note { font-size: 0.8rem; color: var(--ink-muted); margin-top: 0.5rem; }
.leased-note, .avail-note { background: var(--cream-2); border: 1px solid var(--rule); border-left: 3px solid var(--gold); border-radius: 2px; padding: 1rem 1.1rem; color: var(--charcoal); font-size: 0.95rem; }

.detail-card { background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 1.4rem; box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.detail-card h3 { font-size: 1.15rem; margin-bottom: 0.9rem; }
.dist-list { list-style: none; margin: 0; padding: 0; }
.dist-list li { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.dist-list li:last-child { border-bottom: none; }
.dist-list svg { stroke: var(--gold); flex: none; }
.dist-list .miles { margin-left: auto; font-family: var(--serif); font-weight: 600; color: var(--charcoal); }
.dist-list .campus-name { color: var(--charcoal); }

/* Outbound Google Maps links under the mini-map. Jost small caps, gold rule. */
.map-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--rule); }
.map-links a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.74rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
}
.map-links a:hover { color: var(--brick); }
.map-links a svg { flex: none; stroke: var(--gold); }
.map-links a:hover svg { stroke: var(--brick); }

.detail-cta { text-align: center; }
.detail-cta .btn { width: 100%; justify-content: center; }

.notice { max-width: 560px; margin: 4rem auto; text-align: center; }

/* ---- Lightbox ------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(20,20,20,0.94); display: none; align-items: center; justify-content: center; padding: 3rem 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 2px; box-shadow: 0 10px 60px rgba(0,0,0,0.6); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(245,242,232,0.1); color: var(--cream);
  border: 1.5px solid rgba(245,242,232,0.4); border-radius: 50%; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(245,242,232,0.25); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-nav.prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: var(--muted-on-dark); font-size: 0.85rem; letter-spacing: 0.1em; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .card-grid, .card-grid--four, .card-grid--two { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--rule); padding: 1.2rem clamp(20px, 4vw, 32px) 1.4rem;
  }
  .site-header.open .nav-phone {
    display: inline-flex; width: 100%; margin-top: 0.2rem;
    padding-top: 1.1rem; border-top: 1px solid var(--rule);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .stat:nth-child(3)::before, .stat:nth-child(2)::before { }
  .stat-num { font-size: 1.8rem; }
  .footer-top { flex-direction: column; }
  .footer-contact { text-align: left; }
  #mini-map { height: 300px; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid--four, .card-grid--two { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat { border-top: 1px solid var(--rule); padding-top: 1.2rem; }
  .stat:first-child { border-top: none; padding-top: 0.5rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
