/* =========================================
   Real Estate Theme Theme - style.css
   WordPress-ready
   ========================================= */

/* =========================================
   Real Estate Theme Theme - style.css
   Merged from: home, category, property pages
   WordPress-ready
   ========================================= */

/* =========================================
   Real Estate Theme
   Built clean & WordPress-friendly
   ========================================= */

/* ---------- Variables ---------- */
:root {
    --color-primary: #b88a4f;
    --color-primary-hover: #9c7240;
    --color-secondary: #1f2229;
    --color-dark: #1f2229;
    --color-text: #4a4a4a;
    --color-muted: #7a7a7a;
    --color-light-bg: #f5f5f5;
    --color-white: #ffffff;
    --color-border: #e5e5e5;
    --color-rent: #e85b4d;
    --color-sale: #2ea44f;
    --color-featured: #1f2229;

    --font-display: 'Urbanist', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

    --transition: all 0.3s ease;
    --container-width: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light-bg);
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.3;
}

/* ---------- Layout ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 26px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    line-height: 1.3;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    gap: 30px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-dark);
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.main-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-dark);
    padding: 10px 0;
    position: relative;
}

.nav-menu > li > a i {
    font-size: 9px;
    opacity: 0.6;
}

.nav-menu > li > a:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.login-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: var(--transition);
}

/* =========================================
   BANNER SEARCH
   ========================================= */
.banner-search {
    position: relative;
    background-image:
        linear-gradient(rgba(31, 34, 41, 0.55), rgba(31, 34, 41, 0.55)),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 80px 0 90px;
    text-align: center;
}

.banner-overlay {
    /* kept as a placeholder if you want extra layered overlays later */
}

.banner-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    color: var(--color-white);
}

.breadcrumb a {
    color: var(--color-white);
    opacity: 0.85;
}

.breadcrumb a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.breadcrumb .separator {
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--color-primary);
    font-weight: 500;
}

.banner-subtitle {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.banner-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 14px;
}

.banner-text {
    font-size: 15px;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.banner-search-form {
    display: flex;
    gap: 6px;
    background: var(--color-white);
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 720px;
    margin: 0 auto;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--color-muted);
    font-size: 14px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 14px;
}

.search-input-wrapper input::placeholder {
    color: var(--color-muted);
}

.banner-search-form .btn {
    padding: 12px 32px;
}

/* =========================================
   LISTING MAIN
   ========================================= */
.listing-main {
    padding: 50px 0 60px;
}

/* Toolbar */
.listing-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}

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

.results-count strong {
    color: var(--color-dark);
    font-weight: 600;
}

.toolbar-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-by label {
    font-size: 14px;
    color: var(--color-muted);
}

.sort-by select {
    padding: 6px 30px 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-dark);
    font-size: 14px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='%23999'%3e%3cpath d='M5 6L0 0h10z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 34px;
    height: 34px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: var(--transition);
}

.view-btn:hover, .view-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* =========================================
   PROPERTY GRID & CARDS
   ========================================= */
.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.property-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Card thumbnail */
.card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-light-bg);
}

.card-thumb .thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .card-thumb img {
    transform: scale(1.07);
}

/* Badges */
.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 11px;
    color: var(--color-white);
    text-transform: capitalize;
}

.badge-rent {
    background: var(--color-rent);
}

.badge-sale {
    background: var(--color-sale);
}

.badge-featured {
    background: var(--color-featured);
}

/* Quick action icons */
.card-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.property-card:hover .card-actions {
    opacity: 1;
    transform: translateY(0);
}

.card-actions a {
    width: 32px;
    height: 32px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    font-size: 12px;
}

.card-actions a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Card body */
.card-body {
    padding: 18px 18px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.card-title a {
    color: var(--color-dark);
}

.card-title a:hover {
    color: var(--color-primary);
}

.card-location {
    font-size: 12px;
    color: var(--color-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-location i {
    color: var(--color-primary);
    font-size: 11px;
}

/* Property info row */
.property-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 14px;
}

.property-info li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--color-text);
}

.property-info li i {
    color: var(--color-primary);
    font-size: 13px;
}

/* Card meta (Realtors / Status / Time) */
.card-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
}

.card-meta li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-meta span {
    font-size: 11px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.card-meta strong {
    font-size: 12px;
    color: var(--color-dark);
    font-weight: 500;
}

/* Card footer */
.card-footer {
    padding: 0 18px 18px;
}

.card-price {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
}

.card-price small {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.85;
}

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-dark);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.page-link:hover:not(.disabled) {
    background: var(--color-primary);
    color: var(--color-white);
}

.page-link.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.page-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: #1c1f26;
    color: #b6b8bf;
    padding: 70px 0 0;
}

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

.footer-widget p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #a6a8b0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-white);
    margin-bottom: 18px;
}

.footer-logo .logo-text {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #3a3d44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a6a8b0;
    font-size: 13px;
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.widget-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 22px;
}

.contact-list li {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #a6a8b0;
}

.contact-list a {
    color: #a6a8b0;
}

.contact-list a:hover {
    color: var(--color-primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    color: #a6a8b0;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

/* Copyright */
.footer-copyright {
    border-top: 1px solid #2a2d34;
    padding: 20px 0;
}

.copyright-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright-inner p {
    font-size: 13px;
    color: #a6a8b0;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-bottom-links a {
    font-size: 13px;
    color: #a6a8b0;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

.footer-bottom-links span {
    color: #4a4d54;
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-family: var(--font-display);
    font-weight: 500;
    display: none;
    align-items: center;
    z-index: 99;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.scroll-top:hover {
    background: var(--color-primary);
}

.scroll-top.visible {
    display: inline-flex;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Large tablets / small desktops */
@media (max-width: 1199px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-menu {
        gap: 20px;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .header-inner {
        position: relative;
    }

    .mobile-toggle {
        display: flex;
        order: 3;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 50;
    }

    .main-nav.active {
        max-height: 600px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
    }

    .nav-menu > li > a {
        padding: 12px 24px;
        border-bottom: 1px solid var(--color-border);
    }

    .header-actions {
        gap: 12px;
    }

    .header-actions .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-search {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .header-inner {
        padding: 14px 16px;
    }

    .login-link {
        display: none;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

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

    .banner-title {
        font-size: 26px;
    }

    .banner-search-form {
        flex-direction: column;
    }

    .banner-search-form .btn {
        width: 100%;
    }

    .listing-toolbar {
        justify-content: flex-start;
    }

    .toolbar-controls {
        gap: 12px;
        width: 100%;
        justify-content: space-between;
    }

    .copyright-inner {
        justify-content: center;
        text-align: center;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* =========================================
   PROPERTY SINGLE PAGE
   ========================================= */

/* Property Header Bar */
.property-header {
    background: var(--color-white);
    padding: 24px 0 28px;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb-light {
    color: var(--color-muted);
    margin-bottom: 18px;
    justify-content: flex-start;
}

.breadcrumb-light a {
    color: var(--color-muted);
}

.breadcrumb-light a:hover {
    color: var(--color-primary);
}

.breadcrumb-light .current {
    color: var(--color-dark);
}

.property-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.property-header-left {
    flex: 1;
    min-width: 280px;
}

.property-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.property-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.property-location {
    font-size: 14px;
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.property-location i {
    color: var(--color-primary);
}

.property-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.property-price-block {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 12px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.price-value small {
    font-size: 14px;
    color: var(--color-muted);
    font-weight: 400;
    margin-left: 4px;
}

.property-quick-actions {
    display: flex;
    gap: 8px;
}

.property-quick-actions button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--color-light-bg);
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.property-quick-actions button:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Image Gallery */
.property-gallery {
    padding: 24px 0 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 520px;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.04);
}

.gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.gallery-side-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-side-item:hover img {
    transform: scale(1.07);
}

.gallery-btn {
    position: absolute;
    background: rgba(31, 34, 41, 0.85);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 12px;
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.gallery-btn:hover {
    background: var(--color-primary);
}

.gallery-view-all {
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gallery-overlay-btn {
    bottom: 12px;
    right: 12px;
    font-size: 11px;
    padding: 6px 10px;
}

/* Property Main Layout */
.property-main {
    padding: 50px 0 60px;
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    align-items: start;
}

.property-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

/* Quick Facts */
.quick-facts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.quick-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
    border-right: 1px solid var(--color-border);
}

.quick-fact:last-child {
    border-right: none;
}

.quick-fact i {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(184, 138, 79, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.quick-fact > div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fact-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-dark);
}

.fact-label {
    font-size: 11px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

/* Content Block */
.content-block {
    background: var(--color-white);
    padding: 28px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.block-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.block-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-primary);
}

.block-body p {
    margin-bottom: 14px;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.75;
}

.show-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    margin-top: 4px;
}

.show-more:hover {
    color: var(--color-primary-hover);
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.detail-item:nth-child(odd) {
    padding-right: 20px;
}

.detail-item:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--color-border);
}

.detail-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.detail-item span {
    color: var(--color-muted);
}

.detail-item strong {
    color: var(--color-dark);
    font-weight: 600;
}

/* Amenities List */
.amenities-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 20px;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text);
}

.amenities-list li i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(184, 138, 79, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

/* Floor Plan */
.floor-plan {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-light-bg);
}

.floor-plan img {
    width: 100%;
    height: auto;
    display: block;
}

/* Map placeholder */
.map-placeholder {
    height: 320px;
    background: linear-gradient(135deg, #eef0f4 0%, #e2e6ec 100%);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-muted);
    text-align: center;
    padding: 20px;
}

.map-placeholder i {
    font-size: 38px;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.map-placeholder p {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 500;
    margin: 0;
}

.map-placeholder span {
    font-size: 12px;
    font-style: italic;
}

/* Similar properties grid (2 cols inside main) */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.card-body-compact {
    padding-bottom: 10px;
}

.card-body-compact .property-info {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* =========================================
   SIDEBAR
   ========================================= */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.sidebar-block {
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

/* Agent Card */
.agent-header {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.agent-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--color-primary);
    padding: 2px;
}

.agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.agent-info {
    flex: 1;
    min-width: 0;
}

.agent-info h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.agent-role {
    font-size: 12px;
    color: var(--color-muted);
    display: block;
    margin-bottom: 6px;
}

.agent-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-muted);
}

.agent-rating i {
    color: #f5b301;
    font-size: 11px;
}

.agent-rating span {
    margin-left: 4px;
}

.agent-contact {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.agent-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--color-text);
}

.agent-contact li:last-child {
    margin-bottom: 0;
}

.agent-contact li i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(184, 138, 79, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.agent-contact a:hover {
    color: var(--color-primary);
}

/* Outline button */
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    padding: 10px 24px;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Forms */
.contact-form .form-row {
    margin-bottom: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-size: 13px;
    color: var(--color-dark);
    font-family: var(--font-body);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(184, 138, 79, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.5;
}

/* =========================================
   PROPERTY PAGE - RESPONSIVE
   ========================================= */
@media (max-width: 1199px) {
    .property-layout {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }

    .quick-facts {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .quick-fact:nth-child(3) {
        border-right: none;
    }
}

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

    .property-sidebar {
        position: static;
    }

    .gallery-grid {
        height: 420px;
    }

    .property-title {
        font-size: 26px;
    }

    .property-header-right {
        align-items: flex-start;
        width: 100%;
    }

    .property-price-block {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-main {
        height: 260px;
    }

    .gallery-side {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        height: 90px;
    }

    .quick-facts {
        grid-template-columns: repeat(2, 1fr);
        padding: 18px;
    }

    .quick-fact {
        border-right: none !important;
        padding-right: 0;
    }

    .content-block {
        padding: 22px 20px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .detail-item:nth-child(odd),
    .detail-item:nth-child(even) {
        padding: 12px 0;
        border-left: none;
    }

    .amenities-list {
        grid-template-columns: 1fr 1fr;
    }

    .similar-grid {
        grid-template-columns: 1fr;
    }

    .property-quick-actions button {
        width: 36px;
        height: 36px;
    }

    .price-value {
        font-size: 24px;
    }
}

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

/* ---------- Section base ---------- */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--color-light-bg);
}

.section-header {
    margin-bottom: 50px;
    max-width: 700px;
}

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

.section-tagline {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.section-tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-primary);
}

.section-header.centered .section-tagline {
    padding-left: 28px;
    padding-right: 28px;
}

.section-header.centered .section-tagline::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 14px;
    line-height: 1.2;
}

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

.section-footer {
    text-align: center;
    margin-top: 50px;
}

.tagline-light {
    color: var(--color-primary);
}

/* =========================================
   TRANSPARENT HEADER (homepage only)
   ========================================= */
body.home-page {
    /* hero starts at the very top, header sits over it */
}

.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 50;
}

.header-transparent .nav-menu > li > a,
.header-transparent .login-link,
.header-transparent .site-logo {
    color: var(--color-white);
}

.header-transparent .nav-menu > li > a:hover,
.header-transparent .login-link:hover {
    color: var(--color-primary);
}

.header-transparent .mobile-toggle span {
    background: var(--color-white);
}

/* When user scrolls — header turns solid */
.header-transparent.scrolled {
    position: fixed;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    animation: slideDown 0.4s ease;
}

.header-transparent.scrolled .nav-menu > li > a,
.header-transparent.scrolled .login-link,
.header-transparent.scrolled .site-logo {
    color: var(--color-dark);
}

.header-transparent.scrolled .mobile-toggle span {
    background: var(--color-dark);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}
.about-exp-badge {
  display: none;
}
/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    min-height: 760px;
    padding: 180px 0 200px;
    color: var(--color-white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&h=1200&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(31, 34, 60, 0.75) 0%,
        rgba(31, 34, 60, 0.45) 50%,
        rgba(31, 34, 60, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 54px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 36px;
    letter-spacing: 0.5px;
}

.hero-search-form {
    display: flex;
    gap: 6px;
    background: var(--color-white);
    padding: 12px;
    border-radius: var(--radius-md);
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hero-search-form .search-input-wrapper {
    flex: 1;
}

.hero-search-form .search-input-wrapper input {
    padding: 14px 16px 14px 44px;
    font-size: 15px;
}

.hero-search-form .btn {
    padding: 14px 36px;
    font-size: 14px;
}

/* =========================================
   HERO SERVICE CARDS (overlapping hero bottom)
   ========================================= */
.hero-services {
    position: relative;
    z-index: 3;
    margin-top: 80px;
    margin-bottom: -120px;
    padding-bottom: 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: rgba(31, 34, 60, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card {
    padding: 42px 32px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    transition: var(--transition);
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background: rgba(184, 138, 79, 0.18);
}

.service-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.service-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-link {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--color-white);
    gap: 12px;
}

.service-link i {
    font-size: 12px;
}

/* =========================================
   FEATURED PROPERTIES
   ========================================= */
.featured-properties {
    padding-top: 200px; /* extra room for overlapping cards above */
    background: var(--color-white);
}

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

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

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

/* =========================================
   CATEGORIES
   ========================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--color-white);
    padding: 32px 18px;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--color-dark);
    display: block;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    color: var(--color-dark);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(184, 138, 79, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(8deg);
}

.category-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-card span {
    font-size: 12px;
    color: var(--color-muted);
}

/* =========================================
   STATS
   ========================================= */
.stats-section {
    padding: 70px 0;
    background:
        linear-gradient(135deg, rgba(31, 34, 60, 0.92), rgba(31, 34, 60, 0.92)),
        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(184, 138, 79, 0.18);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 36px 30px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 32px;
    color: var(--color-primary);
    opacity: 0.15;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 22px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--color-muted);
}

/* =========================================
   BLOG
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.07);
}

.blog-date {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 11px;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
}

.blog-date strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.blog-body {
    padding: 22px 24px 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--color-muted);
}

.blog-meta i {
    color: var(--color-primary);
    margin-right: 4px;
}

.blog-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--color-dark);
}

.blog-title a:hover {
    color: var(--color-primary);
}

.blog-body p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 16px;
}

.blog-link {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 12px;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
    background:
        linear-gradient(120deg, rgba(31, 34, 60, 0.92) 0%, rgba(31, 34, 60, 0.78) 100%),
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 70px 0;
    color: var(--color-white);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 280px;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 540px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-outline-light {
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

/* =========================================
   HOMEPAGE - RESPONSIVE
   ========================================= */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 44px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .service-card:last-child {
        border-bottom: none;
    }

    .hero-services {
        margin-bottom: -80px;
    }

    .featured-properties {
        padding-top: 160px;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .hero {
        min-height: 600px;
        padding: 140px 0 120px;
    }

    .hero-title {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

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

    .testimonials-grid > :nth-child(3),
    .blog-grid > :nth-child(3) {
        display: none;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        text-align: center;
    }

    .cta-text p {
        margin: 0 auto;
    }

    /* Reset transparent header on mobile when nav opens */
    .header-transparent .main-nav.active {
        background: var(--color-dark);
    }

    .header-transparent .main-nav.active .nav-menu > li > a {
        color: var(--color-white);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .header-transparent.scrolled .main-nav.active {
        background: var(--color-white);
    }

    .header-transparent.scrolled .main-nav.active .nav-menu > li > a {
        color: var(--color-dark);
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 520px;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-search-form {
        flex-direction: column;
        padding: 8px;
    }

    .hero-search-form .btn {
        width: 100%;
    }

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

    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid > :nth-child(3),
    .blog-grid > :nth-child(3) {
        display: block;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
    }

    .cta-text h2 {
        font-size: 24px;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}


/* =========================================
   CATEGORY PAGE - Overrides
   ========================================= */
/* === Category page: extra top padding so banner title sits below transparent header === */
.banner-search {
    padding-top: 150px !important;
    padding-bottom: 110px !important;
}
@media (max-width: 991px) {
    .banner-search {
        padding-top: 120px !important;
        padding-bottom: 80px !important;
    }
}


/* =========================================
   PROPERTY SINGLE PAGE - Overrides
   ========================================= */
/* === Property page: dark hero-like top section so transparent header looks good === */
.property-header {
    background: linear-gradient(135deg, #1f223c 0%, #2a2e4a 60%, #1f223c 100%) !important;
    padding: 140px 0 50px !important;
    border-bottom: none !important;
    color: var(--color-white);
    position: relative;
}
.property-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    pointer-events: none;
}
.property-header > .container { position: relative; z-index: 2; }
.property-header .breadcrumb-light,
.property-header .breadcrumb-light a {
    color: rgba(255,255,255,0.85);
}
.property-header .breadcrumb-light a:hover,
.property-header .breadcrumb-light .current {
    color: var(--color-primary);
}
.property-header .breadcrumb-light .separator {
    color: rgba(255,255,255,0.4);
}
.property-header .property-title {
    color: var(--color-white);
}
.property-header .property-location {
    color: rgba(255,255,255,0.78);
}
.property-header .price-label {
    color: rgba(255,255,255,0.7);
}
.property-header .property-quick-actions button {
    background: rgba(255,255,255,0.12);
    color: var(--color-white);
}
.property-header .property-quick-actions button:hover {
    background: var(--color-primary);
    color: var(--color-white);
}
@media (max-width: 991px) {
    .property-header {
        padding: 120px 0 30px !important;
    }
}

/* =========================================
   BLOG ARCHIVE PAGE
   ========================================= */

.blog-archive {
    padding: 50px 0 70px;
}

.blog-archive-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.blog-archive-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Horizontal blog card for archive */
.blog-card-h {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: grid;
    grid-template-columns: 320px 1fr;
    transition: var(--transition);
}

.blog-card-h:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.blog-card-h .blog-thumb {
    aspect-ratio: unset;
    height: 240px;
}

.blog-card-h .blog-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-h .blog-title {
    font-size: 20px;
    margin-bottom: 14px;
}

.blog-card-h .blog-body p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-muted);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    background: rgba(184, 138, 79, 0.1);
    color: var(--color-primary);
    font-size: 11px;
    font-family: var(--font-display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   BLOG SIDEBAR
   ========================================= */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 20px;
}

.widget-block {
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.widget-block .widget-title {
    font-size: 17px;
    color: var(--color-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.widget-block .widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

/* Widget search */
.widget-search {
    position: relative;
}

.widget-search input {
    width: 100%;
    padding: 11px 44px 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-dark);
    outline: none;
    transition: var(--transition);
}

.widget-search input:focus {
    border-color: var(--color-primary);
}

.widget-search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 44px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 13px;
}

/* Widget categories */
.widget-cats li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.widget-cats li:last-child {
    border-bottom: none;
}

.widget-cats a {
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-cats a i {
    color: var(--color-primary);
    font-size: 10px;
}

.widget-cats a:hover {
    color: var(--color-primary);
}

.widget-cats .count {
    background: var(--color-light-bg);
    color: var(--color-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Recent posts widget */
.recent-posts li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.recent-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.recent-post-info h4 a {
    color: var(--color-dark);
}

.recent-post-info h4 a:hover {
    color: var(--color-primary);
}

.recent-post-info span {
    font-size: 11px;
    color: var(--color-muted);
}

/* Tags widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* =========================================
   BLOG SINGLE POST
   ========================================= */
.post-hero {
    position: relative;
    height: 480px;
    overflow: hidden;
}

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

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,34,41,0.7) 0%, rgba(31,34,41,0.1) 60%);
}

.post-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: var(--color-white);
}

.post-category-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.post-hero-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 14px;
    max-width: 780px;
}

.post-hero-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.post-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-hero-meta i {
    color: var(--color-primary);
}

.post-single-layout {
    padding: 60px 0 70px;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Post content typography */
.post-content {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text);
}

.post-content h2,
.post-content h3 {
    font-family: var(--font-display);
    color: var(--color-dark);
    margin: 32px 0 14px;
}

.post-content h2 { font-size: 24px; }
.post-content h3 { font-size: 20px; }

.post-content p {
    margin-bottom: 18px;
}

.post-content ul,
.post-content ol {
    margin: 0 0 18px 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    margin: 28px 0;
    padding: 20px 28px;
    border-left: 4px solid var(--color-primary);
    background: rgba(184, 138, 79, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: 16px;
    color: var(--color-dark);
}

.post-content img {
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

/* Post tags + share */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-muted);
}

.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--color-muted);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Author box */
.author-box {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    display: flex;
    gap: 24px;
    margin-top: 24px;
    align-items: flex-start;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-primary);
    padding: 2px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-box-info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 2px;
}

.author-box-info .author-role {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.author-box-info p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.7;
}

/* Comments */
.comments-section {
    background: var(--color-white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 24px;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.comment {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-meta h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
}

.comment-meta time {
    font-size: 12px;
    color: var(--color-muted);
}

.comment-body p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 8px;
}

.comment-reply {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    font-family: var(--font-display);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.comment-form {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.comment-form h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 20px;
}

.comment-form .form-row {
    margin-bottom: 14px;
}

.comment-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-dark);
    outline: none;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(184,138,79,0.1);
}

.comment-form textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-main {
    padding: 60px 0 70px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.contact-info-card {
    background: var(--color-white);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-info-card .info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(184, 138, 79, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.6;
}

.contact-info-card a:hover {
    color: var(--color-primary);
}

.contact-map {
    height: 280px;
    background: linear-gradient(135deg, #eef0f4 0%, #e2e6ec 100%);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-muted);
    text-align: center;
}

.contact-map i {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.contact-map p {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 500;
}

/* Contact form card */
.contact-form-card {
    background: var(--color-white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 20px;
}

.contact-form-card h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.contact-form-card > p {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 24px;
}

.contact-form-card .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-form-card .form-row {
    margin-bottom: 14px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-dark);
    outline: none;
    transition: var(--transition);
    background: var(--color-white);
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(184,138,79,0.1);
}

.contact-form-card textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Office hours */
.office-hours {
    margin-top: 30px;
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.office-hours h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-dark);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .day {
    color: var(--color-muted);
}

.hours-list .time {
    color: var(--color-dark);
    font-weight: 500;
}

.hours-list .closed {
    color: var(--color-rent);
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-intro {
    padding: 70px 0;
    background: var(--color-white);
}

.about-intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text .section-tagline {
    margin-bottom: 16px;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin: 24px 0 32px;
}

.about-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text);
}

.about-checks li i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(184, 138, 79, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-exp-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-exp-badge .badge-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-exp-badge .badge-text {
    font-size: 13px;
    opacity: 0.9;
}

/* Mission / Vision */
.mission-section {
    padding: 70px 0;
    background: var(--color-light-bg);
}

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

.mission-card {
    background: var(--color-white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(184, 138, 79, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.mission-card:hover .mission-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.mission-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.mission-card p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.75;
}

/* Team */
.team-section {
    padding: 70px 0;
    background: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    text-align: center;
    transition: var(--transition);
}

.team-photo {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 4px solid var(--color-border);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    border-color: var(--color-primary);
    transform: scale(1.04);
}

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

.team-social {
    position: absolute;
    inset: 0;
    background: rgba(184, 138, 79, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.team-card span {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
}

/* =========================================
   NEW PAGES - RESPONSIVE
   ========================================= */
@media (max-width: 1199px) {
    .blog-archive-layout,
    .post-layout,
    .contact-layout {
        grid-template-columns: 1fr 300px;
    }

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

@media (max-width: 991px) {
    .blog-archive-layout,
    .post-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar,
    .post-sidebar {
        position: static;
    }

    .contact-form-card {
        position: static;
    }

    .blog-card-h {
        grid-template-columns: 1fr;
    }

    .blog-card-h .blog-thumb {
        height: 220px;
    }

    .about-intro-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-exp-badge {
        bottom: 10px;
        left: 10px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .post-hero {
        height: 360px;
    }

    .post-hero-title {
        font-size: 26px;
    }

    .contact-info-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-card .form-grid,
    .comment-form .form-grid {
        grid-template-columns: 1fr;
    }

    .post-hero {
        height: 280px;
    }

    .post-hero-title {
        font-size: 20px;
    }

    .post-hero-content {
        padding: 20px;
    }

    .post-content {
        padding: 24px 20px;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .about-checks {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ACTIVE NAV STATE
   ========================================= */
.nav-menu > li.current-menu-item > a {
    color: var(--color-primary);
}

.header-transparent .nav-menu > li.current-menu-item > a {
    color: var(--color-primary);
}

.header-transparent.scrolled .nav-menu > li.current-menu-item > a {
    color: var(--color-primary);
}


/* =========================================
   Full-Width Peek Slider — Property Gallery
   Outside container, 100vw, Sotheby's style
   ========================================= */

/* The section itself is full viewport width */
.property-gallery-fullwidth {
    width: 100%;
    background: #0f1114;
    overflow: hidden;         /* clips peeking slides at page edges */
    position: relative;
}

/* Single image fallback */
.property-gallery-single img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

/* ---- Slider outer: fills 100% of the section ---- */
.peek-slider-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f1114;
}

/* ---- Track ---- */
.peek-slider-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ---- Slides ----
   Each slide = 66.666% of the outer width.
   Active slide is centred: 16.67% of prev shows left, 16.67% of next shows right.
   This matches the "centre full + ~50% peek on each side" aesthetic.
*/
.peek-slide {
    flex: 0 0 66.666%;
    box-sizing: border-box;
    padding: 0 6px;
}

.peek-slide-inner {
    overflow: hidden;
    height: 560px;
    border-radius: 0;        /* full-width = no rounded corners */
}

.peek-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.5s ease;
    filter: brightness(0.5) saturate(0.8);
    transform: scale(1.04);
}

.peek-slide.is-active .peek-slide-inner img {
    filter: brightness(1) saturate(1);
    transform: scale(1);
}

/* ---- Arrows ---- */
.peek-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.peek-arrow:hover {
    background: var(--color-primary);
    color: #fff;
}

.peek-arrow:disabled {
    opacity: 0.25;
    pointer-events: none;
}

.peek-arrow-prev { left: 28px; }
.peek-arrow-next { right: 28px; }

/* ---- Counter ---- */
.peek-counter {
    position: absolute;
    bottom: 20px;
    right: 28px;
    background: rgba(15, 17, 20, 0.65);
    color: #fff;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    z-index: 20;
    letter-spacing: 0.05em;
}

/* ---- Dot strip below slider ---- */
.peek-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 14px 0 10px;
    background: #0f1114;
}

.peek-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.peek-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.peek-dot.is-active {
    background: var(--color-primary);
    width: 26px;
    border-radius: 4px;
}

/* =========================================
   Property page sections (below gallery)
   ========================================= */

.single-property-page {
    background: var(--color-light-bg);
}

.property-hero-bar {
    background: var(--color-dark);
    padding: 28px 0;
}

.property-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.property-hero-badges {
    margin-bottom: 8px;
}

.property-hero-title {
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.property-hero-address {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.property-hero-address i {
    color: var(--color-primary);
    margin-right: 4px;
}

.property-hero-price {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.property-hero-price small {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.property-main {
    padding: 40px 0 60px;
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
}

.property-description,
.property-details-block,
.property-amenities-block,
.property-map-block {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.property-content p {
    margin-bottom: 12px;
    color: var(--color-text);
    line-height: 1.8;
}

.property-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.property-details-grid li {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.property-details-grid li:nth-last-child(-n+2) {
    border-bottom: none;
}

.property-details-grid li span { color: var(--color-muted); }
.property-details-grid li strong { color: var(--color-dark); font-weight: 600; }

.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amenities-list li {
    font-size: 14px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.amenities-list li i { color: var(--color-primary); font-size: 13px; }

.property-map-embed iframe {
    width: 100%;
    height: 320px;
    border: none;
    border-radius: var(--radius-md);
}

/* Sidebar */
.property-col-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.sidebar-price small {
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 400;
}
label {
  text-align: left;
  direction: ltr;
}
.wpcf7-form {
  direction: ltr;
}
.agent-card-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.agent-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.agent-photo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-muted);
    flex-shrink: 0;
}

.agent-name { font-size: 15px; color: var(--color-dark); }

.agent-contacts { display: flex; flex-direction: column; gap: 10px; }

.agent-contacts li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text);
    padding: 10px 14px;
    background: var(--color-light-bg);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.agent-contacts li a:hover { background: var(--color-primary); color: var(--color-white); }
.agent-contacts li a i { color: var(--color-primary); font-size: 14px; transition: var(--transition); }
.agent-contacts li a:hover i { color: var(--color-white); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .property-layout {
        grid-template-columns: 1fr;
    }
    .property-col-sidebar { position: static; }
}

@media (max-width: 900px) {
    .peek-slide { flex: 0 0 78%; }
    .peek-slide-inner { height: 400px; }
}

@media (max-width: 600px) {
    .peek-slide { flex: 0 0 90%; }
    .peek-slide-inner { height: 260px; }
    .peek-arrow { width: 40px; height: 40px; font-size: 16px; }
    .peek-arrow-prev { left: 12px; }
    .peek-arrow-next { right: 12px; }
    .property-hero-inner { flex-direction: column; align-items: flex-start; }
    .property-hero-title { font-size: 22px; }
    .property-details-grid { grid-template-columns: 1fr; }
    .property-details-grid li:last-child { border-bottom: none; }
    .amenities-list { grid-template-columns: 1fr; }
}
