/* =========================================================
   The Fulcrum Real Estate
   Homepage
   ========================================================= */

/* ---------------------------------------------------------
   Shared homepage variables
   --------------------------------------------------------- */

:root {
    --fulcrum-black: #111111;
    --fulcrum-dark: #1b1b1b;
    --fulcrum-orange: #ffa726;
    --fulcrum-orange-dark: #e89014;
    --fulcrum-white: #ffffff;
    --fulcrum-page: #f8f9fb;
    --fulcrum-text: #20242c;
    --fulcrum-muted: #6f7784;
    --fulcrum-border: #e7e9ed;
    --fulcrum-soft: #f3f5f7;
    --fulcrum-success: #198754;
    --fulcrum-radius: 18px;
    --fulcrum-shadow:
        0 18px 45px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   TOP CONTACT / SOCIAL BAR
   ========================================================= */

.homepage-utility-bar {
    width: 100%;
    min-height: 52px;
    background: var(--fulcrum-black);
    color: var(--fulcrum-white);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 20;
}

.homepage-utility-inner {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.homepage-utility-contact {
    display: flex;
    align-items: center;
    gap: 26px;
    min-width: 0;
}

.homepage-utility-details {
    flex: 1 1 auto;
}

.homepage-utility-link {
    min-height: 52px;
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.16s ease;
}

.homepage-utility-link:hover {
    color: var(--fulcrum-orange);
}

.homepage-utility-link i {
    color: var(--fulcrum-orange);
    font-size: 16px;
}

.homepage-utility-address {
    cursor: default;
}


/* Social icons */

.homepage-utility-socials {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.homepage-utility-social-link {
    width: 35px;
    height: 35px;
    padding: 0;
    border: 1.5px solid var(--fulcrum-orange);
    border-radius: 50%;
    background: transparent;
    color: var(--fulcrum-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 35px;
    font-size: 17px;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.16s ease,
        color 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease;
}

.homepage-utility-social-link i {
    color: inherit;
    font-size: 17px;
    line-height: 1;
}

a.homepage-utility-social-link:hover {
    background: var(--fulcrum-orange);
    border-color: var(--fulcrum-orange);
    color: #111111;
    transform: translateY(-1px);
}

.homepage-utility-social-disabled {
    cursor: default;
}


/* =========================================================
   HERO
   ========================================================= */

.homepage-hero {
    position: relative;
    overflow: hidden;
}

.homepage-hero .breadcrumbs-content {
    min-height: 560px;
    padding-top: 92px;
    padding-bottom: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.homepage-hero .hero-copy {
    width: 100%;
    max-width: 800px;
}

.homepage-hero .hero-copy .b-content-title {
    margin: 0;
    max-width: 800px;
    color: #ffffff;
    font-size: clamp(38px, 5.3vw, 68px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.035em;
    white-space: normal;
}

.homepage-hero .b-hero-intro {
    width: 100%;
    max-width: 700px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 400;
    line-height: 1.7;
}

.homepage-hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.homepage-hero-button {
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.16s ease,
        background 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease;
}

.homepage-hero-button:hover {
    transform: translateY(-1px);
}

.homepage-hero-button.primary {
    background: var(--fulcrum-orange);
    color: #111111;
}

.homepage-hero-button.primary:hover {
    background: var(--fulcrum-orange-dark);
    color: #111111;
}

.homepage-hero-button.secondary {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(17, 17, 17, 0.28);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.homepage-hero-button.secondary:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #111111;
}


/* =========================================================
   HOMEPAGE SEARCH
   ========================================================= */

.homepage-search-section {
    position: relative;
    z-index: 10;
}

.homepage-search-section .property-details-area {
    position: relative;
}

.homepage-search-section .property-tab-inner {
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.12);
}

.homepage-search-section .property-tab-menu {
    position: relative;
}

.homepage-search-section input,
.homepage-search-section select,
.homepage-search-section .nice-select {
    font-size: 14px;
}


/* =========================================================
   HOMEPAGE DECISION / JOURNEY CTA
   ========================================================= */

.homepage-journey {
    padding: 120px 0 86px;
    background: #ffffff;
}

.homepage-section-heading {
    max-width: 690px;
    margin: 0 auto 36px;
    text-align: center;
}

.homepage-section-kicker {
    margin-bottom: 8px;
    color: var(--fulcrum-orange-dark);
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.homepage-section-heading h2 {
    margin: 0 0 12px;
    color: #171a20;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.homepage-section-heading p {
    margin: 0;
    color: var(--fulcrum-muted);
    font-size: 15px;
    line-height: 1.7;
}

.homepage-journey-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.homepage-journey-card {
    min-height: 195px;
    padding: 24px;
    border: 1px solid var(--fulcrum-border);
    border-radius: var(--fulcrum-radius);
    background: #ffffff;
    color: inherit;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow:
        0 8px 26px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.homepage-journey-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 167, 38, 0.55);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.09);
}

.homepage-journey-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: rgba(255, 167, 38, 0.12);
    color: var(--fulcrum-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.homepage-journey-card h3 {
    margin: 0 0 8px;
    color: #20242c;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.homepage-journey-card p {
    margin: 0;
    color: var(--fulcrum-muted);
    font-size: 14px;
    line-height: 1.6;
}

.homepage-journey-arrow {
    margin-top: auto;
    padding-top: 18px;
    color: var(--fulcrum-orange-dark);
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   FEATURED PROPERTIES
   ========================================================= */

.homepage-featured-properties {
    position: relative;
    padding: 88px 0 96px;
    background: var(--fulcrum-page);
}

.homepage-featured-properties > .container-xxl {
    padding-left: clamp(36px, 6vw, 100px);
    padding-right: clamp(36px, 6vw, 100px);
}

.homepage-featured-top {
    margin-bottom: 40px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.homepage-featured-heading {
    max-width: 680px;
}

.homepage-featured-heading .homepage-section-kicker {
    margin-bottom: 7px;
}

.homepage-featured-heading h2 {
    margin: 0 0 10px;
    color: #171a20;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.homepage-featured-heading p {
    margin: 0;
    max-width: 610px;
    color: var(--fulcrum-muted);
    font-size: 15px;
    line-height: 1.7;
}

.homepage-featured-view-all {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d9dde4;
    border-radius: 8px;
    background: #ffffff;
    color: #2f3540;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease;
}

.homepage-featured-view-all:hover {
    border-color: var(--fulcrum-orange);
    background: var(--fulcrum-orange);
    color: #111111;
}


/* Property slider */

.homepage-property-slider {
    position: relative;
    margin-left: 0;
    margin-right: 0;
}

.homepage-property-slide {
    padding: 4px 10px 24px;
}

.homepage-property-card {
    height: 100%;
    border: 1px solid #e6e9ee;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    box-shadow:
        0 12px 34px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.homepage-property-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 22px 46px rgba(15, 23, 42, 0.11);
}

.homepage-property-card-link {
    height: 100%;
    color: inherit;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.homepage-property-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-property-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #eef1f4;
    transform: none;
}

.homepage-property-card:hover .homepage-property-media img {
    transform: none;
}

.homepage-property-status {
    position: absolute;
    top: 14px;
    left: 14px;
    min-height: 31px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.86);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.homepage-property-featured {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--fulcrum-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow:
        0 5px 15px rgba(15, 23, 42, 0.12);
}

.homepage-property-body {
    padding: 19px 20px 21px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.homepage-property-location {
    margin-bottom: 6px;
    color: #8a929f;
    font-size: 14px;
    font-weight: 500;
}

.homepage-property-title {
    margin: 0 0 12px;
    color: #20242c;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.homepage-property-price {
    margin-bottom: 15px;
    color: #16191e;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.homepage-property-price-period {
    margin-left: 4px;
    color: #8b929d;
    font-size: 14px;
    font-weight: 500;
}

.homepage-property-meta {
    margin: auto 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #edf0f3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 17px;
}

.homepage-property-meta-item {
    color: #626c79;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.homepage-property-meta-item i {
    color: var(--fulcrum-orange-dark);
}


/* Slick controls */

.homepage-property-slider .slick-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 1px solid #e0e4e9;
    border-radius: 50%;
    background: #ffffff;
    color: #292e36;
    z-index: 5;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0;
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.1);
    transition:
        background 0.16s ease,
        border-color 0.16s ease;
}

.homepage-property-slider .slick-prev {
    left: -14px;
}

.homepage-property-slider .slick-next {
    right: -14px;
}

.homepage-property-slider .slick-prev::before,
.homepage-property-slider .slick-next::before {
    font-family: "Font Awesome 5 Free";
    font-size: 15px;
    font-weight: 900;
}

.homepage-property-slider .slick-prev::before {
    content: "\f053";
}

.homepage-property-slider .slick-next::before {
    content: "\f054";
}

.homepage-property-slider .slick-arrow:hover {
    border-color: var(--fulcrum-orange);
    background: var(--fulcrum-orange);
}

.homepage-property-slider .slick-dots {
    margin: 5px 0 0;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    list-style: none;
}

.homepage-property-slider .slick-dots li {
    margin: 0;
}

.homepage-property-slider .slick-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9ced6;
    font-size: 0;
}

.homepage-property-slider .slick-dots .slick-active button {
    width: 23px;
    border-radius: 999px;
    background: var(--fulcrum-orange);
}


/* Empty featured state */

.homepage-properties-empty {
    min-height: 220px;
    padding: 35px 24px;
    border: 1px dashed #d9dde3;
    border-radius: 18px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.homepage-properties-empty i {
    margin-bottom: 13px;
    color: var(--fulcrum-orange);
    font-size: 30px;
}

.homepage-properties-empty h3 {
    margin: 0 0 7px;
    color: #252a32;
    font-size: 19px;
    font-weight: 600;
}

.homepage-properties-empty p {
    margin: 0;
    color: var(--fulcrum-muted);
    font-size: 14px;
}


/* =========================================================
   FLOATING ACTIONS
   ========================================================= */

.homepage-floating-whatsapp {
    width: 58px !important;
    height: 58px !important;
    right: 24px !important;
    bottom: 24px !important;
    margin: 0 !important;
    border: 0;
    background: var(--fulcrum-success);
    font-size: 25px !important;
    z-index: 1040;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.20);
}

.homepage-floating-whatsapp:hover {
    background: #157347;
}

.scrollToTop {
    right: 28px;
    bottom: 98px;
    z-index: 1035;
}


/* =========================================================
   HOMEPAGE FOOTER
   ========================================================= */

.footer-area,
.footer-area .footer-top,
.footer-area .footer-card-inner,
.footer-area .copyright {
    background: var(--fulcrum-black);
}

.footer-area {
    color: rgba(255, 255, 255, 0.72);
}

.footer-area .footer-top {
    border: 0;
}

.footer-area .footer-card-inner {
    border: 0;
    box-shadow: none;
}

.footer-area .widget_title {
    color: #ffffff;
}

.footer-area p,
.footer-area .single-f-widget p {
    color: rgba(255, 255, 255, 0.68);
}

.footer-area a,
.footer-area .footer-services li a,
.footer-area .footer-n-title a,
.footer-area .n-feed-meta a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-area a:hover,
.footer-area .footer-services li a:hover,
.footer-area .footer-n-title a:hover,
.footer-area .n-feed-meta a:hover {
    color: var(--fulcrum-orange);
}

.footer-area .footer-social {
    margin-top: 22px;
}

.footer-area .footer-social li a {
    border: 1px solid rgba(255, 167, 38, 0.75);
    background: transparent;
    color: var(--fulcrum-orange);
}

.footer-area .footer-social li.active a,
.footer-area .footer-social li a:hover {
    border-color: var(--fulcrum-orange);
    background: var(--fulcrum-orange);
    color: #111111;
}

.footer-area .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-area .copyright p {
    color: rgba(255, 255, 255, 0.60);
}

.footer-area .copyright a {
    color: #ffffff;
    font-weight: 600;
}

.footer-area .copyright a:hover {
    color: var(--fulcrum-orange);
}


/* =========================================================
   PERFORMANCE / BELOW-FOLD RENDERING
   ========================================================= */

.homepage-deferred-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.homepage-lazy-image {
    background: #eef1f4;
}

.homepage-lazy-image img,
img.homepage-lazy-image {
    transition: opacity 0.2s ease;
}


/* =========================================================
   EXISTING HOMEPAGE SECTION PERFORMANCE
   ========================================================= */

#portfolio,
#testimonials,
.blog-area {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}


/* =========================================================
   SELL / BLOG IMAGE STABILITY
   ========================================================= */

#portfolio .portfolio-image img,
.blog-area .blog-img img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .homepage-utility-inner {
        gap: 16px;
    }

    .homepage-utility-contact {
        gap: 16px;
    }

    .homepage-utility-address {
        display: none;
    }

    .homepage-utility-socials {
        gap: 11px;
    }

    .homepage-utility-social-link {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 16px;
    }

    .homepage-utility-social-link i {
        font-size: 16px;
    }

    .homepage-hero .breadcrumbs-content {
        min-height: 500px;
        padding-top: 72px;
        padding-bottom: 175px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 16px;
    }

    .homepage-hero .hero-copy .b-content-title {
        font-size: clamp(37px, 8vw, 56px);
    }

    .homepage-journey {
        padding-top: 94px;
    }

    .homepage-journey-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .homepage-featured-properties > .container-xxl {
        padding-left: 34px;
        padding-right: 34px;
    }

    .homepage-featured-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .homepage-property-slider {
        margin-left: 0;
        margin-right: 0;
    }

    .homepage-property-slider .slick-arrow {
        display: none !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .homepage-utility-bar {
        min-height: 48px;
    }

    .homepage-utility-inner {
        min-height: 48px;
        gap: 9px;
    }

    .homepage-utility-details {
        gap: 4px;
    }

    .homepage-utility-details .homepage-utility-link {
        min-width: 37px;
        width: 37px;
        min-height: 48px;
        justify-content: center;
    }

    .homepage-utility-details .homepage-utility-link span {
        display: none;
    }

    .homepage-utility-link i {
        font-size: 16px;
    }

    .homepage-utility-socials {
        gap: 8px;
    }

    .homepage-utility-social-link {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
        font-size: 15px;
    }

    .homepage-utility-social-link i {
        font-size: 15px;
    }

    .homepage-hero .breadcrumbs-content {
        min-height: 465px;
        padding-top: 55px;
        padding-bottom: 145px;
    }

    .homepage-hero .hero-copy .b-content-title {
        font-size: clamp(35px, 11vw, 48px);
        line-height: 1.06;
    }

    .homepage-hero .b-hero-intro {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.6;
    }

    .homepage-hero-actions {
        width: 100%;
        margin-top: 23px;
        flex-direction: column;
        align-items: stretch;
    }

    .homepage-hero-button {
        width: 100%;
        min-height: 48px;
    }

    .homepage-journey {
        padding: 78px 0 62px;
    }

    .homepage-journey-grid {
        grid-template-columns: 1fr;
    }

    .homepage-journey-card {
        min-height: 175px;
    }

    .homepage-featured-properties {
        padding: 66px 0 72px;
    }

    .homepage-featured-properties > .container-xxl {
        padding-left: 20px;
        padding-right: 20px;
    }

    .homepage-featured-top {
        margin-bottom: 28px;
    }

    .homepage-featured-view-all {
        width: 100%;
    }

    .homepage-property-slide {
        padding-left: 0;
        padding-right: 0;
    }

    .homepage-property-body {
        padding: 17px 17px 19px;
    }

    .homepage-property-title {
        font-size: 17px;
    }

    .homepage-property-price {
        font-size: 21px;
    }

    .homepage-floating-whatsapp {
        width: 54px !important;
        height: 54px !important;
        right: 18px !important;
        bottom: 18px !important;
        font-size: 23px !important;
    }

    .scrollToTop {
        right: 20px;
        bottom: 88px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .homepage-utility-link,
    .homepage-utility-social-link,
    .homepage-hero-button,
    .homepage-journey-card,
    .homepage-property-card,
    .homepage-property-media img,
    .homepage-featured-view-all {
        transition: none;
    }

    .homepage-property-card:hover,
    .homepage-journey-card:hover,
    .homepage-hero-button:hover,
    .homepage-utility-social-link:hover {
        transform: none;
    }
}