/*
 * MOREON DESIGN SYSTEM / 2026-11-08
 * Single, last-loaded visual source for the entire website.
 *
 * Navigation and information architecture remain functional in:
 * - approved V89 client router (homepage, buyer/seller/company screens),
 * - Next.js native pages, ЖК, objects, editorial landing pages and forms,
 * - standalone Journal HTML and all individual journal articles,
 * - partner program and all its subdivisions, legal and CMS pages.
 *
 * No text is placed over architectural photographs.
 * Type: Manrope (same locally hosted family on all routes).
 * Colors: dark navy / white / soft-blue / brand orange, blue and red marks.
 * UI: coherent rectangular 5px radius, crisp lines, minimal shadows.
 */
@font-face{font-family:MoreonManrope;src:url('/media/home/manrope-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:MoreonManrope;src:url('/media/home/manrope-600.ttf') format('truetype');font-weight:600 900;font-style:normal;font-display:swap}
:root{
 --moreon-navy:#0d2b52;
 --moreon-deep:#091f3d;
 --moreon-ink:#142f50;
 --moreon-muted:#607488;
 --moreon-blue:#228dd2;
 --moreon-orange:#ee7b25;
 --moreon-red:#d82f3b;
 --moreon-border:#d9e3ec;
 --moreon-surface:#f2f6fa;
 --moreon-paper:#fff;
 --moreon-font:MoreonManrope,Arial,Helvetica,sans-serif;
 --moreon-radius:5px;
 --moreon-content:1320px;
 /* Legacy aliases refer to the SAME corporate palette, never local colors. */
 --ink:var(--moreon-ink);--navy:var(--moreon-navy);--deep:var(--moreon-deep);
 --sub:var(--moreon-muted);--muted:var(--moreon-muted);
 --paper:#fff;--cream:var(--moreon-surface);--soft:var(--moreon-surface);
 --orange:var(--moreon-orange);--sand:#dae4ed;--line:var(--moreon-border);
 --blue:var(--moreon-navy);--blue2:#35587c;--bg:#fff;--surface:#fff;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
html body{font-family:var(--moreon-font)!important;color:var(--moreon-ink);background:#fff;-webkit-font-smoothing:antialiased}
html body :is(button,input,select,textarea){font-family:var(--moreon-font)!important}
html body :is(h1,h2,h3,h4,h5,h6),
html.moreon-v89 body:not(.mh-home-active) :is(h1,h2,h3,h4),
html.moreon-v89 body.mh-home-active :is(h1,h2,h3,h4){
 font-family:var(--moreon-font)!important;font-style:normal!important;
 letter-spacing:-.038em!important;
}
html body :is(h1,h2){font-weight:750!important;line-height:1.16!important}
html body :is(h3,h4){font-weight:700!important;line-height:1.3!important}
html body :is(h1,h2,h3) em,
html.moreon-v89 body :is(h1,h2,h3) em,
html body :is(.statement-ital,.muf-invitation h2 em){
 font-family:var(--moreon-font)!important;font-style:normal!important;
 font-weight:inherit!important;letter-spacing:inherit!important;color:inherit!important;
}
html body :is(p,li,label,summary){font-family:var(--moreon-font)}
html body ::selection{background:#f6bd8c;color:var(--moreon-deep)}
html body :is(a,button,input,textarea,select,summary):focus-visible{
 outline:3px solid var(--moreon-orange)!important;outline-offset:3px;
}
html body :is(input,select,textarea){border-radius:var(--moreon-radius);max-width:100%}
html body :is(a,button){transition:color .2s ease,background-color .2s ease,border-color .2s ease}
.moreon-brand-bars{display:inline-flex;align-items:center;gap:3px;height:5px}
.moreon-brand-bars i{display:block;width:23px;height:4px;border-radius:1px;background:var(--moreon-orange)}
.moreon-brand-bars i:nth-child(2){background:var(--moreon-blue)}
.moreon-brand-bars i:nth-child(3){background:var(--moreon-red)}

/* ONE NAVIGATION — native Next, editorial HTML, approved V89. */
.moreon-unified-header,
html.moreon-v89 body .site-header{
 position:sticky!important;top:0!important;z-index:90!important;
 height:86px!important;min-height:86px!important;
 background:#fff!important;color:var(--moreon-ink)!important;
 border-bottom:1px solid var(--moreon-border)!important;
 box-shadow:none!important;backdrop-filter:none!important;
 font-family:var(--moreon-font)!important;
}
.moreon-unified-row,
html.moreon-v89 body .site-header .site-header-row{
 width:min(1512px,calc(100% - 72px))!important;max-width:1512px!important;
 margin:0 auto!important;height:86px!important;min-height:86px!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:22px!important;
}
.moreon-unified-brand,
html.moreon-v89 body .site-header .site-brand{flex:none;display:inline-flex;align-items:center;width:168px;min-width:168px}
.moreon-unified-brand img,
html.moreon-v89 body .site-header .site-brand img{
 display:block!important;width:168px!important;max-width:168px!important;height:auto!important;
 object-fit:contain!important;filter:none!important;opacity:1!important;
}
.moreon-unified-nav,
html.moreon-v89 body .site-header .site-nav{
 display:flex;flex:1;min-width:0;height:100%;
 justify-content:center;align-items:center;gap:clamp(12px,1.5vw,25px)!important;
}
.moreon-unified-nav a,
html.moreon-v89 body .site-header .site-nav>a:not(.moreon-legacy-mobile-contact){
 color:var(--moreon-ink)!important;background:transparent!important;
 height:100%;display:inline-flex;align-items:center;justify-content:center;
 white-space:nowrap;text-decoration:none!important;
 font:650 12px/1.45 var(--moreon-font)!important;
 letter-spacing:0!important;border-bottom:3px solid transparent;
}
.moreon-unified-nav a[aria-current="page"],
.moreon-unified-nav a:hover,
html.moreon-v89 body .site-header .site-nav>a:hover,
html.moreon-v89 body .site-header .site-nav>a.active{
 border-bottom-color:var(--moreon-orange)!important;color:var(--moreon-orange)!important;
}
.moreon-unified-actions,
html.moreon-v89 body .site-header .site-tools{display:flex;align-items:center;gap:13px;flex:none}
.moreon-unified-phone,
html.moreon-v89 body .site-header .site-phone{
 font:650 12px/1.4 var(--moreon-font)!important;
 color:var(--moreon-ink)!important;white-space:nowrap;text-decoration:none!important;
}
.moreon-unified-action,
html.moreon-v89 body .site-header .site-tools .site-btn{
 min-height:45px!important;border-radius:var(--moreon-radius)!important;
 display:inline-flex;align-items:center;justify-content:center;
 padding:12px 16px!important;white-space:nowrap;
 font:700 11px/1.35 var(--moreon-font)!important;
 background:var(--moreon-navy)!important;border:1px solid var(--moreon-navy)!important;
 color:#fff!important;text-decoration:none!important;box-shadow:none!important;
}
.moreon-unified-action:hover,
html.moreon-v89 body .site-header .site-tools .site-btn:hover{
 background:#184471!important;border-color:#184471!important;color:#fff!important;
}
.moreon-unified-menu{display:none;border:1px solid var(--moreon-border);
 border-radius:var(--moreon-radius);color:var(--moreon-navy);background:#fff;
 font:700 23px/1 var(--moreon-font);width:44px;height:44px;
 align-items:center;justify-content:center;cursor:pointer;
}
.moreon-unified-nav .moreon-unified-mobile-contact,
.moreon-unified-nav .moreon-unified-mobile-action{display:none}
/* In the owner-approved V89, retain the original menu JS and its #siteMenu. */
html.moreon-v89 body .site-header .site-menu{border:1px solid var(--moreon-border)!important;border-radius:var(--moreon-radius)!important;background:#fff!important;color:var(--moreon-navy)!important}

/* Cards/inputs/buttons across every non-editorial route.
   Keep maps, buttons with special control meaning, and polygons untouched. */
html body :is(.ap-btn,.ml-button,.pill,.site-btn,.res-search-submit,.res-city-chip,.res-clear,.lead-card button,.object-contact-button){
 font-family:var(--moreon-font)!important;
 border-radius:var(--moreon-radius)!important;
 font-weight:700!important;letter-spacing:0!important;
}
html body :is(.ap-btn-dark,.ml-button-dark,.pill-dark,.res-search-submit,.search-submit){
 background:var(--moreon-navy)!important;border-color:var(--moreon-navy)!important;color:#fff!important;
}
html body :is(.ap-btn-accent,.ml-button-accent,.res-hero-orange){
 background:var(--moreon-orange)!important;border-color:var(--moreon-orange)!important;color:#fff!important;
}
html body :is(.ap-btn,.ml-button,.pill,.site-btn):hover{box-shadow:none!important}
html body :is(.ap-office,.ap-advantages article,.ap-directions article,.ml-scenario,.ml-process-card,.property-card,.catalog-card,.res-selection-benefits,.object-aside,.service-card,.lead-card){
 border-radius:var(--moreon-radius)!important;box-shadow:none!important;
}
html body :is(.overline,.ap-kicker,.ml-eyebrow,.editorial-shell .site-kicker,.res-hero-selection .overline){
 color:#bd672d;letter-spacing:.15em;font:700 11px/1.5 var(--moreon-font)!important;
}
html body .wrap{max-width:var(--moreon-content)}
html body :is(.ap-wrap,.ml-direction .wrap,.res-directory .wrap){
 max-width:var(--moreon-content);
}

/* Approved informational pages: ABOUT / CONTACTS / CAREER and the legal pages. */
html body .ap-page{
 --ap-ink:var(--moreon-ink);--ap-blue:var(--moreon-navy);
 --ap-line:var(--moreon-border);--ap-muted:var(--moreon-muted);--ap-orange:var(--moreon-orange);
 font-family:var(--moreon-font)!important;background:#fff!important;color:var(--moreon-ink);
}
html body .ap-hero{
 background:linear-gradient(110deg,#f1f6fa 0%,#fff 60%,#eff5f9 100%)!important;
 border-color:var(--moreon-border);
}
html body .ap-page h1{font:750 clamp(41px,5vw,72px)/1.14 var(--moreon-font)!important;letter-spacing:-.05em!important}
html body .ap-page :is(.ap-head h2,.ap-hero-aside h2,.ap-hero-aside h3){
 font-family:var(--moreon-font)!important;font-weight:750!important;
}
html body :is(.ap-hero-aside,.ap-metrics>div,.ap-checks>div,.ap-office,.ap-advantages article,.ap-directions article){
 border-radius:var(--moreon-radius)!important;box-shadow:none!important;
}
html body .ap-soft{background:var(--moreon-surface)!important}
html body .ap-head p,html body .ap-lead{color:var(--moreon-muted)}
html body .ap-contact-band{background:var(--moreon-navy)!important;color:#fff}

/* Native direction landings / real listing search. */
html body .ml-direction{
 --ml-navy:var(--moreon-navy);--ml-ink:var(--moreon-ink);
 --ml-muted:var(--moreon-muted);--ml-line:var(--moreon-border);
 --ml-accent:var(--moreon-orange);background:#fff;color:var(--moreon-ink);
 font-family:var(--moreon-font)!important;
}
html body .ml-direction :is(h1,h2){
 font-family:var(--moreon-font)!important;letter-spacing:-.044em!important;font-weight:750!important;
}
html body .ml-hero{background:var(--moreon-navy)!important}
html body .ml-scenarios,html body .ml-process{background:var(--moreon-surface)}
html body .res-hero-selection{background:var(--moreon-navy)!important}
html body .res-hero-selection h1{font:750 clamp(41px,5.2vw,72px)/1.14 var(--moreon-font)!important}
html body .res-hero-selection :is(h2,h3){font-family:var(--moreon-font)!important;font-weight:750!important}
html body .res-directory :is(h1,h2,h3),
html body .object-main :is(h1,h2,h3),
html body .res-help-section :is(h2,h3){font-family:var(--moreon-font)!important}
html body .res-city-chip{background:#fff!important;color:var(--moreon-navy)!important;border:1px solid var(--moreon-border)!important}

/* V89: original SPA routes, property details, cards and filters.
   We do not replace hash navigation, maps, or access to objects. */
html.moreon-v89 body{font-family:var(--moreon-font)!important;background:#fff!important;color:var(--moreon-ink)!important}
html.moreon-v89 body:not(.mh-home-active) :is(h1,h2),
html.moreon-v89 body.mh-home-active :is(h1,h2){
 font-family:var(--moreon-font)!important;font-weight:750!important;
 font-style:normal!important;letter-spacing:-.043em!important;line-height:1.18!important;
}
html.moreon-v89 body :is(.site-page-hero,.page-head){
 background:linear-gradient(115deg,#f3f7fa,#fff)!important;color:var(--moreon-ink)!important;
}
html.moreon-v89 body :is(.site-kicker,.mh-eyebrow,.page-overline){
 font-family:var(--moreon-font)!important;letter-spacing:.15em;color:#ba6730!important;
}
html.moreon-v89 body :is(.site-btn,.btn,.control,.chip){
 font-family:var(--moreon-font)!important;border-radius:var(--moreon-radius)!important;
}
html.moreon-v89 body :is(.card,.direction-card,.office-card,.scenario-card){
 border-radius:var(--moreon-radius)!important;box-shadow:none!important;
}
html.moreon-v89 body :is(.site-btn.primary,.btn.primary){
 background:var(--moreon-navy)!important;color:#fff!important;border-color:var(--moreon-navy)!important;
}
html.moreon-v89 body :is(.site-btn.orange,.btn.orange){
 background:var(--moreon-orange)!important;color:#fff!important;
}

/* Journal and every article. All copy/heads are Manrope; no serif editorial islands. */
html.moreon-v89 body:has(.editorial-shell) .editorial-shell :is(h1,h2,h3){
 font-family:var(--moreon-font)!important;font-weight:750!important;letter-spacing:-.04em!important;
}
html.moreon-v89 body:has(.editorial-shell) .editorial-shell .editorial-copy{
 font-family:var(--moreon-font)!important;color:var(--moreon-ink)!important;
}
html.moreon-v89 body:has(.editorial-shell) :is(.editorial-card,.editorial-toc,.editorial-aside){
 border-radius:var(--moreon-radius)!important;box-shadow:none!important;
}
html.moreon-v89 body:has(.editorial-shell) .editorial-shell .editorial-hero-visual figcaption{display:none!important}

/* Footer identical in EVERY route — no Prata headings or private colors. */
.moreon-universal-footer{color:var(--moreon-ink);font-family:var(--moreon-font)!important}
.moreon-universal-footer .muf-invitation{background:var(--moreon-surface)!important;color:var(--moreon-ink)}
.moreon-universal-footer .muf-bottom{background:var(--moreon-deep)!important}
.moreon-universal-footer .muf-invitation h2,
.moreon-universal-footer .muf-invitation h2 em{
 font:750 clamp(32px,3.8vw,52px)/1.2 var(--moreon-font)!important;
 letter-spacing:-.04em!important;color:var(--moreon-ink)!important;
}
.moreon-universal-footer .muf-phone{color:var(--moreon-navy)!important;font-weight:750!important}
.moreon-universal-footer .muf-offices a{color:var(--moreon-ink)!important}
.moreon-universal-footer .muf-col a{color:#c6d6e6!important}
.moreon-universal-footer .muf-col h3{color:#fff!important}
.moreon-universal-footer .muf-col a:hover{color:#fff!important}

/* CMS pages, services, forms and privacy. */
html body :is(.cms-managed-page,.legal-page,.cms-content,.cms-section){font-family:var(--moreon-font)!important}
html body .cms-managed-page h1,html body .cms-managed-page h2{font-family:var(--moreon-font)!important}
html body .cms-managed-page{background:#fff!important;color:var(--moreon-ink)!important}
html body .legal-page :is(h1,h2,h3){font-family:var(--moreon-font)!important;font-weight:750!important}
html body .legal-page{background:#fff!important}
html body .moreon-cookie-notice{border-radius:var(--moreon-radius);font-family:var(--moreon-font)!important;color:var(--moreon-ink)!important}
html body .moreon-cookie-actions button{font-family:var(--moreon-font)!important}
html body .moreon-cookie-actions button:first-child{background:var(--moreon-navy)!important}

/* Responsive rules leave map/list functionality and gallery layout alone. */
@media(max-width:1160px){
 .moreon-unified-row,html.moreon-v89 body .site-header .site-header-row{width:calc(100% - 42px)!important;gap:14px!important}
 .moreon-unified-nav,html.moreon-v89 body .site-header .site-nav{gap:10px!important}
 .moreon-unified-phone,html.moreon-v89 body .site-header .site-phone{display:none!important}
}
@media(max-width:1160px){
 .moreon-unified-header{height:72px!important;min-height:72px!important}
 .moreon-unified-row{height:72px!important;min-height:72px!important;width:calc(100% - 30px)!important}
 .moreon-unified-nav{display:none!important;position:absolute;top:72px;left:0;right:0;
  height:auto;max-height:calc(100dvh - 72px);overflow-y:auto;
  background:#fff;box-shadow:0 18px 35px #0d2b5220;border-bottom:1px solid var(--moreon-border);
  flex-direction:column;align-items:stretch;justify-content:flex-start;padding:14px 22px 22px;gap:0!important;
 }
 .moreon-unified-nav.is-open{display:flex!important}
 .moreon-unified-nav a{height:auto;min-height:47px;justify-content:flex-start;
  padding:12px 8px;border-bottom:1px solid var(--moreon-border);font-size:15px!important;
 }
 .moreon-unified-nav a[aria-current="page"]{border-bottom:1px solid var(--moreon-border);border-left:3px solid var(--moreon-orange);padding-left:12px}
 .moreon-unified-menu{display:inline-flex!important}
 .moreon-unified-nav .moreon-unified-mobile-contact{display:flex}
 .moreon-unified-nav .moreon-unified-mobile-action{display:flex!important;min-height:48px;margin-top:12px;
  justify-content:center;text-align:center;padding:13px 16px;
  background:var(--moreon-navy)!important;color:#fff!important;
 }
 html.moreon-v89 body .site-header,html.moreon-v89 body .site-header .site-header-row{
  height:76px!important;min-height:76px!important;
 }
 html.moreon-v89 body .site-header .site-nav{height:auto}
 html body .ap-page h1,html body .res-hero-selection h1{font-size:clamp(38px,6vw,64px)!important}
}
@media(max-width:600px){
 .moreon-unified-brand,.moreon-unified-brand img{width:150px!important;min-width:150px!important;max-width:150px!important}
 html.moreon-v89 body .site-header .site-brand,html.moreon-v89 body .site-header .site-brand img{width:150px!important;min-width:0!important;max-width:150px!important}
 .moreon-unified-action{display:none!important}
 html body .ap-page h1{font-size:clamp(35px,9.1vw,50px)!important}
 html body .res-hero-selection h1{font-size:clamp(38px,8vw,50px)!important}
 html body :is(.ap-wrap,.ml-direction .wrap){width:calc(100% - 32px)}
}
@media(prefers-reduced-motion:reduce){html *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}


/* Final wordmark normalization: the original unfiltered MOREON logo is
 * EXACTLY 160px on every route and viewport, including V89 at 320px.
 * Earlier responsive 150/168px variants are intentionally superseded. */
html.moreon-v89 body .site-header .site-brand,
html.moreon-v89 body .site-header .site-brand img,
html.moreon-v89 body.mh-home-active .site-header .site-brand,
html.moreon-v89 body.mh-home-active .site-header .site-brand img,
header.moreon-unified-header .moreon-unified-brand,
header.moreon-unified-header .moreon-unified-brand img,
.moreon-unified-header .moreon-unified-brand,
.moreon-unified-header .moreon-unified-brand img{
 width:160px!important;min-width:160px!important;max-width:160px!important;
 flex:0 0 160px!important;
}
html.moreon-v89 body .site-header .site-brand img,
header.moreon-unified-header .moreon-unified-brand img,
.moreon-unified-header .moreon-unified-brand img{
 height:auto!important;object-fit:contain!important;filter:none!important;opacity:1!important;
}


/* Favorites shares the same responsive heading scale. Avoid the old 54px
 * minimum on 320–375px devices, where «пространства» exceeds the content box. */
html body .saved-heading{
 font-family:var(--moreon-font)!important;font-weight:750!important;
 letter-spacing:-.04em!important;line-height:1.16!important;
 overflow-wrap:anywhere;max-width:100%;
}
@media(max-width:600px){
 html body .saved-heading{font-size:clamp(33px,8.5vw,47px)!important}
 html body .saved-content,html body .panel-empty{min-width:0;max-width:100%;overflow-wrap:anywhere}
}
