@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* =========================
   TOKENS & BRAND COLOR SYSTEM
========================= */

:root {
    --blue: #0b3d62;
    --blue-dark: #072940;
    --blue-light: #145a8c;
    --gold: #c9962c;
    --gold-light: #e0b64f;
    --gold-dark: #a8791c;
    --white: #ffffff;
    --black: #0f172a;
    --light: #f8fafc;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;

    --success-bg: #e8f7ee;
    --success-text: #176b3a;
    --error-bg: #fff0f0;
    --error-text: #a40000;

    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================
   FLOATING WHATSAPP BUTTON
========================= */

.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background: #25d366;
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

@media (max-width: 600px) {
    .floating-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}



/* =========================
   HEADER
========================= */

header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 9995 !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--gold);
}

header .container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

header img {
    width: 145px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav a {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-dark);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

nav a:hover {
    color: var(--gold);
    border-color: var(--gold);
}


/* =========================
   HAMBURGER
========================= */

.menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    box-shadow: none;
    outline: none;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--blue-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s ease;
}

.menu-toggle:hover span {
    background: var(--gold);
}


/* Hamburger animation */

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

#home {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.hero-slides,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: 0;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.04);

    transition:
        opacity 1.2s ease-in-out,
        transform 7s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(7, 41, 64, 0.92) 0%,
            rgba(7, 41, 64, 0.76) 45%,
            rgba(7, 41, 64, 0.32) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 105px 0;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    color: var(--gold-light);

    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

#home h1 {
    max-width: 760px;

    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(42px, 5.5vw, 64px);
    line-height: 1.08;

    margin-bottom: 22px;
}

#home h1 span {
    display: block;
    color: var(--gold-light);
}

#home p {
    max-width: 610px;

    color: #eef3f8;

    font-size: 18px;
    line-height: 1.7;

    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 28px;

    border-radius: 5px;

    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.55);

    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--white);
}

.hero-indicators {
    position: absolute;

    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 8px;

    z-index: 4;
}

.hero-dot {
    width: 28px;
    height: 4px;

    padding: 0;

    border: none;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.45);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.hero-dot.active {
    width: 48px;
    background: var(--gold);
}

.hero-dot:hover {
    background: var(--gold-light);
}



/* =========================
   GENERAL SECTIONS
========================= */

section {
    padding: 90px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 45px;
}

section h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 36px;
    color: var(--blue);
}

section h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    background: var(--gold);
    margin-top: 14px;
}

section p {
    color: var(--muted);
}

.section-head p {
    margin-top: 14px;
    font-size: 17px;
}


/* =========================
   ABOUT
========================= */

#about {
    background: var(--white);
}

#about .container {
    max-width: 1000px;
}

#about p {
    margin-bottom: 22px;
    font-size: 17px;
}

#about h3 {
    font-family: var(--font-heading);
    color: var(--blue);
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 10px;
}


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

#properties {
    background: var(--light);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 10px;
    align-items: stretch;
}

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

.property-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.property-link:hover .property-card {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.property-media {
    position: relative;
    height: 230px;
    flex-shrink: 0;
    background: var(--light);
    overflow: hidden;
}

.property-card .property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: var(--blue-dark);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 2;
}

.property-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-content h3 {
    font-family: var(--font-heading);
    color: var(--blue-dark);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 52px;
}

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

.property-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.property-price {
    display: block;
    color: var(--blue-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 21px;
    margin-top: auto;
    margin-bottom: 14px;
}

.view-property {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--blue-dark);
    color: var(--white);
    border-radius: 24px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    transition: 0.25s ease;
    margin-top: 4px;
}

.property-link:hover .view-property {
    background: var(--gold);
    color: var(--blue-dark);
}

.empty-state {
    color: var(--muted);
    font-size: 16px;
    padding: 30px 0;
}


/* =========================
   SERVICES
========================= */

#services {
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 10px;
}

.service-grid > div {
    padding: 35px 28px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    background: var(--white);
    border-radius: 6px;
    transition: 0.3s ease;
}

.service-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    color: var(--blue);
}

.service-grid h3 {
    font-family: var(--font-heading);
    color: var(--blue);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}


/* =========================
   CONTACT
========================= */

#contact {
    background: var(--blue-dark);
    color: var(--white);
}

#contact .section-head {
    max-width: 640px;
    margin: 0 auto 45px;
    text-align: center;
}

#contact h2 {
    color: var(--white);
}

#contact h2::after {
    margin-left: auto;
    margin-right: auto;
}

#contact .section-head p {
    color: #d9e2ec;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    padding: 20px;
    transition: 0.2s ease;
}

.contact-row:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
}

.contact-row .icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-row strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #b9c6d4;
    margin-bottom: 3px;
}

.contact-row span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

#contact .hero-actions {
    justify-content: center;
}


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

footer {
    background: var(--black);
    color: #cdd3d8;
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

footer img {
    width: 170px;
    margin-bottom: 16px;
}

.footer-tag {
    color: var(--gold-light);
    font-weight: 600;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
    display: block;
    color: #a9b1b9;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #8b939a;
    text-align: center;
}


/* =========================
   RESPONSIVE (shared)
========================= */

@media (max-width: 900px) {

    nav {
        gap: 18px;
    }

    .property-grid,
    .service-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #home {
        min-height: 550px;
    }

    .topbar .container {
        justify-content: center;
    }
}


@media (max-width: 650px) {

    .topbar {
        font-size: 11px;
    }

    .topbar .container {
        min-height: 32px;
        gap: 16px;
        justify-content: center;
    }

    header {
        border-bottom-width: 2px;
    }

    header .container {
        min-height: 62px;
        padding: 8px 0;
        position: relative;
    }

    header img {
        width: 110px;
    }

    .menu-toggle {
        display: flex;
        z-index: 10001 !important;
        position: relative !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    .menu-toggle.active span {
        background: var(--gold-light, #e0b64f);
    }

    /* Disable parent header backdrop-filter when mobile menu is active to prevent blur artifact */
    body.nav-open .livest-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #ffffff !important;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9990 !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        cursor: pointer;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    nav,
    nav#main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 290px;
        max-width: 82vw;
        height: 100vh;
        height: 100dvh;
        background: #072940 !important;
        color: #ffffff !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        padding: 85px 24px 40px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        transform: translateX(100%);
        visibility: hidden;
        opacity: 0;
        max-height: none;
        z-index: 10000 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        isolation: isolate;

        transition:
            transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            visibility 0.35s ease;
    }

    nav.active,
    nav#main-nav.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.nav-open,
    html.nav-open {
        overflow: hidden !important;
        height: 100vh !important;
        touch-action: none !important;
    }

    nav a,
    nav#main-nav a,
    .livest-nav-link {
        width: 100%;
        padding: 16px 20px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        opacity: 1 !important;
        text-shadow: none !important;
        transition: all 0.2s ease;
    }

    nav a:hover,
    nav#main-nav a:hover,
    .livest-nav-link:hover,
    .livest-nav-link.active {
        background: rgba(255, 255, 255, 0.08) !important;
        color: var(--gold) !important;
        padding-left: 26px !important;
    }

    #home {
        min-height: 340px;
        text-align: center;
    }

    #home .container {
        padding: 34px 0;
    }

    .hero-actions {
        justify-content: center;
        gap: 10px;
    }

    #home h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    #home p {
        font-size: 13px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn {
        padding: 11px 20px;
        font-size: 13px;
    }

    section {
        padding: 40px 0;
    }

    .section-head {
        margin-bottom: 26px;
    }

    section h2 {
        font-size: 21px;
    }

    section h2::after {
        width: 40px;
        height: 3px;
        margin-top: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    section p,
    .section-head p {
        font-size: 14px;
        margin-top: 8px;
    }

    #about h3 {
        font-size: 16px;
        margin-top: 22px;
    }

    #about p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .section-head {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .property-grid,
    .service-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .property-media {
        height: 170px;
    }

    .property-content {
        padding: 15px;
    }

    .property-content h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .property-location,
    .property-meta {
        font-size: 10px;
    }

    .property-price {
        font-size: 17px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .view-property {
        padding: 8px 14px;
        font-size: 12px;
    }

    .service-grid > div {
        padding: 22px 20px;
    }

    .service-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 12px;
    }

    .service-grid h3 {
        font-size: 16px;
    }

    .service-grid p {
        font-size: 13px;
    }

    .contact-row {
        padding: 14px;
    }
}


/* =========================
   PROPERTY DETAIL PAGE
========================= */

.detail-topline {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--blue);
    transition: color 0.2s ease;
}

.back:hover {
    color: var(--gold);
}

.detail-page {
    background: var(--light);
    padding: 50px 0 100px;
}

.detail-page .container {
    max-width: 1100px;
}

.property-card-detail {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 40px;
}

/* Gallery */

.gallery {
    width: 100%;
    margin-bottom: 30px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 550px;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
}

.main-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(7, 41, 64, 0.78);
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.gallery-button:hover {
    background: var(--gold);
    color: var(--blue-dark);
}

.gallery-button.previous {
    left: 15px;
}

.gallery-button.next {
    right: 15px;
}

.image-counter {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 4px 2px 8px;
}

.thumbnail {
    flex: 0 0 95px;
    height: 70px;
    border: 3px solid transparent;
    border-radius: 7px;
    padding: 0;
    overflow: hidden;
    background: var(--light);
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    border-color: var(--gold);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Property info */

.property-card-detail h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(26px, 3.2vw, 34px);
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.location {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 15px;
}

.price {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 25px;
}

.details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 25px;
}

.detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--blue-dark);
}

.detail {
    font-size: 14px;
    color: var(--muted);
}

.property-card-detail h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--blue);
    margin: 32px 0 12px;
}

.description {
    line-height: 1.75;
    color: var(--text);
}

.features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.features li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
    font-size: 15px;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Inquiry */

.inquiry-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.inquiry-section h2 {
    margin-top: 0;
}

.inquiry-section > p {
    color: var(--muted);
    margin-bottom: 24px;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 0 0 35px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--blue-dark);
    background: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

.contact-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.contact-option strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-option small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.contact-option span.value {
    display: block;
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 15px;
}

.email-option { border-top: 4px solid var(--gold); }
.whatsapp-option { border-top: 4px solid #25D366; }
.phone-option { border-top: 4px solid var(--blue); }

.email-inquiry {
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.email-inquiry h3 {
    font-family: var(--font-heading);
    color: var(--blue-dark);
    font-size: 19px;
    margin-bottom: 8px;
}

.email-inquiry > p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
}

textarea.form-input {
    resize: vertical;
}

.success-message {
    margin: 0 0 20px;
    padding: 15px;
    background: var(--success-bg);
    color: var(--success-text);
    border-radius: 6px;
}

.error-message {
    margin: 0 0 20px;
    padding: 15px;
    background: var(--error-bg);
    color: var(--error-text);
    border-radius: 6px;
}

.inquiry-button {
    background: var(--gold);
    color: var(--blue-dark);
    border: none;
    padding: 14px 28px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}

.inquiry-button:hover {
    background: var(--gold-light);
}


/* =========================================================
   PROPERTIES INDEX PAGE
========================================================= */

.properties-page {
    background: var(--light);
    padding: 60px 0 100px;
}

/*
|--------------------------------------------------------------------------
| Wider Property Page
|--------------------------------------------------------------------------
| The main site stays at 1200px, while the property catalogue gets
| more horizontal space for searching, filtering and property cards.
*/

.properties-page > .container {
    width: 94%;
    max-width: 1400px;
    margin: 0 auto;
}

.properties-page-head {
    max-width: 820px;
    margin-bottom: 35px;
}

.properties-page h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 44px);
    color: var(--blue-dark);
    margin-bottom: 12px;
}

.properties-page-head p {
    color: var(--muted);
    font-size: 17px;
}

.pagination-wrap {
    margin-top: 45px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}


/* =========================================================
   PROPERTY SEARCH & FILTERS
========================================================= */

.properties-page-head {
    max-width: 820px;
    margin-bottom: 35px;
}

.properties-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.properties-page-head h1 {
    margin-bottom: 12px;
}

.property-search-box {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 55px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.property-search-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 22px;
}

.search-input-wrap {
    position: relative;
}

.search-input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 18px 0 48px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: var(--white);
}

.search-input-wrap input:focus,
.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 150, 44, 0.10);
}

.search-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 24px;
    color: var(--muted);
    line-height: 1;
}

.search-button {
    min-width: 175px;
    border: none;
    border-radius: 6px;
    padding: 0 28px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s ease;
}

.search-button:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
}

.property-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.filter-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--blue-dark);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
}

.filter-group input,
.filter-group select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
}

.filter-group select {
    cursor: pointer;
}

.property-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.filter-hint {
    color: var(--muted);
    font-size: 12px;
}

.clear-filters {
    color: var(--blue);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
}

.clear-filters:hover {
    color: var(--gold);
}


/* =========================================================
   PROPERTY RESULTS
========================================================= */

.property-results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.property-results-head h2 {
    font-family: var(--font-heading);
    color: var(--blue-dark);
    font-size: 21px;
    margin-bottom: 5px;
}

.property-results-head h2::after {
    display: none;
}

.property-results-head p {
    font-size: 14px;
    color: var(--muted);
}

.property-results-head strong {
    color: var(--blue);
}

.no-property-results {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 70px 30px;
}

.no-results-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.no-property-results h2 {
    color: var(--blue-dark);
    font-family: var(--font-heading);
    font-size: 25px;
    margin-bottom: 10px;
}

.no-property-results h2::after {
    display: none;
}

.no-property-results p {
    max-width: 500px;
    margin: 0 auto 25px;
    font-size: 14px;
}


/* =========================================================
   PROPERTY SEARCH RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .properties-page > .container {
        width: 92%;
    }

    .property-filters {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .properties-page {
        padding: 40px 0 70px;
    }

    .properties-page > .container {
        width: 92%;
    }

    .properties-page-head {
        text-align: center;
        margin-bottom: 25px;
    }

    .properties-page-head h1 {
        font-size: 26px;
    }

    .properties-page-head p {
        font-size: 13px;
    }

    .property-search-box {
        padding: 16px;
        margin-bottom: 35px;
        border-radius: 8px;
    }

    .property-search-main {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .search-input-wrap input {
        height: 46px;
        font-size: 13px;
    }

    .search-button {
        min-height: 44px;
        padding: 0 20px;
    }

    .property-filters {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .filter-group label {
        font-size: 11px;
    }

    .property-filter-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .property-results-head {
        margin-bottom: 20px;
    }

    .property-results-head h2 {
        font-size: 21px;
    }

    .property-results-head p {
        font-size: 12px;
    }

    .no-property-results {
        padding: 50px 20px;
    }
}
/* =========================================================
   MOBILE PROPERTY PAGE OVERFLOW FIX
========================================================= */

.properties-page,
.properties-page .container,
.property-search-box,
.property-search-main,
.property-filters,
.property-results-head,
.property-grid,
.property-link,
.property-card {
    min-width: 0;
    max-width: 100%;
}

.property-search-main > *,
.property-filters > *,
.property-results-head > *,
.property-grid > * {
    min-width: 0;
}

.property-search-box input,
.property-search-box select,
.property-search-box button {
    max-width: 100%;
    min-width: 0;
}

.property-card {
    width: 100%;
}

.property-card .property-content {
    min-width: 0;
    overflow-wrap: break-word;
}

.property-card .property-content h3,
.property-card .property-location,
.property-card .property-meta {
    overflow-wrap: anywhere;
}

@media (max-width: 650px) {

    .properties-page {
        width: 100%;
        overflow-x: hidden;
        padding-left: 0;
        padding-right: 0;
    }

    .properties-page .container {
        width: 92%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .property-search-box {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        overflow: hidden;
    }

    .property-search-main,
    .property-filters {
        width: 100%;
        max-width: 100%;
    }

    .search-input-wrap,
    .filter-group {
        width: 100%;
        min-width: 0;
    }

    .search-input-wrap input,
    .filter-group input,
    .filter-group select {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .search-button {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .property-results-head {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .property-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .property-link {
        width: 100%;
        max-width: 100%;
    }

    .property-card {
        width: 100%;
        max-width: 100%;
    }

    .property-media {
        width: 100%;
        max-width: 100%;
    }

    .property-media img {
        width: 100%;
        max-width: 100%;
    }
}

/* Prevent accidental horizontal scrolling */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================================================
   MOBILE PROPERTY DETAIL PAGE
========================================================= */

@media (max-width: 650px) {

    /* Keep the detail page inside the viewport */
    .detail-page {
        width: 100%;
        max-width: 100%;
        padding: 30px 0 60px;
        overflow-x: hidden;
    }

    .detail-page .container {
        width: 92%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    /* Property detail card */
    .property-card-detail {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        border-radius: 10px;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Gallery */
    .gallery {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .main-image-container {
        width: 100%;
        max-width: 100%;
        height: 430px;
        box-sizing: border-box;
    }

    .main-gallery-image {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Gallery controls */
    .gallery-button {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .gallery-button.previous {
        left: 10px;
    }

    .gallery-button.next {
        right: 10px;
    }

    .image-counter {
        right: 10px;
        bottom: 10px;
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Thumbnail strip */
    .thumbnails {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        box-sizing: border-box;
    }

    .thumbnail {
        flex: 0 0 80px;
        width: 80px;
        height: 60px;
    }

    /* Property heading */
    .property-card-detail h1 {
        font-size: 28px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .location {
        overflow-wrap: anywhere;
    }

    .price {
        font-size: 24px;
    }

    /* Property details */
    .details {
        gap: 18px;
    }

    .detail {
        min-width: 0;
    }

    /* Features become one column */
    .features ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Contact options become one column */
    .contact-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-option {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Inquiry form */
    .email-inquiry {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-group {
        width: 100%;
        max-width: 100%;
    }

    .form-input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    textarea.form-input {
        max-width: 100%;
    }

    .inquiry-button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* =========================================================
   RAZEJAM FEATURED PROPERTY HERO
   ========================================================= */

#home.featured-property-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 500px;

    display: block;
    overflow: hidden;

    color: var(--white);
    background: var(--blue-dark);

    isolation: isolate;
}


/* HERO SLIDES */

.featured-property-slides {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.featured-property-slide {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.04);

    transition:
        opacity 1s ease,
        transform 7s ease;
}

.featured-property-slide.active {
    opacity: 1;
    transform: scale(1);
}


/* DARK IMAGE OVERLAY */

.featured-property-overlay {
    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(7, 41, 64, 0.90) 0%,
            rgba(7, 41, 64, 0.68) 42%,
            rgba(7, 41, 64, 0.20) 100%
        ),
        linear-gradient(
            0deg,
            rgba(7, 41, 64, 0.45),
            transparent 45%
        );
}


/* HERO CONTENT CONTAINER */

.featured-property-container {
    position: relative;
    z-index: 5;

    width: min(1180px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* PROPERTY INFORMATION */

.featured-property-content {
    position: relative;

    width: min(470px, 52%);

    min-height: 300px;
    display: flex;
    align-items: center;
}

.featured-property-info {
    display: none;

    width: 100%;

    padding: 28px 32px;

    background: rgba(255, 255, 255, 0.97);
    color: var(--blue-dark);

    border-radius: 12px;

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);

    animation: featuredPropertyFade 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-property-info.active {
    display: block;
}

@keyframes featuredPropertyFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* FEATURED LABEL */

.featured-property-badge {
    display: inline-block;

    margin-bottom: 10px;
    padding: 5px 12px;

    background: var(--gold);
    color: var(--blue-dark);

    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
}


/* PROPERTY TITLE */

.featured-property-info h1 {
    margin: 0 0 10px;

    max-width: 520px;

    color: var(--blue-dark);

    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 700;
    line-height: 1.15;
}


/* LOCATION */

.featured-property-location {
    margin: 0 0 16px;

    color: #072940 !important;

    font-size: 14px;
    font-weight: 700 !important;
    line-height: 1.5;
}


/* PROPERTY META */

.featured-property-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;

    margin-bottom: 18px;
    width: 100%;
}

.featured-property-meta div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.featured-property-meta strong {
    color: var(--blue);

    font-family: var(--font-heading);
    font-size: 25px;
}

.featured-property-meta span {
    color: var(--muted);

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* PRICE */

.featured-property-price {
    margin: 0 0 16px;

    color: var(--gold-dark, #c99619);

    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}


/* VIEW PROPERTY BUTTON */

.featured-property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 22px;

    background: var(--blue);
    color: var(--white);

    border-radius: 24px;

    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.featured-property-button:hover {
    background: var(--gold);
    color: var(--blue-dark);

    transform: translateY(-2px);
}


/* LEFT / RIGHT ARROWS */

.featured-property-arrow {
    position: relative;
    z-index: 10;

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    background: rgba(7, 41, 64, 0.55);
    color: var(--white);

    font-size: 20px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.featured-property-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);

    color: var(--blue-dark);

    transform: scale(1.06);
}


/* SLIDER DOTS */

.featured-property-dots {
    position: absolute;

    left: 50%;
    bottom: 28px;

    z-index: 10;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-property-dot {
    width: 28px;
    height: 4px;

    padding: 0;

    border: 0;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.45);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.featured-property-dot.active {
    width: 48px;

    background: var(--gold);
}


/* FALLBACK */

.featured-property-fallback {
    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(7, 41, 64, 0.92),
            rgba(7, 41, 64, 0.45)
        ),
        url('/images/hero1.jpg');

    background-position: center;
    background-size: cover;

    color: var(--white);
}

.featured-property-fallback .container {
    padding: 80px 0;
}

.featured-property-fallback span {
    display: block;

    margin-bottom: 15px;

    color: var(--gold-light);

    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.15em;
}

.featured-property-fallback h1 {
    max-width: 700px;

    margin-bottom: 20px;

    font-family: var(--font-heading);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
}

.featured-property-fallback h1 strong {
    display: block;
    color: var(--gold-light);
}

.featured-property-fallback p {
    max-width: 600px;

    margin-bottom: 30px;

    color: #eef3f8;

    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   FEATURED PROPERTY HERO RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    #home.featured-property-hero {
        min-height: 540px;
        height: 540px;
    }

    .featured-property-container {
        width: min(100% - 40px, 720px);
    }

    .featured-property-content {
        width: calc(100% - 110px);
    }

    .featured-property-info {
        padding: 24px;
    }

    .featured-property-info h1 {
        font-size: 30px;
    }

}


@media (max-width: 650px) {

    #home.featured-property-hero {
        min-height: 560px;
        height: 560px;
    }

    .featured-property-container {
        width: calc(100% - 30px);
    }

    .featured-property-content {
        width: calc(100% - 65px);
    }

    .featured-property-info {
        padding: 20px;
        text-align: center;
    }

    .featured-property-info h1 {
        font-size: 23px;
    }

    .featured-property-location {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .featured-property-meta {
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        gap: 25px;
        margin-bottom: 18px;
    }

    .featured-property-meta div {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
    }

    .featured-property-meta strong {
        font-size: 21px;
    }

    .featured-property-price {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .featured-property-button {
        width: 100%;
    }

    .featured-property-arrow {
        flex-basis: 38px;

        width: 38px;
        height: 38px;

        font-size: 16px;
    }

    .featured-property-dots {
        bottom: 18px;
    }

}

/* =========================================================
   MOBILE PROPERTY DETAIL PAGE
========================================================= */

@media (max-width: 650px) {

    /* Keep the detail page inside the viewport */
    .detail-page {
        width: 100%;
        max-width: 100%;
        padding: 30px 0 60px;
        overflow-x: hidden;
    }

    .detail-page .container {
        width: 92%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    /* Property detail card */
    .property-card-detail {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        border-radius: 10px;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Gallery */
    .gallery {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .main-image-container {
        width: 100%;
        max-width: 100%;
        height: 430px;
        box-sizing: border-box;
    }

    .main-gallery-image {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Gallery controls */
    .gallery-button {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .gallery-button.previous {
        left: 10px;
    }

    .gallery-button.next {
        right: 10px;
    }

    .image-counter {
        right: 10px;
        bottom: 10px;
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Thumbnail strip */
    .thumbnails {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        box-sizing: border-box;
    }

    .thumbnail {
        flex: 0 0 80px;
        width: 80px;
        height: 60px;
    }

    /* Property heading */
    .property-card-detail h1 {
        font-size: 28px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .location {
        overflow-wrap: anywhere;
    }

    .price {
        font-size: 24px;
    }

    /* Property details */
    .details {
        gap: 18px;
    }

    .detail {
        min-width: 0;
    }

    /* Features become one column */
    .features ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Contact options become one column */
    .contact-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-option {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Inquiry form */
    .email-inquiry {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-group {
        width: 100%;
        max-width: 100%;
    }

    .form-input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    textarea.form-input {
        max-width: 100%;
    }

    .inquiry-button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* =========================================================
   PROPERTIES PAGE - FEATURED LISTINGS HERO
   ========================================================= */

.properties-featured-hero {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;

    background: var(--blue-dark);
    color: var(--white);
    isolation: isolate;
}


/* IMAGES */

.properties-featured-slides {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.properties-featured-slide {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.03);

    transition:
        opacity 0.8s ease,
        transform 6s ease;
}

.properties-featured-slide.active {
    opacity: 1;
    transform: scale(1);
}


/* IMAGE OVERLAY */

.properties-featured-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(7, 41, 64, 0.82) 0%,
            rgba(7, 41, 64, 0.48) 38%,
            rgba(7, 41, 64, 0.08) 75%
        ),
        linear-gradient(
            0deg,
            rgba(7, 41, 64, 0.58),
            transparent 55%
        );
}


/* CONTENT */

.properties-featured-content {
    position: absolute;
    left: max(40px, calc((100% - 1180px) / 2));
    bottom: 70px;

    width: min(470px, calc(100% - 80px));
}


/* SMALL PROPERTY CARD */

.properties-featured-info {
    display: none;

    padding: 24px 28px;

    background: rgba(255, 255, 255, 0.94);
    color: var(--blue-dark);

    border-left: 4px solid var(--gold);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);

    animation: propertiesFeaturedFade 0.5s ease;
}

.properties-featured-info.active {
    display: block;
}

@keyframes propertiesFeaturedFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* BADGE */

.properties-featured-badge {
    display: inline-block;

    margin-bottom: 10px;
    padding: 6px 10px;

    background: var(--gold);
    color: var(--blue-dark);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* TITLE */

.properties-featured-info h1 {
    margin: 0 0 8px;

    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;

    color: var(--blue-dark);
}


/* LOCATION */

.properties-featured-location {
    margin: 0 0 16px;

    color: var(--muted);
    font-size: 13px;
}


/* META */

.properties-featured-meta {
    display: flex;
    align-items: center;
    gap: 24px;

    margin-bottom: 18px;
}

.properties-featured-meta span {
    display: flex;
    flex-direction: column;
    gap: 2px;

    color: var(--muted);

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.properties-featured-meta strong {
    color: var(--blue);
    font-size: 18px;
}


/* PRICE + BUTTON */

.properties-featured-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.properties-featured-price {
    color: var(--gold-dark, #c99619);

    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

.properties-featured-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    background: var(--blue);
    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.properties-featured-button:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-2px);
}


/* ARROWS */

.properties-featured-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 50%;

    background: rgba(7, 41, 64, 0.55);
    color: var(--white);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.properties-featured-arrow:hover {
    background: var(--gold);
    color: var(--blue-dark);

    transform: translateY(-50%) scale(1.06);
}

.properties-featured-prev {
    left: 25px;
}

.properties-featured-next {
    right: 25px;
}


/* DOTS */

.properties-featured-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;

    display: flex;
    gap: 7px;

    transform: translateX(-50%);
}

.properties-featured-dot {
    width: 25px;
    height: 4px;

    padding: 0;
    border: 0;
    border-radius: 10px;

    background: rgba(255,255,255,0.45);

    cursor: pointer;
}

.properties-featured-dot.active {
    width: 42px;
    background: var(--gold);
}


/* MOBILE */

@media (max-width: 650px) {

    .properties-featured-hero {
        height: 500px;
    }

    .properties-featured-content {
        left: 15px;
        bottom: 55px;
        width: calc(100% - 30px);
    }

    .properties-featured-info {
        padding: 20px;
    }

    .properties-featured-info h1 {
        font-size: 23px;
    }

    .properties-featured-meta {
        gap: 18px;
    }

    .properties-featured-price {
        font-size: 17px;
    }

    .properties-featured-button {
        min-height: 40px;
        padding: 0 14px;
    }

    .properties-featured-arrow {
        width: 36px;
        height: 36px;
    }

    .properties-featured-prev {
        left: 12px;
    }

    .properties-featured-next {
        right: 12px;
    }
}

/* =========================================================
   HOMEPAGE FEATURED HERO
   MATCH PROPERTIES HERO
   ========================================================= */

#home.featured-property-hero {
    position: relative;
    width: 100%;
    height: 560px;
    min-height: 560px;
    overflow: hidden;
    background: var(--blue-dark);
    color: var(--white);
    isolation: isolate;
}


/* IMAGES */

.featured-property-slides {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.featured-property-slide {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.03);

    transition:
        opacity 0.8s ease,
        transform 6s ease;
}

.featured-property-slide.active {
    opacity: 1;
    transform: scale(1);
}


/* OVERLAY */

.featured-property-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(7, 41, 64, 0.82) 0%,
            rgba(7, 41, 64, 0.48) 38%,
            rgba(7, 41, 64, 0.08) 75%
        ),
        linear-gradient(
            0deg,
            rgba(7, 41, 64, 0.58),
            transparent 55%
        );
}


/* CONTENT */

.featured-property-container {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    margin: 0;

    display: block;
}

.featured-property-content {
    position: absolute;

    left: max(40px, calc((100% - 1180px) / 2));
    bottom: 70px;

    width: min(470px, calc(100% - 80px));

    min-height: 0;
    display: block;
}


/* SMALL PROPERTY CARD */

.featured-property-info {
    display: none;

    width: auto;
    min-height: 0;

    padding: 26px 30px;

    background: rgba(255, 255, 255, 0.96);
    color: var(--blue-dark);

    border-radius: 12px;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);

    animation: featuredPropertyFade 0.5s ease;
}

.featured-property-info.active {
    display: block;
}

@keyframes featuredPropertyFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* BADGE */

.featured-property-badge {
    display: inline-block;

    margin-bottom: 10px;
    padding: 5px 11px;

    background: var(--gold);
    color: var(--blue-dark);

    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
}


/* TITLE */

.featured-property-info h1 {
    margin: 0 0 8px;

    max-width: none;

    color: var(--blue-dark);

    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}


/* LOCATION */

.featured-property-location {
    margin: 0 0 16px;

    color: #072940 !important;
    font-size: 14px;
    font-weight: 700 !important;
}


/* META */

.featured-property-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;

    margin-bottom: 18px;
    width: 100%;
}

.featured-property-meta div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.featured-property-meta span {
    color: var(--muted);

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.featured-property-meta strong {
    color: var(--blue);
    font-size: 18px;
}


/* PRICE */

.featured-property-price {
    display: inline-block;

    margin: 0;

    color: var(--gold-dark, #c99619);

    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}


/* BUTTON */

.featured-property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 22px;

    background: var(--blue);
    color: var(--white);

    border-radius: 24px;

    font-size: 13px;
    font-weight: 700;
}

.featured-property-button:hover {
    background: var(--gold);
    color: var(--blue-dark);

    transform: translateY(-2px);
}


/* PUT PRICE + BUTTON ON SAME ROW */

.featured-property-info {
    position: relative;
}

.featured-property-info .featured-property-price {
    margin-right: 15px;
}


/* ARROWS */

.featured-property-arrow {
    position: absolute;

    top: 50%;
    z-index: 5;

    width: 44px;
    height: 44px;

    flex: none;

    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 50%;

    background: rgba(7, 41, 64, 0.55);
    color: var(--white);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.featured-property-arrow:hover {
    background: var(--gold);
    color: var(--blue-dark);

    transform: translateY(-50%) scale(1.06);
}

.featured-property-prev {
    left: 25px;
}

.featured-property-next {
    right: 25px;
}


/* DOTS */

.featured-property-dots {
    position: absolute;

    left: 50%;
    bottom: 22px;

    z-index: 10;

    display: flex;
    gap: 7px;

    transform: translateX(-50%);
}

.featured-property-dot {
    width: 25px;
    height: 4px;

    padding: 0;

    border: 0;
    border-radius: 10px;

    background: rgba(255,255,255,0.45);

    cursor: pointer;
}

.featured-property-dot.active {
    width: 42px;
    background: var(--gold);
}


/* MOBILE */

@media (max-width: 650px) {

    #home.featured-property-hero {
        height: 500px;
        min-height: 500px;
    }

    .featured-property-content {
        left: 15px;
        bottom: 55px;
        width: calc(100% - 30px);
    }

    .featured-property-info {
        padding: 20px;
    }

    .featured-property-info h1 {
        font-size: 23px;
    }

    .featured-property-meta {
        gap: 18px;
    }

    .featured-property-price {
        font-size: 17px;
    }

    .featured-property-button {
        min-height: 40px;
        padding: 0 14px;
    }

    .featured-property-arrow {
        width: 36px;
        height: 36px;
    }

    .featured-property-prev {
        left: 12px;
    }

    .featured-property-next {
        right: 12px;
    }
}


/* Homepage hero card breathing room */
#home.featured-property-hero .featured-property-content {
    left: max(70px, calc((100% - 1180px) / 2));
}

@media (max-width: 650px) {
    #home.featured-property-hero .featured-property-content {
        left: 25px;
        width: calc(100% - 50px);
    }
}


/* HOMEPAGE HERO CARD = PROPERTIES HERO CARD */
#home.featured-property-hero .featured-property-content {
    left: max(40px, calc((100% - 1180px) / 2));
    bottom: 70px;
    width: min(470px, calc(100% - 80px));
}

@media (max-width: 650px) {
    #home.featured-property-hero .featured-property-content {
        left: 15px;
        bottom: 55px;
        width: calc(100% - 30px);
    }
}


/* HOMEPAGE HERO CARD = PROPERTIES HERO CARD */
#home.featured-property-hero .featured-property-content {
    left: max(40px, calc((100% - 1180px) / 2));
    bottom: 70px;
    width: min(470px, calc(100% - 80px));
}

@media (max-width: 650px) {
    #home.featured-property-hero .featured-property-content {
        left: 15px;
        bottom: 55px;
        width: calc(100% - 30px);
    }
}



/* =========================================================
   RAZEJAM GLOBAL FOOTER
   ========================================================= */

.site-footer {
    position: relative;

    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.78);

    border-top: 3px solid var(--gold);

    margin-top: 0;
}


/* MAIN FOOTER */

.footer-main {
    display: grid;

    grid-template-columns:
        1.35fr
        0.8fr
        1.15fr
        0.9fr;

    gap: 55px;

    padding: 65px 0 55px;
}


/* BRAND */

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 16px;
}

.footer-logo img {
    display: block;

    width: 150px;
    height: auto;
}

.footer-tagline {
    margin: 0 0 14px;

    color: var(--gold-light, var(--gold));

    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-description {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.8;
}


/* COLUMNS */

.footer-column h4 {
    position: relative;

    margin: 0 0 22px;

    padding-bottom: 11px;

    color: var(--white);

    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-column h4::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 32px;
    height: 2px;

    background: var(--gold);
}


/* LINKS */

.footer-column > a {
    display: block;

    width: fit-content;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column > a:hover {
    color: var(--gold-light, var(--gold));

    transform: translateX(3px);
}


/* LOCATIONS */

.footer-location {
    margin-bottom: 20px;
}

.footer-location strong {
    display: block;

    margin-bottom: 6px;

    color: var(--white);

    font-size: 13px;
}

.footer-location p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.65;
}


/* CONTACT */

.footer-contact {
    display: flex !important;
    align-items: center;

    gap: 10px;

    margin-bottom: 15px !important;

    color: rgba(255, 255, 255, 0.72) !important;
}

.footer-contact span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    color: var(--gold);

    font-size: 12px;
}

.footer-contact:hover {
    color: var(--gold-light, var(--gold)) !important;

    transform: translateX(3px);
}


/* BOTTOM BAR */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.5);

    font-size: 12px;
}

.footer-legal {
    display: flex;
    align-items: center;

    gap: 10px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.55);

    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--gold);
}


/* MOBILE */

@media (max-width: 900px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 45px 35px;

        padding: 50px 0 40px;
    }

    .footer-brand {
        max-width: 100%;
    }
}


@media (max-width: 600px) {

    .footer-main {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 0 35px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo img {
        width: 135px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 12px;

        line-height: 1.6;
    }

    .footer-legal {
        flex-wrap: wrap;
    }
}


/* ==========================================================================
   FEATURED VIDEO TOUR & MATURED EXECUTIVE FRONTEND DESIGN ENHANCEMENTS
   ========================================================================== */

/* Video Tour Badge */
.video-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(7, 30, 61, 0.92);
    color: #e0b64f;
    border: 1px solid rgba(224, 182, 79, 0.45);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.property-link:hover .video-badge {
    transform: scale(1.05);
    background: rgba(7, 30, 61, 1);
}

/* Media Wrapper & Switcher on Details Page */
.property-media-wrapper {
    margin-bottom: 30px;
}

.media-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 30px;
    width: fit-content;
    border: 1px solid #e2e8f0;
}

.media-switcher-btn {
    padding: 9px 20px;
    border-radius: 24px;
    border: none;
    background: transparent;
    color: #475569;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.media-switcher-btn.active,
.media-switcher-btn:hover {
    background: var(--blue-dark);
    color: #f1f5f9;
    box-shadow: 0 4px 12px rgba(7, 41, 64, 0.15);
}

.media-switcher-btn.active {
    background: var(--blue-dark);
    color: var(--gold-light);
}

/* Responsive Video Player Container */
.video-player-container {
    position: relative;
    width: 100%;
    height: 480px;
    max-height: 70vh;
    background: #090d16;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-player-container video,
.video-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
    display: block;
}

/* Refined Matured Property Cards */
.property-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-link:hover .property-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.property-media img {
    transition: transform 0.6s ease;
}

.property-link:hover .property-media img {
    transform: scale(1.06);
}

.property-badge {
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.view-property {
    border-radius: 24px;
    padding: 10px 22px;
    background: var(--blue-dark);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(7, 41, 64, 0.15);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.property-link:hover .view-property {
    background: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201, 150, 44, 0.3);
}

@media (max-width: 768px) {
    .video-player-container {
        height: 320px;
    }
}


/* =========================================================
   PAGE LOAD ENTRANCE & SCROLL REVEAL ANIMATIONS
   ========================================================= */

/* Hero Entrance Animation on Page Load */
#home.featured-property-hero,
.properties-featured-hero {
    animation: heroLoadEntrance 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroLoadEntrance {
    0% {
        opacity: 0;
        transform: translateY(-12px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero Page Load Entrance Animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBuildingLeftIn {
    from {
        opacity: 0;
        transform: translateX(-50px) rotate(-6deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(-3.5deg);
    }
}

@keyframes heroBuildingRightIn {
    from {
        opacity: 0;
        transform: translateX(50px) rotate(6deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(3.5deg);
    }
}

.livest-hero-tag-wrap { animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.livest-hero-title { animation: heroFadeUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.livest-hero-subtitle { animation: heroFadeUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.livest-search-card-wrapper { animation: heroFadeUp 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.livest-hero-building-left { animation: heroBuildingLeftIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.livest-hero-building-right { animation: heroBuildingRightIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }

/* Scroll Reveal Animations for Sub-sections */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* =========================================================
   BESPOKE LUXURY REAL ESTATE HOMEPAGE STYLING
   ========================================================= */

.section-tagline {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-tagline.gold-text { color: var(--gold-light); }
.light-text { color: #ffffff !important; }
.light-subtext { color: #cbd5e1 !important; }

.section-head.text-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.section-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 15px;
    color: #475569;
}

/* Floating Quick Property Search Bar */
.hero-search-wrapper {
    position: relative;
    z-index: 40;
    margin-top: -45px;
    margin-bottom: 50px;
}

.hero-search-bar {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 20px 45px rgba(7, 41, 64, 0.14);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 16px;
    align-items: center;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-field label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-dark);
}

.search-field input,
.search-field select {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field input:focus,
.search-field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 150, 44, 0.18);
    background: #ffffff;
}

.search-submit-btn {
    height: 44px;
    padding: 0 24px;
    background: var(--blue-dark);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-end;
    transition: background 0.25s ease, transform 0.2s ease;
}

.search-submit-btn:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .hero-search-bar {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }
    .search-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* About Section Enhancements */
.about-section {
    padding: 60px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.about-text-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 34px);
    color: var(--blue-dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.about-lead {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    line-height: 1.6;
    margin-bottom: 14px;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.stat-card {
    background: #f8fafc;
    border-left: 3px solid var(--gold);
    padding: 16px;
    border-radius: 8px;
}

.stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--blue-dark);
}

.stat-card span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.about-vision-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vision-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.vision-card .icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--blue-dark);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.vision-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.vision-card p {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}

@media (max-width: 850px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* The RazeJam Distinction Section */
.distinction-section {
    padding: 80px 0;
    background: var(--blue-dark);
    color: #ffffff;
}

.distinction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.distinction-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 30px 22px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.distinction-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
}

.distinction-card .card-icon {
    color: var(--gold-light);
    margin-bottom: 18px;
}

.distinction-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.distinction-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .distinction-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .distinction-grid { grid-template-columns: 1fr; }
}

/* Catalog View More Button Wrap */
.catalog-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

.btn-outline-gold {
    display: inline-block;
    padding: 13px 30px;
    border: 2px solid var(--gold);
    border-radius: 30px;
    color: var(--blue-dark);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* Service Card Enhancements */
.services-section {
    padding: 70px 0;
    background: #f8fafc;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 36px 28px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.09);
    border-color: var(--gold);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    background: var(--blue-dark);
    color: var(--gold-light);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* CTA Consultation Banner Section */
.cta-banner-section {
    padding: 75px 0;
    background: linear-gradient(135deg, #072940 0%, #0b3d62 100%);
    color: #ffffff;
}

.cta-box {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-subtitle {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.cta-box p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 34px;
}

.cta-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn-phone {
    background: var(--gold);
    color: var(--blue-dark);
}

.cta-btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.cta-btn-tiktok {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   LIVEST MODERN UI DESIGN SYSTEM (ADAPTED FOR RAZEJAM BRAND)
   ========================================================= */

.livest-body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Header Navbar */
.livest-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 9995 !important;
    border-bottom: 1px solid #e2e8f0;
}

.livest-header-container {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.livest-brand img {
    width: 140px;
    height: auto;
    display: block;
}

.livest-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.livest-nav-link {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: color 0.2s ease;
}

.livest-nav-link:hover,
.livest-nav-link.active {
    color: var(--blue-dark);
}

.livest-auth-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.livest-btn-login {
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff !important;
    border-radius: 20px;
    border: 1px solid #072940 !important;
    background: #072940 !important;
    transition: all 0.25s ease;
}

.livest-btn-login:hover {
    background: #0b3d62 !important;
    border-color: #0b3d62 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.livest-btn-join {
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-dark);
    border-radius: 20px;
    background: var(--gold);
    transition: background 0.25s ease, transform 0.2s ease;
}

.livest-btn-join:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* Livest Hero Section */
.livest-hero-section {
    position: relative;
    padding: 60px 0 100px;
    background: #f3f6f3;
    overflow: hidden;
}

.livest-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(201, 150, 44, 0.08) 0%, rgba(243, 246, 243, 0) 70%);
    pointer-events: none;
}

.livest-hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 660px;
    margin: 0 auto;
}

.livest-hero-tag-wrap {
    margin-bottom: 20px;
}

.livest-hero-tag {
    display: inline-block;
    padding: 6px 16px;
    /* background: #ffffff; */
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.livest-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.livest-hero-subtitle {
    font-size: clamp(14px, 1.6vw, 17px);
    color: #334155 !important;
    font-weight: 500;
    max-width: 580px;
    margin: 0 auto 45px;
    line-height: 1.65;
}

/* Side Building Images (Exact Livest Reference Match) */
.livest-hero-building-left {
    position: absolute;
    left: clamp(8px, 2.2vw, 45px);
    top: 35px;
    width: clamp(165px, 16vw, 270px);
    height: clamp(250px, 24vw, 390px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
    transform: rotate(-3.5deg);
    z-index: 2;
    border: none;
    transition: transform 0.35s ease;
}

.livest-hero-building-left:hover {
    transform: rotate(-1.5deg) scale(1.02);
}

.livest-hero-building-right {
    position: absolute;
    right: clamp(8px, 2.2vw, 45px);
    top: 35px;
    width: clamp(165px, 16vw, 270px);
    height: clamp(250px, 24vw, 390px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
    transform: rotate(3.5deg);
    z-index: 2;
    border: none;
    transition: transform 0.35s ease;
}

.livest-hero-building-right:hover {
    transform: rotate(1.5deg) scale(1.02);
}

.livest-hero-building-left img,
.livest-hero-building-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .livest-hero-building-left,
    .livest-hero-building-right {
        display: none;
    }
}/* Floating Search Card (Address Only) */
.livest-search-card-wrapper {
    position: relative;
    max-width: 620px;
    width: 96%;
    margin: 0 auto;
}

.livest-search-form {
    background: #ffffff;
    border-radius: 24px;
    padding: 10px 12px;
    box-shadow: 0 20px 50px rgba(7, 41, 64, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.livest-search-pill-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0 16px;
    flex: 1 1 0;
    min-width: 0;
    height: 46px;
    box-sizing: border-box;
}

.livest-search-pill-box .field-icon {
    color: #64748b;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.livest-search-pill-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    width: 100%;
    padding: 0;
}

.livest-btn-search {
    padding: 0 26px;
    height: 46px;
    background: var(--gold);
    color: var(--blue-dark);
    border: none;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.2s ease;
}

.livest-btn-search:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.mobile-nav-cta {
    display: none;
}

.livest-hero-mobile-images {
    display: none;
}

@media (max-width: 850px) {
    .livest-search-form {
        flex-direction: column;
        border-radius: 20px;
        gap: 10px;
        padding: 14px;
    }
    .livest-search-pill-box {
        width: 100%;
    }
    .livest-btn-search,
    .livest-btn-advanced {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .livest-header-container {
        min-height: 60px;
        padding: 0 16px;
    }

    .livest-brand img {
        width: 125px;
    }

    /* Hide jammed header buttons on mobile so logo & hamburger icon have ample space */
    .livest-auth-btns {
        display: none !important;
    }

    /* Show CTA buttons inside mobile navigation drawer */
    .mobile-nav-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #e2e8f0;
        width: 100%;
    }

    .mobile-nav-cta .livest-btn-login,
    .mobile-nav-cta .livest-btn-join {
        width: 100%;
        text-align: center;
        justify-content: center;
        height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Full-Bleed Mobile Hero Background Image (No Margins, No Borders) */
    .livest-hero-section {
        position: relative;
        padding: 55px 16px 65px;
        margin: 0;
        border: none;
        border-radius: 0;
        background-image: linear-gradient(
            180deg,
            rgba(7, 41, 64, 0.6) 0%,
            rgba(7, 41, 64, 0.85) 100%
        ), url('../images/hero1.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .livest-hero-container {
        position: relative;
        z-index: 10;
        padding: 0;
        margin: 0 auto;
        border-radius: 0;
        box-shadow: none;
        background: transparent !important;
        background-image: none !important;
        color: #ffffff;
        text-align: center;
        max-width: 100%;
    }

    .livest-hero-tag {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.35);
        color: #ffffff;
    }

    .livest-hero-title {
        color: #ffffff !important;
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 12px;
        line-height: 1.2;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    }

    .livest-hero-subtitle {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 0;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    }

    /* Mobile Floating Property Search Card */
    .livest-search-card-wrapper {
        display: block !important;
        position: relative;
        z-index: 25;
        margin: 24px auto 0;
        width: 100%;
        max-width: 480px;
    }

    .livest-search-form {
        flex-direction: column;
        background: #ffffff;
        border-radius: 20px;
        gap: 10px;
        padding: 14px;
        box-shadow: 0 14px 35px rgba(7, 41, 64, 0.12);
        border: 1px solid #e2e8f0;
        width: 100%;
    }

    .livest-search-pill-box {
        width: 100%;
        height: 46px;
        padding: 0 14px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .livest-search-pill-box input,
    .livest-search-pill-box select {
        font-size: 14px;
        color: #0f172a;
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
    }

    .livest-btn-search {
        width: 100%;
        height: 46px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        background: var(--gold);
        color: var(--blue-dark);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .livest-btn-advanced {
        width: 100%;
        height: 46px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        justify-content: center;
        display: flex;
        align-items: center;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #475569;
    }

    /* Hide desktop absolute side buildings on mobile */
    .livest-hero-building-left,
    .livest-hero-building-right,
    .livest-hero-mobile-images {
        display: none !important;
    }
}

/* Results Count Toolbar */
.livest-toolbar-section {
    padding: 30px 0 10px;
}

.livest-toolbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.livest-results-count {
    font-size: 14px;
    color: #64748b;
}

.livest-results-count strong {
    color: #1e293b;
}

.livest-sort-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
}

/* 3-Column Property Grid */
.livest-catalog-section {
    padding: 20px 0 70px;
}

.livest-property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 992px) {
    .livest-property-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .livest-property-grid { grid-template-columns: 1fr; }
}

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

.livest-property-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.livest-card-link:hover .livest-property-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.livest-card-media {
    position: relative;
    height: 220px;
    background: #f1f5f9;
    overflow: hidden;
}

.livest-card-media img,
.livest-card-media video,
.livest-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.livest-card-link:hover .livest-card-media img,
.livest-card-link:hover .livest-card-media video {
    transform: scale(1.06);
}

.livest-badge-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.livest-badge-video {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(7, 41, 64, 0.9);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.livest-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.livest-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.livest-card-location {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
}

.livest-card-specs {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 18px;
    font-size: 12px;
    color: #64748b;
}

.livest-card-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.livest-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.livest-card-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--blue-dark);
}

.livest-price-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-left: 4px;
}

.livest-btn-invest {
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-dark);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.livest-card-link:hover .livest-btn-invest {
    background: var(--gold);
    color: var(--blue-dark);
    border-color: var(--gold);
}

/* About, Services, Contact Sections Styling */
.livest-about-section,
.livest-services-section,
.livest-contact-section {
    padding: 70px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.livest-section-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.livest-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.livest-about-text h2,
.livest-section-head h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 14px;
}

.lead-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.livest-about-stats {
    display: flex;
    gap: 16px;
}

.stat-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px;
}

.stat-pill strong {
    display: block;
    font-size: 20px;
    color: var(--blue-dark);
}

.stat-pill span {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
}

.livest-about-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.livest-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 22px;
    border-radius: 16px;
}

.livest-info-card h3 {
    font-size: 17px;
    color: var(--blue-dark);
    margin-bottom: 6px;
}

.livest-info-card p {
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 850px) {
    .livest-about-grid { grid-template-columns: 1fr; }
}

.livest-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 850px) {
    .livest-services-grid { grid-template-columns: 1fr; }
}

.livest-service-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 24px;
}

.service-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-dark);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.livest-service-box h3 {
    font-size: 18px;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.livest-service-box p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.livest-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 850px) {
    .livest-contact-grid { grid-template-columns: 1fr; }
}

.livest-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: border-color 0.2s ease;
}

.livest-contact-card:hover {
    border-color: var(--gold);
}

.livest-contact-card .card-icon {
    font-size: 24px;
    color: var(--blue-dark);
}

.livest-contact-card strong {
    display: block;
    font-size: 14px;
    color: var(--blue-dark);
}

.livest-contact-card span {
    font-size: 13px;
    color: #64748b;
}

/* Pre-Footer Confidence CTA Banner */
.livest-cta-banner {
    padding: 60px 0;
    background: #f3f6f3;
    text-align: center;
}

.livest-cta-container {
    max-width: 600px;
}

.livest-cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 24px;
}

.livest-btn-cta-green {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gold);
    color: var(--blue-dark);
    border-radius: 24px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.2s ease;
}

.livest-btn-cta-green:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Dark Watermark Footer (Livest UI Match) */
.livest-dark-footer {
    position: relative;
    background: #072940;
    color: #ffffff;
    padding: 70px 0 30px;
    overflow: hidden;
}

.livest-footer-container {
    position: relative;
    z-index: 10;
}

.livest-footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 850px) {
    .livest-footer-grid { flex-direction: column; gap: 40px; }
}

.livest-footer-left {
    max-width: 380px;
}

.livest-footer-brand img {
    width: 140px;
    height: auto;
    margin-bottom: 16px;
}

.livest-footer-subtext {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.livest-social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.livest-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    transition: background 0.2s ease;
}

.livest-social-icons a:hover {
    background: var(--gold);
    color: var(--blue-dark);
}

.livest-footer-right {
    display: flex;
    gap: 80px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav-col a {
    font-size: 14px;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.footer-nav-col a:hover {
    color: var(--gold);
}

.livest-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* Giant Footer Watermark */
.livest-footer-watermark {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: clamp(80px, 16vw, 220px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
    pointer-events: none;
    letter-spacing: 0.05em;
    user-select: none;
    z-index: 1;
}


