/* AsiaEstate header navigation */

.ae-header-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    z-index: 9995;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(-50%);
    pointer-events: auto;
}

.ae-header-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #17233d;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
    white-space: nowrap;
    transition: color .18s ease, opacity .18s ease;
}

.ae-header-nav a:hover {
    color: #0f172a;
    text-decoration: none;
    opacity: .78;
}

/* On home hero header is transparent, links should be white */
body.ae-home-body .ae-header-nav a {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}

body.ae-home-body .ae-header-nav a:hover {
    color: #ffffff;
    opacity: .82;
}

@media (max-width: 991px) {
    .ae-header-nav {
        top: 24px;
        left: auto;
        right: 18px;
        gap: 16px;
        transform: none;
    }

    .ae-header-nav a {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .ae-header-nav {
        top: 22px;
        right: 12px;
        gap: 10px;
    }

    .ae-header-nav a {
        font-size: 11.5px;
        font-weight: 850;
    }
}

/* AsiaEstate mobile burger menu */
.ae-mobile-burger {
    display: none;
}

.ae-mobile-menu {
    display: none;
}

@media (max-width: 767px) {
    .ae-header-nav {
        display: none !important;
    }

    .ae-mobile-burger {
        position: fixed !important;
        top: 15px !important;
        right: 14px !important;
        z-index: 10020 !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 42px !important;
        height: 42px !important;
        border: 1px solid rgba(23, 35, 61, .12) !important;
        border-radius: 11px !important;
        background: rgba(255, 255, 255, .92) !important;
        box-shadow: 0 10px 26px rgba(15, 23, 42, .10) !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    .ae-mobile-burger span {
        display: block !important;
        width: 18px !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: #17233d !important;
        transition: transform .18s ease, opacity .18s ease !important;
    }

    body.ae-home-body .ae-mobile-burger {
        background: rgba(15, 23, 42, .34) !important;
        border-color: rgba(255, 255, 255, .18) !important;
        backdrop-filter: blur(14px) saturate(130%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
        box-shadow: none !important;
    }

    body.ae-home-body .ae-mobile-burger span {
        background: #ffffff !important;
    }

    body.ae-mobile-menu-open .ae-mobile-burger span:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
    }

    body.ae-mobile-menu-open .ae-mobile-burger span:nth-child(2) {
        opacity: 0 !important;
    }

    body.ae-mobile-menu-open .ae-mobile-burger span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
    }

    .ae-mobile-menu {
        position: fixed !important;
        top: 64px !important;
        right: 14px !important;
        left: 14px !important;
        z-index: 10010 !important;
        display: grid !important;
        gap: 8px !important;
        padding: 12px !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, .96) !important;
        border: 1px solid rgba(15, 23, 42, .08) !important;
        box-shadow: 0 18px 50px rgba(15, 23, 42, .18) !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        pointer-events: none !important;
        transition: opacity .18s ease, transform .18s ease !important;
    }

    body.ae-mobile-menu-open .ae-mobile-menu {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    .ae-mobile-menu a {
        display: flex !important;
        align-items: center !important;
        min-height: 46px !important;
        padding: 12px 14px !important;
        border-radius: 11px !important;
        background: #f6f8fb !important;
        color: #17233d !important;
        text-decoration: none !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        font-weight: 850 !important;
    }

    .ae-mobile-menu a:active {
        background: #eef2f7 !important;
    }
}

/* AsiaEstate: hide native Resido mobile header artifacts on home */
@media (max-width: 767px) {
    body.ae-home-body .header,
    body.ae-home-body .header.header-light,
    body.ae-home-body .main-header,
    body.ae-home-body .site-header,
    body.ae-home-body #header,
    body.ae-home-body .nav-menu,
    body.ae-home-body .navbar,
    body.ae-home-body .navbar-area,
    body.ae-home-body .header-inner,
    body.ae-home-body .header-wrap,
    body.ae-home-body .menu-wrapper,
    body.ae-home-body .main-menu {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        border-bottom: 0 !important;
        min-height: 0 !important;
    }

    /* Убираем синие/цветные полосы и старые мобильные кнопки темы */
    body.ae-home-body .mobile_nav,
    body.ae-home-body .mobile-nav,
    body.ae-home-body .mobile-menu,
    body.ae-home-body .mobile-menu-trigger,
    body.ae-home-body .menu-toggle,
    body.ae-home-body .navbar-toggler,
    body.ae-home-body .hamburger,
    body.ae-home-body .nav-toggle,
    body.ae-home-body .btn-show-menu,
    body.ae-home-body .show-mobile-menu,
    body.ae-home-body .header-menu-button,
    body.ae-home-body .navigation-portrait,
    body.ae-home-body .submenu-indicator,
    body.ae-home-body .nav-menus-wrapper {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    /* Наш бургер оставляем */
    body.ae-home-body .ae-mobile-burger {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 42px !important;
        height: 42px !important;
    }

    body.ae-home-body .ae-mobile-menu {
        visibility: visible !important;
    }

    /* Убираем возможную полоску под бургером */
    body.ae-home-body .header::before,
    body.ae-home-body .header::after,
    body.ae-home-body .main-header::before,
    body.ae-home-body .main-header::after,
    body.ae-home-body .site-header::before,
    body.ae-home-body .site-header::after,
    body.ae-home-body #header::before,
    body.ae-home-body #header::after,
    body.ae-home-body .nav-menu::before,
    body.ae-home-body .nav-menu::after {
        display: none !important;
        content: none !important;
        background: transparent !important;
        border: 0 !important;
    }
}

/* AsiaEstate: remove native Resido header artifacts on home desktop too */
body.ae-home-body .header,
body.ae-home-body .header.header-light,
body.ae-home-body .main-header,
body.ae-home-body .site-header,
body.ae-home-body #header,
body.ae-home-body .header-inner,
body.ae-home-body .header-fixed,
body.ae-home-body .header-wrap,
body.ae-home-body .navbar,
body.ae-home-body .navbar-area,
body.ae-home-body .navigation,
body.ae-home-body .nav-menu,
body.ae-home-body .main-menu,
body.ae-home-body .menu-wrapper {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
}

/* Убираем полосы/заливки через псевдоэлементы */
body.ae-home-body .header::before,
body.ae-home-body .header::after,
body.ae-home-body .main-header::before,
body.ae-home-body .main-header::after,
body.ae-home-body .site-header::before,
body.ae-home-body .site-header::after,
body.ae-home-body #header::before,
body.ae-home-body #header::after,
body.ae-home-body .navigation::before,
body.ae-home-body .navigation::after,
body.ae-home-body .nav-menu::before,
body.ae-home-body .nav-menu::after,
body.ae-home-body .navbar::before,
body.ae-home-body .navbar::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Скрываем старые элементы меню темы на главной, чтобы не было синей полосы/дублей */
body.ae-home-body .nav-menus-wrapper,
body.ae-home-body .navigation-portrait,
body.ae-home-body .navbar-toggler,
body.ae-home-body .menu-toggle,
body.ae-home-body .mobile_nav,
body.ae-home-body .mobile-nav,
body.ae-home-body .mobile-menu-trigger,
body.ae-home-body .hamburger,
body.ae-home-body .nav-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* Нашу навигацию и бургер не трогаем */
body.ae-home-body .ae-header-nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 767px) {
    body.ae-home-body .ae-header-nav {
        display: none !important;
    }

    body.ae-home-body .ae-mobile-burger {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* AsiaEstate: remove native Resido topbar on custom home page */
body.ae-home-body .topbar,
body.ae-home-body .topbar.bg-brand,
body.ae-home-body .topbar-right,
body.ae-home-body .currency-wrapper,
body.ae-home-body .topbar-wishlist {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* AsiaEstate: keep custom header fixed on home and newbuilds */
body.ae-home-body .ae-header-nav,
body.ae-newbuilds-body .ae-header-nav {
    position: fixed !important;
    top: 25px !important;
    left: 50% !important;
    right: auto !important;
    z-index: 10020 !important;
    transform: translateX(-50%) !important;
}

/* Native header shell stays fixed/transparent and does not scroll as content */
body.ae-home-body .header,
body.ae-home-body .main-header,
body.ae-home-body .site-header,
body.ae-home-body #header,
body.ae-newbuilds-body .header,
body.ae-newbuilds-body .main-header,
body.ae-newbuilds-body .site-header,
body.ae-newbuilds-body #header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9990 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Keep mobile burger fixed too */
@media (max-width: 767px) {
    body.ae-home-body .ae-header-nav,
    body.ae-newbuilds-body .ae-header-nav {
        display: none !important;
    }

    body.ae-home-body .ae-mobile-burger,
    body.ae-newbuilds-body .ae-mobile-burger {
        position: fixed !important;
        top: 15px !important;
        right: 14px !important;
        z-index: 10030 !important;
    }

    body.ae-home-body .ae-mobile-menu,
    body.ae-newbuilds-body .ae-mobile-menu {
        position: fixed !important;
        top: 64px !important;
        left: 14px !important;
        right: 14px !important;
        z-index: 10025 !important;
    }
}

/* AsiaEstate: header visible on hero top, hidden after scroll */
body.ae-home-body .ae-header-nav,
body.ae-newbuilds-body .ae-header-nav,
body.ae-home-body .ae-mobile-burger,
body.ae-newbuilds-body .ae-mobile-burger {
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
}

body.ae-header-hidden.ae-home-body .ae-header-nav,
body.ae-header-hidden.ae-newbuilds-body .ae-header-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(-80px) !important;
}

body.ae-header-hidden.ae-home-body .ae-mobile-burger,
body.ae-header-hidden.ae-newbuilds-body .ae-mobile-burger {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-80px) !important;
}

body.ae-header-hidden.ae-home-body .ae-mobile-menu,
body.ae-header-hidden.ae-newbuilds-body .ae-mobile-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-14px) !important;
}

/* AsiaEstate: force-hide header after scroll on home/newbuilds */
body.ae-home-body .ae-header-nav,
body.ae-newbuilds-body .ae-header-nav,
body.ae-home-body .ae-mobile-burger,
body.ae-newbuilds-body .ae-mobile-burger,
body.ae-home-body .header,
body.ae-newbuilds-body .header,
body.ae-home-body .main-header,
body.ae-newbuilds-body .main-header,
body.ae-home-body .site-header,
body.ae-newbuilds-body .site-header,
body.ae-home-body #header,
body.ae-newbuilds-body #header {
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
}

body.ae-header-hidden.ae-home-body .ae-header-nav,
body.ae-header-hidden.ae-newbuilds-body .ae-header-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(-90px) !important;
}

body.ae-header-hidden.ae-home-body .ae-mobile-burger,
body.ae-header-hidden.ae-newbuilds-body .ae-mobile-burger {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-90px) !important;
}

body.ae-header-hidden.ae-home-body .ae-mobile-menu,
body.ae-header-hidden.ae-newbuilds-body .ae-mobile-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-20px) !important;
}

body.ae-header-hidden.ae-home-body .header,
body.ae-header-hidden.ae-newbuilds-body .header,
body.ae-header-hidden.ae-home-body .main-header,
body.ae-header-hidden.ae-newbuilds-body .main-header,
body.ae-header-hidden.ae-home-body .site-header,
body.ae-header-hidden.ae-newbuilds-body .site-header,
body.ae-header-hidden.ae-home-body #header,
body.ae-header-hidden.ae-newbuilds-body #header {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-90px) !important;
}

/* AsiaEstate: transparent header over project detail photo hero */
body.ae-project-detail-body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.ae-project-detail-body .topbar,
body.ae-project-detail-body .topbar.bg-brand,
body.ae-project-detail-body .topbar-right,
body.ae-project-detail-body .currency-wrapper,
body.ae-project-detail-body .topbar-wishlist {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.ae-project-detail-body .header,
body.ae-project-detail-body .header.header-light,
body.ae-project-detail-body .main-header,
body.ae-project-detail-body .site-header,
body.ae-project-detail-body #header,
body.ae-project-detail-body .header-inner,
body.ae-project-detail-body .header-fixed,
body.ae-project-detail-body .header-wrap,
body.ae-project-detail-body .navbar,
body.ae-project-detail-body .navbar-area,
body.ae-project-detail-body .navigation,
body.ae-project-detail-body .nav-menu,
body.ae-project-detail-body .main-menu,
body.ae-project-detail-body .menu-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9990 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
}

body.ae-project-detail-body .header::before,
body.ae-project-detail-body .header::after,
body.ae-project-detail-body .main-header::before,
body.ae-project-detail-body .main-header::after,
body.ae-project-detail-body .site-header::before,
body.ae-project-detail-body .site-header::after,
body.ae-project-detail-body #header::before,
body.ae-project-detail-body #header::after,
body.ae-project-detail-body .navigation::before,
body.ae-project-detail-body .navigation::after,
body.ae-project-detail-body .nav-menu::before,
body.ae-project-detail-body .nav-menu::after,
body.ae-project-detail-body .navbar::before,
body.ae-project-detail-body .navbar::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    border: 0 !important;
}

body.ae-project-detail-body .nav-menus-wrapper,
body.ae-project-detail-body .navigation-portrait,
body.ae-project-detail-body .navbar-toggler,
body.ae-project-detail-body .menu-toggle,
body.ae-project-detail-body .mobile_nav,
body.ae-project-detail-body .mobile-nav,
body.ae-project-detail-body .mobile-menu-trigger,
body.ae-project-detail-body .hamburger,
body.ae-project-detail-body .nav-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* White custom nav over project image */
body.ae-project-detail-body .ae-header-nav {
    position: fixed !important;
    top: 25px !important;
    left: 50% !important;
    right: auto !important;
    z-index: 10020 !important;
    transform: translateX(-50%) !important;
}

body.ae-project-detail-body .ae-header-nav a {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .28) !important;
}

body.ae-project-detail-body .ae-header-nav a:hover {
    color: #ffffff !important;
    opacity: .82 !important;
}

/* Hide header after scroll on project detail pages */
body.ae-project-detail-body .ae-header-nav,
body.ae-project-detail-body .ae-mobile-burger,
body.ae-project-detail-body .header,
body.ae-project-detail-body .main-header,
body.ae-project-detail-body .site-header,
body.ae-project-detail-body #header {
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
}

body.ae-header-hidden.ae-project-detail-body .ae-header-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(-90px) !important;
}

body.ae-header-hidden.ae-project-detail-body .ae-mobile-burger {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-90px) !important;
}

body.ae-header-hidden.ae-project-detail-body .ae-mobile-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-20px) !important;
}

body.ae-header-hidden.ae-project-detail-body .header,
body.ae-header-hidden.ae-project-detail-body .main-header,
body.ae-header-hidden.ae-project-detail-body .site-header,
body.ae-header-hidden.ae-project-detail-body #header {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-90px) !important;
}

@media (max-width: 767px) {
    body.ae-project-detail-body .ae-header-nav {
        display: none !important;
    }

    body.ae-project-detail-body .ae-mobile-burger {
        position: fixed !important;
        top: 15px !important;
        right: 14px !important;
        z-index: 10030 !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 42px !important;
        height: 42px !important;
        background: rgba(15, 23, 42, .34) !important;
        border-color: rgba(255, 255, 255, .18) !important;
        backdrop-filter: blur(14px) saturate(130%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
        box-shadow: none !important;
    }

    body.ae-project-detail-body .ae-mobile-burger span {
        background: #ffffff !important;
    }

    body.ae-project-detail-body .ae-mobile-menu {
        position: fixed !important;
        top: 64px !important;
        left: 14px !important;
        right: 14px !important;
        z-index: 10025 !important;
    }
}

/* AsiaEstate: animated scroll down cue */
.ae-scroll-cue {
    position: fixed !important;
    left: 50% !important;
    bottom: 30px !important;
    z-index: 10010 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;

    border: 1px solid rgba(255, 255, 255, .24) !important;
    background: rgba(15, 23, 42, .28) !important;
    color: #ffffff !important;

    box-shadow: 0 16px 38px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(14px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(130%) !important;

    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateX(-50%) translateY(10px) !important;
    transition: opacity .24s ease, visibility .24s ease, transform .24s ease, background .18s ease, border-color .18s ease !important;
}

body.ae-scroll-cue-visible.ae-home-body .ae-scroll-cue,
body.ae-scroll-cue-visible.ae-newbuilds-body .ae-scroll-cue,
body.ae-scroll-cue-visible.ae-project-detail-body .ae-scroll-cue {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
    animation: aeScrollCueFloat 1.65s ease-in-out infinite !important;
}

body.ae-header-hidden .ae-scroll-cue {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(18px) !important;
    animation: none !important;
}

.ae-scroll-cue:hover {
    background: rgba(15, 23, 42, .42) !important;
    border-color: rgba(255, 255, 255, .34) !important;
}

.ae-scroll-cue span {
    display: block !important;
    width: 13px !important;
    height: 13px !important;
    border-right: 2px solid #ffffff !important;
    border-bottom: 2px solid #ffffff !important;
    transform: rotate(45deg) translate(-2px, -2px) !important;
}

@keyframes aeScrollCueFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@media (max-width: 767px) {
    .ae-scroll-cue {
        bottom: 22px !important;
        width: 42px !important;
        height: 42px !important;
        background: rgba(15, 23, 42, .34) !important;
    }

    .ae-scroll-cue span {
        width: 12px !important;
        height: 12px !important;
    }
}

/* AsiaEstate: scroll cue as simple animated arrow, no circle */
.ae-scroll-cue {
    width: 42px !important;
    height: 42px !important;
    bottom: 32px !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    transform: translateX(-50%) !important;
}

body.ae-scroll-cue-visible.ae-home-body .ae-scroll-cue,
body.ae-scroll-cue-visible.ae-newbuilds-body .ae-scroll-cue,
body.ae-scroll-cue-visible.ae-project-detail-body .ae-scroll-cue {
    transform: translateX(-50%) !important;
    animation: none !important;
}

.ae-scroll-cue:hover {
    background: transparent !important;
    border: 0 !important;
}

.ae-scroll-cue span {
    width: 18px !important;
    height: 18px !important;
    border-right: 2px solid rgba(255, 255, 255, .95) !important;
    border-bottom: 2px solid rgba(255, 255, 255, .95) !important;
    transform: rotate(45deg) !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)) !important;
    animation: aeScrollArrowBounce 1.15s cubic-bezier(.45, 0, .25, 1) infinite !important;
}

@keyframes aeScrollArrowBounce {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: .45;
    }

    35% {
        transform: rotate(45deg) translate(7px, 7px);
        opacity: 1;
    }

    70% {
        transform: rotate(45deg) translate(0, 0);
        opacity: .65;
    }

    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: .45;
    }
}

@media (max-width: 767px) {
    .ae-scroll-cue {
        bottom: 24px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .ae-scroll-cue span {
        width: 16px !important;
        height: 16px !important;
    }
}

/* AsiaEstate header: 3 navigation links */
.ae-header-nav {
    gap: 24px !important;
}

@media (max-width: 991px) {
    .ae-header-nav {
        gap: 14px !important;
    }

    .ae-header-nav a {
        font-size: 12.5px !important;
    }
}

/* =========================================================
   AsiaEstate: hide default Resido/Botble footer on public pages
   ========================================================= */

body.ae-home-body footer.dark-footer,
body.ae-home-body .dark-footer,
body.ae-newbuilds-body footer.dark-footer,
body.ae-newbuilds-body .dark-footer,
body.ae-project-detail-body footer.dark-footer,
body.ae-project-detail-body .dark-footer,
body.ae-cottages-body footer.dark-footer,
body.ae-cottages-body .dark-footer,
body.ae-property-detail-body footer.dark-footer,
body.ae-property-detail-body .dark-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Кнопка Back to top от стандартной темы тоже не нужна */
body.ae-home-body #back2Top,
body.ae-newbuilds-body #back2Top,
body.ae-project-detail-body #back2Top,
body.ae-cottages-body #back2Top,
body.ae-property-detail-body #back2Top {
    display: none !important;
}

/* =========================================================
   AsiaEstate custom footer
   ========================================================= */

body.ae-home-body footer.dark-footer,
body.ae-home-body .dark-footer,
body.ae-newbuilds-body footer.dark-footer,
body.ae-newbuilds-body .dark-footer,
body.ae-project-detail-body footer.dark-footer,
body.ae-project-detail-body .dark-footer,
body.ae-cottages-body footer.dark-footer,
body.ae-cottages-body .dark-footer,
body.ae-property-detail-body footer.dark-footer,
body.ae-property-detail-body .dark-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

body.ae-home-body #back2Top,
body.ae-newbuilds-body #back2Top,
body.ae-project-detail-body #back2Top,
body.ae-cottages-body #back2Top,
body.ae-property-detail-body #back2Top {
    display: none !important;
}

.ae-site-footer {
    position: relative;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(135deg, #121b31 0%, #17233d 48%, #0f1728 100%);
    color: #ffffff;
    padding: 46px 0 26px;
    font-family: var(--font-body, Muli, sans-serif);
    overflow: hidden;
}

.ae-site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
    pointer-events: none;
}

.ae-site-footer .container {
    position: relative;
    z-index: 2;
}

.ae-site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.ae-site-footer__brand {
    max-width: 520px;
}

.ae-site-footer__logo {
    display: inline-flex;
    align-items: center;
    color: #ffffff !important;
    font-family: var(--font-heading, Jost, sans-serif);
    font-size: 30px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    margin-bottom: 14px;
}

.ae-site-footer__brand p {
    margin: 0;
    color: rgba(255,255,255,0.74);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
}

.ae-site-footer__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 520px;
}

.ae-site-footer__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: rgba(255,255,255,0.88) !important;
    font-family: var(--font-heading, Jost, sans-serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    transition: all .2s ease;
}

.ae-site-footer__nav a:hover {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.34);
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

.ae-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 20px;
    color: rgba(255,255,255,0.58);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .ae-site-footer {
        padding: 38px 0 24px;
    }

    .ae-site-footer__inner {
        flex-direction: column;
        gap: 24px;
    }

    .ae-site-footer__nav {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .ae-site-footer {
        padding: 34px 0 22px;
    }

    .ae-site-footer__logo {
        font-size: 26px;
    }

    .ae-site-footer__brand p {
        font-size: 14px;
        line-height: 1.6;
    }

    .ae-site-footer__nav {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 10px;
    }

    .ae-site-footer__nav a {
        width: 100%;
        min-height: 44px;
        font-size: 15px;
    }

    .ae-site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* =========================================================
   AsiaEstate: use home hero footer on inner pages
   ========================================================= */

body.ae-newbuilds-body footer.dark-footer,
body.ae-newbuilds-body .dark-footer,
body.ae-project-detail-body footer.dark-footer,
body.ae-project-detail-body .dark-footer,
body.ae-cottages-body footer.dark-footer,
body.ae-cottages-body .dark-footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* На внутренних страницах футер не абсолютный, а обычный нижний блок */
body.ae-newbuilds-body > .ae-home-hero-footer,
body.ae-project-detail-body > .ae-home-hero-footer,
body.ae-cottages-body > .ae-home-hero-footer,
body.ae-newbuilds-body #main-wrapper > .ae-home-hero-footer,
body.ae-project-detail-body #main-wrapper > .ae-home-hero-footer,
body.ae-cottages-body #main-wrapper > .ae-home-hero-footer {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 5 !important;
    width: 100% !important;
    padding: 18px 0 !important;
    background: #17233d !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    color: #ffffff !important;
}

.ae-home-hero-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ae-home-hero-footer__copy {
    color: rgba(255,255,255,.82);
    font-family: var(--font-body, Muli, sans-serif);
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}

.ae-home-hero-footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ae-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: var(--font-heading, Jost, sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    transition: all .2s ease;
}

.ae-social-link:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.28);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ae-social-link i {
    font-size: 15px;
    line-height: 1;
}

.ae-social-link--max img {
    width: 16px;
    height: 16px;
    display: block;
}

.ae-home-legal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #ffffff;
    font-family: var(--font-heading, Jost, sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.ae-home-legal-button:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.32);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    body.ae-newbuilds-body > .ae-home-hero-footer,
    body.ae-project-detail-body > .ae-home-hero-footer,
    body.ae-cottages-body > .ae-home-hero-footer,
    body.ae-newbuilds-body #main-wrapper > .ae-home-hero-footer,
    body.ae-project-detail-body #main-wrapper > .ae-home-hero-footer,
    body.ae-cottages-body #main-wrapper > .ae-home-hero-footer {
        padding: 18px 0 20px !important;
    }

    .ae-home-hero-footer__inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        text-align: center;
    }

    .ae-home-hero-footer__copy {
        white-space: normal;
        font-size: 13px;
    }

    .ae-home-hero-footer__socials {
        width: 100%;
        gap: 8px;
    }

    .ae-social-link {
        min-height: 36px;
        padding: 8px 11px;
        font-size: 13px;
    }

    .ae-home-legal-button {
        min-height: 36px;
        padding: 8px 13px;
        font-size: 13px;
    }
}

/* === AsiaEstate no footer outside home START === */

/*
   Главную страницу не трогаем.
   На всех остальных страницах убираем:
   - стандартный футер Resido
   - footer-bottom
   - кастомный ae-home-hero-footer, если он случайно подключён
*/

body:not(.ae-home-body) footer,
body:not(.ae-home-body) .dark-footer,
body:not(.ae-home-body) .skin-dark-footer,
body:not(.ae-home-body) .footer-bottom,
body:not(.ae-home-body) .ae-home-hero-footer,
body:not(.ae-home-body) .ae-site-footer,
body.ae-newbuilds-body footer,
body.ae-newbuilds-body .dark-footer,
body.ae-newbuilds-body .skin-dark-footer,
body.ae-newbuilds-body .footer-bottom,
body.ae-newbuilds-body .ae-home-hero-footer,
body.ae-newbuilds-body .ae-site-footer,
body.ae-project-detail-body footer,
body.ae-project-detail-body .dark-footer,
body.ae-project-detail-body .skin-dark-footer,
body.ae-project-detail-body .footer-bottom,
body.ae-project-detail-body .ae-home-hero-footer,
body.ae-project-detail-body .ae-site-footer,
body.ae-cottages-body footer,
body.ae-cottages-body .dark-footer,
body.ae-cottages-body .skin-dark-footer,
body.ae-cottages-body .footer-bottom,
body.ae-cottages-body .ae-home-hero-footer,
body.ae-cottages-body .ae-site-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* === AsiaEstate no footer outside home END === */

