/* Shared Urbah navigation layer. All selectors are deliberately namespaced. */
html { scrollbar-gutter: stable; overflow-y: scroll; }
html.scroll-smooth { scroll-behavior: smooth; }
#siteHeader {
  transition-property: background-color, border-color, box-shadow !important;
}
#siteHeader > div {
  height: 96px;
  min-height: 96px;
}
#siteHeader .magnetic {
  transform: none !important;
}
#siteHeader nav[aria-label="Основная навигация"] {
  flex-shrink: 0;
}
:root { --ug-hero-font-size: clamp(2.75rem, 7vw, 6.5rem); }
:is(#heroSection, #service-trademark, #service-refusal, #service-copyright, #service-trois, #page-about, #page-specialist, #page-practicum) h1 {
  font-size: var(--ug-hero-font-size) !important;
  overflow-wrap: anywhere;
}
footer .ug-footer-brand-name { font-weight: 700; }
footer .ug-footer-brand-group { font-weight: 500; }
#heroSection .max-w-4xl:has(> h1) { max-width: 100%; }
#heroSection h1 > span[style*="background-clip"] {
  white-space: nowrap;
  padding-right: .1em;
  margin-right: -.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 700px) {
  :root { --ug-hero-font-size: clamp(2rem, 10.25vw, 3rem); }
  #heroSection h1 > span[style*="background-clip"] { letter-spacing: -.065em; }
  body :is(main, section) h2 {
    font-size: 1.875rem !important;
    line-height: 1.12 !important;
  }
}
@media (min-width: 1280px) {
  #siteHeader > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  #siteHeader > div > a { justify-self: start; }
  #siteHeader > div > div:last-child { justify-self: end; }
}

#ug-mega-overlay {
  --ug-ink: #201d30;
  --ug-muted: rgba(26, 26, 26, .58);
  --ug-line: rgba(26, 26, 26, .11);
  --ug-paper: #fafafa;
  --ug-purple: #7b2cbf;
  --ug-orange: #ff6b35;
  position: fixed;
  z-index: 70;
  inset: 96px 0 0;
  display: none;
  color: var(--ug-ink);
  font-family: Manrope, sans-serif;
}
#ug-mega-overlay.ug-open { display: block; }
#ug-mega-overlay.ug-closing { display: block; pointer-events: none; }
#ug-mega-overlay.ug-open .ug-frame {
  transform-origin: 50% 0;
  animation: ugMenuReveal 480ms cubic-bezier(.16,1,.3,1) both;
}
#ug-mega-overlay.ug-open .ug-scrim { animation: ugBackdropIn 320ms ease-out both; }
#ug-mega-overlay.ug-open .ug-content > * {
  animation: ugColumnReveal 460ms cubic-bezier(.16,1,.3,1) both;
}
#ug-mega-overlay.ug-open .ug-directions { animation-delay: 75ms; }
#ug-mega-overlay.ug-open .ug-main { animation-delay: 130ms; }
#ug-mega-overlay.ug-open .ug-case { animation-delay: 185ms; }
#ug-mega-overlay.ug-closing .ug-frame { animation: ugMenuDismiss 200ms ease-in both; }
#ug-mega-overlay.ug-closing .ug-scrim { animation: ugBackdropIn 200ms ease-in reverse both; }
@keyframes ugMenuReveal {
  from { opacity:0; transform:translateY(-14px) scale(.975); clip-path:inset(0 0 18% 0 round 24px); }
  to { opacity:1; transform:translateY(0) scale(1); clip-path:inset(0 round 24px); }
}
@keyframes ugColumnReveal {
  from { opacity:0; transform:translateY(14px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes ugMenuDismiss {
  from { opacity:1; transform:translateY(0) scale(1); }
  to { opacity:0; transform:translateY(-8px) scale(.985); }
}
@keyframes ugBackdropIn { from { opacity:0; } to { opacity:1; } }
#ug-mega-overlay .ug-scrim {
  position: absolute; inset: 0;
  background: rgba(22, 22, 34, .18);
  backdrop-filter: blur(2px);
}
#ug-mega-overlay .ug-frame {
  position: relative;
  width: min(1320px, calc(100vw - 64px));
  max-height: calc(100dvh - 112px);
  margin: 0 auto;
  overflow: auto;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(25,22,40,.17);
  overscroll-behavior: contain;
}
#ug-mega-overlay .ug-modebar {
  position: sticky; top: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 22px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ug-line);
}
#ug-mega-overlay .ug-modes { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
#ug-mega-overlay :is(.ug-mode,#nav-btn-ru,#nav-btn-intl,#nav-btn-education) {
  appearance:none; border:0 !important; box-shadow:none !important; background-image:none !important;
  display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:9px 14px;
  border-radius:999px; color:rgba(26,26,26,.68); background-color:transparent;
  font:600 12px Manrope,sans-serif; cursor:pointer; transition:color .18s,background-color .18s;
}
#ug-mega-overlay :is(.ug-mode,#nav-btn-ru,#nav-btn-intl,#nav-btn-education) > * { border:0 !important; box-shadow:none !important; background:transparent !important; }
#ug-mega-overlay :is(.ug-mode,#nav-btn-ru,#nav-btn-intl,#nav-btn-education):hover { color:var(--ug-ink); background-color:rgba(0,0,0,.045); }
#ug-mega-overlay :is(.ug-mode,#nav-btn-ru,#nav-btn-intl,#nav-btn-education)[aria-pressed="true"] { color:var(--ug-ink); background-color:#f2eff7; }
#ug-mega-overlay .ug-close {
  width:38px;height:38px;flex:0 0 auto;border:1px solid var(--ug-line);border-radius:50%;
  display:grid;place-items:center;background:#fff;color:var(--ug-ink);cursor:pointer;
}
#ug-mega-overlay .ug-close:hover { background:#f2eff7; }
#ug-mega-overlay .ug-content {
  display:grid; grid-template-columns:260px minmax(360px,1fr) 292px;
  min-height:450px; background:var(--ug-paper);
}
#ug-mega-overlay .ug-directions {
  padding:22px 16px; background:#fff; border-right:1px solid var(--ug-line);
}
#ug-mega-overlay .ug-main { min-width:0; padding:23px 22px 18px; }
#ug-mega-overlay .ug-skeleton { border-radius:12px;background:linear-gradient(90deg,rgba(26,26,26,.045),rgba(26,26,26,.085),rgba(26,26,26,.045));background-size:200% 100%;animation:ugSkeleton 1.3s ease-in-out infinite; }
#ug-mega-overlay .ug-skel-row { height:52px;margin:8px 0; }
#ug-mega-overlay .ug-skel-heading { height:14px;width:43%;margin-bottom:17px; }
#ug-mega-overlay .ug-skel-copy { height:38px;margin-bottom:20px; }
#ug-mega-overlay .ug-skel-grid { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
#ug-mega-overlay .ug-skel-card { height:148px;background-color:#fff; }
#ug-mega-overlay .ug-skel-dark { height:170px;background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.13),rgba(255,255,255,.06)); }
@keyframes ugSkeleton { 0% { background-position:100% 0; } 100% { background-position:-100% 0; } }
#ug-mega-overlay .ug-case {
  position:relative; min-width:0; padding:24px 21px 18px;
  display:flex; flex-direction:column; justify-content:space-between;
  color:#fff; background:#201d30; overflow:hidden;
}
#ug-mega-overlay .ug-case:before {
  content:"";position:absolute;right:-90px;top:-100px;width:250px;height:250px;border-radius:50%;
  background:rgba(123,44,191,.19);filter:blur(45px);pointer-events:none;
}
#ug-mega-overlay .ug-case > * { position:relative; z-index:1; }
#ug-mega-overlay .ug-heading {
  display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;
  color:rgba(26,26,26,.42);font:500 10px "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:.08em;
}
#ug-mega-overlay #active-counter-label { color:rgba(26,26,26,.6);font-weight:600; }
#ug-mega-overlay[data-mode="ru"] .ug-directions > div:has(> #all-services-link) { display:none; }
#ug-mega-overlay .ug-dir-btn { min-height:62px !important; }
#ug-mega-overlay #subservices-container { min-height:250px; }
#ug-mega-overlay .ug-learning .stagger-card { min-height:130px; }
#ug-mega-overlay .ug-dialog[hidden] { display:none; }
#ug-mega-overlay .ug-dialog {
  position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:18px;
}
#ug-mega-overlay .ug-dialog-backdrop { position:absolute;inset:0;background:rgba(22,22,34,.68);backdrop-filter:blur(5px); }
#ug-mega-overlay .ug-dialog-card {
  position:relative;width:min(100%,34rem);max-height:min(90dvh,44rem);overflow:auto;
  padding:26px;border:1px solid var(--ug-line);border-radius:24px;background:var(--ug-paper);
  box-shadow:0 24px 80px rgba(0,0,0,.25);
}
#ug-mega-overlay .ug-dialog-close {
  flex:0 0 auto;width:36px;height:36px;border:1px solid var(--ug-line);border-radius:50%;
  display:grid;place-items:center;background:#fff;cursor:pointer;
}
#ug-mega-overlay .panel-transition { transition:opacity 220ms cubic-bezier(.16,1,.3,1),transform 220ms cubic-bezier(.16,1,.3,1); }
#ug-mega-overlay .panel-switching { opacity:0!important;transform:translateY(6px) scale(.995)!important; }
#ug-mega-overlay .stagger-card { animation:ugCardIn 300ms cubic-bezier(.16,1,.3,1) both; }
#ug-mega-overlay .case-panel-fade { animation:ugCaseIn 320ms cubic-bezier(.16,1,.3,1) both; }
@keyframes ugCardIn { from { opacity:0;transform:translateY(10px) scale(.99); } to { opacity:1;transform:translateY(0) scale(1); } }
@keyframes ugCaseIn { from { opacity:0;transform:translateY(8px); } to { opacity:1;transform:translateY(0); } }
#ug-mega-overlay .service-card-item { transition:background-color .22s, border-color .22s, transform .22s, box-shadow .22s; }
#ug-mega-overlay .service-card-item:hover { background:#fff!important;border-color:rgba(123,44,191,.45)!important;transform:translateY(-2px);box-shadow:0 10px 24px -8px rgba(123,44,191,.14); }
#ug-mega-overlay .orange-link { color:#ff6b35; }
#ug-mega-overlay a[href="#contact"] { cursor:pointer; }
body.ug-menu-lock { overflow:hidden !important; }
/* :has() also covers menu cards inserted after the page's cursor listeners ran.
   Interactive elements keep a black dot and pink outline, even on dark panels. */
@media (hover:hover) and (pointer:fine) and (min-width:768px) {
  #ug-mega-overlay, #ug-mega-overlay *,
  #siteHeader [data-ug-mode-trigger], #siteHeader [data-ug-mode-trigger] * {
    cursor:none!important;
  }
  body:has(#ug-mega-overlay:hover) #cursorDot {
    background-color:#201d30!important;
    width:8px!important;height:8px!important;opacity:1!important;
  }
  body:has(#ug-mega-overlay:hover) #cursorOutline {
    width:36px!important;height:36px!important;
    border-color:rgba(32,29,48,.45)!important;
    background-color:transparent!important;
  }
  body:has(#ug-mega-overlay:hover) .custom-cursor-badge { display:none!important; }
  body:has(#ug-mega-overlay .ug-case:hover) #cursorDot {
    background-color:#fff!important;
  }
  body:has(#ug-mega-overlay .ug-case:hover) #cursorOutline {
    border-color:rgba(255,255,255,.85)!important;
  }
  body:has(#ug-mega-overlay :is(a[href],button:not(:disabled),[role="button"],input,textarea,select):hover) #cursorDot,
  body:has(#siteHeader [data-ug-mode-trigger]:hover) #cursorDot {
    background-color:#000!important;
    width:5px!important;height:5px!important;opacity:1!important;
  }
  body:has(#ug-mega-overlay :is(a[href],button:not(:disabled),[role="button"],input,textarea,select):hover) #cursorOutline,
  body:has(#siteHeader [data-ug-mode-trigger]:hover) #cursorOutline {
    width:54px!important;height:54px!important;
    border-color:#ff1f8f!important;
    background-color:rgba(255,31,143,.12)!important;
  }
}
#siteHeader nav[aria-label="Основная навигация"] { gap:8px; }
@media (max-width:359px) {
  html { overflow-x:clip; }
  #siteHeader > div { gap:8px; padding-left:16px; padding-right:16px; }
  #siteHeader > div > a { font-size:18px; }
  #siteHeader > div > div:last-child { gap:8px; }
}
#siteHeader nav[aria-label="Основная навигация"] > :is(a,button) {
  display:inline-flex;
  align-items:center;
  padding:10px 13px;
  white-space:nowrap;
}
#siteHeader [data-ug-mode-trigger] {
  display:inline-flex; align-items:center; gap:7px; padding:10px 13px;
  border:0; border-radius:999px; background:transparent; box-shadow:none;
  transition:background-color .2s,color .2s;
}
#siteHeader .ug-nav-active {
  color:#7b2cbf!important;
  background:linear-gradient(110deg,rgba(123,44,191,.12),rgba(255,31,143,.07));
}
#siteHeader [data-ug-mode-trigger]::after,
#ug-mega-overlay :is(#nav-btn-ru,#nav-btn-intl,#nav-btn-education)::after {
  content:none;
}
#siteHeader .ug-nav-active iconify-icon { color:#7b2cbf!important; transform:rotate(180deg); }
#ug-mega-overlay #directions-list .dir-btn > div { min-width:0; }
#ug-mega-overlay #directions-list .dir-icon-box,
#ug-mega-overlay #directions-list .dir-arrow { flex-shrink:0; }
#ug-mega-overlay #directions-list .dir-title { flex-wrap:wrap; }
#ug-mega-overlay #directions-list .dir-title > span { white-space:nowrap; flex-shrink:0; }
@media (min-width:1024px) {
  #ug-mega-overlay[data-mode="intl"] .ug-content { grid-template-columns:264px minmax(360px,1fr) 320px; }
  #ug-mega-overlay[data-mode="intl"] .ug-directions { padding:16px 14px; }
  #ug-mega-overlay[data-mode="intl"] #directions-list .dir-btn { padding:9px 10px; }
  #ug-mega-overlay[data-mode="intl"] #directions-list .dir-title { font-size:13px;line-height:18px; }
  #ug-mega-overlay[data-mode="intl"] #directions-list .dir-subtitle { font-size:10px;line-height:14px; }
  #ug-mega-overlay[data-mode="intl"] #directions-list .dir-icon-box { width:28px;height:28px; }
  #ug-mega-overlay[data-mode="intl"] .ug-directions > .pt-4 { padding-top:10px;margin-top:10px; }
  #ug-mega-overlay[data-mode="intl"] .ug-case { padding:18px; }
  #ug-mega-overlay[data-mode="intl"] .ug-case :is(h2,.text-2xl) { font-size:20px;line-height:1.25; }
  #ug-mega-overlay[data-mode="intl"] .ug-case p { line-height:1.5; }
  #ug-mega-overlay[data-mode="intl"] .ug-case .mb-5 { margin-bottom:14px; }
  #ug-mega-overlay[data-mode="intl"] .ug-case .mt-6 { margin-top:16px; }
  #ug-mega-overlay[data-mode="intl"] .ug-case .pt-5 { padding-top:14px; }
}
@media (max-width: 767px) {
  #ug-mega-overlay { inset:0; }
  #ug-mega-overlay .ug-scrim { background:rgba(22,22,34,.48);backdrop-filter:blur(4px); }
  #ug-mega-overlay .ug-frame {
    width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;
    overflow:auto;padding-bottom:env(safe-area-inset-bottom);
  }
  #ug-mega-overlay .ug-modebar { padding:calc(env(safe-area-inset-top) + 10px) 14px 12px; }
  #ug-mega-overlay .ug-modes { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:1; }
  #ug-mega-overlay :is(.ug-mode,#nav-btn-ru,#nav-btn-intl,#nav-btn-education) { min-height:46px;justify-content:center;padding:7px 4px;font-size:11px; }
  #ug-mega-overlay .ug-close { width:42px;height:42px; }
  #ug-mega-overlay .ug-content { display:flex;flex-direction:column;min-height:0; }
  #ug-mega-overlay .ug-directions { padding:16px 16px 14px;border-right:0;border-bottom:1px solid var(--ug-line); }
  #ug-mega-overlay .ug-main { padding:19px 16px; }
  #ug-mega-overlay .ug-case { padding:21px 18px 16px;min-height:260px; }
  #ug-mega-overlay .ug-dialog { padding:12px; }
  #ug-mega-overlay .ug-dialog-card { padding:22px; }
  #ug-mega-overlay.ug-open .ug-frame { animation-name:ugMobileReveal; }
  #ug-mega-overlay :is(#nav-btn-ru,#nav-btn-intl,#nav-btn-education)::after { width:12px;height:12px; }
}
@keyframes ugMobileReveal {
  from { opacity:0;transform:translateY(24px); }
  to { opacity:1;transform:translateY(0); }
}
#ug-mega-overlay #ug-mobile-back { display:none; }
#mobileMenuPanel > .space-y-6 > .flex > span > span {
  color:#201d30;
  font-weight:500;
}
#mobileMenuPanel > .space-y-6 > .flex > span::after {
  content:".";
  color:#ff6b35;
}
@media (max-width:1023px) {
  #mobileMenuPanel .space-y-2:has(.mobile-lang-btn),
  #ug-mega-overlay .ug-service-meta,
  #ug-mega-overlay .ug-service-description { display:none; }
  #ug-mega-overlay {
    inset:0;
    height:100dvh;
    height:100svh;
    height:100dvh;
    overflow:hidden;
  }
  #ug-mega-overlay .ug-scrim { background:rgba(22,22,34,.42);backdrop-filter:blur(3px); }
  #ug-mega-overlay .ug-frame {
    display:flex;
    flex-direction:column;
    width:100%;
    height:100dvh;
    height:100svh;
    height:100dvh;
    max-height:100dvh;
    margin:0;
    padding-bottom:env(safe-area-inset-bottom);
    overflow:auto;
    border:0;
    border-radius:0;
    box-shadow:none;
    overscroll-behavior:contain;
  }
  #ug-mega-overlay .ug-modebar {
    flex:none;
    gap:8px;
    padding:calc(env(safe-area-inset-top) + 10px) max(14px, env(safe-area-inset-right)) 12px max(14px, env(safe-area-inset-left));
  }
  #ug-mega-overlay .ug-modes { display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr) minmax(0,1fr);gap:4px;flex:1;min-width:0; }
  #ug-mega-overlay :is(.ug-mode,#nav-btn-ru,#nav-btn-intl,#nav-btn-education) {
    min-width:0;min-height:48px;justify-content:center;padding:7px 5px;
    font-size:11px;line-height:1.25;text-align:center;overflow-wrap:normal;word-break:normal;
  }
  #ug-mega-overlay .ug-close { width:46px;height:46px; }
  #ug-mega-overlay .ug-content {
    display:flex;
    flex:1 0 auto;
    flex-direction:column;
    min-height:0;
    background:#fafafa;
  }
  #ug-mega-overlay .ug-directions { padding:18px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left));border:0; }
  #ug-mega-overlay .ug-main { min-width:0;padding:20px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left)); }
  #ug-mega-overlay .ug-case { min-height:0;padding:21px max(18px, env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
  #ug-mega-overlay #directions-list { display:grid;gap:7px; }
  #ug-mega-overlay .ug-dir-btn,
  #ug-mega-overlay #directions-list .dir-btn { min-height:64px !important; }
  #ug-mega-overlay #directions-list .dir-btn { padding:12px !important; }
  #ug-mega-overlay #directions-list .dir-title { white-space:normal;line-height:1.35; }
  #ug-mega-overlay #directions-list .dir-btn > div { min-width:0;flex:1; }
  #ug-mega-overlay #directions-list .dir-subtitle,
  #ug-mega-overlay .ug-main,
  #ug-mega-overlay .ug-case { overflow-wrap:anywhere; }
  #ug-mega-overlay #directions-list .dir-title > span { white-space:nowrap; }
  #ug-mega-overlay #directions-list .dir-subtitle { line-height:1.4; }
  #ug-mega-overlay .ug-heading { flex-wrap:wrap;align-items:center; }
  #ug-mega-overlay #ug-mobile-back {
    appearance:none;
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:46px;
    margin:-4px 0 10px;
    padding:0 4px;
    border:0;
    background:transparent;
    color:#7b2cbf;
    font:600 13px Manrope,sans-serif;
    cursor:pointer;
  }
  #ug-mega-overlay #ug-mobile-back[aria-hidden="true"] { display:none; }
  #ug-mega-overlay #ug-mobile-back iconify-icon { font-size:17px; }
  #ug-mega-overlay[data-mobile-stage="directions"] .ug-main,
  #ug-mega-overlay[data-mobile-stage="directions"] .ug-case { display:none; }
  #ug-mega-overlay[data-mobile-stage="detail"] .ug-directions { display:block;padding-bottom:0;border:0; }
  #ug-mega-overlay[data-mobile-stage="detail"] #directions-list,
  #ug-mega-overlay[data-mobile-stage="detail"] .ug-directions > .pt-4 { display:none; }
  #ug-mega-overlay[data-mobile-stage="detail"] .ug-heading > span { display:none; }
  #ug-mega-overlay[data-mobile-stage="detail"] .ug-main,
  #ug-mega-overlay[data-mobile-stage="detail"] .ug-case { display:block; }
  #ug-mega-overlay[data-mobile-stage="detail"] .ug-content { flex:0 0 auto; }
  #ug-mega-overlay #subservices-container { min-height:0; }
  #ug-mega-overlay #subservices-bottom-bar { line-height:1.55; }
  #ug-mega-overlay .service-card-item { min-height:64px; }
  #ug-mega-overlay .ug-dialog { padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
  #ug-mega-overlay .ug-dialog-card { width:100%;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:22px; }
  #mobileMenuDrawer { height:100dvh; padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom); }
  #mobileMenuPanel {
    width:min(420px, 100vw);
    height:100%;
    max-height:100dvh;
    padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    overflow:auto;
    overscroll-behavior:contain;
  }
  #mobileMenuToggle,
  #mobileMenuClose { width:46px;height:46px;min-width:46px;min-height:46px; }
  #mobileMenuDrawer .mobile-lang-btn { min-height:44px; }
  #mobileMenuDrawer .mobile-nav-link { min-height:48px; }
  #mobileMenuDrawer a[href="#contact"] { min-height:48px; }
}
@media (max-width:359px) {
  #ug-mega-overlay .ug-modebar { gap:5px;padding-left:max(10px, env(safe-area-inset-left));padding-right:max(10px, env(safe-area-inset-right)); }
  #ug-mega-overlay :is(.ug-mode,#nav-btn-ru,#nav-btn-intl,#nav-btn-education) { padding-inline:2px;font-size:11px; }
  #ug-mega-overlay .ug-close { width:44px;height:44px; }
  #ug-mega-overlay .ug-directions,
  #ug-mega-overlay .ug-main { padding-left:12px;padding-right:12px; }
}
@media (prefers-reduced-motion:reduce) {
  html.scroll-smooth { scroll-behavior: auto !important; }
  #ug-mega-overlay *, #ug-mega-overlay *:before, #ug-mega-overlay *:after {
    animation-duration:.01ms!important;transition-duration:.01ms!important;
  }
}
