:root {
  --pine: #173d32;
  --pine-2: #235445;
  --moss: #6e8c70;
  --sage: #dce5da;
  --cream: #f7f4ec;
  --sand: #d8b67a;
  --gold: #c99543;
  --ink: #1f2925;
  --muted: #68746f;
  --line: #dfe4df;
  --white: #fff;
  --warning: #9b6219;
  --warning-bg: #fff4df;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(24, 49, 40, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfaf7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.detail-open { background: var(--cream); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--white); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 225px; height: auto; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; position: relative; color: var(--white); background: var(--pine); border-radius: 14px 14px 14px 5px; transform: rotate(-2deg); box-shadow: 0 7px 18px rgba(23, 61, 50, .18); }
.brand-mark::after { content: ""; width: 13px; height: 13px; border: 2px solid #a8c4a8; border-left-color: transparent; border-bottom-color: transparent; position: absolute; right: 6px; top: 6px; border-radius: 0 7px 0 0; }
.brand-mark span { position: absolute; font-weight: 900; font-size: 18px; letter-spacing: -4px; }
.brand-mark span:first-child { transform: translateX(-5px); }
.brand-mark span:last-child { transform: translateX(7px); color: #cbdcbf; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 22px; color: var(--pine); }
.brand-copy small { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; margin-top: 5px; font-weight: 800; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.text-link { font-size: 14px; font-weight: 750; text-decoration: none; border-bottom: 1px solid transparent; }
.text-link:hover { border-bottom-color: currentColor; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 0 22px; cursor: pointer; background: var(--pine); color: var(--white); text-decoration: none; font-weight: 800; box-shadow: 0 9px 24px rgba(23, 61, 50, .18); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(23, 61, 50, .22); background: var(--pine-2); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(201,149,67,.45); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.header-actions .button-small { color: #e68f1b; }

.hero { width: min(1180px, calc(100% - 40px)); margin: 28px auto 86px; min-height: 545px; border-radius: 36px; overflow: hidden; display: grid; grid-template-columns: 1.06fr .94fr; background: var(--cream); position: relative; box-shadow: inset 0 0 0 1px rgba(23,61,50,.05); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: radial-gradient(circle at 10% 10%, rgba(201,149,67,.2) 0, transparent 20%), repeating-radial-gradient(circle at 72% 42%, transparent 0 35px, rgba(23,61,50,.08) 36px, transparent 37px 52px); }
.hero-content { align-self: center; padding: 68px 30px 68px 72px; position: relative; z-index: 2; }
.ocala-logo { display: block; width: clamp(118px, 11vw, 148px); height: auto; margin: 0 0 9px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--pine-2); text-transform: uppercase; font-size: 11px; line-height: 1.2; letter-spacing: .18em; font-weight: 850; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #6d996f; box-shadow: 0 0 0 5px rgba(109,153,111,.14); }
.hero h1 { max-width: 630px; margin: 18px 0 18px; color: var(--pine); font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; }
.hero-content > p { max-width: 570px; color: #596660; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.65; }
.hero-search { max-width: 560px; height: 64px; margin-top: 30px; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; border: 1px solid #d8ded7; border-radius: 17px; background: rgba(255,255,255,.92); box-shadow: 0 13px 30px rgba(23,61,50,.09); }
.hero-search:focus-within { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(110,140,112,.14), 0 13px 30px rgba(23,61,50,.09); }
.hero-search svg { width: 21px; color: var(--moss); flex: 0 0 auto; }
.hero-search input { width: 100%; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; color: var(--ink); }
.hero-search input::placeholder { color: #89938f; }
.hero-search kbd { border: 1px solid var(--line); background: var(--cream); border-radius: 7px; padding: 5px 7px; color: var(--muted); font-size: 10px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 25px; color: #64716c; font-size: 12px; font-weight: 700; }
.hero-points span { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 15px; color: var(--gold); stroke-width: 2.6; }
.hero-art { min-height: 545px; position: relative; overflow: hidden; background: #315b48 url("assets/marion-county-wooded-land-hero.png") center center / cover no-repeat; }
.sun { width: 140px; height: 140px; border-radius: 50%; background: rgba(255,244,200,.55); position: absolute; top: 74px; right: 72px; filter: blur(1px); box-shadow: 0 0 70px rgba(255,242,183,.4); }
.land { position: absolute; left: -12%; right: -12%; z-index: 1; pointer-events: none; }
.land-back { height: 24%; bottom: -2%; background: rgba(107,143,111,.94); clip-path: polygon(0 70%, 18% 43%, 38% 58%, 58% 19%, 76% 44%, 100% 12%, 100% 100%, 0 100%); }
.land-mid { height: 19%; bottom: -2%; background: rgba(55,101,76,.97); clip-path: polygon(0 45%, 20% 14%, 39% 38%, 59% 6%, 77% 34%, 100% 0, 100% 100%, 0 100%); }
.land-front { height: 13%; bottom: -3%; background: #173f33; clip-path: polygon(0 26%, 24% 4%, 51% 22%, 72% 0, 100% 26%, 100% 100%, 0 100%); }
.parcel-line { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.22); transform: skew(-18deg) rotate(6deg); pointer-events: none; }
.line-one { width: 180px; height: 74px; bottom: -8px; right: -20px; }
.line-two { width: 260px; height: 82px; bottom: -28px; left: 20px; }
.location-pin { width: 55px; height: 55px; position: absolute; right: 39%; top: 43%; border-radius: 50% 50% 50% 10%; transform: rotate(-45deg); background: var(--sand); box-shadow: 0 18px 32px rgba(17,50,38,.3); }
.location-pin i { width: 18px; height: 18px; border-radius: 50%; background: #fff9ea; position: absolute; inset: 0; margin: auto; }
.art-label { position: absolute; z-index: 3; right: 34px; bottom: 32px; min-width: 205px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.87); backdrop-filter: blur(13px); box-shadow: 0 16px 32px rgba(20,55,42,.18); display: grid; }
.art-label span { text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 900; color: var(--moss); }
.art-label strong { font-family: Georgia, serif; color: var(--pine); font-size: 17px; margin-top: 4px; }

.inventory { width: min(1180px, calc(100% - 40px)); margin: 0 auto 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .contact-band h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 50px); color: var(--pine); font-weight: 500; letter-spacing: -.025em; }
.section-heading > p { max-width: 390px; margin: 0 0 5px; line-height: 1.6; color: var(--muted); }
.preview-notice { display: flex; gap: 13px; align-items: flex-start; margin: 28px 0 18px; padding: 15px 18px; border: 1px solid #ead6ab; background: var(--warning-bg); border-radius: 15px; color: #78511c; }
.preview-notice svg { flex: 0 0 auto; width: 20px; margin-top: 1px; }
.preview-notice div { display: grid; gap: 2px; }
.preview-notice strong { font-size: 13px; }
.preview-notice span { font-size: 12px; line-height: 1.45; opacity: .82; }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-block: 1px solid var(--line); }
.chips { display: flex; gap: 9px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; border: 1px solid #d8dfd8; border-radius: 999px; color: #52615b; background: var(--white); padding: 9px 14px; cursor: pointer; font-size: 12px; font-weight: 800; }
.chip:hover { border-color: var(--moss); }
.chip.active { color: var(--white); border-color: var(--pine); background: var(--pine); }
.select-wrap { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; font-weight: 850; letter-spacing: .08em; color: var(--muted); }
.select-wrap select { max-width: 170px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 9px 30px 9px 10px; color: var(--ink); text-transform: none; font-size: 12px; letter-spacing: 0; font-weight: 750; }
.results-summary { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 15px; color: var(--muted); font-size: 12px; }
.results-summary strong { color: var(--ink); }
.results-summary button { border: 0; background: transparent; color: var(--pine-2); font-weight: 800; cursor: pointer; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.property-card { min-width: 0; overflow: hidden; border: 1px solid #e3e6e1; border-radius: var(--radius); background: var(--white); box-shadow: 0 7px 22px rgba(28,52,43,.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ced8ce; }
.property-visual { height: 218px; position: relative; overflow: hidden; background: linear-gradient(160deg, #d9e4d7 0%, #99b194 50%, #557b5f 51%, #274c3d 100%); }
.property-visual::before { content: ""; position: absolute; width: 90%; height: 55%; left: -15%; bottom: -15%; background: #3b644e; border-radius: 50% 50% 0 0; transform: rotate(7deg); box-shadow: 135px -22px 0 #6f916f; }
.property-visual::after { content: ""; position: absolute; inset: 0; opacity: .36; background: repeating-radial-gradient(circle at 83% 9%, transparent 0 30px, rgba(255,255,255,.22) 31px, transparent 32px 43px); }
.property-visual.visual-sand { background: linear-gradient(160deg,#eee3ca,#c3cdb0 49%,#9b9d68 50%,#536a43); }
.property-visual.visual-pine { background: linear-gradient(150deg,#dce7dc,#a4bcaa 47%,#52765d 48%,#1d4939); }
.property-visual.visual-blue { background: linear-gradient(150deg,#dbe8e1,#a6c8ba 47%,#648c75 48%,#254d3e); }
.property-visual.property-card-photo::before, .property-visual.property-card-photo::after { display: none; }
.property-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 48% 46%; transform: scale(1.08); }
.property-card-photo.marion-oaks-1262-card-aerial img { object-position: 60% 47%; transform: scale(1.06); }
.property-card-photo.marion-oaks-1155-card-aerial img { object-position: 48% 57%; transform: scale(1.25); }
.property-card-photo.marion-oaks-0447-card-aerial img { object-position: 67% 67%; transform: scale(1.12); }
.property-card-photo.malauka-trak-0976-39-card-aerial img { object-position: 55% 52%; transform: scale(1.06); }
.property-card-photo.malauka-trail-0969-11-card-aerial img { object-position: 47% 48%; transform: scale(1.08); }
.property-card-photo.malauka-drive-course-0969-13-card-aerial img { object-position: 50% 52%; transform: scale(1.08); }
.property-card-photo.bay-place-court-1652-card-aerial img { object-position: 55% 52%; transform: scale(1.04); }
.property-card-photo.rainbow-acres-1753-card-aerial img { object-position: 55% 53%; transform: scale(1.1); }
.property-card-photo.rainbow-lakes-1801-card-aerial img { object-position: 50% 50%; transform: scale(1.08); }
.property-card-photo.rainbow-lakes-1807-card-aerial img { object-position: 43% 59%; transform: scale(1.18); }
.property-card-photo.silver-springs-1258-card-aerial img { object-position: 50% 50%; transform: scale(1.32); }
.card-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; z-index: 2; }
.badge { display: inline-flex; min-height: 27px; align-items: center; border-radius: 999px; padding: 0 9px; color: var(--pine); background: rgba(255,255,255,.9); backdrop-filter: blur(8px); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 4px 12px rgba(20,55,42,.1); }
.badge.warning { color: #81561d; background: rgba(255,246,224,.94); }
.photo-label { position: absolute; bottom: 12px; left: 14px; z-index: 2; color: rgba(255,255,255,.92); text-transform: uppercase; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.property-card-body { padding: 20px; }
.card-community { color: var(--moss); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 900; }
.property-card h3 { margin: 8px 0 4px; color: var(--pine); font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.parcel { color: var(--muted); font-size: 11px; }
.card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; padding-block: 14px; border-block: 1px solid #edf0ec; }
.card-facts span { display: grid; gap: 3px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.card-facts strong { color: var(--ink); font-size: 12px; text-transform: none; letter-spacing: 0; }
.card-footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.price { display: grid; gap: 2px; }
.price small { color: var(--muted); font-size: 10px; }
.price strong { font-size: 18px; color: var(--pine); }
.view-link { border: 0; background: transparent; color: var(--pine); font-size: 12px; font-weight: 900; cursor: pointer; padding: 8px 0; }
.view-link::after { content: " →"; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed #ccd4cc; border-radius: var(--radius); background: var(--cream); }
.empty-icon { font-size: 35px; color: var(--moss); }
.empty-state h3 { font-family: Georgia, serif; font-size: 28px; margin: 10px 0 5px; color: var(--pine); }
.empty-state p { color: var(--muted); margin: 0 0 22px; }

.contact-band { width: min(1180px, calc(100% - 40px)); margin: 0 auto 36px; padding: 52px 60px; border-radius: 30px; color: var(--white); background: var(--pine); display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.contact-band::after { content: ""; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.13); border-radius: 48% 52% 50% 50%; position: absolute; right: -90px; top: -150px; box-shadow: 0 0 0 36px rgba(255,255,255,.035), 0 0 0 74px rgba(255,255,255,.025); }
.contact-band > * { position: relative; z-index: 1; }
.contact-band > div:first-child { max-width: 680px; }
.section-kicker.light { color: #b9d0b8; }
.contact-band h2 { color: var(--white); }
.contact-band p { max-width: 650px; color: rgba(255,255,255,.7); line-height: 1.6; }
.contact-actions { display: grid; justify-items: center; gap: 10px; flex: 0 0 auto; }
.button-light { color: var(--pine); background: var(--white); }
.button-light:hover { background: #f7f2e6; }
.contact-email { color: rgba(255,255,255,.72); font-size: 11px; text-decoration: none; }
.site-footer { width: 100%; margin: 0 auto; padding: 38px max(20px, calc((100% - 1180px) / 2)) 100px; text-align: center; color: rgba(255,255,255,.72); background: var(--pine); font-size: 11px; line-height: 1.6; }
.footer-logo { display: block; width: min(280px, 78vw); height: auto; margin: 0 auto 18px; }
.brand-mark.mini { width: 32px; height: 32px; border-radius: 10px 10px 10px 4px; }
.brand-mark.mini span { font-size: 12px; }
.brand-mark.mini span:first-child { transform: translateX(-4px); }
.brand-mark.mini span:last-child { transform: translateX(5px); }
.brand-mark.mini::after { width: 8px; height: 8px; right: 4px; top: 4px; }
.footer-legal { max-width: 900px; margin: 18px auto; }
.mobile-cta { display: none; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 26px; transform: translate(-50%, 90px); opacity: 0; background: #17231e; color: var(--white); border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow); font-size: 12px; font-weight: 750; transition: .25s ease; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Detail route */
.detail-shell { min-height: 70vh; }
.detail-hero { width: min(1180px, calc(100% - 40px)); margin: 22px auto 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--pine); cursor: pointer; font-weight: 850; padding: 8px 0 18px; }
.back-link svg { width: 18px; }
.detail-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 24px; align-items: start; }
.detail-gallery { min-width: 0; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 230px 230px; gap: 10px; }
.gallery-main { grid-row: 1 / span 2; }
.gallery-image { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(150deg,#dfe9dd,#a8c0a7 48%,#5d8062 49%,#224c3b); }
.gallery-image.alt-one { grid-column: 2; grid-row: 1; min-width: 0; min-height: 0; }
.gallery-image.alt-two { grid-column: 2; grid-row: 2; min-width: 0; min-height: 0; }
.gallery-image::before { content: ""; position: absolute; width: 100%; height: 50%; left: -15%; bottom: -10%; background: #3e674e; border-radius: 50% 50% 0 0; transform: rotate(6deg); box-shadow: 220px -40px 0 #70916e; }
.gallery-image::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 78% 17%,transparent 0 34px,rgba(255,255,255,.2) 35px,transparent 36px 50px); }
.gallery-image.alt-one { background: linear-gradient(155deg,#e9e4d3,#c2c8a7 51%,#7d8e58 52%,#3f5a39); }
.gallery-image.alt-two { background: linear-gradient(155deg,#dbe7e5,#a6c5b9 51%,#547d67 52%,#224739); }
.gallery-image.property-photo::before, .gallery-image.property-photo::after { display: none; }
.property-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 48% 46%; transform: scale(1.08); }
.property-photo.malauka-radial-aerial img { object-position: 53% 45%; }
.property-photo.marion-oaks-1262-aerial img { object-position: 56% 47%; transform: scale(1.05); }
.property-photo.marion-oaks-1155-aerial img { object-position: 48% 57%; transform: scale(1.22); }
.property-photo.marion-oaks-0447-aerial img { object-position: 67% 67%; transform: scale(1.1); }
.property-photo.rainbow-acres-1753-aerial img { object-position: 54% 52%; transform: scale(1.08); }
.property-photo.rainbow-lakes-1801-aerial img { object-position: 43% 52%; transform: scale(1.08); }
.property-photo.rainbow-lakes-1807-aerial img { object-position: 43% 58%; transform: scale(1.12); }
.property-photo.silver-springs-1258-aerial img { object-position: 50% 50%; transform: scale(1.16); }
.property-photo.malauka-trak-0976-39-aerial img { object-position: 55% 52%; transform: scale(1.05); }
.property-photo.malauka-trail-0969-11-aerial img { object-position: 47% 48%; transform: scale(1.08); }
.property-photo.malauka-drive-course-0969-13-aerial img { object-position: 50% 52%; transform: scale(1.08); }
.property-photo.bay-place-court-1652-aerial img { object-position: 55% 52%; transform: scale(1.04); }
.gallery-image.street-view::before, .gallery-image.street-view::after { display: none; }
.street-view iframe { display: block; width: 100%; height: 100%; border: 0; }
.gallery-image.parcel-photo::before, .gallery-image.parcel-photo::after { display: none; }
.parcel-photo img { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 39% 50%; transform: scale(2.1); }
.parcel-photo.rolling-hills-parcel-view img { object-position: 44% 49%; }
.parcel-photo.malauka-radial-parcel-view img { object-position: 50% 39%; transform: scale(1.25); }
.parcel-photo.marion-oaks-1262-parcel-view img { object-position: 54% 45%; transform: scale(1.12); }
.parcel-photo.marion-oaks-1155-parcel-view img { object-position: 26% 46%; transform: scale(1.18); }
.parcel-photo.marion-oaks-0447-parcel-view img { object-position: 40% 45%; transform: scale(1.16); }
.parcel-photo.malauka-trak-0976-39-parcel-view img { object-position: 50% 55%; transform: scale(1.05); }
.parcel-photo.malauka-trail-0969-11-parcel-view img { object-position: 50% 42%; transform: scale(1.08); }
.parcel-photo.malauka-drive-course-0969-13-parcel-view img { object-position: 50% 50%; transform: scale(1.04); }
.parcel-photo.bay-place-court-1652-parcel-view img { object-position: 50% 45%; transform: scale(1.04); }
.parcel-photo.rainbow-acres-1753-parcel-view img { object-position: 36% 48%; transform: scale(1.14); }
.parcel-photo.rainbow-lakes-1801-parcel-view img { object-position: 32% 43%; transform: scale(1.18); }
.parcel-photo.rainbow-lakes-1807-parcel-view img { object-position: 42% 52%; transform: scale(1.08); }
.parcel-photo.silver-springs-1258-parcel-view img { object-position: 62% 50%; transform: scale(1.05); }
.gallery-placeholder { position: absolute; z-index: 2; inset: auto 16px 15px; color: rgba(255,255,255,.92); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.detail-card { border-radius: 24px; background: var(--white); border: 1px solid var(--line); padding: 30px; box-shadow: var(--shadow); }
.detail-card .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-card .badge { background: var(--sage); box-shadow: none; }
.detail-card .badge.warning { background: var(--warning-bg); }
.detail-card h1 { color: var(--pine); font-family: Georgia, serif; font-size: clamp(36px,5vw,56px); line-height: 1; letter-spacing: -.035em; font-weight: 500; margin: 18px 0 7px; }
.detail-location { color: var(--muted); margin: 0; }
.detail-price { display: grid; margin: 24px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.detail-price small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.detail-price strong { margin-top: 4px; color: var(--pine); font-size: 26px; }
.price-options { display: grid; gap: 8px; margin-top: 10px; }
.price-option { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.price-option span { color: var(--muted); }
.price-option b { color: var(--ink); }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.button-outline { border: 1px solid var(--pine); color: var(--pine); background: transparent; box-shadow: none; }
.button-outline:hover { color: var(--white); }
.share-button { width: 100%; margin-top: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.detail-body { width: min(1180px, calc(100% - 40px)); margin: 30px auto 80px; display: grid; grid-template-columns: 1fr 390px; gap: 30px; align-items: start; }
.detail-copy { display: grid; gap: 22px; }
.content-panel { border: 1px solid var(--line); border-radius: 20px; padding: 26px; background: rgba(255,255,255,.72); }
.content-panel h2, .inquiry-panel h2 { margin: 0 0 14px; color: var(--pine); font-family: Georgia, serif; font-weight: 500; font-size: 27px; }
.content-panel > p { color: var(--muted); line-height: 1.7; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--line); }
.fact { padding: 14px; background: var(--white); display: grid; gap: 3px; }
.fact span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.fact strong { font-size: 12px; }
.highlight-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.highlight-list li { display: flex; align-items: flex-start; gap: 9px; color: #48564f; font-size: 13px; line-height: 1.45; }
.highlight-list li::before { content: "✓"; flex: 0 0 auto; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: var(--pine); background: var(--sage); font-size: 10px; font-weight: 900; }
.inquiry-panel { position: sticky; top: 20px; border-radius: 20px; padding: 26px; background: var(--pine); color: var(--white); box-shadow: var(--shadow); }
.inquiry-panel h2 { color: var(--white); }
.inquiry-panel > p { color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.6; }
.inquiry-form { display: grid; gap: 12px; margin-top: 18px; }
.field { display: grid; gap: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { color: rgba(255,255,255,.7); font-size: 10px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; padding: 11px 12px; color: var(--white); background: rgba(255,255,255,.09); outline: 0; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field select option { color: var(--ink); }
.field textarea { min-height: 90px; resize: vertical; }
.inquiry-form .button { width: 100%; background: var(--sand); color: var(--pine); box-shadow: none; }
.inquiry-form .button:hover { background: #e3c78e; }
.form-note { text-align: center; color: rgba(255,255,255,.52); font-size: 9px; line-height: 1.4; }
.county-link { color: var(--pine-2); font-size: 11px; font-weight: 850; }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 58px; }
  .hero-art { min-height: 310px; }
  .property-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { width: min(590px, calc(100% - 28px)); margin: -70px auto 0; position: relative; z-index: 3; }
  .detail-body { grid-template-columns: 1fr; }
  .inquiry-panel { position: static; }
}

/* Tablet detail pages: match the gallery-to-card gap to the 30px gap
   above the Property overview section. */
@media (min-width: 681px) and (max-width: 950px) {
  .detail-card { margin-top: 30px; }
}

@media (max-width: 680px) {
  body { padding-bottom: 68px; }
  .site-header { width: calc(100% - 28px); height: 72px; }
  .brand-logo { width: 185px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 8px; }
  .header-actions { display: none; }
  .hero { width: calc(100% - 20px); margin: 8px auto 56px; border-radius: 26px; }
  .hero-content { padding: 42px 24px 34px; }
  .hero h1 { font-size: 51px; }
  .hero-content > p { font-size: 15px; }
  .hero-search { height: 57px; margin-top: 24px; padding-inline: 16px; }
  .hero-search kbd { display: none; }
  .hero-points { gap: 10px 15px; }
  .hero-art { min-height: 235px; }
  .sun { width: 95px; height: 95px; top: 28px; right: 35px; }
  .location-pin { width: 43px; height: 43px; }
  .location-pin i { width: 14px; height: 14px; }
  .art-label { right: 16px; bottom: 16px; min-width: 170px; padding: 12px 14px; }
  .inventory { width: calc(100% - 28px); margin-bottom: 60px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 10px; font-size: 13px; }
  .preview-notice { padding: 13px; }
  .filter-row { display: grid; gap: 14px; }
  .chips { width: calc(100vw - 28px); margin-left: -4px; }
  .select-wrap { justify-content: space-between; }
  .select-wrap select { width: 180px; max-width: 58vw; }
  .property-grid { grid-template-columns: 1fr; gap: 16px; }
  .property-visual { height: 205px; }
  .contact-band { width: calc(100% - 20px); margin-bottom: 18px; padding: 38px 24px; display: grid; border-radius: 24px; }
  .contact-actions { justify-items: stretch; }
  .contact-email { text-align: center; }
  .site-footer { width: 100%; padding: 32px 20px 36px; }
  .mobile-cta { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: 9px; height: 56px; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 6px; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border: 1px solid rgba(23,61,50,.12); border-radius: 18px; box-shadow: 0 12px 32px rgba(19,47,37,.2); }
  .mobile-cta a { display: grid; place-items: center; border-radius: 12px; text-decoration: none; color: var(--pine); font-size: 12px; font-weight: 900; }
  .mobile-cta a.primary { background: var(--pine); color: var(--white); }
  .detail-hero { width: calc(100% - 20px); margin-top: 4px; }
  .back-link { margin-left: 5px; }
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 280px); gap: 18px; }
  .gallery-main,
  .gallery-image.alt-one,
  .gallery-image.alt-two { grid-column: 1; grid-row: auto; width: 100%; }
  .gallery-image { border-radius: 16px; }
  .street-view iframe { width: 100%; height: 100%; }
  .parcel-photo img { object-position: center; }
  .detail-card { width: calc(100% - 18px); margin-top: 18px; padding: 22px; border-radius: 20px; }
  .detail-actions { grid-template-columns: 1fr; }
  .detail-body { width: calc(100% - 28px); margin-top: 18px; }
  .content-panel, .inquiry-panel { padding: 21px; }
  .fact-grid, .highlight-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) and (orientation: portrait) {
  .mobile-cta { background: var(--pine); border-color: var(--pine); }
  .mobile-cta a { color: #e68f1b; }
  .mobile-cta a.primary { background: #e68f1b; color: var(--pine); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
