/* UBN public refresh. Intentionally scoped away from CRM. */
.ubn-home-brand{display:flex;flex:0 0 140px;align-items:center}.ubn-home-brand img{width:140px;height:60px;object-fit:contain}.top .nav{display:flex;flex-wrap:wrap;gap:16px;padding-block:12px}.top .nav nav{flex:1;display:flex;flex-wrap:wrap;gap:16px}.top .nav-actions{margin-left:auto}.ubn-discover{position:relative;isolation:isolate;background:linear-gradient(90deg,rgba(9,24,54,.82),rgba(9,24,54,.28)),#101d41 url('../img/hero-bishkek-reference.png') center center/cover no-repeat;color:#fff;padding:56px 0 112px;overflow:hidden}.ubn-discover .container{position:relative;z-index:1}.ubn-intro{display:grid;grid-template-columns:1.6fr 1fr;align-items:center;gap:40px;margin-bottom:36px}.ubn-kicker{font-size:12px;letter-spacing:.2em;color:#b7c9ef;font-weight:700}.ubn-intro h1{color:#fff!important;font-size:clamp(32px,4.1vw,62px);line-height:1.14;letter-spacing:-.035em;margin:14px 0 22px;max-width:850px}.ubn-intro h1 span{color:#85b5ff}.ubn-description{max-width:610px;color:#d2dcf0;line-height:1.65;font-size:17px}.ubn-stock{display:inline-block;color:#fff;margin-top:14px;text-decoration:none;border-bottom:1px solid #8093bb;padding-bottom:4px}.ubn-hero-mark{display:flex;align-items:center;flex-direction:column;text-decoration:none;color:#b9c9e9;letter-spacing:.2em;font-size:11px}.ubn-hero-mark img{width:min(100%,300px);max-height:220px;object-fit:contain;filter:drop-shadow(0 20px 30px #0004)}.ubn-search{margin:0}.ubn-search-tabs{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin-bottom:12px}.ubn-search fieldset{border:0;margin:0;padding:5px;border-radius:14px;background:#182340;display:flex;gap:4px;align-items:center;min-width:0}.ubn-search fieldset label{position:relative;margin:0;cursor:pointer}.ubn-search fieldset input{position:absolute;opacity:0;width:1px;height:1px}.ubn-search fieldset span,.ubn-search fieldset a{display:block;padding:14px 19px;border-radius:10px;color:#e2e9f8;text-decoration:none;font-weight:700}.ubn-search fieldset input:checked+span{background:#fff;color:#142140}.ubn-search fieldset input:focus-visible+span{outline:3px solid #81b3ff;outline-offset:2px}.ubn-search .ubn-city{display:flex;align-items:center;gap:12px;background:#263352;border-radius:14px;padding:6px 14px;margin:0;color:#ced9ed}.ubn-search .ubn-city select{background:#fff;width:auto;min-width:150px;margin:0}.ubn-search-fields{display:grid;grid-template-columns:1fr .7fr 1fr 1.5fr 1.1fr;gap:10px;background:#fff;padding:15px;border-radius:20px;box-shadow:0 14px 40px #050e2533}.ubn-search-fields label{background:#f1f4f9;padding:10px 14px;border-radius:13px;margin:0;min-width:0;color:#68758e;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.ubn-search-fields input,.ubn-search-fields select{background:transparent;border:0;box-shadow:none;color:#16213b;width:100%;margin:4px 0 0;padding:4px 0;font-size:15px;min-width:0;text-transform:none;letter-spacing:normal}.ubn-search-fields button{border:0;background:#1265f5;color:#fff;border-radius:13px;font-size:15px;font-weight:700;padding:15px;cursor:pointer;box-shadow:0 7px 18px #1265f530}.ubn-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.ubn-shortcuts a{color:#fff;background:#ffffff21;border-radius:30px;padding:9px 15px;font-size:13px;text-decoration:none}.ubn-directions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;position:relative;margin-top:-54px;z-index:2;margin-bottom:30px}.ubn-direction{background:#fff;border:1px solid #e5eaf2;border-radius:20px;box-shadow:0 14px 35px #15244010;padding:22px 18px;text-decoration:none;display:flex;flex-direction:column;gap:10px;min-width:0;color:#14213d;transition:transform .22s,box-shadow .22s}.ubn-direction>span{display:grid;place-items:center;width:52px;height:52px;background:hsl(calc(218 + var(--tile)*45) 80% 51%);border-radius:14px;color:#fff;font-size:27px;margin-bottom:8px;box-shadow:0 6px 15px #14213d20}.ubn-direction b{font-size:15px;line-height:1.4}.ubn-direction small{font-size:12px;color:#74819c;line-height:1.5}.ubn-direction:hover{transform:translateY(-5px);box-shadow:0 20px 40px #15244020}.ubn-direction:focus-visible,.ubn-discover a:focus-visible{outline:3px solid #74a7ff;outline-offset:4px}.ubn-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(prefers-reduced-motion:no-preference){.ubn-intro,.ubn-search{animation:ubn-arrive .65s ease-out both}.ubn-search{animation-delay:.08s}@keyframes ubn-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}
@media(max-width:1100px){.ubn-directions{grid-template-columns:repeat(3,minmax(0,1fr))}.ubn-search-fields{grid-template-columns:1fr 1fr 1fr}.ubn-query{grid-column:span 2}.ubn-hero-mark img{max-width:230px}.top .nav nav{order:3;flex-basis:100%}}
@media(max-width:640px){.ubn-discover{padding:32px 0 90px}.ubn-intro{grid-template-columns:1fr;gap:0;margin-bottom:25px}.ubn-hero-mark{display:none}.ubn-description{font-size:15px}.ubn-intro h1{font-size:36px}.ubn-search-tabs{display:grid;grid-template-columns:1fr}.ubn-search fieldset{justify-content:space-between}.ubn-search fieldset span,.ubn-search fieldset a{padding:12px 10px;font-size:13px}.ubn-search-fields{grid-template-columns:1fr 1fr;padding:10px;gap:8px}.ubn-search-fields .ubn-query{grid-column:span 2}.ubn-search-fields button{grid-column:span 2;min-height:52px}.ubn-search-fields label:nth-child(3){grid-column:span 2}.ubn-directions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:-45px}.ubn-direction{padding:16px;border-radius:16px}.ubn-direction b{font-size:14px}.top .nav{gap:10px}.top .nav nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.top .nav nav a{white-space:nowrap}.top .nav-actions{flex-wrap:wrap;justify-content:flex-start;width:100%;gap:10px}.ubn-home-brand{flex-basis:120px}.ubn-home-brand img{width:120px;height:48px}}
@media(prefers-reduced-motion:reduce){.ubn-direction{transition:none}}
html body .top{background:#fff;border-radius:0;box-shadow:0 1px 0 #e5eaf2;position:relative;margin:0;padding:0}html body .top .nav{height:auto;min-height:88px;max-width:1400px;display:grid;grid-template-columns:130px 1fr;gap:10px 24px;padding:14px 0}html body .top .ubn-home-brand{grid-row:span 2}html body .top .nav nav{display:flex;gap:18px;justify-content:flex-end;margin:0}html body .top nav a{font-family:Arial,sans-serif!important;font-size:14px!important;font-weight:600!important;border:0!important;background:none!important;padding:4px 0!important}html body .top .nav-actions-frame{display:flex;justify-content:flex-end;align-items:center;border:0!important;box-shadow:none!important;background:none!important;padding:0!important;gap:12px;margin:0}html body .top .nav-actions-frame .client-login,html body .top .nav-actions-frame .staff-login,html body .top .nav-actions-frame .btn,html body .top .nav-actions-frame .lang-switch,html body .top .nav-actions-frame .lang-box{font-family:Arial,sans-serif!important;font-size:13px!important;font-weight:600!important}html body .top .nav-actions-frame .lang-box{background:#f1f4f9;color:#17233e;padding:4px 8px;border:0;min-height:0}html body .top .lang-box>span{display:none}html body .top .lang-switch{background:transparent;color:#17233e;border:0;margin:0;padding:6px 2px}html body .top .nav-actions-frame .btn{background:#1265f5;border-radius:10px}html body .top .nav-actions-frame .staff-login,html body .top .nav-actions-frame .client-login{padding:8px 10px;border:0;background:#f1f4f9;border-radius:10px}.ubn-hero-mark img{background:#fff;border-radius:28px;padding:24px}.ubn-hero-mark>span{margin-top:16px}body main>.section:not(.dark) .section-head h2,body main>.section:not(.dark) .section-head h1{color:#17233e}body main>.section:not(.dark) .eyebrow{color:#526a93}
@media(max-width:760px){html body .top .nav{grid-template-columns:1fr;gap:10px;padding:10px 0}html body .top .ubn-home-brand{grid-row:auto}html body .top .nav nav{order:3;grid-column:1;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:18px}html body .top nav a{font-size:13px!important;white-space:nowrap}html body .top .nav-actions-frame{justify-content:flex-start;flex-wrap:wrap;gap:6px;width:100%}html body .top .nav-actions-frame .staff-login,html body .top .nav-actions-frame .client-login,html body .top .nav-actions-frame .btn{font-size:12px!important;padding:9px!important}.ubn-discover .ubn-intro h1{font-size:clamp(28px,8.5vw,38px)!important}}
/* Override legacy navigation rules carrying !important in v5.36. */
html body header.top{position:relative!important;padding:0!important;margin:0!important;border-radius:0!important;background:#fff!important}html body header.top .container.nav{display:grid!important;grid-template-columns:130px 1fr!important;width:min(1220px,calc(100% - 32px))!important;min-height:0!important;height:auto!important;padding:12px 0!important;margin:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;gap:8px 20px!important}html body header.top .nav nav{display:flex!important;flex-wrap:nowrap!important;gap:16px!important;justify-content:flex-end!important;padding:0!important;overflow-x:auto!important}html body header.top .nav nav a{padding:5px 0!important;border:0!important;border-radius:0!important;white-space:nowrap!important}html body header.top .nav-actions-frame{display:flex!important;flex-wrap:wrap!important;min-height:0!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;gap:8px!important}html body header.top .nav-actions-frame .lang-box{display:block!important;min-width:0!important;min-height:0!important;background:#f1f4f9!important;color:#17233e!important;padding:0 7px!important;border:0!important;border-radius:8px!important}html body header.top .lang-box>span{display:none!important}html body header.top select.lang-switch{background:transparent!important;color:#17233e!important;padding:7px!important;border:0!important;border-radius:8px!important;min-height:0!important;width:auto!important}html body header.top .nav-actions-frame a{min-height:0!important;line-height:1.3!important}html body header.top .ubn-home-brand{padding:0!important;margin:0!important;align-self:center!important}html body header.top .ubn-home-brand img{height:58px!important;width:120px!important;margin:0!important}
@media(max-width:760px){html body header.top .container.nav{grid-template-columns:1fr!important;gap:9px!important;padding:10px 0!important}html body header.top .ubn-home-brand{grid-row:auto!important}html body header.top .ubn-home-brand img{height:38px!important;width:100px!important}html body header.top .nav nav{order:3!important;justify-content:flex-start!important;max-width:100%!important;flex-wrap:nowrap!important;padding-bottom:5px!important}html body header.top .nav-actions-frame{justify-content:flex-start!important;width:100%!important;gap:6px!important}html body header.top .nav-actions-frame .staff-login,html body header.top .nav-actions-frame .client-login{padding:7px!important;font-size:11px!important}html body header.top .nav-actions-frame .btn{padding:8px!important;font-size:11px!important}}
.ubn-top{background:#fff;border-bottom:1px solid #e4eaf3}.ubn-top-inner{display:grid;grid-template-columns:130px 1fr;gap:10px 25px;align-items:center;padding:14px 0}.ubn-top .ubn-home-brand{grid-row:span 2}.ubn-top .ubn-home-brand img{height:60px;width:125px;object-fit:contain}.ubn-top nav{display:flex;gap:20px;justify-content:flex-end;overflow:auto}.ubn-top nav a{white-space:nowrap;font:600 14px/1.4 Arial,sans-serif;padding:5px 0}.ubn-top-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap;font:500 13px/1.4 Arial,sans-serif}.ubn-top-actions>a{padding:8px 11px;background:#f1f4f9;border-radius:9px}.ubn-top-actions>a.btn{background:#1265f5;color:#fff;font:600 13px/1.4 Arial,sans-serif}.ubn-language-box>span{display:none}.ubn-language-box select{margin:0;padding:8px;border:0;background:#f1f4f9;color:#17233e;width:75px;font:600 13px Arial,sans-serif;border-radius:9px}
@media(max-width:760px){.ubn-top-inner{grid-template-columns:1fr;gap:10px;padding:10px 0}.ubn-top .ubn-home-brand{grid-row:auto}.ubn-top .ubn-home-brand img{width:90px;height:38px}.ubn-top nav{grid-row:3;justify-content:flex-start;gap:20px;padding-bottom:5px}.ubn-top nav a{font-size:13px}.ubn-top-actions{justify-content:flex-start;gap:6px}.ubn-top-actions>a,.ubn-top-actions>a.btn{font-size:11px;padding:8px}.ubn-language-box select{width:62px;font-size:12px}}

@media(max-width:640px){.ubn-discover{background-position:center,68% center}}

.ubn-intro{grid-template-columns:1fr}.ubn-realtor-listing-count{display:block;color:#1d4e96;font-size:14px;margin-top:8px}.ubn-realtor-listing-count b{display:inline!important;font-size:inherit!important}


/* v5.36.02: category navigation and CRM polish */
.ubn-category-nav{align-items:center;flex-wrap:wrap;overflow:visible!important}
.ubn-category-nav details{position:relative;flex-shrink:0}
.ubn-category-nav summary{cursor:pointer;list-style:none;font:600 14px/1.4 Arial,sans-serif;color:#17233e;padding:5px 0}
.ubn-category-nav summary::-webkit-details-marker{display:none}
.ubn-category-nav summary::after{content:"⌄";margin-left:6px;color:#2367db}
.ubn-nav-dropdown{position:absolute;z-index:100;top:100%;left:0;min-width:200px;background:#fff;border:1px solid #e3e9f3;border-radius:12px;padding:10px;box-shadow:0 16px 32px #13244924}
.ubn-category-nav .ubn-nav-dropdown a{display:block!important;padding:11px 12px!important;border-radius:8px!important;white-space:nowrap}
.ubn-category-nav .ubn-nav-dropdown a:hover{background:#edf4ff!important;color:#1265f5}
.ubn-category-nav details[open]>summary{color:#1265f5}
.crm-topbar{box-shadow:0 2px 14px #10264a12}
.crm-top-actions a,.crm-top-actions button{transition:background-color .18s ease,transform .18s ease}
.crm-top-actions a:hover,.crm-top-actions button:hover{transform:translateY(-1px)}
@media(max-width:760px){.ubn-category-nav{overflow-x:auto!important;flex-wrap:nowrap!important}.ubn-category-nav details{position:static}.ubn-nav-dropdown{position:fixed;top:auto;left:12px;right:12px;min-width:0;max-height:60vh;overflow:auto}.ubn-category-nav summary{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.crm-top-actions a,.crm-top-actions button{transition:none}}

/* Listing submission */
.ubn-post-property{max-width:760px;margin:16px auto;padding:clamp(20px,4vw,40px);border-radius:20px;box-shadow:0 15px 40px #0a2c5b18}
.ubn-post-property form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:22px}
.ubn-post-property label{display:flex;flex-direction:column;gap:7px;font-weight:650;color:#1b3457}
.ubn-post-property label:has(textarea),.ubn-post-property form button{grid-column:1/-1}
.ubn-post-property input,.ubn-post-property select,.ubn-post-property textarea{width:100%;min-width:0;border:1px solid #ccd9ec;border-radius:11px;padding:12px;font:inherit;background:#fff;color:#182d4b}
.ubn-post-property input:focus,.ubn-post-property textarea:focus{outline:2px solid #83b4ff}
.ubn-post-button{white-space:nowrap}
@media(max-width:650px){.ubn-post-property form{grid-template-columns:1fr}.ubn-post-property form button{grid-column:auto}}


/* v5.36.09 — orange home hero search, matching UBN Group identity */
.ubn-discover{--ubn-search-orange:#f07813;--ubn-search-orange-dark:#cf5800}
.ubn-search fieldset{background:#8f3d07!important}
.ubn-search fieldset span,.ubn-search fieldset a{color:#fff4e8!important}
.ubn-search fieldset input:checked+span{background:#f07813!important;color:#fff!important;box-shadow:0 3px 10px #4b270644}
.ubn-search fieldset input:focus-visible+span{outline:2px solid #ffc383!important}
.ubn-search .ubn-city{background:#a94b0c!important;color:#fff5e9!important}
.ubn-search .ubn-city select{border:1px solid #e9a66c!important;color:#672b08!important}
.ubn-search-fields{background:#fff8f1!important;border:1px solid #f1bc8b!important;box-shadow:0 14px 34px #4d240c40!important}
.ubn-search-fields label{background:#fff0df!important;color:#a24a0a!important;border:1px solid #f7d0a9!important}
.ubn-search-fields input,.ubn-search-fields select{color:#462914!important;outline-color:#f07813!important}
.ubn-search-fields label:focus-within{border-color:#e86c09!important;box-shadow:0 0 0 2px #f0781330!important}
.ubn-search-fields button{background:#ef7809!important;color:#fff!important;box-shadow:0 7px 18px #b950003d!important}
.ubn-search-fields button:hover{background:#d65c05!important}
.ubn-search-fields button:focus-visible{outline:3px solid #ffbe78!important;outline-offset:3px!important}
@media(max-width:640px){
 .ubn-search fieldset{gap:2px!important}
 .ubn-search fieldset span,.ubn-search fieldset a{font-size:12px!important;padding:10px 9px!important}
 .ubn-search-fields{padding:10px!important}
 .ubn-search-fields label{padding:8px 10px!important;font-size:10px!important}
 .ubn-search-fields input,.ubn-search-fields select{font-size:14px!important}
 .ubn-search-fields button{font-size:13px!important;min-height:43px!important;padding:10px!important}
}

/* Compact public navigation with the original linked UBN logo. */
.ubn-home-brand{display:flex;flex:0 0 140px;align-items:center;padding:0}.ubn-home-brand img{width:140px;height:60px;object-fit:contain}
.ubn-category-nav summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.ubn-category-nav a:focus-visible,.ubn-category-nav summary:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
@media(max-width:760px){
 .ubn-category-nav{overflow:visible!important;flex-wrap:wrap!important;width:100%;gap:6px!important}
 .ubn-category-nav details{position:relative}
 .ubn-nav-dropdown{position:absolute;top:100%;left:0;right:auto;width:min(260px,calc(100vw - 32px));max-height:60vh;overflow:auto}
}

/* Public contact action and compact WhatsApp link. */
.ubn-top a.ubn-nav-contacts{background:#f07813!important;color:#fff!important;border-radius:10px!important;padding:10px 14px!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.ubn-top a.ubn-nav-contacts:hover{background:#d65c05!important}
.wa-float{font-size:13px!important;line-height:1.2!important;padding:10px 12px!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 5px 16px #0002}

/* Bold language selector and its label. */
.ubn-language-box>span,.ubn-language-box select.ubn-language,.ubn-language-box select.ubn-language option{font-weight:800!important}

/* Header navigation and actions start beside the logo rather than at the right. */
.ubn-top>.container.ubn-top-inner{width:calc(100% - 48px);max-width:none;margin-left:24px;margin-right:24px;grid-template-columns:125px minmax(0,1fr);column-gap:18px}
.ubn-top .ubn-category-nav,.ubn-top .ubn-top-actions{justify-content:flex-start}
.ubn-top .ubn-category-nav{min-width:0;gap:18px}
@media(max-width:760px){
 .ubn-top>.container.ubn-top-inner{width:calc(100% - 32px);margin-left:16px;margin-right:16px;grid-template-columns:minmax(0,1fr)}
 .ubn-top .ubn-category-nav{gap:6px}
}
/* Consistent compact photo cards across all public property lists. */
html body main .container:has(.cards>.property-market-card),html body main .container:has(.client-match-results){width:min(1500px,calc(100% - 32px))!important;max-width:1500px!important}
html body main :is(.cards:has(>.property-market-card),.cards.client-match-results){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch}
html body main .property-market-card{min-width:0;min-height:0;border-radius:16px!important;display:flex;flex-direction:column}
html body main .property-market-link{min-height:0!important;flex:1;display:flex;flex-direction:column}
html body main .property-market-media{flex:none;aspect-ratio:4/3;overflow:hidden}
html body main .property-market-media picture{display:block;width:100%;height:100%}
html body main .property-market-card .card-img{display:block;width:100%!important;height:100%!important;aspect-ratio:4/3!important;object-fit:cover!important;filter:none!important;opacity:1!important}
html body main .property-market-body{padding:16px!important;gap:8px!important;min-height:0!important;flex:1}
html body main .property-market-title{font-size:17px!important;line-height:1.35!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body main .property-market-price-row{flex-wrap:wrap;gap:4px 8px}
html body main .property-market-price-row .price{font-size:22px!important;line-height:1.25!important}
html body main .property-market-location{font-size:13px!important;line-height:1.4!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body main .property-market-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;font-size:13px!important;line-height:1.4!important}
html body main .property-market-chips{flex-wrap:wrap;gap:4px}
html body main .property-market-card-footer{margin-top:auto;padding-top:8px;font-size:11px!important;gap:6px}
html body main .ubn-card-contact{padding:0 12px 8px!important;gap:6px}
html body main .ubn-card-contact a{font-size:12px;min-height:40px;padding:8px 6px}
html body main .property-market-actions{padding:0 12px 12px!important;gap:6px}
html body main .property-quickview-trigger,html body main .property-open-btn{font-size:12px!important;padding:8px 6px!important}
@media(max-width:1199px){html body main :is(.cards:has(>.property-market-card),.cards.client-match-results){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}}
@media(max-width:900px){html body main :is(.cards:has(>.property-market-card),.cards.client-match-results){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}}
@media(max-width:600px){html body main :is(.cards:has(>.property-market-card),.cards.client-match-results){grid-template-columns:minmax(0,1fr)!important;gap:16px!important}}

/* Right-hand header actions, ordered beneath the language selector. */
.ubn-top>.container.ubn-top-inner{grid-template-columns:125px minmax(0,1fr) 270px;gap:12px 24px}
.ubn-top .ubn-home-brand{grid-column:1;grid-row:1/3;align-self:center}
.ubn-top .ubn-category-nav{grid-column:2;grid-row:1;align-self:end}
.ubn-header-staff{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;gap:10px;align-self:start}
.ubn-header-staff>.staff-login{padding:10px 14px;border-radius:9px;background:#f1f4f9;font-size:13px;font-weight:700}
.ubn-top .ubn-top-actions{grid-column:3;grid-row:1/3;display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:8px;align-items:stretch}
.ubn-top-actions>.ubn-nav-contacts{grid-column:1;grid-row:1}
.ubn-top-actions>.ubn-language-box{grid-column:2;grid-row:1;align-self:center;justify-self:end}
.ubn-top-actions>.client-login{grid-column:1/-1;grid-row:2;text-align:center}
.ubn-top-actions>.ubn-post-button{grid-column:1/-1;grid-row:3}
.ubn-top-actions>.ubn-owner-action{grid-column:1/-1;grid-row:4;justify-self:end}
.ubn-top-actions>.pwa-install{grid-column:1/-1;grid-row:5}
@media(max-width:1000px){
 .ubn-top>.container.ubn-top-inner{grid-template-columns:110px minmax(0,1fr);gap:12px 16px}
 .ubn-top .ubn-home-brand{grid-column:1;grid-row:1}
 .ubn-top .ubn-category-nav{grid-column:2;grid-row:1;align-self:center}
 .ubn-header-staff{grid-column:1/-1;grid-row:2}
 .ubn-top .ubn-top-actions{grid-column:1/-1;grid-row:3;width:min(100%,360px);justify-self:end}
}
@media(max-width:600px){
 .ubn-top>.container.ubn-top-inner{grid-template-columns:minmax(0,1fr)}
 .ubn-top .ubn-home-brand{grid-column:1;grid-row:1}
 .ubn-top .ubn-category-nav{grid-column:1;grid-row:2}
 .ubn-header-staff{grid-column:1;grid-row:3;justify-content:center}
 .ubn-top .ubn-top-actions{grid-column:1;grid-row:4}
}

/* Staff access follows Reviews in the same navigation row. */
.ubn-top .ubn-category-nav{grid-row:1/3;align-self:center}
.ubn-top .ubn-category-nav>.ubn-header-staff{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;align-self:center}
.ubn-top .ubn-category-nav .staff-login{padding:10px 14px;border-radius:9px;background:#f1f4f9;font-weight:700}
@media(max-width:1000px){.ubn-top .ubn-category-nav{grid-column:2;grid-row:1}.ubn-top .ubn-top-actions{grid-row:2}}
@media(max-width:600px){.ubn-top .ubn-category-nav{grid-column:1;grid-row:2}.ubn-top .ubn-top-actions{grid-row:3}}
/* Turquoise listing typography and contact buttons. */
html body main .property-market-card{--ubn-card-turquoise:#087f86;--ubn-card-deep:#075f66;--ubn-card-muted:#397f86;--ubn-card-pale:#e5f6f4;color:#087f86!important}
html body main .property-market-card .property-market-body,
html body main .property-market-card .property-market-kicker,
html body main .property-market-card .property-market-kicker>span,
html body main .property-market-card .property-market-kicker small,
html body main .property-market-card .property-market-title,
html body main .property-market-card .price,
html body main .property-market-card .property-market-location,
html body main .property-market-card .property-market-perm2,
html body main .property-market-card .property-market-desc,
html body main .property-market-card .property-market-card-footer,
html body main .property-market-card .property-market-chips span{color:#087f86!important}
html body main .property-market-card .ubn-card-contact a.ubn-card-call,
html body main .property-market-card .ubn-card-contact a.ubn-card-wa{background:#087f86!important;border-color:#087f86!important;color:#fff!important}
html body main .property-market-card .ubn-card-contact a:hover{background:#075f66!important;color:#fff!important}
/* Client access beside Reviews; staff access beside publication on the right. */
.ubn-header-client{display:inline-flex;align-items:center;gap:8px}
.ubn-top .ubn-header-client>.client-login{padding:10px 14px;background:#f1f4f9;border-radius:9px}
.ubn-top>.container.ubn-top-inner{grid-template-columns:125px minmax(0,1fr) 440px}
.ubn-staff-post-row{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ubn-staff-post-row>.staff-login,.ubn-staff-post-row>.staff-crm{flex:1;white-space:nowrap;text-align:center;padding:10px 12px;background:#f1f4f9;border-radius:9px;font-weight:700}
.ubn-staff-post-row>.ubn-post-button{flex:1;white-space:nowrap;background:#fa4c1b;color:#fff;padding:10px 12px;font-size:13px}
.ubn-top-actions>.ubn-owner-action{grid-row:3}
.ubn-top-actions>.pwa-install{grid-row:4}
@media(max-width:1200px){.ubn-top>.container.ubn-top-inner{grid-template-columns:110px minmax(0,1fr)}.ubn-top .ubn-category-nav{grid-column:2;grid-row:1}.ubn-top .ubn-top-actions{grid-column:1/-1;grid-row:2;width:min(100%,460px);justify-self:end}.ubn-top .ubn-home-brand{grid-column:1;grid-row:1}}
@media(max-width:600px){.ubn-top>.container.ubn-top-inner{grid-template-columns:minmax(0,1fr)}.ubn-top .ubn-category-nav{grid-column:1;grid-row:2}.ubn-top .ubn-top-actions{grid-column:1;grid-row:3}}

/* Header arrangement matching the supplied reference. */
.ubn-top>.container.ubn-top-inner{grid-template-columns:110px minmax(0,1fr) 280px;grid-template-rows:44px minmax(44px,auto);gap:12px 16px;padding:12px 0;min-height:124px}
.ubn-top .ubn-home-brand{grid-column:1;grid-row:2;align-self:center}
.ubn-top .ubn-home-brand img{width:105px;height:60px;object-fit:contain}
.ubn-top .ubn-category-nav{grid-column:2;grid-row:2;align-self:center;gap:12px;flex-wrap:nowrap;justify-content:flex-start;overflow:visible!important}
.ubn-top .ubn-category-nav>a,.ubn-top .ubn-category-nav summary{font-size:13px}
.ubn-top .ubn-category-nav .ubn-header-client{display:inline-flex;flex-shrink:0}
.ubn-top .ubn-category-nav .client-login{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:140px;padding:9px 14px;border:1px solid #c7cbd1;background:#f1f4f9;border-radius:9px;font-size:13px;font-weight:700;max-width:200px;overflow:hidden;text-overflow:ellipsis}
.ubn-top .ubn-category-nav>.ubn-post-button{background:#fa4c1b;color:#fff;min-height:40px;padding:9px 16px;border-radius:9px;font-size:13px;font-weight:700;flex-shrink:0}
.ubn-top .ubn-category-nav>.ubn-owner-action{background:#1265f5;color:#fff;min-height:40px;padding:9px 16px;border-radius:9px;font-size:13px;font-weight:700;flex-shrink:0}
.ubn-top .ubn-top-actions{grid-column:3;grid-row:1/3;grid-template-columns:minmax(0,1fr) 76px;grid-template-rows:44px 44px;gap:12px 10px;width:100%;align-self:start}
.ubn-top-actions>.ubn-nav-contacts{grid-column:1;grid-row:1}
.ubn-top-actions>.ubn-language-box{grid-column:2;grid-row:1}
.ubn-top-actions>.ubn-staff-post-row{grid-column:1/-1;grid-row:2;justify-content:flex-end;flex-wrap:nowrap;border-top:1px solid #d9dce0;padding-top:8px}
.ubn-staff-post-row>.staff-login,.ubn-staff-post-row>.staff-crm{flex:0 1 auto;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #c7cbd1;font-size:13px;padding:9px 16px}
.ubn-top-actions>.pwa-install{grid-row:3}
@media(max-width:1450px){
 .ubn-top>.container.ubn-top-inner{grid-template-columns:100px minmax(0,1fr) 240px;grid-template-rows:44px auto}
 .ubn-top .ubn-category-nav{flex-wrap:wrap;gap:8px 12px}
 .ubn-top .ubn-category-nav .client-login{min-width:0}
}
@media(max-width:1000px){
 .ubn-top>.container.ubn-top-inner{grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto auto}
 .ubn-top .ubn-home-brand{grid-column:1;grid-row:1}
 .ubn-top .ubn-top-actions{grid-column:2;grid-row:1;width:min(100%,280px);justify-self:end}
 .ubn-top .ubn-category-nav{grid-column:1/-1;grid-row:2;flex-wrap:wrap}
}
@media(max-width:600px){
 .ubn-top>.container.ubn-top-inner{grid-template-columns:80px minmax(0,1fr);gap:12px 8px}
 .ubn-top .ubn-home-brand img{width:80px;height:48px}
 .ubn-top .ubn-top-actions{grid-template-columns:minmax(0,1fr) 62px;gap:8px 6px}
 .ubn-top .ubn-top-actions>.ubn-nav-contacts{padding:8px!important;font-size:12px}
 .ubn-top .ubn-category-nav{grid-column:1/-1;grid-row:2;gap:6px!important}
 .ubn-top .ubn-category-nav .client-login,.ubn-top .ubn-category-nav>.ubn-post-button,.ubn-top .ubn-category-nav>.ubn-owner-action{min-height:44px;padding:9px 10px;font-size:12px}
 .ubn-top .ubn-category-nav>.ubn-header-client{flex-basis:100%}
 .ubn-top .ubn-category-nav .client-login{width:100%;max-width:none}
 .ubn-top .ubn-category-nav>.ubn-post-button,.ubn-top .ubn-category-nav>.ubn-owner-action{flex:1}
 .ubn-staff-post-row>.staff-login{font-size:11px;padding:8px}
}

/* Reference header v2: explicitly scoped to the matching PHP markup. */
html body .ubn-header-reference>.ubn-top-inner{display:grid!important;width:calc(100% - 40px)!important;max-width:none!important;margin:0 20px!important;padding:14px 0 6px!important;grid-template-columns:110px minmax(0,1fr) 270px!important;grid-template-rows:44px 48px!important;gap:12px 16px!important;min-height:124px!important;align-items:center!important}
html body .ubn-header-reference .ubn-home-brand{grid-column:1!important;grid-row:2!important;align-self:center!important}
html body .ubn-header-reference .ubn-category-nav{grid-column:2!important;grid-row:2!important;display:flex!important;flex-wrap:nowrap!important;gap:10px!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important}
html body .ubn-header-reference .ubn-top-actions{grid-column:3!important;grid-row:1/3!important;display:grid!important;grid-template-columns:minmax(0,1fr) 74px!important;grid-template-rows:44px 48px!important;gap:12px 10px!important;align-self:start!important;width:100%!important}
html body .ubn-header-reference .ubn-top-actions>.ubn-staff-post-row{grid-column:1/-1!important;grid-row:2!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;border-top:1px solid #bfc2c7;padding-top:8px}
html body .ubn-header-reference .ubn-category-nav>.ubn-post-button{background:#fa4c1b!important;color:#fff!important}
html body .ubn-header-reference .ubn-category-nav>.ubn-owner-action{background:#1265f5!important;color:#fff!important}
@media(max-width:1399px){
 html body .ubn-header-reference>.ubn-top-inner{grid-template-columns:100px minmax(0,1fr) 240px!important;grid-template-rows:44px auto!important}
 html body .ubn-header-reference .ubn-category-nav{flex-wrap:wrap!important}
}
@media(max-width:1000px){
 html body .ubn-header-reference>.ubn-top-inner{grid-template-columns:100px minmax(0,1fr)!important;grid-template-rows:auto auto!important}
 html body .ubn-header-reference .ubn-home-brand{grid-column:1!important;grid-row:1!important}
 html body .ubn-header-reference .ubn-top-actions{grid-column:2!important;grid-row:1!important;width:min(100%,280px)!important;justify-self:end!important}
 html body .ubn-header-reference .ubn-category-nav{grid-column:1/-1!important;grid-row:2!important;flex-wrap:wrap!important}
}
@media(max-width:600px){
 html body .ubn-header-reference>.ubn-top-inner{width:calc(100% - 24px)!important;margin:0 12px!important;grid-template-columns:72px minmax(0,1fr)!important;gap:12px 8px!important}
 html body .ubn-header-reference .ubn-home-brand img{width:72px!important;height:48px!important}
 html body .ubn-header-reference .ubn-top-actions{grid-template-columns:minmax(0,1fr) 62px!important;gap:8px 6px!important}
 html body .ubn-header-reference .ubn-category-nav{gap:6px!important}
}

/* Larger reference-header labels and a wider right-hand contact action. */
html body .ubn-header-reference>.ubn-top-inner{grid-template-columns:110px minmax(0,1fr) 310px!important;grid-template-rows:52px minmax(52px,auto)!important;min-height:140px!important}
html body .ubn-header-reference .ubn-top-actions{grid-template-columns:minmax(0,1fr) 78px!important;grid-template-rows:52px 52px!important}
html body .ubn-header-reference .ubn-top-actions>.ubn-nav-contacts{width:100%;min-height:52px!important;display:flex;align-items:center;justify-content:center;font-size:18px!important;font-weight:800!important;padding:12px 20px!important}
html body .ubn-header-reference .ubn-category-nav>a,
html body .ubn-header-reference .ubn-category-nav summary,
html body .ubn-header-reference .ubn-category-nav .client-login,
html body .ubn-header-reference .ubn-category-nav>.ubn-post-button,
html body .ubn-header-reference .ubn-category-nav>.ubn-owner-action,
html body .ubn-header-reference .ubn-staff-post-row>.staff-login,
html body .ubn-header-reference .ubn-staff-post-row>.staff-crm{font-size:16px!important;font-weight:800!important;line-height:1.35!important}
html body .ubn-header-reference .ubn-category-nav{gap:12px!important;flex-wrap:wrap!important}
html body .ubn-header-reference .ubn-category-nav .client-login,
html body .ubn-header-reference .ubn-category-nav>.ubn-post-button,
html body .ubn-header-reference .ubn-category-nav>.ubn-owner-action,
html body .ubn-header-reference .ubn-staff-post-row>.staff-login{min-height:46px!important}
@media(min-width:1700px){html body .ubn-header-reference .ubn-category-nav{flex-wrap:nowrap!important}}
@media(max-width:1399px){html body .ubn-header-reference>.ubn-top-inner{grid-template-columns:100px minmax(0,1fr) 280px!important;grid-template-rows:52px auto!important}}
@media(max-width:1000px){
 html body .ubn-header-reference>.ubn-top-inner{grid-template-columns:100px minmax(0,1fr)!important;grid-template-rows:auto auto!important}
 html body .ubn-header-reference .ubn-top-actions{width:min(100%,310px)!important}
}
@media(max-width:600px){
 html body .ubn-header-reference>.ubn-top-inner{grid-template-columns:72px minmax(0,1fr)!important}
 html body .ubn-header-reference .ubn-top-actions{grid-template-columns:minmax(0,1fr) 62px!important;grid-template-rows:48px auto!important}
 html body .ubn-header-reference .ubn-top-actions>.ubn-nav-contacts{min-height:48px!important;font-size:16px!important;padding:10px!important}
 html body .ubn-header-reference .ubn-category-nav>a,
 html body .ubn-header-reference .ubn-category-nav summary,
 html body .ubn-header-reference .ubn-category-nav .client-login,
 html body .ubn-header-reference .ubn-category-nav>.ubn-post-button,
 html body .ubn-header-reference .ubn-category-nav>.ubn-owner-action,
 html body .ubn-header-reference .ubn-staff-post-row>.staff-login{font-size:14px!important}
}

/* Slightly larger header controls and brand mark. */
html body .ubn-header-reference .ubn-home-brand img{width:115px!important;height:66px!important}
html body .ubn-header-reference .ubn-category-nav .client-login,
html body .ubn-header-reference .ubn-category-nav>.ubn-post-button,
html body .ubn-header-reference .ubn-category-nav>.ubn-owner-action,
html body .ubn-header-reference .ubn-staff-post-row>.staff-login,
html body .ubn-header-reference .ubn-staff-post-row>.staff-crm{min-height:50px!important;padding:12px 18px!important;border-radius:10px!important}
html body .ubn-header-reference .ubn-category-nav summary{min-height:50px!important}
html body .ubn-header-reference .ubn-category-nav summary::after{font-size:16px}
html body .ubn-header-reference .ubn-language-box select{min-height:46px!important;font-size:15px!important}
@media(max-width:600px){
 html body .ubn-header-reference .ubn-home-brand img{width:80px!important;height:54px!important}
 html body .ubn-header-reference .ubn-category-nav .client-login,
 html body .ubn-header-reference .ubn-category-nav>.ubn-post-button,
 html body .ubn-header-reference .ubn-category-nav>.ubn-owner-action,
 html body .ubn-header-reference .ubn-staff-post-row>.staff-login{min-height:48px!important;padding:10px 12px!important}
}

/* Align the main menu with the top of the header, without an empty first row. */
@media(min-width:1001px){
 html body .ubn-header-reference>.ubn-top-inner{grid-template-rows:minmax(52px,auto) minmax(52px,auto)!important;align-items:start!important;min-height:124px!important;padding-top:12px!important;padding-bottom:12px!important}
 html body .ubn-header-reference .ubn-home-brand{grid-column:1!important;grid-row:1/3!important;align-self:start!important;padding-top:0!important}
 html body .ubn-header-reference .ubn-category-nav{grid-column:2!important;grid-row:1/3!important;align-self:start!important;align-content:flex-start!important;padding-top:0!important;margin-top:0!important}
 html body .ubn-header-reference .ubn-top-actions{align-self:start!important}
}

/* Visible animated panorama, with the foreground kept still and readable. */
.ubn-discover{position:relative;isolation:isolate;overflow:hidden}
.ubn-discover>.container{position:relative;z-index:2}
.ubn-discover::before{content:"";position:absolute;pointer-events:none;z-index:0;inset:-5%;background:linear-gradient(90deg,rgba(9,24,54,.78),rgba(9,24,54,.30)),url('../img/hero-bishkek-reference.png') center/cover no-repeat;opacity:1;transform-origin:center;animation:ubn-panorama-motion-v2 14s ease-in-out -3s infinite alternate}
.ubn-discover::after{content:"";position:absolute;pointer-events:none;z-index:1;inset:-20%;background:radial-gradient(ellipse at 18% 25%,rgba(255,227,183,.28),transparent 42%),radial-gradient(ellipse at 78% 38%,rgba(219,239,255,.23),transparent 38%);animation:ubn-cloud-motion-v2 12s ease-in-out -4s infinite alternate}
@keyframes ubn-panorama-motion-v2{from{transform:scale(1.04) translate3d(-1.5%,0,0)}to{transform:scale(1.13) translate3d(1.5%,-1%,0)}}
@keyframes ubn-cloud-motion-v2{from{transform:translate3d(-8%,0,0);opacity:.45}to{transform:translate3d(8%,-3%,0);opacity:.9}}
@media(max-width:600px){.ubn-discover::before{animation-duration:18s}.ubn-discover::after{animation-duration:16s}}
@media(prefers-reduced-motion:reduce){.ubn-discover::before,.ubn-discover::after{animation:none!important;transform:none!important}.ubn-discover::after{opacity:.35}}
@media print{.ubn-discover::before,.ubn-discover::after{display:none!important}}

/* Continuous background motion and a decorative waving Kyrgyzstan flag. */
.ubn-discover::before{animation:ubn-panorama-continuous 32s linear infinite}
.ubn-discover::after{animation-timing-function:linear}
@keyframes ubn-panorama-continuous{0%,100%{transform:scale(1.15) translate3d(-1.4%,0,0)}25%{transform:scale(1.15) translate3d(0,-1.2%,0)}50%{transform:scale(1.15) translate3d(1.4%,0,0)}75%{transform:scale(1.15) translate3d(0,1.2%,0)}}
.ubn-flag-scene{position:absolute;z-index:1;right:5%;top:28%;width:190px;height:240px;pointer-events:none;perspective:700px}
.ubn-flag-pole{position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:4px;background:linear-gradient(90deg,#707c8c,#eef5ff,#536277);box-shadow:3px 2px 8px #0005}
.ubn-flag-pole::before{content:"";position:absolute;top:-7px;left:-3px;width:10px;height:10px;border-radius:50%;background:#ffe2a5}
.ubn-flag-cloth{position:absolute;left:4px;top:3px;width:180px;transform-origin:0 50%;animation:ubn-flag-wave 2.8s linear infinite;filter:drop-shadow(4px 7px 5px #0005);overflow:hidden}
.ubn-flag-cloth svg{display:block;width:100%;height:auto}
.ubn-flag-cloth::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 0%,#ffffff40 23%,#0003 45%,#ffffff33 68%,transparent 100%);background-size:220% 100%;animation:ubn-flag-folds 2.8s linear infinite}
@keyframes ubn-flag-wave{0%,100%{transform:rotateY(-10deg) skewY(1deg) scaleX(.96)}25%{transform:rotateY(8deg) skewY(-2deg) scaleX(1)}50%{transform:rotateY(-5deg) skewY(-1deg) scaleX(.97)}75%{transform:rotateY(10deg) skewY(2deg) scaleX(1)}}
@keyframes ubn-flag-folds{from{background-position:100% 0}to{background-position:-120% 0}}
@media(max-width:1100px){.ubn-flag-scene{width:110px;height:160px;right:3%;top:12%}.ubn-flag-cloth{width:105px}}
@media(max-width:760px){.ubn-flag-scene{top:16px;right:16px;width:64px;height:74px}.ubn-flag-cloth{width:60px}.ubn-flag-pole{width:3px}.ubn-kicker{max-width:calc(100% - 72px)}}
@media(prefers-reduced-motion:reduce){.ubn-discover::before,.ubn-discover::after,.ubn-flag-cloth,.ubn-flag-cloth::after{animation:none!important;transform:none!important}}

/* Smooth rendering on desktops and mobile without animation end pauses. */
.ubn-discover::before,.ubn-discover::after,.ubn-flag-cloth{will-change:transform;backface-visibility:hidden}
.ubn-flag-cloth{animation-duration:2.4s;transform-style:preserve-3d}
@media(prefers-reduced-motion:reduce){.ubn-discover::before,.ubn-discover::after,.ubn-flag-cloth{will-change:auto}}

/* 2026-10-31: Animate the REAL flag already present in the Ala-Too Square photo.
   No artificial overlay flag or extra flagpole. The photograph remains the fallback. */
.ubn-discover{background:linear-gradient(90deg,rgba(9,24,54,.68),rgba(9,24,54,.20)),url('../img/hero-bishkek-reference.png') center/cover no-repeat}
.ubn-discover>.ubn-square-background-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;pointer-events:none}
.ubn-discover::before{inset:0;transform:none!important;animation:none!important;background:linear-gradient(90deg,rgba(9,24,54,.70),rgba(9,24,54,.23));z-index:1}
.ubn-discover::after{z-index:1;opacity:.22;animation:ubn-cloud-motion-v2 12s linear infinite alternate}
.ubn-discover>.container{z-index:2}
.ubn-home-headquarters {
  display: grid;
  isolation: isolate;
  background: #e8edf4;
}
.ubn-home-headquarters::before,
.ubn-home-headquarters-content { grid-area: 1 / 1; min-width: 0; }
.ubn-home-headquarters::before {
  content: "";
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  background: linear-gradient(#f1f4f9a6, #f1f4f9bb),
    url('../img/ubn-headquarters-concept.jpg') 54% center / cover no-repeat;
}
.ubn-home-headquarters-content {
  position: relative;
  z-index: 1;
}
.ubn-home-headquarters-content > section { background: transparent !important; }
.ubn-home-headquarters-content > section.dark { background: #172333e6 !important; }
.ubn-home-headquarters-content > .ubn98-benefits::before { display: none; }
:is(.ubn-purple-home-hero, .ubn-purple-catalog-hero) > .ubn-home-sunbeam {
  position: absolute;
  z-index: 1;
  inset: 3% 8% 50% 52%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 72% 16%, #ffe3a680 0%, #ffd89138 18%, transparent 56%),
    conic-gradient(from 187deg at 72% 14%, transparent 5deg, #ffe5a66b 18deg, transparent 32deg, #fff0c357 41deg, transparent 57deg);
  mask-image: radial-gradient(ellipse at 66% 39%, #000 12%, #000b 42%, transparent 73%);
  transform-origin: 72% 14%;
  animation: ubn-home-sunbeam-motion 10s ease-in-out infinite alternate;
}
@keyframes ubn-home-sunbeam-motion {
  from { opacity: .55; transform: rotate(-4deg); }
  to { opacity: .95; transform: rotate(5deg); }
}
@media (max-width: 760px) {
  :is(.ubn-purple-home-hero, .ubn-purple-catalog-hero) > .ubn-home-sunbeam { inset: 0 0 54% 47%; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.ubn-purple-home-hero, .ubn-purple-catalog-hero) > .ubn-home-sunbeam { animation: none; opacity: .65; }
}
@media print {
  :is(.ubn-purple-home-hero, .ubn-purple-catalog-hero) > .ubn-home-sunbeam { display: none; }
}
@media(prefers-reduced-motion:reduce){.ubn-discover>.ubn-square-background-video{display:none}}
@media print{.ubn-discover>.ubn-square-background-video{display:none}}

/* UBN 2026-11: show animated background before the search form */
.ubn-hero-clearance{height:clamp(550px,60vw,900px)}
.ubn-discover{padding-bottom:18px!important}
.ubn-feature-links{margin-top:16px;display:flex;gap:12px;flex-wrap:wrap}
.ubn-feature-links a{display:inline-flex;padding:12px 21px;background:#ec7413;color:white;border:1px solid #ffb36f;border-radius:14px;text-decoration:none;font-weight:700;box-shadow:0 8px 24px #0004}
@media(max-width:640px){.ubn-hero-clearance{height:clamp(380px,85vw,530px)}.ubn-discover{padding-bottom:16px!important}}

/* UBN 2026-11-02: raise full search/filter panel */
.ubn-hero-clearance{height:clamp(420px,calc(60vw - 130px),770px)}
@media(max-width:640px){.ubn-hero-clearance{height:clamp(300px,calc(85vw - 80px),450px)}}

/* UBN 2026-11-02: bring search closer to headline without covering the moving flag.
   Overrides accumulated legacy clearance heights with one final rule. */
html body .ubn-discover .ubn-hero-clearance{height:clamp(80px,11vw,180px)!important;min-height:0!important}
html body .ubn-discover .ubn-intro{margin-bottom:12px!important}
html body .ubn-discover .ubn-search{position:relative;z-index:3}
@media(max-width:640px){html body .ubn-discover .ubn-hero-clearance{height:clamp(30px,9vw,70px)!important}}


/* v13 keep flag visible */

html body .ubn-discover .ubn-intro{max-width:760px!important}
html body .ubn-discover .ubn-search,
html body .ubn-discover .ubn-feature-links{
  position:relative;
  z-index:3;
  max-width:980px!important;
  width:min(980px,calc(100% - 360px))!important;
  margin-left:0!important;
}
html body .ubn-discover .ubn-search-fields{
  grid-template-columns:1fr .8fr .95fr 1.35fr 1fr!important;
}
html body .ubn-discover .ubn-feature-links{margin-top:14px!important}
@media(max-width:1200px){
  html body .ubn-discover .ubn-search,
  html body .ubn-discover .ubn-feature-links{width:min(920px,calc(100% - 220px))!important;max-width:920px!important}
}
@media(max-width:900px){
  html body .ubn-discover .ubn-search,
  html body .ubn-discover .ubn-feature-links{width:100%!important;max-width:none!important}
  html body .ubn-discover .ubn-search-fields{grid-template-columns:1fr 1fr 1fr!important}
  html body .ubn-discover .ubn-search-fields .ubn-query{grid-column:span 2!important}
}
@media(max-width:640px){
  html body .ubn-discover .ubn-search,
  html body .ubn-discover .ubn-feature-links{width:100%!important;max-width:none!important}
}

/* v14: keep Ala-Too Square and flag entirely visible: controls are AFTER the hero. */
html body .ubn-discover{min-height:clamp(650px,88vh,920px)!important;padding-top:clamp(38px,5vh,65px)!important;padding-bottom:60px!important;display:flex;align-items:flex-start}
html body .ubn-discover>.container{width:min(1320px,calc(100% - 40px));margin-inline:auto}
html body .ubn-discover .ubn-intro{max-width:760px!important;margin-bottom:0!important}
html body .ubn-below-hero-search{position:relative;background:#101d29;padding:26px 0 32px;z-index:2}
html body .ubn-below-hero-search>.container{width:min(1320px,calc(100% - 40px));margin-inline:auto}
html body .ubn-below-hero-search .ubn-search,html body .ubn-below-hero-search .ubn-feature-links{width:100%!important;max-width:none!important;margin-left:0!important}
html body .ubn-below-hero-search .ubn-search-fields{grid-template-columns:1fr .7fr .95fr 1.55fr 1.1fr!important}
html body .ubn-below-hero-search .ubn-feature-links{margin-top:14px}
@media(max-width:1000px){html body .ubn-below-hero-search .ubn-search-fields{grid-template-columns:1fr 1fr 1fr!important}html body .ubn-below-hero-search .ubn-query{grid-column:span 2!important}}
@media(max-width:640px){html body .ubn-discover{min-height:clamp(510px,75svh,740px)!important;padding:30px 0!important}html body .ubn-discover>.container,html body .ubn-below-hero-search>.container{width:calc(100% - 28px)}html body .ubn-below-hero-search{padding:20px 0 26px}html body .ubn-below-hero-search .ubn-search-fields{grid-template-columns:1fr 1fr!important}html body .ubn-below-hero-search .ubn-search-fields .ubn-query{grid-column:span 2!important}}


/* UBN v14 compact action toolbar: scoped to the header, override legacy oversized buttons. */
html body .ubn-header-reference .ubn-category-nav>.ubn-quick-actions{
  flex:0 0 100%!important;order:10!important;display:flex!important;flex-flow:row nowrap!important;
  align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  margin:5px 0 0!important;padding:0 0 3px!important;min-width:0!important;
  overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;
}
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>a.btn{
  box-sizing:border-box!important;display:inline-flex!important;flex:0 0 auto!important;
  width:auto!important;min-width:0!important;min-height:36px!important;height:36px!important;
  padding:0 12px!important;margin:0!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;border-radius:9px!important;font-size:12px!important;font-weight:750!important;
  line-height:1!important;letter-spacing:0!important;white-space:nowrap!important;
  text-decoration:none!important;box-shadow:none!important;transform:none!important;
}
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>.ubn-post-button{background:#fa4c1b!important;color:#fff!important;border:1px solid #fa4c1b!important}
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>.ubn-owner-action{background:#1265f5!important;color:#fff!important;border:1px solid #1265f5!important}
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>.ubn-review-action{background:#101010!important;color:#fff!important;border:1px solid #333!important}
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>.ubn-buyout-action{background:#101010!important;color:#fff!important;border:1px solid #333!important}
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>a.btn:focus-visible{outline:2px solid #1b84fd!important;outline-offset:2px!important}
@media(max-width:760px){
 html body .ubn-header-reference .ubn-category-nav>.ubn-quick-actions{gap:6px!important;padding-bottom:7px!important}
 html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>a.btn{height:36px!important;min-height:36px!important;padding:0 10px!important;font-size:11px!important}
}

/* UBN v17: blue catalog link, ROX shortcut and media collection. */
html body .ubn-discover a.ubn-stock-blue{display:inline-flex;align-items:center;gap:8px;font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:clamp(15px,1.25vw,19px)!important;font-weight:800!important;letter-spacing:.015em;line-height:1.3;color:#62b7ff!important;text-decoration:none!important;border:1px solid rgba(83,178,255,.52)!important;border-radius:13px;padding:12px 17px!important;background:rgba(6,28,56,.72)!important;box-shadow:0 8px 25px rgba(1,16,39,.27);transition:color .2s,background .2s,transform .2s}
html body .ubn-discover a.ubn-stock-blue:hover{color:#fff!important;background:#1266be!important;transform:translateY(-2px)}
html body .ubn-discover a.ubn-stock-blue:focus-visible{outline:3px solid #addbff;outline-offset:3px}
html body .ubn-top .ubn-quick-actions .ubn-rox-action{height:36px!important;min-height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 11px!important;white-space:nowrap!important;font-size:12px!important;line-height:1!important;border:1px solid #80bee9!important;border-radius:10px!important;background:#eaf6ff!important;color:#075d99!important;font-weight:750!important}
.ubn-rox-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 34px;padding:28px;border-radius:22px;background:linear-gradient(120deg,#062a47,#135e8d);color:#fff}
.ubn-rox-hero h1{color:#fff!important;font-size:clamp(28px,3.4vw,48px);margin:12px 0}.ubn-rox-hero p{max-width:620px;color:#e6f4ff}.ubn-rox-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.ubn-rox-count{display:grid;place-items:center;min-width:175px;padding:18px;border:1px solid #ffffff66;border-radius:18px;text-align:center}.ubn-rox-count strong{font-size:42px}.ubn-rox-count span{font-size:12px}.ubn-rox-page .cards{margin-top:18px}
@media(max-width:640px){.ubn-rox-hero{display:block;padding:20px}.ubn-rox-count{margin-top:16px;min-width:0}.ubn-rox-links a{flex:1;text-align:center}}

/* ROX photo and video overview */
.ubn-rox-nav-btn{background:#fff!important;color:#06446a!important;border:1px solid #bce1ef!important}
.ubn-rox-photos{background:#f6f9fc}.ubn-rox-media-heading{margin-bottom:24px}.ubn-rox-media-heading p{color:#586a80}
.ubn-rox-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ubn-rox-photo{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;border-radius:15px;overflow:hidden;cursor:pointer;background:#e1eaf3;box-shadow:0 6px 18px #15284118}
.ubn-rox-photo img{width:100%;height:100%;object-fit:cover;transition:transform .22s}.ubn-rox-photo:hover img{transform:scale(1.04)}.ubn-rox-photo:focus-visible{outline:3px solid #056dbc;outline-offset:3px}.ubn-rox-photo span{position:absolute;bottom:8px;left:8px;padding:4px 8px;border-radius:7px;background:#001b31bd;color:#fff;font-size:12px}
.ubn-rox-lightbox:not([hidden]){position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;gap:10px;background:#07111cf5;padding:50px 12px 22px}
.ubn-rox-lightbox figure{margin:0;max-width:calc(100vw - 125px);display:grid;gap:10px;color:white;text-align:center}.ubn-rox-lightbox figure img{display:block;max-width:100%;max-height:78dvh;object-fit:contain;margin:auto}.ubn-rox-lightbox button{border:1px solid #ffffff70;color:#fff;background:#1e293bd9;border-radius:12px;cursor:pointer;min-width:40px;min-height:44px;font-size:22px}.ubn-rox-lightbox-close{position:absolute;top:14px;right:18px}
@media(max-width:900px){.ubn-rox-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.ubn-rox-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ubn-rox-photo{border-radius:10px}.ubn-rox-lightbox figure{max-width:calc(100vw - 100px)}}

/* v26 3D UBN header logo */
html body .ubn-header-reference .ubn-home-brand img{display:block!important;width:115px!important;height:74px!important;object-fit:contain!important;object-position:center!important;background:#fff!important;border:0!important;box-shadow:none!important;border-radius:0!important}
@media(max-width:760px){html body .ubn-header-reference .ubn-home-brand img{width:86px!important;height:58px!important}}

/* UBN v27: compact Instagram action alongside header shortcuts. */
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>a.ubn-instagram-action{
  background:linear-gradient(105deg,#3a6db4,#c13584 55%,#e1306c)!important;
  border:1px solid #b73585!important;color:#fff!important;
  font-weight:800!important;white-space:nowrap!important;
}
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>a.ubn-instagram-action:hover{
  filter:brightness(1.13);
}
html body .ubn-header-reference .ubn-instagram-glyph{font-size:20px;line-height:1;font-weight:900}

/* v27 — Instagram navigation button */
html body .ubn-header-reference .ubn-category-nav .ubn-quick-actions>a.ubn-instagram-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;height:36px!important;min-height:36px!important;padding:0 12px!important;border-radius:10px!important;background:linear-gradient(115deg,#3a6db4,#c13584 55%,#e1306c)!important;color:white!important;font-size:12px!important;font-weight:750!important;text-decoration:none!important;flex:0 0 auto!important}
html body .ubn-header-reference .ubn-instagram-glyph{display:inline-flex!important;align-items:center;justify-content:center}

/* v28: Instagram moved to the first (main navigation) row. */
html body .ubn-header-reference .ubn-category-nav>a.ubn-instagram-action{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:6px!important;flex:0 0 auto!important;order:0!important;
 height:32px!important;min-height:32px!important;padding:0 11px!important;
 background:linear-gradient(115deg,#3a6db4,#c13584 55%,#e1306c)!important;
 border:1px solid #bb3d85!important;border-radius:9px!important;color:#fff!important;
 font-size:12px!important;font-weight:750!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;
}
html body .ubn-header-reference .ubn-category-nav>a.ubn-instagram-action:hover{filter:brightness(1.12)}
html body .ubn-header-reference .ubn-category-nav>a.ubn-instagram-action:focus-visible{outline:3px solid #295ea9;outline-offset:2px}
@media(max-width:760px){html body .ubn-header-reference .ubn-category-nav>a.ubn-instagram-action{height:30px!important;min-height:30px!important;padding:0 9px!important;font-size:11px!important}}

/* v39: About page gets the same continuously looping Bishkek / flag background as homepage. */
html body .about-cinematic-hero.ubn-discover{
  position:relative!important; isolation:isolate; overflow:hidden;
  display:block!important; width:100%; min-height:clamp(540px,82svh,940px)!important;
  padding:0!important; margin:0!important;
  background:#13233d url('../img/hero-bishkek-reference.png') center/cover no-repeat!important;
}
html body .about-cinematic-hero.ubn-discover>.ubn-square-background-video{
  display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center center;z-index:0;pointer-events:none;
}
html body .about-cinematic-hero.ubn-discover::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(9,24,54,.13),rgba(9,24,54,.03))!important;
  animation:none!important;transform:none!important;
}
html body .about-cinematic-hero.ubn-discover::after{
  content:"";position:absolute;inset:-20%;z-index:1;pointer-events:none;
  background:radial-gradient(ellipse at 18% 25%,rgba(255,227,183,.12),transparent 42%),radial-gradient(ellipse at 78% 38%,rgba(219,239,255,.11),transparent 38%);
  opacity:.22;animation:ubn-cloud-motion-v2 12s linear infinite alternate;
}
@media(max-width:640px){html body .about-cinematic-hero.ubn-discover{min-height:clamp(420px,75svh,720px)!important}html body .about-cinematic-hero.ubn-discover>.ubn-square-background-video{object-position:55% center}}
@media(prefers-reduced-motion:reduce){html body .about-cinematic-hero.ubn-discover>.ubn-square-background-video{display:none}html body .about-cinematic-hero.ubn-discover::after{animation:none}}
@media print{html body .about-cinematic-hero.ubn-discover>.ubn-square-background-video{display:none}}

/* UBN site image-based refresh: search dock, feature links, mobile bottom nav */
html body .ubn-below-hero-search{margin-top:-74px}
html body .ubn-below-hero-search .ubn-search{position:relative;z-index:3}
html body .ubn-below-hero-search .ubn-search-tabs{margin-bottom:14px}
html body .ubn-below-hero-search .ubn-directions{margin-top:22px}
html body .ubn-feature-links a:hover{transform:translateY(-1px);background:#d96309}
html body .ubn-mobile-bottom-nav{display:none}
@media(max-width:640px){
 html body .ubn-below-hero-search{margin-top:-20px;padding-bottom:94px}
 html body .ubn-feature-links{gap:10px}
 html body .ubn-feature-links a{padding:10px 14px;border-radius:999px;font-size:13px}
 html body .ubn-mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:12px;right:12px;bottom:10px;z-index:50;background:#081326;color:#fff;border-radius:18px;padding:10px 8px;box-shadow:0 16px 40px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08)}
 html body .ubn-mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;color:#fff;text-decoration:none}
 html body .ubn-mobile-bottom-nav a span{font-size:18px;line-height:1}
 html body .ubn-mobile-bottom-nav a b{font-size:11px;line-height:1.1}
 body{padding-bottom:88px}
}

.wa-float.ubn-wa-glass {
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  padding: 0 !important;
  border: 1px solid #fff;
  border-radius: 19px;
  background: #e9fff3ed;
  color: #084c35;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px #122b2950;
}
.wa-float.ubn-wa-glass:hover { background: #f3fff8; color: #084c35; }
.wa-float.ubn-wa-glass:focus-visible { outline: 3px solid #08774c; outline-offset: 3px; }

.ubn-wa-chat[hidden] { display: none; }
.ubn-wa-chat {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 10020;
  width: min(320px, calc(100% - 24px));
  max-height: calc(100dvh - 96px);
  overflow: auto;
  border-radius: 16px;
  background: #f0f6f1;
  color: #172e25;
  box-shadow: 0 10px 30px #101b2555;
}
.ubn-wa-chat > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px;
  background: #09664b;
  color: #fff;
}
.ubn-wa-chat button { cursor: pointer; font: inherit; }
.ubn-wa-chat [data-wa-close] {
  width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 24px;
}
.ubn-wa-chat form { display: grid; gap: 8px; padding: 12px; margin: 0; }
.ubn-wa-chat form p { margin: 0; background: #fff; border-radius: 0 10px 10px; padding: 8px 10px; font-size: 14px; }
.ubn-wa-chat label { margin: 0; }
.ubn-wa-chat textarea { background: #fff; color: #172e25; border-color: #9bb5a7; margin: 0; font-size: 16px; }
.ubn-wa-chat .ubn-wa-topics { display: flex; flex-wrap: wrap; gap: 5px; }
.ubn-wa-chat .ubn-wa-topics button {
  min-height: 44px; border: 1px solid #9ac5b3; border-radius: 9px;
  color: #10553e; background: #fff; padding: 5px 8px; font-size: 13px; font-weight: 650;
}
.ubn-wa-chat .ubn-wa-topics button[aria-pressed=true] { background: #d1ebdf; border-color: #29795d; }
.ubn-wa-chat button[type=submit] {
  min-height: 44px; border: 0; background: #09664b; color: #fff; border-radius: 9px; font-weight: 750;
}
@media (max-width: 760px) {
  .ubn-wa-chat { right: 12px; bottom: 150px; max-height: calc(100dvh - 162px); }
}
@media print { .ubn-wa-chat { display: none !important; } }
