/* AsiaEstate home page hero */

.ae-home-page {
    background: #ffffff;
}

.ae-home-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.ae-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .72) 0%, rgba(15, 23, 42, .46) 48%, rgba(15, 23, 42, .58) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, .72) 0%, rgba(15, 23, 42, .18) 56%, rgba(15, 23, 42, .42) 100%);
    z-index: 1;
}

.ae-home-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 96px 0 104px;
}

.ae-home-hero__content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.ae-home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .20);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 850;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ae-home-hero__title {
    margin: 0 auto 22px;
    max-width: 820px;
    color: #ffffff;
    font-size: 58px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.045em;
    text-transform: none;
}

.ae-home-hero__text {
    max-width: 650px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, .90);
    font-size: 18px;
    line-height: 1.62;
    font-weight: 550;
}

.ae-home-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ae-home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 850;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ae-home-hero__button--primary {
    background: #17233d;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

.ae-home-hero__button--primary:hover {
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .27);
}

.ae-home-hero__button--secondary {
    background: rgba(255, 255, 255, .92);
    color: #17233d;
    border: 1px solid rgba(255, 255, 255, .70);
}

.ae-home-hero__button--secondary:hover {
    background: #ffffff;
    color: #17233d;
    text-decoration: none;
    transform: translateY(-2px);
}

.ae-home-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
    margin: 42px auto 0;
}

.ae-home-hero__stat {
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(15, 23, 42, .54);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    text-align: left;
}

.ae-home-hero__stat strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.ae-home-hero__stat span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 700;
}

/* Fixed clean header on home page */
body .header,
body .header.header-light,
body .main-header,
body .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9990 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}

@media (max-width: 991px) {
    .ae-home-hero {
        min-height: auto;
    }

    .ae-home-hero__inner {
        padding: 150px 0 78px;
    }

    .ae-home-hero__title {
        max-width: 680px;
        font-size: 46px;
    }

    .ae-home-hero__text {
        font-size: 16px;
    }

    .ae-home-hero__stats {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
}

@media (max-width: 767px) {
    .ae-home-hero {
        align-items: flex-end;
        background-position: center;
    }

    .ae-home-hero__inner {
        padding: 220px 0 42px;
    }

    .ae-home-hero__content {
        text-align: left;
    }

    .ae-home-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
        border-radius: 8px;
    }

    .ae-home-hero__title {
        margin-bottom: 16px;
        font-size: 34px;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .ae-home-hero__text {
        margin-bottom: 22px;
        font-size: 14.5px;
        line-height: 1.58;
    }

    .ae-home-hero__actions {
        justify-content: flex-start;
        gap: 9px;
    }

    .ae-home-hero__button {
        width: 100%;
        min-height: 46px;
        border-radius: 8px;
        font-size: 14px;
    }

    .ae-home-hero__stats {
        margin-top: 24px;
        gap: 9px;
    }

    .ae-home-hero__stat {
        padding: 15px 16px;
        border-radius: 12px;
    }

    .ae-home-hero__stat strong {
        font-size: 21px;
    }
}

/* AsiaEstate home hero final first screen */
body.ae-home-body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

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 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9990 !important;
    background: rgba(255, 255, 255, .88) !important;
    backdrop-filter: blur(14px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}

.ae-home-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
}

.ae-home-hero {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: 100vh !important;
    height: 100svh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
}

.ae-home-hero__inner {
    width: 100% !important;
    padding: 108px 0 72px !important;
}

.ae-home-hero__eyebrow,
.ae-home-hero__stats,
.ae-home-hero__button--secondary {
    display: none !important;
}

.ae-home-hero__content {
    max-width: 830px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.ae-home-hero__title {
    margin: 0 auto 22px !important;
    max-width: 830px !important;
    color: #ffffff !important;
    font-size: 58px !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -0.045em !important;
    text-transform: none !important;
}

.ae-home-hero__text {
    max-width: 700px !important;
    margin: 0 auto 30px !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 18px !important;
    line-height: 1.62 !important;
    font-weight: 550 !important;
}

.ae-home-hero__actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.ae-home-hero__button--primary {
    background: #17233d !important;
    color: #ffffff !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22) !important;
}

.ae-home-hero__button--primary:hover {
    background: #0f172a !important;
    color: #ffffff !important;
}

.ae-home-next {
    padding: 76px 0 !important;
    background: #f6f8fb !important;
}

.ae-home-next__inner {
    max-width: 820px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.ae-home-next__inner h2 {
    margin: 0 0 14px !important;
    color: #17233d !important;
    font-size: 34px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
}

.ae-home-next__inner p {
    margin: 0 !important;
    color: #536174 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 550 !important;
}

@media (max-width: 991px) {
    .ae-home-hero__title {
        font-size: 46px !important;
    }

    .ae-home-hero__text {
        font-size: 16px !important;
    }
}

@media (max-width: 767px) {
    .ae-home-hero {
        align-items: flex-end !important;
        background-position: center !important;
    }

    .ae-home-hero__inner {
        padding: 190px 0 52px !important;
    }

    .ae-home-hero__content {
        text-align: left !important;
    }

    .ae-home-hero__title {
        margin-bottom: 16px !important;
        font-size: 34px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.04em !important;
    }

    .ae-home-hero__text {
        margin-bottom: 22px !important;
        font-size: 14.5px !important;
        line-height: 1.58 !important;
    }

    .ae-home-hero__actions {
        justify-content: flex-start !important;
    }

    .ae-home-hero__button {
        width: 100% !important;
        min-height: 46px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
    }

    .ae-home-next {
        padding: 48px 0 !important;
    }

    .ae-home-next__inner {
        text-align: left !important;
    }

    .ae-home-next__inner h2 {
        font-size: 26px !important;
    }

    .ae-home-next__inner p {
        font-size: 14px !important;
    }
}

/* AsiaEstate home: transparent header over hero */
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 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    z-index: 9990 !important;
}

body.ae-home-body .header *,
body.ae-home-body .main-header *,
body.ae-home-body .site-header *,
body.ae-home-body #header *,
body.ae-home-body .nav-menu * {
    border-top-color: transparent !important;
}

/* Если тема добавляет белую обёртку вокруг меню */
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 .main-menu,
body.ae-home-body .menu-wrapper {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Убираем возможный верхний отступ страницы */
body.ae-home-body,
body.ae-home-body .ae-home-page,
body.ae-home-body #app,
body.ae-home-body .main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.ae-home-body .ae-home-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* AsiaEstate home: mobile viewport fit */
@media (max-width: 767px) {
    .ae-home-hero {
        min-height: 100vh !important;
        min-height: 100svh !important;
        height: 100vh !important;
        height: 100svh !important;
        display: flex !important;
        align-items: stretch !important;
        background-position: center center !important;
    }

    .ae-home-hero__inner {
        min-height: 100vh !important;
        min-height: 100svh !important;
        width: 100% !important;
        display: flex !important;
        align-items: flex-end !important;
        padding: 92px 0 42px !important;
    }

    .ae-home-hero__content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    .ae-home-hero__title {
        max-width: 94% !important;
        font-size: clamp(30px, 9vw, 38px) !important;
        line-height: 1.06 !important;
        margin-bottom: 15px !important;
    }

    .ae-home-hero__text {
        max-width: 96% !important;
        font-size: 14.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 22px !important;
    }

    .ae-home-hero__button {
        width: 100% !important;
        min-height: 48px !important;
    }
}

@media (max-width: 390px) {
    .ae-home-hero__inner {
        padding-bottom: 34px !important;
    }

    .ae-home-hero__title {
        font-size: 30px !important;
    }

    .ae-home-hero__text {
        font-size: 13.8px !important;
    }
}

/* AsiaEstate home: video background hero */
.ae-home-hero--video {
    background: #17233d !important;
}

.ae-home-hero__video {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    pointer-events: none !important;
}

.ae-home-hero--video::before {
    z-index: 1 !important;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .74) 0%, rgba(15, 23, 42, .48) 45%, rgba(15, 23, 42, .68) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, .76) 0%, rgba(15, 23, 42, .24) 58%, rgba(15, 23, 42, .46) 100%) !important;
}

.ae-home-hero__inner {
    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 767px) {
    .ae-home-hero__video {
        object-position: center center !important;
    }

    .ae-home-hero--video::before {
        background:
            linear-gradient(90deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .58) 48%, rgba(15, 23, 42, .72) 100%),
            linear-gradient(0deg, rgba(15, 23, 42, .84) 0%, rgba(15, 23, 42, .30) 58%, rgba(15, 23, 42, .58) 100%) !important;
    }
}

/* AsiaEstate home: move hero content lower */
@media (min-width: 992px) {
    .ae-home-hero {
        align-items: flex-end !important;
    }

    .ae-home-hero__inner {
        padding: 0 0 17vh !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ae-home-hero {
        align-items: flex-end !important;
    }

    .ae-home-hero__inner {
        padding: 0 0 14vh !important;
    }
}

@media (max-width: 767px) {
    .ae-home-hero__inner {
        align-items: flex-end !important;
        padding: 92px 0 72px !important;
    }
}

@media (max-width: 390px) {
    .ae-home-hero__inner {
        padding-bottom: 58px !important;
    }
}

/* AsiaEstate home: HERO is the full page */
body.ae-home-body {
    min-height: 100vh !important;
    min-height: 100svh !important;
    overflow: hidden !important;
}

/* На главной оставляем только HERO */
body.ae-home-body .ae-home-page {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: 100vh !important;
    height: 100svh !important;
    overflow: hidden !important;
}

/* Полностью убираем футер и любые нижние блоки темы на главной */
body.ae-home-body footer,
body.ae-home-body .footer,
body.ae-home-body .main-footer,
body.ae-home-body .site-footer,
body.ae-home-body #footer,
body.ae-home-body .footer-top,
body.ae-home-body .footer-bottom,
body.ae-home-body .copyright,
body.ae-home-body .ae-home-next {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* На главной стрелка прокрутки не нужна */
body.ae-home-body .ae-scroll-cue {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* AsiaEstate home: mini footer inside hero */
.ae-home-hero-footer {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 18px !important;
    z-index: 3 !important;
    color: rgba(255, 255, 255, .76) !important;
    pointer-events: none !important;
}

.ae-home-hero-footer__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 34px !important;
    pointer-events: auto !important;
}

.ae-home-hero-footer__copy {
    color: rgba(255, 255, 255, .68) !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

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

.ae-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 30px !important;
    padding: 7px 9px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .10) !important;
    border: 1px solid rgba(255, 255, 255, .13) !important;
    color: rgba(255, 255, 255, .82) !important;
    text-decoration: none !important;
    font-size: 11.5px !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    backdrop-filter: blur(10px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(130%) !important;
    transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease !important;
}

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

.ae-social-link b {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, .9) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
}

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

.ae-home-legal-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 7px 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, .68) !important;
    font-size: 11.5px !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    transition: color .18s ease, background .18s ease !important;
}

.ae-home-legal-button:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, .08) !important;
}

/* Legal modal */
.ae-home-legal-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10080 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .18s ease, visibility .18s ease !important;
}

.ae-home-legal-modal.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.ae-home-legal-modal__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, .62) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.ae-home-legal-modal__box {
    position: relative !important;
    z-index: 2 !important;
    width: min(560px, 100%) !important;
    padding: 28px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    color: #17233d !important;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .30) !important;
}

.ae-home-legal-modal__box h3 {
    margin: 0 0 14px !important;
    color: #17233d !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em !important;
}

.ae-home-legal-modal__box p {
    margin: 0 0 12px !important;
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
}

.ae-home-legal-modal__box p:last-child {
    margin-bottom: 0 !important;
}

.ae-home-legal-modal__close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f1f4f8 !important;
    color: #17233d !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

@media (max-width: 767px) {
    .ae-home-hero-footer {
        bottom: 14px !important;
    }

    .ae-home-hero-footer__inner {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .ae-home-hero-footer__socials {
        justify-content: flex-start !important;
        gap: 6px !important;
    }

    .ae-social-link {
        min-height: 28px !important;
        padding: 7px 8px !important;
        font-size: 0 !important;
    }

    .ae-social-link i {
        font-size: 14px !important;
    }

    .ae-social-link b {
        font-size: 10px !important;
    }

    .ae-home-legal-button {
        padding: 0 !important;
        min-height: auto !important;
        font-size: 11px !important;
    }

    .ae-home-legal-modal__box {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    .ae-home-legal-modal__box h3 {
        font-size: 20px !important;
    }

    .ae-home-legal-modal__box p {
        font-size: 13px !important;
        line-height: 1.58 !important;
    }

    /* Чтобы мини-футер не конфликтовал с текстом на маленьких экранах */
    .ae-home-hero__inner {
        padding-bottom: 118px !important;
    }
}

@media (max-width: 390px) {
    .ae-home-hero__inner {
        padding-bottom: 108px !important;
    }

    .ae-home-hero-footer__copy {
        font-size: 11px !important;
    }
}

/* AsiaEstate home: mobile hero footer two-column layout */
@media (max-width: 767px) {
    .ae-home-hero-footer {
        bottom: 14px !important;
    }

    .ae-home-hero-footer__inner {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: end !important;
        gap: 12px !important;
        min-height: auto !important;
    }

    .ae-home-hero-footer__copy {
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin: 0 0 4px !important;
        color: rgba(255, 255, 255, .72) !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        font-weight: 750 !important;
        white-space: nowrap !important;
    }

    .ae-home-legal-button {
        grid-column: 1 !important;
        grid-row: 2 !important;
        justify-self: start !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: rgba(255, 255, 255, .64) !important;
        font-size: 10.8px !important;
        line-height: 1.2 !important;
        font-weight: 750 !important;
        text-align: left !important;
        text-decoration: underline !important;
        text-underline-offset: 3px !important;
    }

    .ae-home-legal-button:hover {
        color: #ffffff !important;
        background: transparent !important;
    }

    .ae-home-hero-footer__socials {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
        align-self: end !important;
        justify-self: end !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 7px !important;
        flex-wrap: nowrap !important;
    }

    .ae-social-link {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        font-size: 0 !important;
        background: rgba(255, 255, 255, .10) !important;
        border: 1px solid rgba(255, 255, 255, .13) !important;
    }

    .ae-social-link i {
        font-size: 14px !important;
    }

    .ae-social-link b {
        font-size: 9px !important;
    }

    .ae-social-link span {
        display: none !important;
    }

    .ae-home-hero__inner {
        padding-bottom: 98px !important;
    }
}

@media (max-width: 390px) {
    .ae-home-hero-footer__inner {
        gap: 8px !important;
    }

    .ae-social-link {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }

    .ae-social-link i {
        font-size: 13px !important;
    }

    .ae-home-hero__inner {
        padding-bottom: 92px !important;
    }
}

/* AsiaEstate home: colored social icons */
.ae-social-link--telegram i {
    color: #229ED9 !important;
}

.ae-social-link--whatsapp i {
    color: #25D366 !important;
}

.ae-social-link--instagram i {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 18%, #fd5949 43%, #d6249f 68%, #285AEB 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #E4405F !important;
}

.ae-social-link--max img {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    object-fit: contain !important;
}

.ae-social-link:hover i,
.ae-social-link:hover img {
    transform: scale(1.06) !important;
}

.ae-social-link i,
.ae-social-link img {
    transition: transform .18s ease, opacity .18s ease !important;
}

@media (max-width: 767px) {
    .ae-social-link--max img {
        width: 15px !important;
        height: 15px !important;
    }
}
