/* NILA Connect deployment fixes v20.3 */
:root{--nila-navy:#082142;--nila-gold:#D4A832;--nila-teal:#0A5A4D;--nila-bg:#F4F6F9;}
html{scroll-behavior:smooth;}
body{font-family:Outfit,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--nila-bg);}
button,a,.btn{touch-action:manipulation;}
img,svg,video{max-width:100%;height:auto;}
@media(max-width:760px){
  .container,.section,.pagehero .container{width:auto;max-width:100%;padding-left:16px!important;padding-right:16px!important;}
  .nav .container,.nav-inner,.navin{gap:12px;flex-wrap:wrap;}
  .nav-links,.links{width:100%;overflow-x:auto;white-space:nowrap;padding-bottom:6px;}
  .actions,.nav-actions{width:100%;justify-content:flex-start;flex-wrap:wrap;}
  .hero,.pagehero{padding-top:32px;padding-bottom:32px;}
  h1{font-size:clamp(32px,10vw,48px)!important;line-height:1.04!important;}
  h2{font-size:clamp(24px,7vw,34px)!important;line-height:1.12!important;}
  p,.muted-copy,.mini{line-height:1.55;}
  .grid,.cards,.nila-metric-grid,.owner-grid,.admin-charts-grid{grid-template-columns:1fr!important;}
  .ops-filter-row,.ops-actions,.admin-report-actions,.admin-table-tools{display:flex;flex-direction:column;align-items:stretch!important;}
  .ops-input,input,select,textarea,button,.btn{min-height:44px;}
  .ops-table-wrap,.card[style*="overflow"],.admin-feedback-card{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .phone{width:100%!important;max-width:430px!important;min-height:100vh;border-radius:0!important;}
}
.search-input-wrap input::placeholder{color:#6b8fa8;opacity:1;}
select option{font-size:15px;}


/* v20.3 customer-facing polish */
.page-home .hero-copy,.page-home .hero-search,.page-home .hs-field,.page-home .hs-select-wrap{position:relative;z-index:30;}
.page-home .hs-dropdown{z-index:9999!important;position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:0!important;max-height:310px;overflow:auto;background:#fff;border:1px solid rgba(8,33,66,.12);box-shadow:0 18px 45px rgba(8,33,66,.18);border-radius:18px;}
.page-home .hero-cats{position:relative;z-index:1;}
.page-directory .search-bar{align-items:stretch;}
.page-directory .dir-loc-inline{border:0;border-radius:14px;background:#D4A832;color:#082142;font-weight:900;padding:0 16px;min-height:50px;cursor:pointer;box-shadow:0 8px 22px rgba(8,33,66,.15);}
.page-directory .dir-sidebar .filter-plan{display:none!important;}
.page-directory .dir-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.page-directory .dir-card-tag.google{background:#e9f2ff;color:#154c8f;}
.page-directory .dir-card.google-place{border-color:#dce7f5;}
.page-directory #dirMap{min-height:300px;height:300px;border-radius:18px;overflow:hidden;background:#eef3f8;}
.page-directory .dir-map-card{overflow:hidden;}
.page-request .container[style*="max-width:980px"]{max-width:1120px!important;padding-left:22px!important;padding-right:22px!important;}
.page-request .request-value-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start;}
.page-request .form-card{border-radius:28px;box-shadow:0 20px 60px rgba(8,33,66,.10);}
.page-request .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.page-request .form-field.full{grid-column:1/-1;}
.page-request .form-field input,.page-request .form-field select,.page-request .form-field textarea{width:100%;box-sizing:border-box;border-radius:16px;}
.page-request .request-side-card{position:sticky;top:96px;border-radius:28px;}
@media(max-width:900px){.page-request .request-value-grid{grid-template-columns:1fr}.page-request .request-side-card{position:static}.page-directory .dir-loc-inline{width:100%;}.page-directory .search-bar input,.page-directory .search-bar select,.page-directory .search-bar button{width:100%;}}
