:root {
    --navy: #07111f;
    --navy-mid: #0d1e33;
    --navy-card: #101e30;
    --navy-light: #152540;
    --green: #1db886;
    --green-dark: #17a276;
    --green-glow: rgba(29, 184, 134, 0.12);
    --gold: #c9a84c;
    --gold-glow: rgba(201, 168, 76, 0.12);
    --text: #e2ecf5;
    --text-muted: #7a90a8;
    --border: rgba(29, 184, 134, 0.18);
    --border-subtle: rgba(255, 255, 255, 0.06);
}

html body {
    background: var(--navy);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

#main-wrap {
    background: var(--navy);
}

h1,
h2,
h3,
h4,
h5,
h6,
.property-title,
.page-title,
.item-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

a {
    color: var(--green);
    text-decoration: none;
}

a:hover {
    color: var(--green-dark);
}

.btn,
button,
input[type=submit],
.houzez-btn,
.houzez-button,
.button,
.elementor-button {
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    font-weight: 700;
    transition: all .2s ease;
}

.btn-primary,
.houzez-btn-primary,
.button-primary,
.elementor-button {
    background: var(--green);
    border: 1px solid var(--green);
    color: #fff;
}

.btn-primary:hover,
.houzez-btn-primary:hover,
.button-primary:hover,
.elementor-button:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.btn-outline-shell {
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--text);
    background: transparent;
}

.btn-outline-shell:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-gold-shell {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-gold-shell:hover {
    background: var(--gold-glow);
    color: var(--gold);
}

/* Shell header override */
.shell-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 64px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shell-header .nav-logo {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #fff;

    img {
        max-height: 70px;
    }
}

.shell-header .nav-logo-text {
    display: inline-block;
}

.shell-header .nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.shell-header .nav-link {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .2s ease;
    padding: 6px 10px;
}

.shell-header .nav-link:hover,
.shell-header .nav-link.active {
    color: var(--green) !important;
}

.shell-header .nav-cyt-logo {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;

    img {
        max-height: 24px;
    }
}

.shell-header .nav-cyt-logo:hover {
    color: var(--green);
}

.hamburger {
    display: none;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-muted, rgba(255, 255, 255, 0.72));
    transition: transform .3s ease, opacity .3s ease;
}

.hamburger span:nth-child(1) {
    top: 9px;
}

.hamburger span:nth-child(2) {
    top: 16px;
}

.hamburger span:nth-child(3) {
    top: 23px;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 90;
}

.mobile-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}

body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (max-width: 900px) {
    .shell-header {
        padding: 0 20px;
    }

    .shell-header .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: .5rem 1.5rem 1.5rem;
        background: rgba(8, 15, 24, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s ease, opacity .3s ease;
    }

    .shell-header .nav-links.open {
        max-height: 320px;
        opacity: 1;
    }

    .shell-header .nav-link {
        /* width: 100%; */
        font-size: 13px;
        padding: 14px 16px;
        color: var(--text);
        border-radius: 8px;
        transition: background 0.2s;

        &:hover {
            background: rgba(29, 184, 134, 0.08);
        }
    }

    .shell-header .nav-cyt-logo {
        display: none;
    }

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

@media (max-width: 600px) {
    .shell-header {
        padding: 0 16px;
    }
}

.main-header,
.header-main-wrap,
.header-nav,
.header-v1,
.header-main-wrap,
.navbar,
.header-mobile {
    background: rgba(0, 0, 0, 0.92) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-main-wrap,
.navbar {
    min-height: 64px;
}

.nav-link,
.navbar-nav>li>a,
.main-nav>li>a,
.header-menu>li>a {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
}

.nav-link:hover,
.navbar-nav>li>a:hover,
.main-nav>li>a:hover,
.header-menu>li>a:hover,
.current-menu-item>a {
    color: var(--green) !important;
}

.shell-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 100px 40px 60px;
    text-align: center;
}

.shell-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 31, 0.6);
}

.shell-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.shell-hero__content h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: .02em;
}

.shell-hero__content h1 em {
    font-style: italic;
    color: var(--green);
}

.shell-hero__content p {
    font-size: 1rem;
    color: rgba(226, 236, 245, .85);
    line-height: 1.8;
    margin-bottom: 28px;
}

.shell-hero__btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.shell-card,
.listing-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .3s, transform .2s;
    display: flex;
    flex-direction: column;
}

.shell-card:hover,
.listing-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
}

.listing-img {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--navy-light) 0, var(--navy-mid) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, .7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: var(--green);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
}

.listing-badge.villa {
    color: var(--gold);
    border-color: rgba(201, 168, 76, .3);
}

.listing-badge.penthouse {
    color: #5ba0d0;
    border-color: rgba(91, 160, 208, .3);
}

.listing-location {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--text-muted);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
}

.listing-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 12px;
}

.listing-title a {
    color: #fff;
}

.listing-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.listing-stat {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.listing-stat strong {
    color: var(--text);
}

.listing-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 10px;
}

.listing-desc {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.listing-body .listing-btns {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.listing-btns .btn-shell {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    font-size: .7rem;
    line-height: 1.7;
    width: 50%;
}

.featured-card {
    position: relative;
    margin: 0 auto 32px;
    background: var(--navy-card);
    border: 2px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    max-width: 1200px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, .75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    z-index: 2;
}

.featured-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.featured-img-wrap {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
    overflow: hidden;
}

.featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-img-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, .7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
}

.featured-img-badge.shell {
    border: 1px solid var(--green);
    color: var(--green);
}

.featured-img-badge.finished {
    border: 1px solid var(--gold);
    color: var(--gold);
}

.featured-body {
    padding: 36px 36px 28px;
}

.featured-subtitle {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.featured-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 6px;
}

.featured-specs {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.featured-spec {
    text-align: center;
}

.featured-spec-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}

.featured-spec-label {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

.featured-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.featured-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 12px;
}

.featured-note {
    font-size: .68rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}

.featured-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.filter-bar {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 40px;
}

.filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 4px;
    white-space: nowrap;
}

.filter-btn {
    padding: 7px 14px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    background: var(--navy);
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    line-height: 1;
    text-transform: none;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-glow);
}

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

@media (max-width:1024px) {

    .shell-listings-grid,
    .property-listing,
    .listing-grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:900px) {
    .shell-hero {
        padding: 90px 20px 40px;
        min-height: 45vh;
    }

    .filter-bar {
        padding: 16px 20px;
    }

    .featured-images {
        grid-template-columns: 1fr;
    }

    .featured-img-wrap {
        height: 220px;
    }

    .featured-body {
        padding: 24px 20px;
    }
}

@media (max-width:600px) {

    .shell-listings-grid,
    .property-listing,
    .listing-grid-view {
        grid-template-columns: 1fr;
    }

    .shell-hero__btns,
    .featured-btns,
    .listing-btns {
        flex-direction: row;
    }
}

.post-wrap,
.author-detail-wrap,
.post-comment-form-wrap,
.houzez-main-wrap-v1,
.widget-wrap,
.blog-post-item,
.agent-detail-page-v1 .agent-stats-wrap,
.agent-detail-page-v1 .agent-profile-wrap,
.agent-detail-page-v1 .agent-bio-wrap,
.agent-contacts-wrap,
.listing-view .item-wrap {
    background-color: var(--navy-card);

    .item-title,
    a,
    .item-date,
    .item-address {
        color: var(--text);
    }

    .item-price {
        color: var(--green)
    }
}

.blog-post-meta,
.blog-post-author,
.blog-post-meta .list-inline-item time {
    color: var(--text) !important;
}

.clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fixed shell-header offset on non-front pages */
body:not(.home) {
    padding-top: 60px;
}

.breadcrumb .breadcrumb-item::before {
    color: var(--green) !important;
    position: relative;
    top: 3px;
}

.breadcrumb-item.active {
    color: var(--text-muted)
}

/* FOOTER */
.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 40px;
    text-align: center;
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.footer .footer-copy em {
    color: var(--green);
    font-style: normal;
}