/* ============================================================
   Omoniyi AJ & Associate — v6 consolidated fixes
   1. Liquid-glass capsule nav (+ working mobile sheet)
   2. Compact testimonial carousel
   3. Dependency-free reveal animation (replaces AOS)
   4. Listing / gallery / property-card / detail-gallery repairs
   5. Offline-safe: nothing here needs a CDN
   ============================================================ */

:root{
  --font-display:'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h:64px;
  --gold-hi:#d9f58a;
}
.lg-defs{position:absolute;width:0;height:0;overflow:hidden}
ul,ol{list-style:none}                      /* removes the stray "•" bullets that appeared inside the nav */
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(201,155,59,.8);outline-offset:3px}

/* ---------- 3. Reveal (replaces AOS) ---------- */
.js [data-aos]:not(.aos-in){opacity:0;transform:translate3d(0,26px,0)}
.js [data-aos="fade-left"]:not(.aos-in){transform:translate3d(28px,0,0)}
.js [data-aos="fade-right"]:not(.aos-in){transform:translate3d(-28px,0,0)}
.js [data-aos="fade-down"]:not(.aos-in){transform:translate3d(0,-20px,0)}
.js [data-aos="zoom-in"]:not(.aos-in){transform:scale(.94)}
.js [data-aos]:not(.aos-done){transition:opacity .75s var(--ease-out),transform .75s var(--ease-out)}
.reveal-all [data-aos]{opacity:1!important;transform:none!important}
@media (prefers-reduced-motion:reduce){.js [data-aos]{opacity:1!important;transform:none!important;transition:none!important}}

/* ============================================================
   1. LIQUID-GLASS NAV
   Layers (back → front):  refract (blur + SVG displacement)  →  tint  →  shine (edge highlights)  →  content
   ============================================================ */
.nav-shell{position:fixed;top:14px;left:0;right:0;z-index:1000;pointer-events:none;padding:0 16px}
.nav-pill{max-width:1120px;margin:0 auto;padding:0;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:auto}
.nav-inner{--mx:30%;--my:0%;position:relative;isolation:isolate;display:flex;align-items:center;gap:6px;padding:7px 8px 7px 8px;border-radius:999px;
  background:transparent;border:0;
  box-shadow:0 14px 40px -8px rgba(3,27,18,.30),0 3px 10px rgba(3,27,18,.10);
  transition:box-shadow .4s var(--ease-out),transform .4s var(--ease-out)}
.nav-shell.scrolled .nav-inner{box-shadow:0 18px 46px -10px rgba(3,27,18,.38),0 4px 12px rgba(3,27,18,.12)}

.nav-inner > .lg-refract,.nav-inner > .lg-tint,.nav-inner > .lg-shine{position:absolute;inset:0;border-radius:inherit;pointer-events:none}
.lg-refract{z-index:-3;-webkit-backdrop-filter:blur(14px) saturate(1.8) brightness(1.04);backdrop-filter:blur(14px) saturate(1.8) brightness(1.04);overflow:hidden}
/* Chromium: add the liquid distortion. Browsers that can't parse url() here ignore this line and keep the plain blur above. */
.lg-refract{backdrop-filter:blur(7px) url(#oa-liquid) saturate(1.9) brightness(1.05)}
.lg-tint{z-index:-2;background:linear-gradient(135deg,rgba(255,255,255,.72) 0%,rgba(244,251,247,.54) 48%,rgba(255,255,255,.68) 100%);transition:background .4s}
.nav-shell.scrolled .lg-tint{background:linear-gradient(135deg,rgba(255,255,255,.78) 0%,rgba(244,251,247,.62) 48%,rgba(255,255,255,.74) 100%)}
.lg-shine{z-index:-1;
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.95),inset 0 -1.5px 0 rgba(255,255,255,.45),inset 1.5px 0 1px -1px rgba(255,255,255,.85),inset -1.5px 0 1px -1px rgba(255,255,255,.7),inset 0 0 22px rgba(255,255,255,.35),inset 0 0 0 1px rgba(7,92,64,.10)}
.lg-shine::after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(180px 90px at var(--mx) var(--my),rgba(255,255,255,.65),rgba(255,255,255,0) 70%);opacity:.75;mix-blend-mode:soft-light;transition:opacity .3s}
.lg-shine::before{content:"";position:absolute;left:8%;right:8%;top:1px;height:42%;border-radius:999px 999px 60% 60%/100% 100% 40% 40%;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0))}

/* brand */
.site-logo{display:block;width:150px;height:auto;max-height:58px;object-fit:contain;object-position:center;flex:0 0 auto}
.nav-brand:has(.site-logo){padding:0 8px 0 2px;gap:0;background:transparent!important}
.nav-brand:has(.site-logo):hover{background:transparent!important}
@media (max-width:900px){.site-logo{width:145px;max-height:56px}.nav-brand:has(.site-logo){padding-left:0}}
.nav-brand{display:flex;align-items:center;gap:10px;padding:2px 14px 2px 2px;border-radius:999px;transition:background .25s}
.nav-brand:hover{background:rgba(255,255,255,.45)}
.brand-mark{width:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 30% 22%,#1aa070 0%,#0a6b46 48%,#031b12 100%);color:#fff;font-family:var(--font-display);font-weight:700;font-size:.9rem;letter-spacing:.02em;display:flex;align-items:center;justify-content:center;gap:0;
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.45),inset 0 -3px 6px rgba(0,0,0,.28),0 6px 14px rgba(3,27,18,.30);position:relative;overflow:hidden}
.brand-mark::after{content:"";position:absolute;top:2px;left:6px;width:60%;height:38%;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0))}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{font-family:var(--font-display);font-weight:700;font-size:1.02rem;letter-spacing:-.01em;color:#052e16}
.brand-text small,.brand-text span{font-family:var(--font-body);font-size:.62rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#065f46;margin-top:2px}

/* links + liquid droplet */
.nav-links{position:relative;display:flex;align-items:center;justify-content:center;flex:1;gap:2px;margin:0 8px;padding:4px;background:none;border:0;border-radius:999px}
.nav-links li{position:relative;z-index:1}
.nav-links a{position:relative;display:block;padding:10px 18px;font-size:.92rem;font-weight:600;color:#0a3d2b;border-radius:999px;white-space:nowrap;background:none!important;transition:color .25s}
.nav-links a::before,.nav-links a::after{display:none!important}   /* old underline + dot */
.nav-links a:hover{color:#052e16}
.nav-links a.active{color:#052e16}
.nav-blob{position:absolute!important;z-index:0!important;left:0;top:0;width:0;height:0;border-radius:999px;pointer-events:none;opacity:0;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.62));
  box-shadow:inset 0 1.5px 0 #fff,inset 0 -2px 4px rgba(7,92,64,.14),0 6px 16px -4px rgba(7,92,64,.35),0 0 0 1px rgba(7,92,64,.08);
  transition:transform .55s cubic-bezier(.34,1.45,.55,1),width .55s cubic-bezier(.34,1.45,.55,1),height .3s,opacity .25s}
.nav-blob::after{content:"";position:absolute;left:14%;right:14%;top:2px;height:38%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,0))}
/* without JS the active link still gets a visible pill */
html:not(.js) .nav-links a.active{background:rgba(255,255,255,.85)!important}
.nav-links a.active::after{display:block!important;content:"";position:absolute;left:50%;bottom:5px;width:16px;height:2.5px;border-radius:3px;transform:translateX(-50%);background:linear-gradient(90deg,#0f8f5f,#7fb519)}

/* CTA */
.nav-cta-wrap{display:flex;align-items:center;gap:8px;flex-shrink:0}
.nav-cta-btn{display:inline-flex;align-items:center;gap:9px;padding:12px 20px;border-radius:999px;font-size:.86rem;font-weight:700;color:#fff;white-space:nowrap;
  background:linear-gradient(180deg,#0c7a54 0%,#052e16 100%);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.35),inset 0 -2px 4px rgba(0,0,0,.25),0 8px 18px -4px rgba(3,27,18,.55);
  transition:transform .3s var(--ease-out),box-shadow .3s}
.nav-cta-btn i{transition:transform .3s var(--ease-out)}
.nav-cta-btn:hover{transform:translateY(-1px);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.45),inset 0 -2px 4px rgba(0,0,0,.25),0 12px 24px -4px rgba(3,27,18,.6)}
.nav-cta-btn:hover i{transform:translateX(3px)}

.nav-toggle{display:none;width:44px;height:44px;border-radius:50%;align-items:center;justify-content:center;flex-direction:column;gap:4px;
  background:rgba(255,255,255,.6);box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(7,92,64,.10)}
.nav-toggle span{display:block;width:18px;height:2px;background:#052e16;border-radius:2px;transition:transform .35s var(--ease-out),opacity .2s}
.nav-toggle.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

@media (max-width:1020px){.brand-text small{display:none}.nav-links a{padding:10px 13px}}
@media (max-width:900px){
  .nav-shell{top:10px;padding:0 12px}
  .nav-links{display:none}
  .nav-brand{flex:1}
  .nav-cta-btn{display:none}
  .nav-toggle{display:flex}
}
/* browsers with no backdrop-filter at all: make the capsule solid so text stays readable */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.lg-tint{background:rgba(250,253,251,.97)!important}}

/* ---------- Mobile sheet (markup uses sheet-scrim / sheet-head / sheet-body / sheet-link / sheet-foot) ---------- */
.nav-sheet{position:fixed;inset:0;z-index:1100;pointer-events:none}
.nav-sheet.open{pointer-events:auto}
.sheet-scrim{position:absolute;inset:0;background:rgba(3,27,18,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .35s}
.nav-sheet.open .sheet-scrim{opacity:1}
.sheet-panel{position:absolute;top:10px;right:10px;bottom:10px;width:min(86vw,360px);display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:30px;
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(238,247,242,.84));-webkit-backdrop-filter:blur(24px) saturate(1.8);backdrop-filter:blur(24px) saturate(1.8);
  box-shadow:inset 0 1.5px 0 #fff,inset 0 0 0 1px rgba(7,92,64,.10),0 30px 70px -10px rgba(3,27,18,.5);
  transform:translateX(110%);transition:transform .5s cubic-bezier(.22,1,.36,1)}
.nav-sheet.open .sheet-panel{transform:none}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;margin-bottom:6px;border-bottom:1px solid rgba(7,92,64,.12)}
.sheet-close{width:40px;height:40px;border-radius:50%;background:rgba(7,92,64,.08);color:#052e16;display:flex;align-items:center;justify-content:center}
.sheet-body{display:flex;flex-direction:column;gap:2px;overflow-y:auto}
.sheet-link{display:flex;align-items:center;gap:14px;padding:14px 14px;border-radius:18px;font-size:1.02rem;font-weight:600;color:#0a3d2b;opacity:0;transform:translateX(18px);transition:opacity .4s var(--ease-out),transform .4s var(--ease-out),background .2s}
.nav-sheet.open .sheet-link{opacity:1;transform:none}
.sheet-link i{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(7,92,64,.08);color:#0f8f5f;font-size:.95rem}
.sheet-link:hover,.sheet-link.active{background:rgba(255,255,255,.85);box-shadow:inset 0 1px 0 #fff,0 4px 14px -6px rgba(7,92,64,.3)}
.sheet-link.active i{background:linear-gradient(135deg,#0a6b46,#0f8f5f);color:#fff}
.sheet-foot{margin-top:auto;padding-top:14px}
.sheet-foot .btn{width:100%}

/* ============================================================
   2. TESTIMONIALS — compact glass cards in a snap carousel
   ============================================================ */
.testi-stage{position:relative;margin-top:8px}
.testi-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:6px 2px 18px;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline-offset:6px}
.testi-track::-webkit-scrollbar{display:none}
.testi-card{flex:0 0 calc((100% - 36px) / 3);scroll-snap-align:start;margin:0;display:flex;flex-direction:column;gap:14px;min-height:0;padding:22px 22px 18px;
  border-radius:24px;position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 18px 40px -18px rgba(0,0,0,.55);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:transform .35s var(--ease-out),border-color .35s,background .35s}
.testi-card:hover{transform:translateY(-4px);border-color:rgba(246,217,140,.45);background:linear-gradient(160deg,rgba(255,255,255,.18),rgba(255,255,255,.07))}
.testi-top{display:flex;align-items:center;justify-content:space-between}
.testi-stars{display:inline-flex;gap:3px;color:var(--gold-hi);font-size:.8rem}
.testi-qicon{font-size:1.35rem;color:rgba(255,255,255,.22)}
.testi-quote{margin:0;font-size:.95rem;line-height:1.65;color:rgba(255,255,255,.9);display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;font-style:normal}
.testi-card:hover .testi-quote,.testi-card:focus-within .testi-quote{-webkit-line-clamp:unset}
.testi-author{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}
.testi-avatar{width:42px;height:42px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;overflow:hidden;font-family:var(--font-display);font-weight:700;font-size:.9rem;letter-spacing:.02em;color:#052e16;
  background:linear-gradient(135deg,var(--gold-hi),#7fb519);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 6px 14px -4px rgba(0,0,0,.4)}
.testi-avatar img{width:100%;height:100%;object-fit:cover}
.testi-who{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.testi-who strong{font-size:.92rem;color:#fff;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.testi-who span{font-size:.78rem;color:rgba(255,255,255,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.testi-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:8px}
.testi-btn{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.3);transition:background .25s,transform .25s,opacity .25s}
.testi-btn:hover:not(:disabled){background:rgba(255,255,255,.22);transform:scale(1.06)}
.testi-btn:disabled{opacity:.35;cursor:default}
.testi-dots{display:flex;gap:7px;align-items:center}
.testi-dots span{width:8px;height:8px;border-radius:8px;background:rgba(255,255,255,.3);cursor:pointer;transition:width .35s var(--ease-out),background .3s}
.testi-dots span.on{width:26px;background:var(--gold-hi)}
@media (max-width:1000px){.testi-card{flex-basis:calc((100% - 18px) / 2)}}
@media (max-width:640px){.testi-card{flex-basis:88%}.testi-quote{-webkit-line-clamp:7}}

/* ============================================================
   4. LISTING / GALLERY / CARDS
   ============================================================ */
/* hero → trust strip → search no longer overlap each other */
.trust-strip{margin-top:-34px;position:relative;z-index:6}
.hero-search-wrap{margin-top:18px!important;position:relative;z-index:5}
.hero-search{background:rgba(255,255,255,.9)!important}
.sf-group select{appearance:none;-webkit-appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23065f46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center;padding-right:22px!important;cursor:pointer}
.fb-group select{appearance:none;-webkit-appearance:none;background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23065f46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:34px!important;cursor:pointer}

/* featured bento: image + dark scrim + readable text (v5 had painted the text block white under white text) */
.bento-grid{grid-auto-flow:dense}
.listing-card.banner{grid-column:span 12;grid-row:span 1}
.listing-card.half{grid-column:span 6;grid-row:span 1}
.listing-card.big{grid-column:span 7;grid-row:span 2}
.listing-card.tall{grid-column:span 5;grid-row:span 2}
.listing-card.small{grid-column:span 4;grid-row:span 1}
@media (max-width:1100px){.listing-card.banner,.listing-card.big{grid-column:span 6}.listing-card.half,.listing-card.tall,.listing-card.small{grid-column:span 3}.listing-card.big{grid-row:span 2}}
@media (max-width:640px){.listing-card.banner,.listing-card.big,.listing-card.half,.listing-card.tall,.listing-card.small{grid-column:span 1}.listing-card.big,.listing-card.tall{grid-row:span 2}}
.listing-card{background:#0b3327!important}
.listing-card .listing-media{background:linear-gradient(135deg,#071a13,#0b6b4a)}
.listing-media img{position:absolute;inset:0}
.listing-media::after{background:linear-gradient(180deg,rgba(3,27,18,.12) 0%,rgba(3,27,18,0) 30%,rgba(3,27,18,.55) 62%,rgba(3,27,18,.92) 100%)}
.listing-body{background:none!important;padding:22px 24px!important}
.listing-title{color:#fff!important;font-size:1.28rem!important;text-shadow:0 1px 10px rgba(0,0,0,.35)}
.big .listing-title{font-size:1.9rem!important}
.listing-loc{color:rgba(255,255,255,.82)!important}
.listing-price{color:var(--gold-hi)!important;font-size:1.3rem!important}
.big .listing-price{font-size:1.6rem!important}
.listing-price small{color:rgba(255,255,255,.6)!important}
.listing-link{color:#fff!important;background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
.listing-link:hover{background:var(--gold-hi)!important;color:#052e16!important}
.listing-tags{z-index:3}
.tag-land{background:rgba(246,217,140,.95)!important;color:#5b3d05!important}
.tag-sale{background:rgba(255,255,255,.92)!important;color:#0a6b46!important}
.tag-rent{background:rgba(219,234,254,.95)!important;color:#1e3a8a!important}
.tag-featured{background:linear-gradient(135deg,#0a6b46,#0f8f5f)!important;color:#fff!important}
.tag-featured i{color:var(--gold-hi)!important}

/* gallery page */
.tabs-gal{width:max-content;max-width:100%;margin:0 0 var(--s-4);background:rgba(7,92,64,.07);box-shadow:inset 0 0 0 1px rgba(7,92,64,.08)}
.tabs-gal .tab-btn{padding:10px 20px}
#galleryBento > .listing-card{border-radius:24px}
.gallery-zoom{position:absolute;inset:0;z-index:1;display:block;color:inherit;cursor:zoom-in}
.gallery-zoom .listing-media,.gallery-zoom .listing-tags,.gallery-zoom .listing-body{pointer-events:none}
.gallery-zoom .listing-body{z-index:2}
#galleryBento .listing-foot > span:first-child{font-size:.82rem;color:rgba(255,255,255,.75);font-weight:500}
@media (max-width:640px){.tabs-gal{width:100%}}
.lightbox.open{display:flex!important}
#lightboxContent iframe,#lightboxContent video{width:min(1100px,92vw);aspect-ratio:16/9;border:0;border-radius:20px;background:#000}
#lightboxContent img{max-width:92vw;max-height:78vh;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.5)}

/* property cards (listings page) */
.prop-card:nth-child(even){margin-top:0!important}
.prop-card > a{display:flex;flex-direction:column;height:100%;color:inherit}
.pc-media{background:linear-gradient(135deg,#071a13,#0b6b4a);flex-shrink:0}
.pc-media img{width:100%;height:100%;object-fit:cover}
.pc-tags .tag{box-shadow:0 4px 12px rgba(3,27,18,.18)}
.pc-title{color:#052e16}
.filter-bar{top:92px;z-index:20}
.filter-bar .btn{white-space:nowrap}
.filter-bar .fb-group[style*="row"]{align-items:center}
.map-side iframe{background:#0b3327}
.listings-stage.view-map{grid-template-columns:minmax(0,1.1fr) repeat(2,minmax(0,1fr))!important}
@media (max-width:1000px){.listings-stage.view-map{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){.listings-stage.view-map{grid-template-columns:1fr!important}}

/* property detail gallery (works without Swiper) */
.dg-main{position:relative}
.dg-main .swiper{position:relative}
.dg-main .swiper-wrapper{display:block}
.dg-main .swiper-slide{display:none;width:100%}
.dg-main .swiper-slide.is-active{display:block;animation:slide-in .5s var(--ease-out)}
@keyframes slide-in{from{opacity:0;transform:scale(1.015)}to{opacity:1;transform:none}}
.dg-main img,.dg-main video{display:block;width:100%;background:#0b3327}
.dg-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#052e16;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 #fff,0 10px 24px -6px rgba(3,27,18,.4)}
.dg-nav.prev{left:16px}.dg-nav.next{right:16px}
.dg-nav:hover{background:#fff;transform:translateY(-50%) scale(1.06)}
.dg-thumbs .swiper-wrapper{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 6px;scrollbar-width:thin}
.dg-thumbs .swiper-slide{flex:0 0 112px;height:76px;border-radius:12px;overflow:hidden;opacity:.55;cursor:pointer;border:2px solid transparent;transition:opacity .25s,border-color .25s,transform .25s}
.dg-thumbs .swiper-slide:hover{opacity:.85}
.dg-thumbs .swiper-slide.is-active{opacity:1;border-color:var(--oa-gold,#7fb519);transform:translateY(-2px)}
.dg-thumbs img{width:100%;height:100%;object-fit:cover}

/* contact / info cards */
.info-ic{flex-shrink:0}
.info-card strong{color:#052e16}
.wa-float i{font-size:1.6rem}

/* page headers: make the banner art visible instead of a flat dark block */
.page-head-bg{opacity:.42!important;background-size:cover!important;background-position:center!important}

/* stray list bullets anywhere else */
.why-checks,.feat-list,.f-col ul,.sheet-body{list-style:none}

/* roomier bento rows so 2-line titles never collide with the tags */
.bento-grid{grid-auto-rows:250px!important}
.listing-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2!important}
.listing-card.small .listing-title,.listing-card.half .listing-title{font-size:1.12rem!important}
.listing-card.small .listing-body{padding:18px 20px!important}
.listing-foot{padding-top:10px!important}
@media (max-width:640px){.bento-grid{grid-auto-rows:240px!important}}

/* footer link dots no longer push the links out of line with their column headings */
.f-col ul a{position:relative}
.f-col ul a::before{position:absolute;left:-12px;top:50%;margin-top:-2px}

/* listings filter bar: 7 children (6 fields + buttons) were squeezed into 6 columns */
.fb-group label{white-space:nowrap;display:flex;align-items:center;gap:5px}
.filter-bar form{grid-template-columns:1.5fr 1fr 1fr 1fr .8fr .8fr auto}
@media (max-width:1100px){.filter-bar form{grid-template-columns:repeat(3,1fr)}.filter-bar form>*:last-child{grid-column:1/-1}}
@media (max-width:640px){.filter-bar form{grid-template-columns:1fr}}
.info-ic i{font-size:1.4rem}

/* ============================================================
   MOBILE FIRST-LOAD REPAIR
   - Keep all mobile content visible immediately (no blank/faded load)
   - Prevent the fixed glass header from crowding the hero
   - Keep trust/search blocks separated on narrow screens
   - Use the supplied full company logo in the compact header
   ============================================================ */
@media (max-width:900px){
  /* The reveal animation was leaving mobile sections dim/hidden during first load. */
  html.js [data-aos]{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
    transition-delay:0!important;
  }

  .nav-shell{top:10px;padding:0 10px}
  .nav-inner{min-height:62px;padding:4px 6px!important;gap:4px}
  .site-logo{width:150px!important;max-width:calc(100vw - 88px)!important;height:auto!important;max-height:56px!important;object-fit:contain!important}
  .nav-brand{min-width:0;flex:1;overflow:hidden}
  .nav-brand .site-logo{display:block}
  .nav-toggle{width:44px;height:44px;flex:0 0 44px}

  .hero{
    min-height:auto!important;
    padding-top:124px!important;
    padding-bottom:54px!important;
  }
  .hero-content{grid-template-columns:1fr!important;min-height:auto!important;gap:0!important;padding-bottom:0!important}
  .hero-right{display:none!important}
  .hero-headline{font-size:clamp(2.7rem,13vw,4rem)!important;line-height:.98!important}
  .hero-kicker{font-size:.95rem!important;line-height:1.7!important}
  .hero-ctas{flex-direction:column!important;align-items:stretch!important;gap:12px!important}
  .hero-ctas .btn{width:100%!important;justify-content:center!important}
  .hero-meta-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;margin-top:22px!important;padding-top:16px!important}
  .hero-meta{min-width:0}
  .hero-meta strong{font-size:1.25rem!important}
  .hero-meta span{font-size:.60rem!important;line-height:1.35!important;letter-spacing:.045em!important}

  .trust-strip{margin-top:0!important;padding-top:12px}
  .trust-grid{grid-template-columns:1fr!important;gap:8px!important;padding:9px!important;border-radius:18px!important}
  .trust-item{padding:10px!important}
  .hero-search-wrap{margin-top:14px!important}
  .hero-search{grid-template-columns:1fr!important;padding:14px!important;border-radius:18px!important;gap:10px!important}
  .sf-search-btn{width:100%!important;justify-content:center!important;min-height:50px!important}
}

@media (max-width:400px){
  .site-logo{width:140px!important;max-width:calc(100vw - 84px)!important}
  .nav-inner{padding-left:4px!important;padding-right:4px!important}
  .hero{padding-top:118px!important}
  .hero-headline{font-size:clamp(2.5rem,13vw,3.5rem)!important}
  .hero-meta-row{gap:7px!important}
  .hero-meta span{font-size:.56rem!important}
}

/* ===== Brand lockup: icon mark + company name beside it ===== */
.nav-brand{display:flex;align-items:center;gap:10px;min-width:0}
.nav-brand .brand-mark-img{height:40px;width:auto;flex:0 0 auto;display:block}
.brand-lockup{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.brand-lockup strong{font-family:var(--font-display);font-weight:800;font-size:1.02rem;letter-spacing:-.01em;color:#0a6b46;white-space:nowrap}
.brand-lockup small{font-family:var(--font-body);font-size:.6rem;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:#5f9a0e;margin-top:3px;white-space:nowrap}
@media (max-width:900px){
  .nav-brand{padding-left:6px!important}
  .nav-brand .brand-mark-img{height:34px}
  .brand-lockup strong{font-size:.86rem}
  .brand-lockup small{font-size:.54rem;letter-spacing:.2em}
}
@media (max-width:360px){.brand-lockup strong{font-size:.78rem}.brand-lockup small{display:none}}
/* footer */
.footer-mark{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:14px;padding:6px 8px;flex-shrink:0}
.footer-mark img{height:42px;width:auto;display:block}
/* sheet header (mobile menu) */
.sheet-head .nav-brand{flex:1}

/* ===== Brand text: all green ===== */
.nav-brand .brand-lockup strong{color:#0a6b46!important}
.nav-brand .brand-lockup small{color:#0a8a5c!important}

/* ===== Hero v7: green hero, serif headline, photo card on the right, services strip ===== */
.hero.hero-v7{
  min-height:0!important;
  padding:150px 0 110px!important;
  background:
    radial-gradient(900px 500px at 85% 20%,rgba(16,185,129,.28),transparent 60%),
    radial-gradient(700px 500px at 0% 100%,rgba(132,204,22,.12),transparent 60%),
    linear-gradient(135deg,#052e16 0%,#07442c 55%,#0a5a3c 100%)!important;
}
.hero-v7 .hero-bg-media,.hero-v7 .hero-veil,.hero-v7 .hero-orbs{display:none!important}
.hero-v7 .hero-content{display:grid!important;grid-template-columns:1fr 1.08fr!important;gap:48px!important;align-items:center!important;min-height:0!important;padding-bottom:0!important}
.hero-v7 .hero-left{align-self:center}

.hero-v7 .hero-pill{display:inline-flex;align-items:center;gap:10px;padding:9px 18px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.92);font-size:.72rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;margin-bottom:26px}
.hero-v7 .hero-pill .dot{width:8px;height:8px;border-radius:50%;background:#a3e635;box-shadow:0 0 0 4px rgba(163,230,53,.2)}

.hero-v7 .hero-headline{font-family:'Playfair Display',Georgia,'Times New Roman',serif!important;font-weight:700!important;font-size:clamp(2.9rem,5.6vw,5.2rem)!important;line-height:1.04!important;letter-spacing:-.02em!important;color:#fff!important;margin-bottom:24px!important}
.hero-v7 .hero-headline em{font-family:'Playfair Display',Georgia,serif!important;font-style:italic!important;font-weight:600!important;color:#c6f24a!important;-webkit-text-fill-color:#c6f24a!important;background:none!important;display:inline-block;padding:0 .12em .08em 0;margin-right:-.12em}

.hero-v7 .hero-kicker{max-width:560px!important;font-size:1.02rem!important;line-height:1.75!important;color:rgba(255,255,255,.82)!important;margin-bottom:30px!important}

.hero-v7 .hero-ctas{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.btn-lime,.btn-outline-light{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 26px;border-radius:12px;font-weight:700;font-size:.95rem;transition:transform .2s ease,box-shadow .2s ease,background .2s ease;text-decoration:none}
.btn-lime{background:#c6f24a;color:#06301f}
.btn-lime:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(198,242,74,.28)}
.btn-outline-light{border:1.5px solid rgba(255,255,255,.55);color:#fff;background:rgba(255,255,255,.04)}
.btn-outline-light:hover{background:rgba(255,255,255,.12);transform:translateY(-2px)}

.hero-v7 .hero-stats{display:flex;flex-wrap:wrap;gap:0;margin-top:38px}
.hero-v7 .hero-stat{display:flex;align-items:center;gap:12px;padding:0 24px;border-left:1px solid rgba(255,255,255,.2)}
.hero-v7 .hero-stat:first-child{padding-left:0;border-left:0}
.hero-v7 .hero-stat>i{font-size:1.6rem;color:#c6f24a}
.hero-v7 .hero-stat strong{display:block;color:#fff;font-size:1.02rem;font-weight:700;line-height:1.2}
.hero-v7 .hero-stat span{display:block;color:rgba(255,255,255,.7);font-size:.8rem;margin-top:2px}

.hero-v7 .hero-right{display:block!important;position:relative}
.hero-v7 .hero-photo{position:relative;border-radius:30px;overflow:hidden;height:min(560px,56vw);box-shadow:0 40px 90px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.14);transform:perspective(1600px) rotateY(-5deg);transform-origin:left center}
.hero-v7 .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 62%;display:block}
.hero-v7 .hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 55%,rgba(5,46,22,.28) 100%);pointer-events:none}

.hero-prop-card{position:absolute;right:22px;bottom:-26px;display:flex;align-items:center;gap:14px;padding:12px 14px;min-width:min(420px,92%);background:#fff;border-radius:18px;box-shadow:0 22px 55px rgba(0,0,0,.28);color:#10281d;text-decoration:none;z-index:3;transition:transform .25s ease}
.hero-prop-card:hover{transform:translateY(-3px)}
.hero-prop-card>img{width:92px;height:76px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.hpc-body{flex:1;min-width:0}
.hpc-verified{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;color:#0a6b46;margin-bottom:3px}
.hpc-body strong{display:block;font-size:1rem;color:#10281d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hpc-body small{display:flex;flex-wrap:wrap;gap:4px 12px;color:#5d6e66;font-size:.78rem;margin-top:3px}
.hpc-body small i{margin-right:4px;color:#0a6b46}
.hpc-go{width:42px;height:42px;border-radius:50%;background:#06301f;color:#fff;display:grid;place-items:center;flex:0 0 auto}

/* Services strip overlapping the hero */
.svc-strip{position:relative;z-index:6;margin-top:-52px}
.svc-grid{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-radius:22px;box-shadow:0 22px 60px rgba(5,46,22,.16);border:1px solid rgba(6,95,70,.08);overflow:hidden}
.svc-item{display:flex;align-items:center;gap:14px;padding:26px 22px;color:#10281d;font-weight:600;font-size:.92rem;line-height:1.3;text-decoration:none;border-left:1px solid #e8eeea;transition:background .2s}
.svc-item:first-child{border-left:0}
.svc-item:hover{background:#f3f9f5}
.svc-item i{font-size:1.7rem;color:#0a6b46;flex:0 0 auto}
@media(min-width:641px){.hero-search-wrap{margin-top:34px!important}}

@media(max-width:1000px){
  .hero.hero-v7{padding:125px 0 90px!important}
  .hero-v7 .hero-content{grid-template-columns:1fr!important;gap:34px!important}
  .hero-v7 .hero-photo{height:min(440px,62vw);transform:none}
  .svc-grid{grid-template-columns:repeat(3,1fr)}
  .svc-item:nth-child(4){border-left:0}
  .svc-item:nth-child(n+4){border-top:1px solid #e8eeea}
}
@media(max-width:640px){
  .hero.hero-v7{padding:108px 0 70px!important}
  .hero-v7 .hero-headline{font-size:clamp(2.5rem,12vw,3.4rem)!important}
  .hero-v7 .hero-kicker{font-size:.95rem!important}
  .hero-v7 .hero-ctas{flex-direction:column;align-items:stretch}
  .btn-lime,.btn-outline-light{width:100%}
  .hero-v7 .hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:28px}
  .hero-v7 .hero-stat{flex-direction:column;align-items:flex-start;gap:6px;padding:0 0 0 10px}
  .hero-v7 .hero-stat:first-child{padding-left:0}
  .hero-v7 .hero-stat>i{font-size:1.3rem}
  .hero-v7 .hero-stat strong{font-size:.86rem}
  .hero-v7 .hero-stat span{font-size:.68rem}
  .hero-v7 .hero-photo{height:300px;border-radius:22px}
  .hero-prop-card{position:relative;right:auto;bottom:auto;margin:-34px 12px 0;min-width:0}
  .hero-prop-card>img{width:72px;height:60px}
  .svc-strip{margin-top:-30px}
  .svc-grid{grid-template-columns:1fr 1fr;border-radius:18px}
  .svc-item{padding:16px 14px;font-size:.82rem;gap:10px;border-left:0;border-top:1px solid #e8eeea}
  .svc-item:nth-child(odd){border-right:1px solid #e8eeea}
  .svc-item:nth-child(-n+2){border-top:0}
  .svc-item:last-child{grid-column:1/-1;border-right:0}
  .svc-item i{font-size:1.3rem}
}

/* ===== Hero v8: full-width photo background (no green cover, no boxed photo), original Poppins headline ===== */
.hero.hero-v7{
  background:#0d1a22!important;
  padding:160px 0 130px!important;
}
.hero-v7 .hero-bg-media,.hero-v7 .hero-veil{display:block!important}
.hero-v7 .hero-bg-media{position:absolute;inset:0;z-index:0}
.hero-v7 .hero-veil{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(90deg,rgba(6,14,20,.72) 0%,rgba(6,14,20,.46) 42%,rgba(6,14,20,.06) 78%),
    linear-gradient(180deg,rgba(6,14,20,.28) 0%,rgba(6,14,20,0) 28%,rgba(6,14,20,0) 72%,rgba(6,14,20,.38) 100%)!important;
}
.hero-v7 .hero-content{grid-template-columns:1fr!important;position:relative;z-index:3}
.hero-v7 .hero-left{max-width:760px}

/* old headline: Poppins, white + gold-to-mint italic line */
.hero-v7 .hero-headline{
  font-family:var(--font-display),'Poppins',system-ui,sans-serif!important;
  font-weight:800!important;
  font-size:clamp(2.8rem,5.8vw,5.6rem)!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
  color:#fff!important;
}
.hero-v7 .hero-headline em{
  font-family:var(--font-display),'Poppins',system-ui,sans-serif!important;
  font-style:italic!important;
  font-weight:500!important;
  background:linear-gradient(90deg,#f6d365,#a7f3d0)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  color:transparent!important;-webkit-text-fill-color:transparent!important;
  display:inline-block;padding:0 .18em .1em 0;margin-right:-.18em;
}
@media(max-width:640px){
  .hero.hero-v7{padding:112px 0 90px!important}
  .hero-v7 .hero-headline{font-size:clamp(2.6rem,12.5vw,3.6rem)!important}
  .hero-bg-img{background-position:62% center!important}
  .hero-v7 .hero-veil{background:linear-gradient(180deg,rgba(6,14,20,.62) 0%,rgba(6,14,20,.5) 100%)!important}
}

/* Hero photo (replaces the old green house drawing) */
.hero-bg-img{
  background-image:url('../images/hero-home.jpg')!important;
  background-size:cover!important;
  background-position:center 60%!important;
  background-repeat:no-repeat!important;
  background-color:#0d1a22!important;
  filter:none!important;
}
@media(max-width:640px){.hero-bg-img{background-position:62% center!important}}

/* ===== Theme v9: richer emerald + lime across the whole site ===== */
:root{
  --oa-green:#0a6b46; --oa-green2:#0f8f5f; --oa-gold:#7fb519;
  --lime:#c6f24a; --lime-deep:#7fb519; --emerald-deep:#06301f; --emerald:#0a6b46;
  --accent-bright:#c6f24a;
}
/* Primary buttons: lime with deep-green text (matches the hero) */
.btn-primary,.sf-search-btn{
  background:linear-gradient(135deg,#d3f76a 0%,#c6f24a 55%,#b4e63a 100%)!important;
  color:#06301f!important;font-weight:700;
  box-shadow:0 10px 26px rgba(127,181,25,.32)!important;
}
.btn-primary::after{display:none!important}
.btn-primary:hover,.sf-search-btn:hover{
  background:linear-gradient(135deg,#dcfa7d 0%,#cdf45a 100%)!important;
  box-shadow:0 16px 34px rgba(127,181,25,.42)!important;
}
.btn-primary i,.sf-search-btn i{color:#06301f!important}
/* Dark emerald panels / strips get a lime accent */
.cta-panel-a,.footer-main{background:linear-gradient(145deg,#041f14,#0a5a3c)!important}
.footer-main{background:#041f14!important}
.footer-strip{background:#0a6b46!important}
.section-head .label,.section-head .label i,.listing-link,.tag-featured i,.why-copy .num{color:#5f9a0e!important}
.section-head h2 em,.bento-head h2 em{color:#7fb519}
.pc-price,.price-lg,.price-card .amount{color:#06301f!important}
.pc-view{background:#e8f7c9!important;color:#06301f!important}
.property-card .view-link,.listing-card .listing-link{color:#0a6b46!important}
.trust-item i,.svc-item i{color:#0a6b46!important}
.trust-item i{background:#ecfac4!important}
.tag-available,.tag-sale{background:#e8f7c9;color:#2f5d0a}
a:hover{color:inherit}
.wa-float{background:#18b66a!important}

/* Hero readability: stronger shade behind the stats and small text */
.hero-v7 .hero-veil{
  background:
    linear-gradient(90deg,rgba(4,24,16,.74) 0%,rgba(4,24,16,.48) 45%,rgba(4,24,16,.08) 80%),
    linear-gradient(180deg,rgba(4,24,16,.30) 0%,rgba(4,24,16,0) 26%,rgba(4,24,16,.10) 60%,rgba(4,24,16,.62) 100%)!important;
}
.hero-v7 .hero-stat span{color:rgba(255,255,255,.92)!important;text-shadow:0 1px 8px rgba(0,0,0,.55)}
.hero-v7 .hero-stat strong{text-shadow:0 1px 8px rgba(0,0,0,.55)}
.btn-lime{background:linear-gradient(135deg,#d3f76a,#c6f24a)!important;color:#06301f!important}

/* Share row on property pages */
.share-row{display:flex;align-items:center;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid #e8eeea;font-size:.85rem;color:#5d6e66}
.share-btn{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e8f7c9;color:#06301f;transition:transform .2s,background .2s;cursor:pointer;border:0}
.share-btn:hover{background:#c6f24a;transform:translateY(-2px)}
.share-note{color:#0a6b46;font-weight:600}

/* ===== v10: form toast, saved hearts, payment estimator, similar properties ===== */
.toast-form{position:fixed;left:50%;top:92px;transform:translateX(-50%);z-index:9998;display:flex;gap:12px;align-items:flex-start;max-width:min(560px,92vw);padding:16px 18px;border-radius:16px;background:#fff;color:#10231a;box-shadow:0 18px 50px rgba(6,48,31,.28);border-left:6px solid #7fb519;animation:toastIn .4s ease}
.toast-form.err{border-left-color:#d64545}
.toast-form>i{font-size:1.4rem;color:#7fb519;margin-top:2px}.toast-form.err>i{color:#d64545}
.toast-form p{margin:0 0 6px;font-weight:600;line-height:1.45}
.toast-form button{background:none;border:0;font-size:1.5rem;line-height:1;color:#6b7c73;cursor:pointer;margin-left:auto}
.toast-wa{display:inline-flex;align-items:center;gap:8px;background:#18b66a;color:#fff!important;padding:8px 14px;border-radius:999px;font-size:.85rem;font-weight:700;text-decoration:none}
.toast-form.hide{opacity:0;transform:translate(-50%,-12px);transition:.5s;pointer-events:none}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,-14px)}to{opacity:1;transform:translate(-50%,0)}}

.pc-media{position:relative}
.fav-btn{position:absolute;top:12px;right:12px;z-index:5;width:38px;height:38px;border-radius:50%;border:0;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#31453b;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.18);transition:transform .2s,color .2s}
.fav-btn:hover{transform:scale(1.1)}
.fav-btn.on{color:#e0245e;background:#fff}
.fav-btn.on i{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z%22/%3E%3C/svg%3E")}
#savedToggle.active{background:#e8f7c9;color:#06301f}
#savedCount{background:#c6f24a;color:#06301f;border-radius:999px;padding:0 7px;font-size:.75rem;font-weight:700;margin-left:4px}

.calc-card{margin-top:22px;padding:22px;border-radius:20px;background:#f6fbe9;border:1px solid #dcefb0}
.calc-card h3{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:1.05rem;color:#06301f}
.calc-card label{display:block;font-size:.85rem;color:#31453b;margin-bottom:12px}
.calc-card input[type=range]{width:100%;accent-color:#7fb519;margin-top:6px}
.calc-out{margin-top:8px;padding:16px;border-radius:14px;background:#06301f;color:#fff;text-align:center}
.calc-out span{display:block;font-size:.8rem;opacity:.8}
.calc-out strong{display:block;font-size:1.7rem;color:#c6f24a;margin:4px 0}
.calc-out small{opacity:.85}
.calc-note{margin:12px 0 0;font-size:.75rem;color:#6b7c73}

.similar-sec{background:#f6faf7}
.similar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.similar-grid .prop-card{display:block;text-decoration:none;color:inherit}
@media(max-width:900px){.similar-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.similar-grid{grid-template-columns:1fr}.toast-form{top:78px}}

/* ===== v11: mobile + tablet safety (grid/flex children were stretching pages wider than the screen) ===== */
html,body{max-width:100%;overflow-x:clip}
.hero-search>*,.cta-grid>*,.detail-content>*,.contact-wrap>*,.hero-content>*,.footer-grid>*,
.filter-bar form>*,.info-stack>*,.info-card>*,.property-grid>*,.similar-grid>*{min-width:0}
.sf-group input,.sf-group select,.fb-group input,.fb-group select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.info-card strong,.info-card span,.info-card p,.summary-head h1,.tag,.pc-title,.pc-loc{overflow-wrap:anywhere}
.tag-row{flex-wrap:wrap}

/* Home search bar: 4 fields + button, then 2 columns, then 1 */
.hero-search{grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr)) auto!important}
@media(max-width:900px){
  .hero-search{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sf-search-btn{grid-column:1/-1!important;width:100%}
  .cta-grid,.contact-wrap,.detail-content{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:560px){
  .hero-search{grid-template-columns:minmax(0,1fr)!important}
}

/* Listings filter bar: clean 4-column grid (was 7 columns for 8 items, which pushed it off screen) */
.filter-bar form{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end}
.filter-bar form>*:first-child{grid-column:span 2}
.filter-bar form>*:last-child{grid-column:1/-1!important;flex-wrap:wrap}
.filter-bar .fb-group[style*="row"]{flex-wrap:wrap}
@media(max-width:900px){
  .filter-bar form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .filter-bar form>*:first-child{grid-column:1/-1}
}
@media(max-width:560px){
  .filter-bar form{grid-template-columns:minmax(0,1fr)!important}
  .filter-bar form>*:first-child{grid-column:auto}
  .filter-bar .btn{flex:1 1 auto;justify-content:center}
}

/* Heart button no longer covers the photo-count badge */
.fav-btn{top:auto;bottom:12px;right:12px}

/* v11b: filter bar must not stick on phones/tablets (it was ~670px tall and covered the listings) */
.filter-bar{position:static!important}
/* toast: was squeezed to half the screen width on phones */
.toast-form{width:max-content;max-width:min(560px,92vw)}
.toast-form>div{flex:1;min-width:0}
@media(max-width:600px){.toast-form{left:4%;right:4%;transform:none;width:auto;max-width:none;animation:none}.toast-form.hide{transform:translateY(-12px)}}

/* v11c: cards had fixed row heights, so longer text was cut off (services cards, home stat chips) */
.bento-grid{grid-auto-rows:minmax(250px,auto)!important}
@media (max-width:640px){.bento-grid{grid-auto-rows:minmax(240px,auto)!important}}
.stats-chips{grid-auto-rows:minmax(120px,auto)!important}
.svc-card,.stats-chips .chip{height:auto}

/* v11d: About page on phones */
@media (max-width:640px){
  .state-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .state-pill{padding:11px 8px!important}
  .state-pill strong{font-size:.86rem;overflow-wrap:anywhere}
  .state-pill span{font-size:.68rem}
}
/* Mission / Vision / Values: keep the corner icon from covering the last line of text */
.mvv-grid>*{padding-bottom:72px!important}

/* Featured listing price on the dark photo cards: lemon, like the hero */
.listing-card .listing-price,.listing-price{color:#c6f24a!important;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.listing-price small{color:rgba(255,255,255,.78)!important}

/* Property-type badge on home featured cards */
.tag-cat{background:rgba(255,255,255,.94)!important;color:#0a6b46!important}

/* Property page price block: never squeeze the note beside the amount on phones */
.price-lg{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.price-lg .amount{overflow-wrap:anywhere}
.price-lg .note{flex:1 1 220px;min-width:0;line-height:1.5}
@media(max-width:700px){
  .price-lg{flex-direction:column;align-items:flex-start;gap:6px}
  .price-lg .amount{font-size:clamp(1.8rem,8.5vw,2.4rem)!important}
  .price-lg .note{flex:none;width:100%}
}

/* footer email lines: long addresses wrap instead of overflowing */
.f-mail a{word-break:break-word;overflow-wrap:anywhere;font-size:.88rem}

/* v12 contrast fixes (both themes) */
.footer-strip-inner,.footer-strip-inner *{color:#eafbd2!important}
.calc-out small,.calc-out b{color:rgba(255,255,255,.88)!important}
.similar-sec .section-head .label,.similar-sec .section-head .label i{color:#3f7a0a!important}
