/* ============================================================
   Four Star Homes — AgentImage-class design system
   Adapted from lajollahomes.com + jillszeder.com audit
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&family=Lato:wght@300;400;700;900&display=swap');

/* ---------- TOKENS ---------- */
:root {
  /* Brand */
  --c-red:          #e6141e;      /* Four Star primary red (from logo) */
  --c-red-dark:     #b80f17;      /* hover / pressed */
  --c-red-tint:     #fceaeb;      /* faintest red wash */
  --c-navy:         #1a2a3a;      /* secondary anchor, deep blue-charcoal */
  --c-navy-dark:    #0e1922;      /* footer / dark backgrounds */
  --c-gold:         #b89b5e;      /* warm accent — used sparingly on hover/borders */

  /* Neutrals */
  --c-paper:        #faf8f5;      /* warm off-white page background */
  --c-paper-warm:   #f4efe8;      /* slightly deeper warm panel */
  --c-bg-white:     #ffffff;
  --c-ink:          #0d0d0d;      /* primary text — near-black for older-audience readability */
  --c-ink-soft:     #3d3d3d;      /* secondary text — darkened for AA contrast on paper */
  --c-ink-muted:    #5a5a5a;      /* tertiary, captions — darkened from #8a8a8a */
  --c-rule:         #d9d4cc;      /* warm divider */
  --c-rule-soft:    #ece8e0;      /* very faint divider */

  /* Functional */
  --c-listing-overlay: rgba(20,20,20,0.45);
  --c-overlay-light:   rgba(255,255,255,0.92);

  /* Type families */
  --ff-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --ff-ui:      'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --ff-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale (responsive via clamp) */
  --t-hero:      clamp(48px, 7vw, 110px);
  --t-display:   clamp(36px, 5.2vw, 78px);
  --t-h2:        clamp(28px, 3.8vw, 56px);
  --t-h3:        clamp(22px, 2.4vw, 32px);
  --t-h4:        clamp(18px, 1.5vw, 22px);
  --t-body:      17px;
  --t-small:     15px;
  --t-eyebrow:   13px;
  --t-tiny:      12px;

  /* Spacing */
  --sp-1: 8px;  --sp-2: 16px;  --sp-3: 24px;  --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px;  --sp-7: 80px;  --sp-8: 112px;
  --sp-9: 160px;

  /* Container */
  --container-max: 1400px;
  --container-pad: clamp(20px, 4vw, 64px);

  /* Eyebrow decorative rule (the lajollahomes signature) */
  --eyebrow-rule-w: 68px;

  /* Transitions */
  --t-base: all 0.4s ease;
  --t-slow: all 0.7s cubic-bezier(.4,0,.2,1);
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-paper);
  letter-spacing: 0.005em;
  /* banner (44px) + fixed navy header (82px) */
  padding-top: 126px;
}
body.banner-dismissed { padding-top: 82px; }
@media (max-width: 1080px) {
  /* banner (40px) + header (76px) */
  body { padding-top: 116px; }
  body.banner-dismissed { padding-top: 76px; }
}
@media (max-width: 640px) {
  /* banner (44px single line) + header (70px) */
  body { padding-top: 114px; }
  body.banner-dismissed { padding-top: 70px; }
}
/* Accessibility lift on paper/warm sections — older-audience focus */
.section--paper, .section--warm, .section--chart { color: var(--c-ink); }
.section--paper p, .section--warm p, .section--chart p { color: var(--c-ink); font-weight: 500; }
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--c-red); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.15; color: var(--c-ink); }
p { margin: 0 0 1em; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.section { padding: clamp(64px, 9vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 96px) 0; }
.section--paper { background: var(--c-paper); }
.section--warm { background: var(--c-paper-warm); }

/* ---------- NAUTICAL CHART TEXTURE ----------
   Vintage hand-drawn coastal chart applied as a subtle watermark
   over cream sections. Tileable 900x900 sepia-on-ivory.
   Pseudo-element keeps opacity independent of child content. */
.section--chart {
  position: relative;
  isolation: isolate;
}
.section--chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/textures/nautical-chart.jpg");
  background-repeat: repeat;
  background-size: 720px 720px;
  background-position: 0 0;
  opacity: 0.075;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 0;
}
.section--chart > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .section--chart::before { background-size: 520px 520px; opacity: 0.065; }
}
.section--white { background: var(--c-bg-white); }
.section--dark { background: var(--c-navy-dark); color: #eee; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.h-display {
  font-family: var(--ff-display);
  font-size: var(--t-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.h-hero {
  font-family: var(--ff-display);
  font-size: var(--t-hero);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.h-h2 {
  font-family: var(--ff-display);
  font-size: var(--t-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.h-h3 { font-family: var(--ff-display); font-size: var(--t-h3); font-weight: 500; line-height: 1.2; }
.eyebrow {
  font-family: var(--ff-ui);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-red);
  position: relative;
  padding-left: calc(var(--eyebrow-rule-w) + 18px);
  display: inline-block;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--eyebrow-rule-w);
  height: 1px;
  background: var(--c-red);
}
.eyebrow--center {
  padding-left: 0;
  padding-top: 22px;
}
.eyebrow--center::before {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.eyebrow--light { color: rgba(255,255,255,0.92); }
.eyebrow--light::before { background: rgba(255,255,255,0.92); }
.eyebrow--gold { color: var(--c-gold); }
.eyebrow--gold::before { background: var(--c-gold); }

.label-cap {
  font-family: var(--ff-ui);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.lead {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: var(--c-ink-soft);
}

/* Section heading composite (lajollahomes pattern) */
.section-heading { margin-bottom: clamp(40px, 5vw, 72px); }
.section-heading .eyebrow { margin-bottom: 22px; }
.section-heading--center { text-align: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 18px 36px;
  border: 1px solid var(--c-ink);
  background: transparent;
  color: var(--c-ink);
  transition: var(--t-base);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--c-ink); color: #fff; }
.btn--red { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.btn--red:hover { background: var(--c-red-dark); border-color: var(--c-red-dark); color: #fff; }
.btn--light { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn--ghost { border-color: var(--c-rule); color: var(--c-ink-soft); }
.btn--ghost:hover { color: var(--c-red); border-color: var(--c-red); background: transparent; }
.btn--lg { padding: 22px 44px; font-size: 13px; }

/* Text-link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-ui);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.link-arrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--c-ink);
  transition: var(--t-base);
}
.link-arrow:hover { color: var(--c-red); }
.link-arrow:hover::after { background: var(--c-red); width: 44px; }

/* ---------- HEADER / NAV ---------- */
/* Navy bar with cream logo tile — matches live fourstarhomes.com layout */
/* --- Global red top banner (above header on every page) --- */
.top-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  background: var(--c-red);
  color: #fff;
  display: flex;
  align-items: stretch;
  min-height: 44px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
body.banner-dismissed .top-banner { display: none; }
.top-banner-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 56px 10px 24px;
  color: #fff !important;
  text-decoration: none;
  font-family: var(--ff-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  transition: background 0.2s ease;
  text-align: center;
}
.top-banner-link:hover { background: rgba(0,0,0,0.10); }
.top-banner-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  border-radius: 2px;
  flex-shrink: 0;
}
.top-banner-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.top-banner-cta {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  flex-shrink: 0;
}
.top-banner-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 40px; height: 40px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border-radius: 50%;
}
.top-banner-close:hover { opacity: 1; background: rgba(0,0,0,0.15); }
@media (max-width: 720px) {
  .top-banner-link {
    flex-direction: row;
    gap: 10px;
    padding: 8px 44px 8px 14px;
    text-align: left;
    justify-content: flex-start;
  }
  .top-banner-eyebrow { display: none; }
  .top-banner-text {
    font-size: 12.5px;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .top-banner-cta {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    flex-shrink: 0;
  }
  .top-banner { min-height: 44px; }
  .top-banner-close { right: 2px; width: 36px; height: 36px; font-size: 22px; }
}

.site-header {
  position: fixed;
  top: 44px; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  background: #fbf7ef; /* P101 soft ivory */
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 2px 14px rgba(0,0,0,0.04);
  transition: top 0.25s ease, padding 0.25s ease;
}
body.banner-dismissed .site-header { top: 0; }
@media (max-width: 720px) {
  .site-header { top: 44px; }
  body.banner-dismissed .site-header { top: 0; }
}
.site-header.is-scrolled {
  background: #fbf7ef; /* P101 soft ivory */
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 18px rgba(0,0,0,0.06);
}
.site-header.is-light {
  background: #fbf7ef; /* P101 soft ivory */
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 2px 14px rgba(0,0,0,0.04);
  position: sticky;
  top: 44px;
}
@media (max-width: 720px) {
  .site-header.is-light { top: 52px; }
}
body.banner-dismissed .site-header.is-light { top: 0; }
/* Light (sticky) header takes its own flow space, so body only needs to reserve banner height */
body:has(.site-header.is-light) { padding-top: 44px; }
body.banner-dismissed:has(.site-header.is-light) { padding-top: 0; }
@media (max-width: 720px) {
  body:has(.site-header.is-light) { padding-top: 44px; }
}
@media (max-width: 720px) {
  .site-header.is-light { top: 44px; }
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 10px 22px 10px 0;
  margin: 0;
  text-decoration: none;
}

/* Brand mark — stars + FOUR STAR + Homes, Inc. on a cream tile, matches live site */
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  line-height: 1;
  background: #faf8f5;
  border: 1px solid rgba(184,155,94,0.35);
  padding: 10px 16px 8px;
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.18);
}
.brand-mark-stars {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 2px;
}
.brand-mark-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--c-gold);
  filter: none;
}
.brand-mark-wordmark {
  font-family: var(--ff-ui);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--c-navy);
  text-shadow: none;
}
.brand-mark-script {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--c-navy);
  opacity: 0.78;
  text-shadow: none;
  margin-top: 1px;
}
/* No scroll or light variants — mark stays the same on the navy bar */
.site-header.is-scrolled .brand-mark,
.site-header.is-light .brand-mark { background: #faf8f5; }
.site-header.is-scrolled .brand-mark-wordmark,
.site-header.is-light .brand-mark-wordmark { color: var(--c-navy); }
.site-header.is-scrolled .brand-mark-script,
.site-header.is-light .brand-mark-script { color: var(--c-navy); }
.site-header.is-scrolled .brand-mark-stars svg,
.site-header.is-light .brand-mark-stars svg { fill: var(--c-gold); }

/* SINCE 1982 small accent next to brand mark */
.brand-since {
  font-family: var(--ff-ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-navy);
  opacity: 0.65;
  padding-left: 16px;
  border-left: 1px solid rgba(12,35,66,0.25);
  margin-left: 4px;
  white-space: nowrap;
} /* P101 */
.site-header.is-scrolled .brand-since,
.site-header.is-light .brand-since { color: var(--c-navy); opacity: 0.65; } /* P101 */
@media (max-width: 900px) {
  .brand-since { display: none; }
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.primary-nav a {
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-navy); /* P101 */
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
  text-shadow: none;
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 12px; letter-spacing: 0.12em; }
}
.site-header.is-scrolled .primary-nav a,
.site-header.is-light .primary-nav a { color: var(--c-navy); text-shadow: none; } /* P101 */
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-gold);
  transition: width 0.3s ease;
}
.primary-nav a:hover { color: var(--c-gold); }
.primary-nav a:hover::after,
.primary-nav a.is-active::after { width: 100%; }
.site-header.is-scrolled .primary-nav a:hover,
.site-header.is-light .primary-nav a:hover { color: var(--c-gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--c-navy); /* P101 */
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-navy); /* P101 */
  background: transparent;
  transition: var(--t-base);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fbf7ef; } /* P101 */
.site-header.is-scrolled .nav-cta,
.site-header.is-light .nav-cta {
  border-color: var(--c-navy);
  color: var(--c-navy);
} /* P101 */
.site-header.is-scrolled .nav-cta:hover,
.site-header.is-light .nav-cta:hover { background: var(--c-navy); color: #fbf7ef; } /* P101 */

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: #fff;
  transition: var(--t-base);
}
.nav-toggle::before { top: 4px; }
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle::after  { bottom: 4px; }
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle::before,
.site-header.is-scrolled .nav-toggle::after,
.site-header.is-light .nav-toggle span,
.site-header.is-light .nav-toggle::before,
.site-header.is-light .nav-toggle::after { background: var(--c-ink); }

@media (max-width: 1080px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- OFFCANVAS MOBILE NAV ---------- */
.offcanvas {
  position: fixed; inset: 0;
  background: rgba(250,248,245,0.98);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 80px var(--container-pad) 40px;
  overflow-y: auto;
}
.offcanvas.is-open { display: flex; }
.offcanvas-close {
  position: absolute; top: 24px; right: var(--container-pad);
  background: transparent; border: 0;
  font-size: 32px; color: var(--c-ink); cursor: pointer;
  line-height: 1;
}
.offcanvas nav { display: flex; flex-direction: column; gap: 20px; }
.offcanvas nav a {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-rule-soft);
  padding-bottom: 16px;
}
.offcanvas-footer { margin-top: 40px; font-size: 14px; color: var(--c-ink-muted); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 30%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 0 var(--container-pad);
}
.hero-eyebrow {
  font-family: var(--ff-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: var(--t-hero);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 28px;
}
.hero-title em { font-style: italic; color: rgba(255,255,255,0.95); }
.hero-sub {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  max-width: 680px;
  margin: 0 auto 40px;
}
.hero-cta { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.4);
}

/* Smaller "page hero" used on internal pages */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 140px 0 80px;
  overflow: hidden;
}
.page-hero .hero-bg::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.55) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 880px; padding: 0 var(--container-pad); }
.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 18px;
  color: #fff;
}
.page-hero .lead { color: rgba(255,255,255,0.88); max-width: 640px; margin: 0 auto; }
.breadcrumb {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 12px; opacity: 0.5; }

/* ---------- NEWS TICKER BAND (interior page hero) ---------- */
.page-hero--with-ticker { padding-bottom: 96px; }
.news-ticker {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: stretch;
  background: var(--c-navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  height: 52px;
  overflow: hidden;
  font-family: var(--ff-ui);
}
.news-ticker-badge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px 0 24px;
  background: var(--c-navy-dark);
  position: relative;
  z-index: 2;
  box-shadow: 6px 0 12px rgba(0,0,0,0.35);
}
.news-ticker-stars {
  display: inline-flex;
  gap: 1px;
}
.news-ticker-star {
  width: 13px; height: 13px;
  fill: var(--c-gold);
}
.news-ticker-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  white-space: nowrap;
}
.news-ticker-viewport {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.news-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: news-ticker-scroll 38s linear infinite;
  padding-left: 24px;
  will-change: transform;
}
.news-ticker:hover .news-ticker-track { animation-play-state: paused; }
.news-ticker-item {
  display: inline-block;
  color: #ff6b73;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 4px;
  transition: color 160ms ease;
}
.news-ticker-item:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-ticker-sep {
  display: inline-block;
  margin: 0 18px;
  color: var(--c-gold);
  opacity: 0.55;
  font-size: 8px;
}
@keyframes news-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker-track { animation: none; }
}
@media (max-width: 640px) {
  .news-ticker { height: 44px; }
  .news-ticker-badge { padding: 0 14px; gap: 8px; }
  .news-ticker-label { font-size: 10px; letter-spacing: 0.14em; }
  .news-ticker-star { width: 11px; height: 11px; }
  .news-ticker-item { font-size: 11px; }
  .news-ticker-sep { margin: 0 12px; font-size: 7px; }
  .page-hero--with-ticker { padding-bottom: 80px; }
}

/* ---------- JUST ASK AI SEARCH ---------- */
.just-ask {
  background: rgba(255,255,255,0.98);
  border-radius: 4px;
  padding: 40px 44px;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.just-ask-eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.just-ask-label {
  font-family: var(--ff-ui);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.just-ask-label::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--c-red);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .just-ask-label {
    white-space: normal;
    font-size: 13px;
    letter-spacing: 0.16em;
    gap: 10px;
  }
  .just-ask-label::before { width: 22px; }
}
.just-ask-input-wrap {
  display: flex; gap: 0;
  align-items: stretch;
}
.just-ask-input-field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
}
.just-ask input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #1a1a1a;
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 600;
  color: #0d0d0d;
  padding: 16px 0;
  background: transparent;
  outline: none;
  position: relative;
  z-index: 2;
}
.just-ask-ghost {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-family: var(--ff-ui);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4a4a;
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 8px);
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 360ms ease, transform 360ms ease;
  z-index: 1;
}
.just-ask-ghost.is-visible {
  opacity: 1;
  transform: translateY(-50%);
}
.just-ask-ghost.is-hidden {
  opacity: 0;
  transform: translateY(calc(-50% + 12px));
}
.just-ask-input-field.has-value .just-ask-ghost,
.just-ask-input-field.is-focused .just-ask-ghost {
  opacity: 0 !important;
  transition: opacity 160ms ease;
}
.just-ask input::placeholder {
  color: #4a4a4a;
  font-style: normal;
  font-weight: 500;
  font-family: var(--ff-ui);
  font-size: clamp(15px, 1.4vw, 17px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
}
.just-ask-submit {
  border: 0;
  background: var(--c-red);
  color: #fff;
  font-family: var(--ff-ui);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 26px;
  margin-left: 16px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 4px 14px rgba(184,15,23,0.25);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.just-ask-submit:hover {
  background: var(--c-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184,15,23,0.35);
}
.just-ask-submit-arrow {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}
.just-ask-submit:hover .just-ask-submit-arrow { transform: translateX(3px); }
@media (max-width: 640px) {
  .just-ask-submit { padding: 12px 18px; font-size: 13px; letter-spacing: 0.18em; margin-left: 10px; }
}
.just-ask-helpers {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px;
}
.just-ask-chip {
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding: 10px 16px;
  border: 1.5px solid #1a1a1a;
  background: transparent;
  cursor: pointer;
  transition: var(--t-base);
}
.just-ask-chip:hover { border-color: var(--c-red); background: var(--c-red); color: #fff; }
.just-ask-advanced {
  margin-top: 20px;
  text-align: right;
}
.just-ask-advanced a {
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.just-ask-advanced a:hover { color: var(--c-red); }
@media (max-width: 640px) {
  .just-ask { padding: 28px 22px; }
  .just-ask input { font-size: 22px; }
  .just-ask input::placeholder { font-size: 13px; letter-spacing: 0.04em; }
  .just-ask-chip { font-size: 12px; padding: 9px 13px; }
}

/* ---------- LISTING CARD (the AgentImage hidden-info reveal) ---------- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
@media (max-width: 1080px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .listing-grid { grid-template-columns: 1fr; } }

.listing-card {
  position: relative;
  display: block;
  background: var(--c-ink);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  color: #fff;
}
.listing-card-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(.2,0,.2,1), filter 0.6s ease;
  z-index: 0;
}
.listing-card:hover .listing-card-img {
  transform: scale(1.05);
  filter: brightness(0.95);
}
.listing-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 65%);
  z-index: 1;
}
.listing-card-tags {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.listing-card-tag {
  font-family: var(--ff-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-red);
  padding: 6px 12px;
}
.listing-card-tag--alt { background: rgba(0,0,0,0.7); }
.listing-card-tag--gold { background: var(--c-gold); }
.listing-card-content {
  position: absolute;
  left: 24px; right: 24px;
  bottom: 22px;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(.2,0,.2,1);
}
.listing-card-price {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1;
}
.listing-card-park {
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}
.listing-card-city {
  font-family: var(--ff-body);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.listing-card-meta {
  display: flex; gap: 16px;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s ease, max-height 0.4s ease;
  overflow: hidden;
}
.listing-card-meta span:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 1px; height: 10px;
  background: rgba(255,255,255,0.4);
  margin-left: 16px;
  vertical-align: middle;
}
.listing-card:hover .listing-card-meta {
  opacity: 1;
  max-height: 32px;
}
.listing-card:hover .listing-card-content { transform: translateY(-4px); }

/* ---------- PARK CARD ---------- */
.park-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 1080px) { .park-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .park-grid { grid-template-columns: 1fr; } }

.park-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--c-rule-soft);
  transition: var(--t-base);
  display: flex;
  flex-direction: column;
}
.park-card:hover {
  border-color: var(--c-red);
  transform: translateY(-2px);
}
.park-card-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}
.park-card:hover .park-card-img { transform: scale(1.04); }
.park-card-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.park-card-type {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}
.park-card-name {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.15;
  margin-bottom: 6px;
}
.park-card-city {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--c-ink-soft);
  margin-bottom: 14px;
}
.park-card-meta {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  border-top: 1px solid var(--c-rule-soft);
  padding-top: 14px;
  margin-top: auto;
  display: flex; justify-content: space-between;
}

/* ---------- AGENT CARD ---------- */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
@media (max-width: 1080px) { .agent-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .agent-grid { grid-template-columns: 1fr; } }

.agent-card { text-align: center; }
.agent-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-color: var(--c-paper-warm);
  margin-bottom: 16px;
  transition: var(--t-base);
  image-rendering: -webkit-optimize-contrast;
}
.agent-card:hover .agent-photo { filter: brightness(0.95); }
.agent-name {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.agent-role {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}
.agent-area {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--c-ink-soft);
  margin-bottom: 6px;
}
.agent-phone {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-ink);
}

/* P56e: silhouette placeholder when no agent photo on file. Holds inline SVG. */
.agent-monogram {
  width: 100%; aspect-ratio: 4 / 5;
  background: #7a96b8;
  display: block;
  overflow: hidden;
  position: relative;
}
.agent-monogram svg {
  width: 100%; height: 100%;
  display: block;
}

/* ---------- EDITORIAL SPLIT (image + text 50/50) ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.editorial--flip { grid-template-columns: 1fr 1fr; direction: rtl; }
.editorial--flip > * { direction: ltr; }
@media (max-width: 900px) { .editorial, .editorial--flip { grid-template-columns: 1fr; direction: ltr; } }

.editorial-image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}
.editorial-image--wide { aspect-ratio: 5 / 4; }
.editorial-body .eyebrow { margin-bottom: 22px; }
.editorial-body h2 { margin-bottom: 24px; }

/* ---------- STAT STRIP ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: clamp(48px, 6vw, 80px) 0;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  color: var(--c-red);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

/* ---------- CTA STRIP ---------- */
.cta-strip {
  position: relative;
  padding: clamp(80px, 10vw, 160px) 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-strip .hero-bg::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.55));
}
.cta-strip h2 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.5vw, 64px);
  color: #fff;
  margin-bottom: 24px;
  position: relative; z-index: 2;
}
.cta-strip p {
  position: relative; z-index: 2;
  max-width: 580px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.9);
}
.cta-strip .btn { position: relative; z-index: 2; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--c-navy-dark);
  color: #c8cdd1;
  padding: 0 0 28px;
  position: relative;
  border-top: 1px solid var(--c-gold);
}
.site-footer > .container { position: relative; z-index: 1; padding-top: 60px; }

/* Weather row */
.footer-weather {
  border-bottom: 1px solid rgba(184,155,94,0.18);
  padding: 28px 0;
}
.footer-weather-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.weather-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--c-gold);
}
.weather-chip-icon svg { width: 28px; height: 28px; display: block; }
.weather-chip-city {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
}
.weather-chip-temp {
  font-family: var(--ff-display);
  font-size: 22px;
  color: #d4bf8a;
  line-height: 1;
  font-weight: 500;
}
@media (max-width: 720px) {
  .footer-weather-inner { gap: 8px; padding: 0 16px; }
  .weather-chip-icon svg { width: 22px; height: 22px; }
  .weather-chip-city { font-size: 8.5px; letter-spacing: 0.14em; }
  .weather-chip-temp { font-size: 16px; }
}

/* Brand mark (replaces logo PNG in footer) */
.footer-brand-mark { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.footer-brand-stars { display: flex; gap: 3px; }
.footer-brand-stars svg { width: 18px; height: 18px; fill: var(--c-gold); }
.footer-brand-wordmark {
  font-family: var(--ff-ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  margin-top: 8px;
}
.footer-brand-script {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--c-gold);
  font-size: 16px;
  line-height: 1;
  margin-top: 4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px;
  color: #c8cdd1;
  max-width: 360px;
}
.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: #c8cdd1;
}
.footer-col a:hover { color: var(--c-gold); }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
  color: #888;
  letter-spacing: 0.1em;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--c-gold); }

/* ---------- FORMS ---------- */
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-rule);
  background: #fff;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--c-ink);
  transition: border-color 0.3s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: none; border-color: var(--c-red); }
.form-row textarea { min-height: 140px; resize: vertical; }

/* ---------- TABLE / DATA ---------- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-rule-soft);
  font-size: 14px;
}
.data-table th {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  font-weight: 600;
}

/* ---------- UTIL ---------- */
.center { text-align: center; }
.mt-1 { margin-top: var(--sp-1); } .mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }
.mb-1 { margin-bottom: var(--sp-1); } .mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); } .mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); } .mb-6 { margin-bottom: var(--sp-6); }

.hide-mobile { } .hide-desktop { display: none; }
@media (max-width: 720px) {
  .hide-mobile { display: none; }
  .hide-desktop { display: block; }
}

/* ---------- SCROLL-REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Body fade-in (lajollahomes pattern) */
body { opacity: 0; transition: opacity 0.5s ease; }
body.is-ready { opacity: 1; }

/* ============================================================
   V2 — Floating glass · backlit listings · Florida map
   May 20 2026 enhancement pass
   ============================================================ */

/* ---------- HERO ADJUSTMENTS — soft Americana feel ---------- */
.hero {
  /* Slightly less aggressive darkening so the warm sunset shows through */
}
.hero-overlay {
  /* Softer at top, deeper at bottom so text floats over the lake reflection */
  background: linear-gradient(
    180deg,
    rgba(20,30,45,0.20) 0%,
    rgba(20,30,45,0.25) 40%,
    rgba(20,30,45,0.55) 100%
  ) !important;
}

/* ---------- JUST ASK — floating glass ---------- */
.just-ask {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  padding: 36px 44px 30px;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.55),
    0 10px 30px -10px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.4);
  position: relative;
  z-index: 5;
}
/* Light/section variant — when Just Ask sits on a light page background */
.just-ask--light {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    0 25px 70px -20px rgba(30,40,60,0.30),
    0 8px 24px -8px rgba(30,40,60,0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.just-ask--light .just-ask-label,
.just-ask--light .just-ask-input-wrap,
.just-ask--light input,
.just-ask--light .just-ask-chip,
.just-ask--light .just-ask-advanced a { color: var(--c-ink); }
.just-ask--light input { color: var(--c-ink); }
.just-ask--light input::placeholder { color: var(--c-ink-muted); }

/* Glass-on-dark — label, input, chip colors (submit pill uses primary rule at line 783) */
.just-ask .just-ask-label { color: #fff; }
.just-ask .just-ask-label::before { background: #fff; }
.just-ask input { color: #fff; font-weight: 400; border-bottom-color: rgba(255,255,255,0.5); }
.just-ask input::placeholder { color: rgba(255,255,255,0.78); font-style: italic; }

/* Horizontal chips — single row, scroll on overflow */
.just-ask-helpers {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
  -webkit-overflow-scrolling: touch;
}
.just-ask-helpers::-webkit-scrollbar { height: 4px; }
.just-ask-helpers::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 2px; }

.just-ask-chip {
  flex-shrink: 0;
  white-space: nowrap;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--ff-ui);
  font-weight: 500;
  cursor: pointer;
  transition: var(--t-base);
  backdrop-filter: blur(4px);
}
.just-ask-chip:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-1px);
}
.just-ask--light .just-ask-chip {
  color: var(--c-ink-soft);
  background: rgba(255,255,255,0.5);
  border-color: rgba(30,40,60,0.15);
}
.just-ask--light .just-ask-chip:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}

.just-ask-advanced { margin-top: 18px; }
.just-ask-advanced a { color: rgba(255,255,255,0.8); }
.just-ask-advanced a:hover { color: #fff; }

@media (max-width: 720px) {
  .just-ask { padding: 26px 22px 22px; max-width: 94%; }
  .just-ask input { font-size: 19px; }
}

/* --- Light variant text overrides (must come AFTER dark defaults to win) --- */
.just-ask.just-ask--light .just-ask-label { color: var(--c-red); }
.just-ask.just-ask--light .just-ask-label::before { background: var(--c-red); }
.just-ask.just-ask--light .just-ask-input-wrap { border-bottom-color: rgba(30,40,60,0.25); }
.just-ask.just-ask--light input { color: var(--c-ink); font-weight: 400; border-bottom-color: rgba(30,40,60,0.25); }
.just-ask.just-ask--light input::placeholder { color: rgba(30,40,60,0.55); font-style: italic; }
.just-ask.just-ask--light .just-ask-chip {
  color: var(--c-ink-soft);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(30,40,60,0.18);
}
.just-ask.just-ask--light .just-ask-chip:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}
.just-ask.just-ask--light .just-ask-advanced a { color: var(--c-ink-soft); }
.just-ask.just-ask--light .just-ask-advanced a:hover { color: var(--c-red); }
.just-ask.just-ask--light .just-ask-helpers::-webkit-scrollbar-thumb { background: rgba(30,40,60,0.18); }

/* ---------- LISTING CARDS V2 — backlit, rounded, info OUTSIDE photo ---------- */
.listing-grid {
  gap: clamp(28px, 3vw, 44px) !important;
}

.listing-card {
  position: relative;
  display: block;
  background: transparent !important;
  overflow: visible;            /* allow shadow to bleed out */
  aspect-ratio: auto !important;
  color: var(--c-ink);
  isolation: isolate;
}
.listing-card-img {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  /* Backlit drop shadow + subtle warm "glow" rim */
  box-shadow:
    0 30px 60px -25px rgba(20,30,45,0.55),
    0 14px 28px -14px rgba(20,30,45,0.30),
    0 0 0 1px rgba(255,255,255,0.4) inset;
  transition: transform 0.7s cubic-bezier(.2,0,.2,1),
              box-shadow   0.7s cubic-bezier(.2,0,.2,1),
              filter       0.6s ease;
  z-index: 1;
}
.listing-card:hover .listing-card-img {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 50px 90px -30px rgba(230,20,30,0.18),
    0 30px 60px -25px rgba(20,30,45,0.55),
    0 14px 28px -14px rgba(20,30,45,0.30);
  filter: brightness(1.02);
}

/* Tag floats above the rounded image */
.listing-card-tags {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 4;
}
.listing-card-tag {
  font-family: var(--ff-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-red);
  padding: 7px 13px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(230,20,30,0.35);
}

/* Old overlay gradient hidden — info now lives below */
.listing-card-overlay { display: none !important; }

/* Content block sits BELOW the photo on a clean warm surface */
.listing-card-content {
  position: relative !important;
  left: 0 !important; right: 0 !important; bottom: auto !important;
  margin-top: 22px;
  padding: 0 4px;
  transform: none !important;
  color: var(--c-ink);
}
.listing-card-price {
  font-family: var(--ff-display);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: -0.005em;
}
.listing-card-park {
  font-family: var(--ff-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 2px;
}
.listing-card-city {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--c-ink-soft);
  margin-bottom: 12px;
}
.listing-card-meta {
  display: flex; gap: 0;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  opacity: 1 !important;            /* always visible now */
  max-height: none !important;
  overflow: visible !important;
  padding-top: 10px;
  border-top: 1px solid var(--c-rule-soft);
}
.listing-card-meta span { padding-right: 14px; margin-right: 14px; }
.listing-card-meta span:not(:last-child) { border-right: 1px solid var(--c-rule); }
.listing-card-meta span:not(:last-child)::after { display: none !important; }

.listing-card:hover .listing-card-content { transform: none !important; }
.listing-card:hover .listing-card-meta { opacity: 1; max-height: none; }

/* ---------- "WHY FLORIDA" HORIZONTAL FEATURE STRIP ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
  padding: clamp(48px, 7vw, 88px) 0;
}
@media (max-width: 980px)  { .feature-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .feature-strip { grid-template-columns: 1fr; } }

.feature-tile {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--c-rule-soft);
  border-radius: 12px;
  box-shadow: 0 10px 30px -20px rgba(20,30,45,0.25);
  transition: var(--t-base);
}
.feature-tile:hover {
  transform: translateY(-3px);
  border-color: var(--c-red);
  box-shadow: 0 16px 40px -20px rgba(230,20,30,0.30);
}
.feature-tile-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--c-gold);
  border-radius: 10px;
  color: var(--c-gold);
  font-size: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-tile-icon svg {
  width: 26px; height: 26px;
  display: block;
}
.feature-tile:hover .feature-tile-icon {
  transform: scale(1.04);
  border-color: var(--c-gold);
}
.feature-tile-body { flex: 1; min-width: 0; }
.feature-tile-eyebrow {
  font-family: var(--ff-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 4px;
}
.feature-tile-title {
  font-family: var(--ff-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0 0 4px;
}
.feature-tile-text {
  font-family: var(--ff-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  margin: 0;
}

/* ---------- FLORIDA MAP ---------- */
.fl-map {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
}
.fl-map-eyebrow {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.fl-map-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--c-red);
}
.fl-map-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--c-navy-dark, #1a2740);
  letter-spacing: -0.005em;
  text-align: center;
}
.fl-map-sub {
  font-family: var(--ff-body);
  color: var(--c-ink-soft);
  margin: 0 0 22px;
}
.fl-map-svg-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1000/968;
  background: transparent;
}
.fl-map-svg { width: 100%; height: 100%; display: block; }
.fl-map-state { fill: #cfd9e0; stroke: #a9b7c1; stroke-width: 1.2; transition: var(--t-base); }
.fl-map-state:hover { fill: #c5d0d9; }

/* P56i3: HTML <a> pin overlays (Safari-proof). SVG inside is decoration only. */
.fl-pins-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.fl-pins-overlay .fl-pin-link {
  position: absolute;
  /* x,y inline-styled by builder. We translate so the visual centers on the coordinate. */
  transform: translate(-50%, -50%);
  width: 80px;
  height: 60px;
  display: block;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.2,0,.2,1);
  z-index: 3;
}
.fl-pins-overlay .fl-pin-link:hover,
.fl-pins-overlay .fl-pin-link:focus-visible {
  transform: translate(-50%, -50%) scale(1.15);
  z-index: 5;
}
.fl-pin-visual {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.fl-pin-visual svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.fl-pin-halo { fill: var(--c-red); opacity: 0.12; transition: var(--t-base); }
.fl-pin-link:hover .fl-pin-halo,
.fl-pin-link:focus-visible .fl-pin-halo { opacity: 0.28; }
.fl-pin-halo-2 { fill: var(--c-red); opacity: 0.25; }
.fl-pin-shape { fill: var(--c-red); stroke: #fff; stroke-width: 2.5; }
.fl-pin-dot { fill: #fff; }
.fl-pin-count {
  font-family: var(--ff-ui);
  font-size: 12px;
  font-weight: 800;
  fill: var(--c-red);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 0.5;
  pointer-events: none;
}
.fl-city-dot { fill: var(--c-navy); opacity: 0.40; }

/* Floating popup that appears on click */
.fl-map-popup {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 22px 48px -16px rgba(20,30,45,0.35), 0 0 0 1px rgba(20,30,45,0.06);
  padding: 22px 24px;
  width: 320px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}
.fl-map-popup.is-open {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.fl-map-popup-eyebrow {
  font-family: var(--ff-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 6px;
}
.fl-map-popup h4 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--c-ink);
  line-height: 1.15;
}
.fl-map-popup-cities {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--c-ink-soft);
  margin-bottom: 14px;
}
.fl-map-popup-city-link {
  color: var(--c-red, #c8102e);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,16,46,0.25);
  transition: border-color .15s ease, color .15s ease;
}
.fl-map-popup-city-link:hover {
  border-bottom-color: var(--c-red, #c8102e);
  color: var(--c-red, #c8102e);
}
.fl-map-popup-stats {
  display: flex; gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--c-rule-soft);
  border-bottom: 1px solid var(--c-rule-soft);
  margin-bottom: 14px;
}
.fl-map-popup-stat {
  display: flex; flex-direction: column;
}
.fl-map-popup-stat-num {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1;
}
.fl-map-popup-stat-lbl {
  font-family: var(--ff-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-top: 4px;
}
.fl-map-popup-blurb {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--c-ink-soft);
  line-height: 1.5;
  margin: 0 0 16px;
}
.fl-map-popup-link {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-red);
  display: inline-flex; align-items: center; gap: 8px;
}
.fl-map-popup-link::after { content: '→'; font-family: var(--ff-body); font-size: 14px; }
.fl-map-popup-link:hover { color: var(--c-red-dark); }

.fl-map-popup-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0;
  width: 28px; height: 28px;
  color: var(--c-ink-muted);
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
}
.fl-map-popup-close:hover { background: var(--c-paper-warm); color: var(--c-red); }

@media (max-width: 720px) {
  .fl-map-popup { width: calc(100% - 32px); left: 16px !important; right: 16px !important; }
}

/* Region cards row beneath the map */
.fl-region-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
@media (max-width: 800px) { .fl-region-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .fl-region-row { grid-template-columns: 1fr; } }

.fl-region-chip {
  background: #fff;
  border: 1px solid var(--c-rule-soft);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--t-base);
}
.fl-region-chip:hover {
  border-color: var(--c-red);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(230,20,30,0.25);
}
.fl-region-chip-name {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.15;
  margin-bottom: 4px;
}
.fl-region-chip-meta {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  font-weight: 600;
}


/* ============================================================
   Communities Explorer — map + filter side-by-side
   ============================================================ */
.ce-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
@media (max-width: 960px) {
  .ce-grid { grid-template-columns: 1fr; gap: 36px; }
}
.ce-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #b80f17;
  margin-bottom: 12px;
}
.ce-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  color: #1a2a3a;
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.ce-sub {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #6a6a6a;
  margin: 0 0 22px;
  max-width: 560px;
}
.ce-region-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.ce-region-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid #e3ddd2;
  color: #1a2a3a;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}
.ce-region-btn:hover {
  border-color: #b89b5e;
  color: #b80f17;
}
.ce-region-btn.is-active {
  background: #1a2a3a;
  border-color: #1a2a3a;
  color: #faf8f5;
}
.ce-map-wrap {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #faf6ef 100%);
  border: 1px solid #ece8e0;
  border-radius: 4px;
  padding: 18px;
  box-shadow: 0 12px 36px -22px rgba(26, 42, 58, .25);
  aspect-ratio: 1000 / 968;
  max-width: 100%;
  overflow: hidden;
}
.ce-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ce-map-zoomable {
  transition: transform .55s cubic-bezier(.6,.05,.18,.99);
  transform-origin: 0 0;
  transform-box: view-box;
}
.ce-map-svg .fl-map-state {
  fill: #f1ebde;
  stroke: #d4cab3;
  stroke-width: 1.2;
  transition: fill .25s ease;
}
.ce-map-svg .fl-pin, .fl-pin * { cursor: pointer; }
.fl-pin { }
.ce-map-svg .fl-pin-shape {
  fill: #b80f17;
  filter: drop-shadow(0 4px 6px rgba(184, 15, 23, .35));
  transition: fill .18s ease;
}
.ce-map-svg .fl-pin-shape--park { fill: #1a2a3a; }
.ce-map-svg .fl-pin-halo {
  fill: rgba(184, 15, 23, .08);
  animation: ceHalo 2.4s ease-out infinite;
  transform-origin: center;
}
.ce-map-svg .fl-pin--park .fl-pin-halo {
  fill: rgba(184, 156, 94, .35);
  animation: none;
}
.ce-map-svg .fl-pin-halo-2 {
  fill: rgba(184, 15, 23, .10);
}
.ce-map-svg .fl-pin-dot { fill: #faf8f5; }
.ce-map-svg .fl-pin-count {
  fill: #faf8f5;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(184, 15, 23, .85);
  stroke-width: 0.5;
}
.ce-map-svg .fl-pin:hover .fl-pin-shape { fill: #8a0b11; }
.ce-map-svg .fl-pin--park:hover .fl-pin-shape { fill: #b80f17; }
@keyframes ceHalo {
  0%   { transform: scale(.55); opacity: .45; }
  100% { transform: scale(.95); opacity: 0; }
}
.ce-map-reset {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 9px 14px;
  background: #1a2a3a;
  color: #faf8f5;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(26,42,58,.45);
  z-index: 2;
}
.ce-map-reset:hover { background: #b80f17; }

/* Filter side */
.ce-filter-side {
  background: #fff;
  border: 1px solid #ece8e0;
  border-radius: 4px;
  padding: 28px 26px;
  box-shadow: 0 8px 24px -18px rgba(26,42,58,.2);
  position: sticky;
  top: 100px;
}
@media (max-width: 960px) {
  .ce-filter-side { position: static; }
}
.ce-filter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: #1a2a3a;
  margin: 0 0 18px;
}
.ce-filter-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.ce-filter-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  background: #faf8f5;
  border: 1px solid #ece8e0;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  color: #1a2a3a;
  text-align: left;
  transition: all .18s ease;
}
.ce-filter-chip:hover {
  background: #fff;
  border-color: #b89b5e;
}
.ce-filter-chip.is-active {
  background: #1a2a3a;
  border-color: #1a2a3a;
  color: #faf8f5;
}
.ce-filter-chip.is-active .ce-filter-chip-count {
  background: #b80f17;
  color: #faf8f5;
}
.ce-filter-chip-label { text-transform: uppercase; letter-spacing: .12em; }
.ce-filter-chip-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  background: #ece8e0;
  border-radius: 999px;
  min-width: 28px;
  text-align: center;
}
.ce-summary {
  padding-top: 18px;
  border-top: 1px solid #ece8e0;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #6a6a6a;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ce-summary-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 500;
  color: #b80f17;
  line-height: 1;
}
.ce-summary-label { letter-spacing: .04em; }

/* Results grid */
.ce-results {
  margin-top: 8px;
}
.ce-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .ce-results-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .ce-results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .ce-results-grid { grid-template-columns: 1fr; } }
.ce-park-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ece8e0;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ce-park-card:hover {
  transform: translateY(-3px);
  border-color: #b89b5e;
  box-shadow: 0 18px 38px -22px rgba(26,42,58,.35);
}
.ce-park-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #ece8e0;
}
.ce-park-card-body { padding: 16px 18px 18px; }
.ce-park-card-type {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #b89b5e;
  margin-bottom: 6px;
}
.ce-park-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.15;
  color: #1a2a3a;
  margin-bottom: 4px;
  font-weight: 500;
}
.ce-park-card-city {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #6a6a6a;
  margin-bottom: 12px;
}
.ce-park-card-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1a2a3a;
  padding-top: 12px;
  border-top: 1px solid #ece8e0;
}
.ce-park-card-meta span:last-child { color: #b80f17; font-weight: 600; }
.ce-park-card[data-hidden="1"] { display: none; }

.ce-empty {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Lato', sans-serif;
  color: #6a6a6a;
}
.ce-clear-btn {
  background: none;
  border: none;
  color: #b80f17;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
}

/* ============ Park Profile + Region pages (v=20260520j) ============ */
.pp-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.pp-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-navy);
}
.pp-tag-chip:hover {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}
.pp-amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 40px;
}
.pp-amenities-list li {
  break-inside: avoid;
}
.pp-facts-card {
  background: #fff;
  padding: 32px;
  border: 1px solid var(--c-rule);
  margin-top: 20px;
}
.pp-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pp-fact-value {
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-navy);
  line-height: 1.4;
  padding-top: 4px;
}
.pp-mini-map {
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  padding: 24px;
}
.pp-mini-map-svg {
  width: 100%;
  height: auto;
  display: block;
}
.pp-mini-map .pp-map-state path,
.pp-mini-map .pp-map-state polygon {
  fill: #f3eee5;
  stroke: var(--c-rule);
  stroke-width: 1.2;
}
.pp-source {
  margin-top: 20px;
  color: var(--c-ink-muted);
}
.pp-source a {
  color: var(--c-navy);
  text-decoration: underline;
}
@media (max-width: 768px) {
  .pp-amenities-list { columns: 1; }
  .pp-facts-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* Make filter chip list scrollable on the explorer when there are many */
.ce-filter-chips {
  max-height: 540px;
  overflow-y: auto;
  padding-right: 8px;
}
.ce-filter-chips::-webkit-scrollbar { width: 6px; }
.ce-filter-chips::-webkit-scrollbar-track { background: transparent; }
.ce-filter-chips::-webkit-scrollbar-thumb { background: var(--c-rule); border-radius: 3px; }

/* ---- P56b — communities typeahead dropdown ---- */
.ce-search-results { font-family: var(--ff-body); }
.ce-search-results .ce-ts-header {
  padding: 10px 14px 6px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-fg-muted, #7a766c);
  background: #fbf9f4;
  border-bottom: 1px solid var(--c-rule-soft, #ece8df);
}
.ce-search-results .ce-ts-row {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-rule-soft, #ece8df);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s ease;
}
.ce-search-results .ce-ts-row:hover,
.ce-search-results .ce-ts-row.is-active {
  background: #fbf6ee;
}
.ce-search-results .ce-ts-row .ce-ts-name {
  font-size: 15px;
  color: var(--c-ink, #1c1a16);
  line-height: 1.25;
}
.ce-search-results .ce-ts-row .ce-ts-name mark {
  background: rgba(200,16,46,0.10);
  color: var(--c-red, #c8102e);
  padding: 0 1px;
  border-radius: 2px;
}
.ce-search-results .ce-ts-row .ce-ts-meta {
  margin-top: 3px;
  font-size: 12px;
  color: var(--c-fg-muted, #7a766c);
}
.ce-search-results .ce-ts-empty,
.ce-search-results .ce-ts-more {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--c-fg-muted, #7a766c);
  text-align: center;
}
.ce-search-results .ce-ts-more { border-top: 1px solid var(--c-rule-soft, #ece8df); }

/* P56c quick buttons + open-house ribbon */
.ps-quickbuttons{
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
  margin: 0 0 18px 0;
}
@media (max-width: 720px){ .ps-quickbuttons{ grid-template-columns:1fr; } }
.ps-qbtn{
  display:flex; flex-direction:column; gap:4px;
  padding: 18px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #b3151f 0%, #8e0e15 100%);
  color:#fff !important; text-decoration:none !important;
  box-shadow: 0 4px 14px rgba(179,21,31,0.25);
  border: 1px solid rgba(0,0,0,0.06);
  position:relative;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.ps-qbtn:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(179,21,31,0.35); filter: brightness(1.04); }
.ps-qbtn--openhouse{ background: linear-gradient(135deg, #0d4d6f 0%, #093851 100%); box-shadow: 0 4px 14px rgba(13,77,111,0.25); }
.ps-qbtn--openhouse:hover{ box-shadow: 0 8px 20px rgba(13,77,111,0.35); }
.ps-qbtn-icon{ font-size: 22px; line-height:1; }
.ps-qbtn-main{ font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.ps-qbtn-sub{ font-size: 13px; opacity: 0.92; font-weight: 400; }

.oh-card-wrap{ position: relative; }
.oh-ribbon{
  margin-top: 8px;
  text-align:center;
  background: #0d4d6f;
  color:#fff;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}


/* ===========================================
   P81: communities map — park pin clarity
   - Hover scale + gold ring to disambiguate
     overlapping pins; tooltip with park name.
   =========================================== */
.ce-map-wrap { position: relative; }
.ce-map-svg .fl-pin--park { transition: transform .14s ease; transform-origin: center; transform-box: fill-box; }
.ce-map-svg .fl-pin--park:hover,
/* P83C neutralized */
/* P83C neutralized */
.ce-park-tooltip {
  position: absolute;
  pointer-events: none;
  background: #0d2a3a;
  color: #faf8f5;
  font: 600 12.5px/1.3 var(--ff-ui, system-ui, sans-serif);
  letter-spacing: .02em;
  padding: 7px 11px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 16px -4px rgba(13,42,58,.45);
  z-index: 40;
  opacity: 0;
  transform: translate(-50%, -130%);
  transition: opacity .12s ease;
}
.ce-park-tooltip.is-visible { opacity: 1; }
.ce-park-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: #0d2a3a;
}
.ce-park-tooltip .tt-sub {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: #d9b25c;
  margin-top: 1px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* P82: communities map — pin overlap mitigation */
.fl-pin--park { transition: transform 0.15s ease; }
.fl-pin--park:hover {
  z-index: 100;
}
/* hover bringing pin to front in SVG via JS — see app.js */
.fl-pin--park.is-hover-front {
  /* Re-rendered last in g.ce-map-park-pins by moving via appendChild */
}
/* Region pin tooltip uses same .ce-park-tooltip styles */
.fl-pin--region {
  cursor: pointer;
  transition: transform 0.15s ease;
}
.fl-pin--region:hover .fl-pin-shape {
  filter: drop-shadow(0 0 6px rgba(217, 178, 92, 0.55));
}

/* P83: map pin fixes — responsive sizing + better hover stacking */
/* Homepage Florida map: shrink pins on narrow viewports so they don't overlap on the east coast cluster. */
@media (max-width: 900px) {
  .fl-pins-overlay .fl-pin-link {
    width: 56px;
    height: 42px;
  }
  .fl-pin-count { font-size: 10px; }
}
@media (max-width: 560px) {
  .fl-pins-overlay .fl-pin-link {
    width: 44px;
    height: 33px;
  }
  .fl-pin-count { font-size: 9px; }
}

/* Communities map (ce-map): hover lifts pin clearly so user can identify which one is which when overlapping. */
.ce-map-svg .fl-pin--park { transition: transform 0.15s ease, filter 0.15s ease; }
/* P83C neutralized */
/* P83C neutralized */
/* P83C neutralized */

/* P83C: park pins are dots instead of teardrops — eliminates overlap + flicker.
   Smaller, brand-red center with thicker white ring so adjacent dots stay distinct. */
.ce-map-svg .fl-pin-park-dot {
  fill: #b80f17;
  stroke: #faf8f5;
  stroke-width: 3;
  transition: fill 0.12s ease, r 0.12s ease;
  pointer-events: auto;
  r: 5;
}
.ce-map-svg .fl-pin--park:hover .fl-pin-park-dot,
.ce-map-svg .fl-pin--park.is-hover .fl-pin-park-dot {
  fill: #d9b25c;
  stroke: #1a2a3a;
  stroke-width: 3;
  r: 8;
}

/* ============================================================
   P83D — Leaflet drill-down map for communities.html
   Hybrid: SVG FL outline at top level, Leaflet on region drill-down.
   ============================================================ */

/* The Leaflet container — hidden by default; JS toggles .is-active */
#ce-leaflet-map.ce-leaflet {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  border-radius: 12px;
  overflow: hidden;
  background: #eef3f7;
}
#ce-leaflet-map.ce-leaflet.is-active {
  display: block;
}

/* When Leaflet is showing, dim the SVG behind it (or hide entirely) */
.ce-map-wrap.ce-leaflet-on .ce-map-svg {
  visibility: hidden;
}

/* Leaflet popup: brand styling */
.ce-leaflet .leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(11, 35, 65, .18);
  border: 1px solid rgba(11, 35, 65, .08);
}
.ce-leaflet .leaflet-popup-content {
  margin: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #0b2341;
}
.ce-leaflet .leaflet-popup-content .ce-pop-name {
  font-weight: 700;
  color: #0b2341;
  display: block;
  margin-bottom: 2px;
}
.ce-leaflet .leaflet-popup-content .ce-pop-city {
  color: #5b6b80;
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}
.ce-leaflet .leaflet-popup-content a.ce-pop-link {
  color: #b80f17;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}
.ce-leaflet .leaflet-popup-content a.ce-pop-link:hover {
  text-decoration: underline;
}

/* Single (un-clustered) marker — small red dot like the existing SVG park pin */
.ce-leaflet .ce-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b80f17;
  border: 3px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
  cursor: pointer;
}
.ce-leaflet .ce-marker:hover {
  background: #d9b25c;
  border-color: #0b2341;
}

/* Cluster bubble — navy with red ring, white count text. Three size tiers. */
.ce-leaflet .marker-cluster-small,
.ce-leaflet .marker-cluster-medium,
.ce-leaflet .marker-cluster-large {
  background: transparent;
}
.ce-leaflet .marker-cluster-small div,
.ce-leaflet .marker-cluster-medium div,
.ce-leaflet .marker-cluster-large div {
  background: #0b2341;
  color: #fff;
  border: 3px solid #b80f17;
  font-family: inherit;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,.28);
}
.ce-leaflet .marker-cluster-small div { width: 32px; height: 32px; margin-left: 4px; margin-top: 4px; border-radius: 50%; line-height: 26px; font-size: 13px; }
.ce-leaflet .marker-cluster-medium div { width: 38px; height: 38px; margin-left: 1px; margin-top: 1px; border-radius: 50%; line-height: 32px; font-size: 14px; }
.ce-leaflet .marker-cluster-large div { width: 46px; height: 46px; margin-left: -3px; margin-top: -3px; border-radius: 50%; line-height: 40px; font-size: 15px; }

.ce-leaflet .marker-cluster span {
  line-height: 1;
}

/* Leaflet zoom controls — restyle in brand color */
.ce-leaflet .leaflet-bar a,
.ce-leaflet .leaflet-bar a:hover {
  background: #fff;
  color: #0b2341;
  border-color: rgba(11, 35, 65, .15);
}
.ce-leaflet .leaflet-bar a:hover {
  background: #f4f6fa;
  color: #b80f17;
}

/* OSM attribution — keep small */
.ce-leaflet .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255,255,255,.85);
}

/* Reset button — bump z-index above the leaflet so it's clickable */
.ce-map-reset {
  z-index: 10;
  position: relative;
}

/* ============================================================
   P84 — Voice search mic button
   Lives inside .just-ask-input-field at the right edge of the input.
   ============================================================ */
.just-ask-input-field {
  position: relative;
}
.just-ask-mic {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #dc2626;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 5;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}
.just-ask-mic:hover {
  background: rgba(220, 38, 38, 0.10);
  color: #b80f17;
}
.just-ask-mic:active {
  transform: translateY(-50%) scale(0.95);
}
.just-ask-mic:focus-visible {
  outline: 2px solid #b80f17;
  outline-offset: 2px;
}
.just-ask-mic[aria-pressed="true"] {
  background: rgba(220, 38, 38, 0.14);
  color: #7f1d1d;
  animation: justAskMicPulse 1.4s ease-in-out infinite;
}
@keyframes justAskMicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

/* On the dark hero variant (white input), keep red but a bit deeper for contrast */
.just-ask.just-ask--light .just-ask-mic { color: #b80f17; }

/* Small screens: a hair smaller */
@media (max-width: 560px) {
  .just-ask-mic { width: 36px; height: 36px; right: 8px; }
  .just-ask-mic svg { width: 20px; height: 20px; }
}

/* ============================================================
   P85 — Black & white maps + readable homepage pin counts
   ============================================================ */

/* --- A) Homepage pin count: BLACK, no white stroke (was invisible) --- */
.fl-pin-dot {
  fill: #fff;
  stroke: #111;
  stroke-width: 1.5;
}
.fl-pin-count {
  font-family: var(--ff-ui);
  font-size: 12px;
  font-weight: 800;
  fill: #111 !important;
  paint-order: normal !important;
  stroke: none !important;
  pointer-events: none;
}

/* --- B) Homepage real-map base layer behind the SVG outline --- */
.fl-map-svg-wrap {
  position: relative;
}
.fl-home-basemap {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 12px;
  overflow: hidden;
  filter: grayscale(100%) contrast(0.9) brightness(1.05);
  background: #ececec;
  pointer-events: none; /* base map is decorative — pins above stay clickable */
}
/* P92: removed position:relative override that pushed pins-overlay below SVG (basemap was removed) */
/* P92: outline restored — was faded in p85_bw when basemap was added; basemap removed in p92 */

/* --- C) Black & white pin recolor (homepage) --- */
.fl-pin-halo  { fill: #111 !important; opacity: 0.10 !important; }
.fl-pin-halo-2 { fill: #111 !important; opacity: 0.20 !important; }
.fl-pin-shape {
  fill: #111 !important;
  stroke: #fff !important;
  stroke-width: 2.5 !important;
}
.fl-pin-link:hover .fl-pin-halo,
.fl-pin-link:focus-visible .fl-pin-halo { opacity: 0.22 !important; }
.fl-pin-link:hover .fl-pin-shape { fill: #333 !important; }

/* --- D) ce-map (communities) region & park SVG pins → black & white --- */
.ce-map-svg .fl-pin-shape { fill: #111 !important; stroke: #fff !important; }
.ce-map-svg .fl-pin-shape--park { fill: #111 !important; }
.ce-map-svg .fl-pin-halo  { fill: rgba(17,17,17,.10) !important; }
.ce-map-svg .fl-pin-halo-2 { fill: rgba(17,17,17,.18) !important; }
.ce-map-svg .fl-pin-dot { fill: #fff !important; }
.ce-map-svg .fl-pin-count {
  fill: #111 !important;
  paint-order: normal !important;
  stroke: none !important;
}
.ce-map-svg .fl-pin:hover .fl-pin-shape,
.ce-map-svg .fl-pin--park:hover .fl-pin-shape { fill: #444 !important; }
.ce-map-svg .fl-pin--park .fl-pin-park-dot {
  fill: #111 !important;
  stroke: #fff !important;
}
.ce-map-svg .fl-pin--park.is-hover .fl-pin-park-dot,
.ce-map-svg .fl-pin--park:hover .fl-pin-park-dot {
  fill: #fff !important;
  stroke: #111 !important;
}

/* --- E) Leaflet drill-down (#ce-leaflet-map): grayscale tiles + B&W markers --- */
#ce-leaflet-map .leaflet-tile-pane {
  filter: grayscale(100%) contrast(0.9) brightness(1.02);
}
#ce-leaflet-map .ce-marker {
  background: #111 !important;
  border-color: #fff !important;
}
#ce-leaflet-map .ce-marker:hover {
  background: #fff !important;
  border-color: #111 !important;
}
#ce-leaflet-map .marker-cluster-small div,
#ce-leaflet-map .marker-cluster-medium div,
#ce-leaflet-map .marker-cluster-large div {
  background: #111 !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.35), 0 0 0 2px #111 !important;
}
#ce-leaflet-map .leaflet-popup-content .ce-pop-link {
  color: #111 !important;
}
#ce-leaflet-map .leaflet-popup-content .ce-pop-name {
  color: #111 !important;
}

/* ============================================================
   P85B — Revert pins back to RED (keep grayscale TILES + BLACK count number)
   The B&W treatment was too aggressive. Only the count digits should be
   black-on-white inside red pins.
   ============================================================ */

/* Homepage pins: red again */
.fl-pin-halo  { fill: var(--c-red) !important; opacity: 0.12 !important; }
.fl-pin-halo-2 { fill: var(--c-red) !important; opacity: 0.25 !important; }
.fl-pin-shape {
  fill: var(--c-red) !important;
  stroke: #fff !important;
  stroke-width: 2.5 !important;
}
.fl-pin-link:hover .fl-pin-halo,
.fl-pin-link:focus-visible .fl-pin-halo { opacity: 0.28 !important; }
.fl-pin-link:hover .fl-pin-shape { fill: #8a0b11 !important; }

/* Homepage dot inside pin: white with subtle red rim (was thick black ring) */
.fl-pin-dot {
  fill: #fff !important;
  stroke: rgba(184, 15, 23, .45) !important;
  stroke-width: 1 !important;
}

/* Communities ce-map region pins: red again */
.ce-map-svg .fl-pin-shape { fill: var(--c-red) !important; stroke: #fff !important; }
.ce-map-svg .fl-pin-shape--park { fill: #1a2a3a !important; } /* park dots stay navy as before */
.ce-map-svg .fl-pin-halo  { fill: rgba(184, 15, 23, .10) !important; }
.ce-map-svg .fl-pin-halo-2 { fill: rgba(184, 15, 23, .18) !important; }
.ce-map-svg .fl-pin-dot { fill: #fff !important; }
.ce-map-svg .fl-pin:hover .fl-pin-shape { fill: #8a0b11 !important; }
.ce-map-svg .fl-pin--park:hover .fl-pin-shape { fill: #b80f17 !important; }

/* ce-map park dots: red with white outline (as before P85's B&W overreach) */
.ce-map-svg .fl-pin--park .fl-pin-park-dot {
  fill: #b80f17 !important;
  stroke: #fff !important;
  stroke-width: 3 !important;
}
.ce-map-svg .fl-pin--park.is-hover .fl-pin-park-dot,
.ce-map-svg .fl-pin--park:hover .fl-pin-park-dot {
  fill: #d9b25c !important;
  stroke: #0b2341 !important;
}

/* Leaflet drill-down: bring back red markers + navy clusters with red ring */
#ce-leaflet-map .ce-marker {
  background: #b80f17 !important;
  border-color: #fff !important;
}
#ce-leaflet-map .ce-marker:hover {
  background: #d9b25c !important;
  border-color: #0b2341 !important;
}
#ce-leaflet-map .marker-cluster-small div,
#ce-leaflet-map .marker-cluster-medium div,
#ce-leaflet-map .marker-cluster-large div {
  background: #0b2341 !important;
  color: #fff !important;
  border: 3px solid #b80f17 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.28) !important;
}
#ce-leaflet-map .leaflet-popup-content .ce-pop-link,
#ce-leaflet-map .leaflet-popup-content .ce-pop-name {
  color: #b80f17 !important;
}
#ce-leaflet-map .leaflet-popup-content .ce-pop-name {
  color: #0b2341 !important; /* park name navy, link red */
}

/* Keep count NUMBERS readable: black on white (homepage + ce-map) — this stays */
.fl-pin-count {
  fill: #111 !important;
  paint-order: normal !important;
  stroke: none !important;
}
.ce-map-svg .fl-pin-count {
  fill: #111 !important;
  paint-order: normal !important;
  stroke: none !important;
}

/* Tiles stay grayscale */
.fl-home-basemap { filter: grayscale(100%) contrast(0.9) brightness(1.05) !important; }
#ce-leaflet-map .leaflet-tile-pane {
  filter: grayscale(100%) contrast(0.9) brightness(1.02) !important;
}

/* P90D: keep right side (Four Star Homes sign) in view when cropped */
.editorial-image[style*="about-photo-2018.jpg"]{background-position:right center !important;background-size:cover !important;}

/* P90D: keep right side (Four Star Homes sign) in view when cropped */
.editorial-image[style*="about-photo-2018.jpg"]{background-position:right center !important;background-size:cover !important;}


/* P94: park-card CTA (replaced "X homes · Call for pricing" with a single View Information link) */
.park-card-meta--cta { justify-content: flex-start; }
.park-card-cta { color: var(--c-red); font-weight: 700; letter-spacing: 0.12em; }
.park-card:hover .park-card-cta { color: var(--c-red-dark, #8a0b11); }


/* P98 Tools & Support copy block */
.tools-support-copy p { margin: 0 0 14px; line-height: 1.65; color: #2b2b2b; font-size: 1.02rem; }
.tools-support-copy p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .tools-support-copy { padding: 0 12px; }
  .tools-support-copy p { font-size: 0.98rem; }
}


/* ============================================================
   P97 — Career Opportunity Inquiry Modal
   ============================================================ */

/* CTA section above the modal trigger */
.careers-cta-final { padding: clamp(60px, 7vw, 96px) 0; }
.careers-cta-headline {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--c-navy-dark, #1a2740);
}
.careers-cta-body {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--c-ink, #2a2f3a);
  margin: 0 0 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.careers-cta-body--bold { font-weight: 600; }
.careers-cta-btn { margin-top: 14px; }

/* Modal container */
.career-modal {
  position: fixed; inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
}
.career-modal.is-open { display: flex; }
.career-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.career-modal-panel {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 760px;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  padding: clamp(24px, 4vw, 44px);
  margin: 24px auto;
  z-index: 1;
}
.career-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: #555;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 120ms ease;
}
.career-modal-close:hover { background: #f5f5f5; color: var(--c-red); }

/* Modal header */
.career-modal-head { margin-bottom: 24px; }
.career-modal-eyebrow {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 10px;
}
.career-modal-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-navy-dark, #1a2740);
  margin: 0 0 12px;
}
.career-modal-sub {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin: 0;
}

/* Form structure */
.career-form { margin: 0; }
.career-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--c-rule-soft, #e7e2d8);
  padding-top: 22px;
}
.career-fieldset:first-of-type { border-top: 0; padding-top: 0; }
.career-fieldset > legend {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  font-weight: 700;
  margin-bottom: 14px;
  padding: 0;
}

/* Sub-fieldset (for nested park questions) */
.career-subfield {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--c-paper-warm, #faf7f1);
  border-radius: 8px;
  border: 0;
}
.career-sublegend {
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink, #2a2f3a);
  padding: 0;
  margin-bottom: 8px;
}
.career-sublabel {
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink, #2a2f3a);
  margin: 0 0 8px;
}

/* Fields & inputs */
.career-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 580px) {
  .career-grid-2 { grid-template-columns: 1fr; }
}
.career-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.career-field:last-child { margin-bottom: 0; }
.career-label {
  font-family: var(--ff-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink, #2a2f3a);
}
.career-label em {
  color: var(--c-red);
  font-style: normal;
  margin-left: 2px;
}
.career-field input[type="text"],
.career-field input[type="tel"],
.career-field input[type="email"],
.career-field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--c-rule, #d6cfc2);
  border-radius: 6px;
  background: #fff;
  color: var(--c-ink, #2a2f3a);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.career-field input:focus,
.career-field textarea:focus {
  outline: 0;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(184, 15, 23, 0.12);
}
.career-field textarea { resize: vertical; min-height: 70px; }

/* Checkbox / radio rows */
.career-check, .career-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--c-ink, #2a2f3a);
  margin-bottom: 8px;
  cursor: pointer;
  flex-wrap: wrap;
}
.career-radio { display: inline-flex; margin-right: 18px; }
.career-radio--block { display: flex; }
.career-check input[type="checkbox"], .career-radio input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--c-red, #b80f17);
  cursor: pointer;
}
.career-inline-input {
  flex: 0 1 120px;
  font-family: var(--ff-body);
  font-size: 14px;
  padding: 4px 8px;
  border: 1px solid var(--c-rule, #d6cfc2);
  border-radius: 4px;
  background: #fff;
  margin-left: 6px;
}
.career-inline-input--wide { flex: 1 1 200px; }

/* Submit actions */
.career-form-actions {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--c-rule-soft, #e7e2d8);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.career-form-error {
  color: var(--c-red, #b80f17);
  font-family: var(--ff-body);
  font-size: 14px;
  margin: 0;
}

/* Thank-you panel */
.career-modal-thanks {
  text-align: center;
  padding: 20px 10px;
}
.career-modal-thanks h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  color: var(--c-red, #b80f17);
  margin: 0 0 16px;
}
.career-modal-thanks p {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink, #2a2f3a);
  margin: 0 0 18px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.career-thanks-brand {
  margin-top: 24px;
}
.career-thanks-brand strong {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--c-navy-dark, #1a2740);
}
.career-thanks-brand em {
  display: block;
  margin-top: 6px;
  font-style: italic;
  color: var(--c-ink-soft);
}
.career-thanks-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 17px;
  color: var(--c-ink-soft);
  border-left: 3px solid var(--c-red, #b80f17);
  padding: 12px 18px;
  margin: 28px auto 28px;
  max-width: 520px;
  text-align: left;
}
.btn--large { padding: 14px 28px; font-size: 14px; }
.btn--secondary {
  background: transparent;
  color: var(--c-red, #b80f17);
  border: 1px solid var(--c-red, #b80f17);
}
.btn--secondary:hover { background: var(--c-red, #b80f17); color: #fff; }


/* P97c — balance the career CTA headline wrap */
.careers-cta-headline {
  text-wrap: balance;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .careers-cta-headline { max-width: 100%; }
}


/* P100 — Agent Directory CTA */
.agent-dir-cta { padding: clamp(56px, 6vw, 88px) 0; }
.agent-dir-cta .eyebrow {
  font-family: var(--ff-ui);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 12px;
}
.agent-dir-cta-headline {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
  text-wrap: balance;
  max-width: 820px;
  margin: 0 auto 18px;
  color: var(--c-navy-dark, #1a2740);
}
.agent-dir-cta-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  font-weight: 600;
  color: var(--c-ink, #2a2f3a);
  margin: 0 0 22px;
}
.agent-dir-cta-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 28px;
  max-width: 720px;
  text-align: left;
}
.agent-dir-cta-list li {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: var(--c-ink, #2a2f3a);
  margin: 0 0 12px;
  padding-left: 18px;
  position: relative;
}
.agent-dir-cta-list li:before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-red);
}
.agent-dir-cta-list li strong { color: var(--c-navy-dark, #1a2740); }
.agent-dir-cta-btn { margin-top: 6px; }
@media (max-width: 720px) {
  .agent-dir-cta-list { padding-left: 4px; }
}


/* P101 — New red logo image */
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-height: 56px;
}
@media (max-width: 720px) {
  .brand-logo { height: 42px; }
}
.brand { padding: 8px 0; }

/* P101 — Hide the old hamburger lines color recolor (toggle uses currentColor on .nav-toggle span); ensure it reads on ivory */
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after { background: var(--c-navy); }

/* ============================================================
   P102: 26-city pin design for homepage Florida map
   Scoped to .fl-pins-overlay--city / .fl-pin-city to avoid
   colliding with the existing region-pin and ce-map-svg rules.
   ============================================================ */
.fl-pins-overlay--city {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fl-pins-overlay--city .fl-pin-link.fl-pin-city {
  position: absolute;
  pointer-events: auto;
  text-decoration: none;
  display: flex;
  align-items: center;
  transform: translate(-50%, -100%);
}
.fl-pins-overlay--city .fl-pin-link.fl-pin-city.is-left { flex-direction: row-reverse; }

.fl-pin-city .fl-pin-marker {
  display: block;
  width: 18px;
  height: 24px;
  flex-shrink: 0;
}
.fl-pin-city .fl-pin-shape-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
  transition: transform 0.18s ease, filter 0.18s ease;
}
.fl-pin-city:hover { z-index: 50; }
.fl-pin-city:hover .fl-pin-shape-svg {
  transform: scale(1.18) translateY(-2px);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}
.fl-pin-city:hover .fl-pin-shape-svg path { fill: #b71818; }

.fl-pin-city .fl-pin-label {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #0c2342;
  white-space: nowrap;
  padding: 0 4px;
  text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 0 5px #fff;
  line-height: 1;
}
.fl-pin-city.is-left .fl-pin-label { text-align: right; }
.fl-pin-city:hover .fl-pin-label { color: #b71818; }

/* MOBILE: pins only, label appears as tooltip on tap */
@media (max-width: 767px) {
  .fl-pin-city .fl-pin-marker { width: 20px; height: 26px; }
  .fl-pin-city { display: block; }
  .fl-pin-city .fl-pin-label {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    background: #0c2342;
    color: #fff;
    text-shadow: none;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    pointer-events: none;
    white-space: nowrap;
    z-index: 100;
    margin: 0;
  }
  .fl-pin-city.is-active .fl-pin-label { display: block; }
  .fl-pin-city.is-active .fl-pin-shape-svg {
    transform: scale(1.25) translateY(-2px);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
  }
  .fl-pin-city.is-active .fl-pin-shape-svg path { fill: #b71818; }
}
/* End P102 city pins */

/* ============================================================
   P103: Agent contact modal (popup) — used by agent-profile
   Matches existing .career-modal pattern. The modal markup
   (.modal-overlay > .modal-box) is hidden by default and shown
   when JS adds .is-open. Mobile-friendly: full-height scroll,
   constrained width, stacked actions on small screens.
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.7);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.modal-overlay.is-open { display: flex; }
body.modal-locked { overflow: hidden; }

.modal-box {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  padding: clamp(24px, 4vw, 40px);
  margin: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease, color 120ms ease;
}
.modal-close:hover { background: #f5f5f5; color: var(--c-red); }

.modal-header { margin-bottom: 24px; padding-right: 28px; }
.modal-eyebrow {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 8px;
}
.modal-header h3 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-ink);
  margin: 0;
}
.modal-sub {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--c-ink-soft);
  margin-top: 6px;
}

.modal-body .form-row { margin-bottom: 18px; }
.modal-body textarea { min-height: 110px; }

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.modal-actions .btn { padding: 14px 28px; }

.modal-msg {
  margin-top: 14px;
  font-family: var(--ff-body);
  font-size: 14px;
  min-height: 1em;
}
.modal-msg.is-err { color: var(--c-red); }
.modal-msg.is-ok { color: #1c7c43; }

@media (max-width: 520px) {
  .modal-overlay { padding: 14px 12px; }
  .modal-box { padding: 24px 20px; border-radius: 10px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; text-align: center; }
}
