:root {
    --lm-blue: #0057e7;
    --lm-blue-dark: #061a44;
    --lm-red: #ed1c24;
    --lm-ink: #071733;
    --lm-muted: #5f6f88;
    --lm-line: #e8edf5;
    --lm-soft: #f6f9ff;
}

body.lm-page {
    margin: 0;
    background: #fff;
    color: var(--lm-ink);
    font-family: Inter, "Open Sans", Arial, sans-serif;
}

.lm-page a {
    color: inherit;
}

.lm-container {
    max-width: 1180px;
}

.lm-header {
    min-height: 74px;
    border-bottom: 1px solid var(--lm-line);
    background: #fff;
    z-index: 20;
}

.lm-logo {
    width: 232px;
    max-width: 48vw;
}

.lm-nav .nav-link {
    position: relative;
    padding: 28px 10px 22px;
    color: #0a1428;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.lm-nav .nav-link.active {
    color: var(--lm-blue);
}

.lm-nav .nav-link.active::after {
    position: absolute;
    right: 10px;
    bottom: 14px;
    left: 10px;
    height: 3px;
    border-radius: 3px;
    background: var(--lm-blue);
    content: "";
}

.lm-icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--lm-blue-dark);
}

.lm-icon-btn .badge {
    transform: translate(5px, -7px);
}

.lm-list-btn {
    border: 0;
    border-radius: 7px;
    background: var(--lm-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 13px 18px;
    box-shadow: 0 8px 18px rgba(237, 28, 36, .18);
}

.lm-hero-ltr {
    position: relative;
    min-height: 375px;
    overflow: visible;
    background:
        linear-gradient(160deg,
            #fff 0%,
            rgba(255, 255, 255, .98) 10%,
            rgba(255, 255, 255, .9) 18%,
            rgba(255, 255, 255, .76) 26%,
            rgba(255, 255, 255, .58) 34%,
            rgba(255, 255, 255, .38) 42%,
            rgba(255, 255, 255, .18) 52%,
            rgba(255, 255, 255, 0) 64%),
        url("../images/landing/hero-2.jpg") center right / cover no-repeat;
    border-bottom: 1px solid #eef2f8;
}
.lm-hero-rtl {
    position: relative;
    min-height: 375px;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #eef2f8;
}

.lm-hero-rtl::before {
    position: absolute;
    inset: 0;
    background: url("../images/landing/hero-2.jpg") center right / cover no-repeat;
    content: "";
    transform: scaleX(-1);
}

.lm-hero-rtl::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg,
        #fff 0%,
        rgba(255, 255, 255, .98) 10%,
        rgba(255, 255, 255, .9) 18%,
        rgba(255, 255, 255, .76) 26%,
        rgba(255, 255, 255, .58) 34%,
        rgba(255, 255, 255, .38) 42%,
        rgba(255, 255, 255, .18) 52%,
        rgba(255, 255, 255, 0) 64%);
    content: "";
}

.lm-hero-content {
    position: relative;
    z-index: 1;
    max-width: 550px;
    padding: 86px 0px 92px 20px;
}

.lm-title {
    color: var(--lm-blue-dark);
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.12;
    letter-spacing: 0;
    font-weight: 900;
}

.lm-title span.buy {
    color: var(--lm-blue);
}
.lm-title span.rent {
    color: var(--lm-green);
}
.lm-title span.sell {
    color: var(--lm-red);
}

.lm-subtitle {
    max-width: 500px;
    color: #56657d;
    font-size: 19px;
    line-height: 1.55;
    font-weight: 500;
}

.lm-subtitle .buy {
    color: var(--lm-blue);
    font-weight: 900;
}

.lm-subtitle .rent {
    color: var(--lm-green);
    font-weight: 900;
}
.lm-subtitle .sell {
    color: var(--lm-red);
    font-weight: 900;
}

.lm-search-panel {
    position: relative;
    z-index: 5;
    margin-top: -93px;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 44px rgba(20, 45, 85, .12);
}

.lm-tabs {
    display: flex;
    gap: 0;
    min-height: 58px;
    border-bottom: 1px solid var(--lm-line);
}

.lm-tab {
    min-width: 118px;
    border: 0;
    border-inline-end: 1px solid var(--lm-line);
    background: #fff;
    color: var(--lm-ink);
    font-weight: 800;
    padding: 14px 22px;
}

.lm-tab.active {
    background: var(--lm-blue);
    color: #fff;
    border-start-start-radius: 12px;
    border-start-end-radius: 12px;
}

.lm-tab-sell.active {
    background: #18a957;
}

.lm-field label {
    display: block;
    margin-bottom: 8px;
    color: #0a1428;
    font-size: 13px;
    font-weight: 800;
}

.lm-control {
    height: 50px;
    border: 1px solid #dfe6f0;
    border-radius: 7px;
    color: #44526a;
    font-size: 14px;
}

.lm-search-btn {
    height: 54px;
    min-width: 205px;
    border: 0;
    border-radius: 8px;
    background: var(--lm-blue);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(0, 87, 231, .24);
}

.lm-advanced {
    color: #174a9d;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.lm-category {
    height: 88px;
    border: 1px solid var(--lm-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(30, 55, 90, .05);
}

.lm-category i {
    width: 48px;
    color: var(--lm-blue);
    font-size: 34px;
}

.lm-category.red i {
    color: var(--lm-red);
}

.lm-category.green i {
    color: #28aa57;
}

.lm-category strong {
    display: block;
    color: #11203c;
    font-size: 14px;
    font-weight: 900;
}

.lm-category span {
    color: #55677e;
    font-size: 12px;
}

.lm-feature-strip {
    border-radius: 9px;
    background: var(--lm-soft);
}

.lm-feature {
    min-height: 92px;
    border-inline-end: 1px solid #dbe5f3;
}

.lm-feature:last-child {
    border-inline-end: 0;
}

.lm-feature i {
    color: var(--lm-blue);
    font-size: 36px;
}

.lm-feature h3 {
    margin: 0 0 5px;
    color: #15213c;
    font-size: 13px;
    font-weight: 900;
}

.lm-feature p {
    margin: 0;
    color: #5d6c83;
    font-size: 12px;
    line-height: 1.45;
}

.lm-card-panel {
    border: 1px solid var(--lm-line);
    border-radius: 9px;
    background: #fff;
}

.lm-section-title {
    color: #101c36;
    font-size: 20px;
    font-weight: 900;
}

.lm-link {
    color: var(--lm-blue);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.lm-rank {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 800;
}

.lm-chart-row {
    min-height: 132px;
}

.lm-chart-frame {
    width: 124px;
    height: 124px;
    flex: 0 0 124px;
    position: relative;
}

.lm-chart-frame canvas,
.lm-price-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.lm-legend {
    display: grid;
    gap: 10px;
    color: #4f5e74;
    font-size: 12px;
}

.lm-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    margin-inline-end: 8px;
}

.lm-price-chart {
    height: 176px;
    min-height: 176px;
    position: relative;
}

.lm-help img {
    width: 112px;
    max-width: 100%;
}

.lm-property {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--lm-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(20, 45, 85, .06);
}

.lm-property-carousel {
    padding-inline: 0;
    overflow: hidden;
}

.lm-property-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 0 14px;
}

.lm-property-track::-webkit-scrollbar {
    display: none;
}

.lm-property-track .lm-property {
    scroll-snap-align: start;
}

.lm-carousel-btn {
    position: absolute;
    top: 42%;
    z-index: 4;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5f3;
    border-radius: 50%;
    background: #fff;
    color: var(--lm-blue);
    box-shadow: 0 10px 20px rgba(20, 45, 85, .12);
}

.lm-carousel-prev {
    left: 8px;
}

.lm-carousel-next {
    right: 8px;
}

[dir="rtl"] .lm-carousel-prev {
    right: 8px;
    left: auto;
}

[dir="rtl"] .lm-carousel-next {
    right: auto;
    left: 8px;
}

.lm-carousel-btn.is-disabled {
    opacity: .35;
    pointer-events: none;
}

.lm-property-img {
    position: relative;
    height: 146px;
    background: #d7e6f8 center / cover no-repeat;
}

.lm-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 9px;
}

.lm-favorite {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.lm-property h3 {
    color: #101c36;
    font-size: 15px;
    font-weight: 900;
}

.lm-property .price {
    color: #071733;
    font-size: 18px;
    font-weight: 900;
}

.lm-meta,
.lm-place {
    color: #5a687c;
    font-size: 12px;
    font-weight: 700;
}

.lm-place i {
    color: #b48325;
}

.lm-cta {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--lm-line);
    border-radius: 9px;
    background: #fbfdff;
}

.lm-cta::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 56%;
    height: 74px;
    background: url("../images/landing/cta-skyline.jpg") bottom right / cover no-repeat;
    opacity: .5;
    content: "";
    pointer-events: none;
}

[dir="rtl"] .lm-cta::after {
    right: auto;
    left: 0;
    transform: scaleX(-1);
}

.lm-cta-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--lm-blue);
    border-radius: 50%;
    color: var(--lm-blue);
    font-size: 34px;
}

.lm-outline-btn {
    min-width: 158px;
    border: 1px solid var(--lm-blue);
    border-radius: 6px;
    background: #fff;
    color: var(--lm-blue);
    font-weight: 900;
    padding: 13px 22px;
}

.lm-stats {
    border: 1px solid var(--lm-line);
    border-radius: 9px;
    background: #fff;
}

.lm-stat i {
    color: var(--lm-blue);
    font-size: 30px;
}

.lm-stat:nth-child(even) i,
.lm-stat:nth-child(even) strong {
    color: var(--lm-red);
}

.lm-stat strong {
    color: var(--lm-blue);
    font-size: 23px;
    font-weight: 900;
}

.lm-stat span {
    color: #1f2e48;
    font-size: 12px;
    font-weight: 800;
}

.lm-footer {
    border-top: 1px solid var(--lm-line);
    background: #fff;
}

.lm-footer h4 {
    font-size: 13px;
    font-weight: 900;
}

.lm-footer a,
.lm-footer p {
    color: #4d5a70;
    font-size: 12px;
    text-decoration: none;
}

.lm-social a {
    color: var(--lm-blue);
    font-size: 16px;
    margin-inline-end: 18px;
}

@media (max-width: 1199.98px) {
    .lm-nav .nav-link {
        padding-inline: 6px;
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .lm-header {
        min-height: auto;
    }

    .lm-nav .nav-link {
        padding: 10px 0;
    }

    .lm-nav .nav-link.active::after {
        display: none;
    }

    .lm-hero-ltr {
        min-height: 250px;
        background:
            linear-gradient(160deg,
                #fff 0%,
                rgba(255, 255, 255, .9) 10%,
                rgba(255, 255, 255, .84) 18%,
                rgba(255, 255, 255, .76) 26%,
                rgba(255, 255, 255, .58) 39%,
                rgba(255, 255, 255, .38) 47%,
                rgba(255, 255, 255, .18) 52%,
                rgba(255, 255, 255, 0) 64%),
            url("../images/landing/hero-2.jpg") center / cover no-repeat;
    }
    .lm-hero-rtl {
        min-height: 250px;
    }

    .lm-hero-rtl::before {
        background: url("../images/landing/hero-2.jpg") center right / cover no-repeat;
        transform: scaleX(-1);
    }

    .lm-hero-rtl::after {
        background: linear-gradient(200deg,
            #fff 0%,
            rgba(255, 255, 255, .9) 10%,
            rgba(255, 255, 255, .84) 18%,
            rgba(255, 255, 255, .76) 26%,
            rgba(255, 255, 255, .58) 39%,
            rgba(255, 255, 255, .38) 47%,
            rgba(255, 255, 255, .18) 52%,
            rgba(255, 255, 255, 0) 64%);
    }

    .lm-hero-content {
        padding: 21px 0 70px;
    }

    .lm-search-panel {
        margin-top: -65px;
    }

    .lm-feature {
        border-inline-end: 0;
        border-bottom: 1px solid #dbe5f3;
    }

    .lm-feature:last-child {
        border-bottom: 0;
    }

    .lm-property {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 767.98px) {
    .lm-logo {
        width: 180px;
    }

    .lm-title {
        font-size: 34px;
    }

    .lm-subtitle {
        font-size: 16px;
    }

    .lm-search-panel {
        border-radius: 10px;
    }

    .lm-tabs {
        overflow-x: auto;
    }

    .lm-tab {
        min-width: 33.333%;
        padding-inline: 12px;
    }

    .lm-search-btn,
    .lm-outline-btn,
    .lm-list-btn {
        width: 100%;
    }

    .lm-category {
        height: auto;
        min-height: 82px;
    }

    .lm-card-panel {
        border-radius: 8px;
    }

    .lm-rank {
        grid-template-columns: 24px 1fr auto;
    }

    .lm-chart-row {
        align-items: flex-start !important;
    }

    .lm-property {
        flex-basis: 82%;
    }

    .lm-carousel-prev {
        left: 6px;
    }

    .lm-carousel-next {
        right: 6px;
    }

    [dir="rtl"] .lm-carousel-prev {
        right: 6px;
        left: auto;
    }

    [dir="rtl"] .lm-carousel-next {
        right: auto;
        left: 6px;
    }

    .lm-cta::after {
        width: 100%;
        opacity: .25;
    }
}
