/* HORIZON PROPERTIES · FINAL REFINEMENT
   Sage / ivory / champagne. Preserve the approved map, imagery, names & content.
   Real buttons, consistent 44px touch targets, responsive layouts, gentle motion. */
:root{--hpf-forest:#174631;--hpf-ink:#153b2a;--hpf-cream:#fcfbf6;--hpf-sage:#879f89;--hpf-line:rgba(111,138,106,.18);--hpf-lift:0 13px 35px rgba(19,47,30,.11),0 3px 9px rgba(20,44,26,.05);--hpf-active:0 21px 44px rgba(21,55,33,.18),0 5px 12px rgba(19,46,28,.075)}
html{scroll-padding-top:100px}
body{font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.header{gap:12px;align-items:center;isolation:isolate}
.brand{padding:3px 8px 3px 3px;min-width:0;flex:0 0 auto}
.brand-icon{display:grid;place-items:center}
.brand-icon svg{width:76%;height:76%;display:block}
.mainnav{gap:5px;margin-left:auto;padding:7px;background:rgba(242,246,239,.56);border:1px solid rgba(185,205,180,.25);border-radius:999px;box-shadow:0 6px 17px rgba(27,57,35,.08)}
.mainnav a{display:inline-flex;align-items:center;gap:7px;min-height:41px;padding:9px 12px;font-size:clamp(12px,.95vw,14px);font-weight:700;line-height:1.3;border:1px solid transparent;border-radius:999px;transition:background .2s ease,box-shadow .2s ease,transform .2s ease,color .2s ease}
.mainnav a .nav-icon{height:16px;width:16px;flex-shrink:0;opacity:.84}
.mainnav a:hover,.mainnav a:focus-visible,.mainnav a.active{background:rgba(255,254,250,.96);border-color:rgba(202,216,194,.65);color:#163e2d;box-shadow:0 5px 14px rgba(19,53,31,.11);transform:translateY(-1px)}
.mainnav a.active:after{display:none!important}
.header-actions{min-width:0}
/* Remove baked-in dropdown: use a controlled, accessible, true custom listbox. */
.quick-search{overflow:visible;isolation:isolate}
.qs-control{position:relative;min-width:0;overflow:visible;background:linear-gradient(135deg,#fdfbf7,#f3f0e7);border:1px solid rgba(215,221,206,.82);box-shadow:inset 0 1px rgba(255,255,255,.9);padding:9px 13px;transition:border-color .2s ease,box-shadow .2s ease}
.qs-control:focus-within,.qs-control:has(.hp-filter-trigger[aria-expanded="true"]){border-color:#91ad91;box-shadow:0 0 0 3px rgba(126,163,125,.15),0 6px 17px rgba(27,57,35,.07);z-index:16}
.qs-control>span{font-size:10px;letter-spacing:.105em;color:#576d5a;font-weight:800}
.qs-control.hp-has-picker select{display:none!important}
.hp-filter-trigger{border:0;outline:0;background:transparent;color:#1b4130;width:100%;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 2px 2px;font:750 14px/1.4 'Manrope',system-ui,sans-serif;text-align:left;white-space:normal}
.hp-filter-trigger::after{content:'';width:7px;height:7px;flex-shrink:0;border:solid #56755c;border-width:0 1.7px 1.7px 0;transform:rotate(45deg) translate(-1px,-2px);transition:transform .16s ease}
.hp-filter-trigger[aria-expanded="true"]::after{transform:rotate(225deg) translate(-2px,-1px)}
.hp-filter-trigger:focus-visible{outline:2px solid #83a18a;outline-offset:3px;border-radius:5px}
.hp-filter-menu{position:absolute;top:calc(100% + 9px);left:0;right:0;min-width:max(100%,220px);z-index:200;padding:8px;border-radius:20px;background:#fffefa;border:1px solid #dbe7d8;box-shadow:0 26px 55px rgba(15,46,27,.19),0 8px 20px rgba(24,54,33,.1);max-height:min(48vh,370px);overflow:auto;overscroll-behavior:contain;transform-origin:top center;animation:hp-drop-in .16s ease-out both}
.hp-filter-menu[hidden]{display:none!important}
.hp-filter-option{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:42px;gap:12px;padding:10px 13px;border:0;border-radius:12px;background:transparent;color:#244633;text-align:left;font:650 13.5px/1.5 'Manrope',system-ui,sans-serif;white-space:normal;transition:background .14s ease,color .14s ease}
.hp-filter-option:hover,.hp-filter-option:focus-visible{background:#eff5ec;outline:0}
.hp-filter-option[aria-selected="true"]{background:#e7f0e5;color:#17442d;font-weight:800}
.hp-filter-option[aria-selected="true"]::after{content:'✓';color:#3d7850;font-size:15px}
@keyframes hp-drop-in{from{opacity:0;transform:translateY(-5px) scale(.987)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Calm illustration, no crop: retain every location and map label. */
.hero-art{background:#f5f6ee}
.hero-art img{object-fit:contain!important;object-position:center!important;max-width:100%;height:100%;width:100%}
.hero h1{font-family:Georgia,'Libre Baskerville',serif;letter-spacing:-.035em}
.hero-bn{font-size:clamp(14px,1.12vw,17px)!important;line-height:1.93!important;color:#344d3f}
.hero-buttons .btn{min-height:52px;display:inline-flex;align-items:center;justify-content:center;line-height:1.3}
/* Share same design vocabulary for tactile yet unobtrusive microinteractions. */
.btn,.contact-tile,.map-expand{will-change:auto;transition:transform .19s ease,background .19s ease,box-shadow .19s ease,border-color .19s ease}
@media(hover:hover) and (pointer:fine){.btn:hover,.contact-tile:hover,.community:hover,.property-card:hover{transform:translateY(-3px)}.community:hover,.property-card:hover{box-shadow:var(--hpf-active)!important}.btn:hover{box-shadow:0 12px 25px rgba(21,52,32,.16)}.map-expand:hover{transform:translateY(-2px)}}
.btn:active,.contact-tile:active,.map-expand:active{transform:scale(.985)}
/* If content is scroll-focused on touch devices, highlight only select feature cards. */
@media(hover:none){.hp-in-view.community,.hp-in-view.property-card{box-shadow:0 16px 36px rgba(24,58,34,.17),0 4px 12px rgba(31,49,34,.05)!important;border-color:rgba(145,172,136,.48)!important}.btn:hover,.community:hover,.property-card:hover,.contact-tile:hover{transform:none!important}}
.community .area-tag{font-size:10px;color:#6b806b}
.community small{font-weight:550;line-height:1.65}
.landmarks{gap:9px}
.landmarks span,.landmark,.landmarks li{border:1px solid #dce7d7;background:linear-gradient(145deg,#fffdf9,#edf3e9);color:#2f5940;border-radius:999px;padding:9px 13px;box-shadow:0 4px 10px rgba(29,65,37,.055);font-weight:700}
.map-section .section-head h2,.about-content h2,.property-section .section-head h2{font-family:'Libre Baskerville',Georgia,serif;line-height:1.25;letter-spacing:-.03em}
.map-section .map-heading-sub{display:inline-block;color:#7c8c73;font-style:normal;font-weight:700;letter-spacing:-.025em}
.map-aside h3{font-family:'Libre Baskerville',Georgia,serif;font-style:normal;white-space:normal;line-height:1.24;font-weight:700;font-size:clamp(25px,2.6vw,35px);letter-spacing:-.02em}
.map-aside h3 .soft-amp{color:#7e967f;font-style:normal;font-weight:400}
.map-aside p{line-height:1.9}
.map-buttons{gap:10px;flex-wrap:wrap}
.map-buttons .btn{min-width:0;line-height:1.45;text-align:center;white-space:normal;padding:12px 17px}
.property-disclaimer{font-size:13px;font-weight:620;border-radius:16px;background:#f4f6ef;color:#42604c;padding:14px 19px;border:1px solid #dde6d8}
/* Calm bilingual founder copy */
.about-label{font-size:11px;letter-spacing:.085em;font-weight:750}
.about-bengali{font-family:'Noto Sans Bengali',sans-serif;font-size:clamp(15px,1.08vw,17px)!important;line-height:1.95!important;font-weight:500}
.about-english{font-family:'Manrope',system-ui,sans-serif;font-weight:750;color:#385943;font-size:clamp(14px,1vw,16px);line-height:1.8}
.contact-tile{overflow:hidden;min-width:0}
.contact-tile-copy{min-width:0}
.contact-tile-copy small{overflow-wrap:anywhere}
/* Rounded overlay with natural sprigs, not a full-screen ad. */
#heroMapDialog[open],#propertyDialog[open],#photoLightbox[open]{animation:hp-dialog-appear .23s cubic-bezier(.18,.75,.18,1) both}
@keyframes hp-dialog-appear{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
#heroMapDialog::backdrop,#propertyDialog::backdrop,#photoLightbox::backdrop{background:rgba(17,39,24,.45);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
#heroMapDialog>img,#photoLightboxImage,#propertyDialog .detail-pane>img{object-fit:contain!important}
#heroMapDialog .hero-map-close,#propertyDialog .close-btn,#photoLightbox .photo-lightbox-close{border-radius:50%;box-shadow:0 5px 16px rgba(18,42,25,.14)}
/* Footer has legally useful copyright without oversized decoration. */
.footer small{color:#697a69;font-size:11.5px;font-weight:600}
/* Keep owner editor concealed on public navigation, even if a visitor knows the URL. RLS separately enforces write permissions. */
body:not(.hp-owner-mode) #adminLaunch,body:not(.hp-owner-mode) #footerOwner{display:none!important}
/* 12-column-style fluid layout for all device widths */
@media(max-width:1280px){.header{gap:7px}.mainnav{gap:2px;padding:5px}.mainnav a{padding-inline:9px}.brand{padding-right:2px}.brand-words strong{font-size:clamp(20px,2vw,24px)}.hero-bn{font-size:14px!important}}
@media(max-width:1060px){.mainnav{gap:3px}.mainnav a{font-size:12px;padding:8px 9px}.mainnav a .nav-icon{width:14px}.header{gap:6px}}
@media(max-width:850px){.mainnav{position:absolute;z-index:50;top:calc(100% + 7px);left:0;right:0;display:none;padding:10px;border-radius:20px;background:#fffefa;box-shadow:var(--hpf-active);border:1px solid #dce5d8}.mainnav.open{display:flex;flex-direction:column;align-items:stretch}.mainnav a{display:flex;min-height:46px;font-size:15px;justify-content:flex-start;padding-inline:14px}.hero-art{aspect-ratio:1.775/1!important;min-height:0!important;max-height:none!important}.hero-art img{height:100%;width:100%}.hero-bn{font-size:15px!important}.quick-search{overflow:visible}.qs-control{max-width:none}}
@media(max-width:700px){.hero-art{aspect-ratio:1.775/1!important;min-height:0!important}.hero h1{font-size:clamp(35px,9.4vw,49px)}.hero-bn{font-size:14.5px!important;line-height:1.95!important}.hero-buttons .btn{font-size:13px;min-height:49px;padding-inline:11px}.map-aside h3{font-size:clamp(24px,6.3vw,32px)}.hp-filter-menu{min-width:100%;font-size:14px}.qs-control{overflow:visible}.section-head p{overflow-wrap:anywhere}.map-frame iframe{width:100%}.contact-tile{width:100%}.about-bengali{font-size:15px!important}.about-english{font-size:14px!important}.hero-art img{object-fit:contain!important}}
@media(max-width:420px){.site-container{width:calc(100% - 18px)}.brand-words strong{font-size:15px}.brand-words small{font-size:6.5px}.hero-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hero-buttons .btn{font-size:12px;white-space:normal}.map-buttons{display:grid;grid-template-columns:1fr}.map-buttons .btn{min-width:0;width:100%}.contact-tile-copy small{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.hp-in-view.community,.hp-in-view.property-card{transform:none!important}}

/* Display original photo geometry without trimming uploaded content. */
.property-card .card-art img{object-fit:contain!important;object-position:center!important;background:linear-gradient(140deg,#f6f7f0,#fffdf8)}
