/**
 * Nexus Estate – Main Stylesheet
 * Dark navy + red accent, data-driven real estate aesthetic
 *
 * @package Nexus_Estate
 * @since   1.0.0
 */

/* ========================================
   0. CSS Custom Properties (from style.css)
   ======================================== */
:root {
    --nxe-primary: #0f1629;
    --nxe-primary-light: #1a2340;
    --nxe-primary-dark: #0a0f1c;
    --nxe-accent: #e63946;
    --nxe-accent-hover: #d12f3c;
    --nxe-white: #ffffff;
    --nxe-gray-50: #f8f9fa;
    --nxe-gray-100: #f1f3f5;
    --nxe-gray-200: #e9ecef;
    --nxe-gray-300: #dee2e6;
    --nxe-gray-400: #ced4da;
    --nxe-gray-500: #adb5bd;
    --nxe-gray-600: #868e96;
    --nxe-gray-700: #495057;
    --nxe-gray-800: #343a40;
    --nxe-gray-900: #212529;
    --nxe-success: #2ecc71;
    --nxe-warning: #f1c40f;
    --nxe-info: #3498db;
    --nxe-gold: #f4c542;

    --nxe-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nxe-font-size-xs: 0.75rem;
    --nxe-font-size-sm: 0.875rem;
    --nxe-font-size-base: 1rem;
    --nxe-font-size-lg: 1.125rem;
    --nxe-font-size-xl: 1.25rem;
    --nxe-font-size-2xl: 1.5rem;
    --nxe-font-size-3xl: 2rem;
    --nxe-font-size-4xl: 2.5rem;
    --nxe-font-size-5xl: 3.5rem;

    --nxe-radius-sm: 6px;
    --nxe-radius-md: 10px;
    --nxe-radius-lg: 16px;
    --nxe-radius-xl: 24px;
    --nxe-radius-full: 9999px;

    --nxe-shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --nxe-shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --nxe-shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --nxe-shadow-xl: 0 16px 50px rgba(0,0,0,.15);

    --nxe-transition-fast: 150ms ease;
    --nxe-transition-base: 250ms ease;
    --nxe-transition-slow: 400ms ease;

    --nxe-container-max: 1280px;
    --nxe-container-padding: 1.25rem;
    --nxe-header-height: 88px;
}

/* ========================================
   1. Reset & Base
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--nxe-font-primary);
    font-size: var(--nxe-font-size-base);
    line-height: 1.6;
    color: var(--nxe-gray-900);
    background: var(--nxe-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--nxe-transition-fast);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin: 0 0 1rem;
}

/* ========================================
   2. Layout Utilities
   ======================================== */
.nxe-container {
    width: 100%;
    max-width: var(--nxe-container-max);
    margin: 0 auto;
    padding: 0 var(--nxe-container-padding);
}

.nxe-layout {
    display: flex;
    gap: 2.5rem;
    padding: 3rem 0;
}
.nxe-layout--sidebar .nxe-layout__main {
    flex: 1;
    min-width: 0;
}
.nxe-layout--sidebar .nxe-layout__sidebar {
    width: 320px;
    flex-shrink: 0;
}

.nxe-section {
    padding: 5rem 0;
}
.nxe-section--dark {
    background: var(--nxe-primary);
    color: var(--nxe-white);
}
.nxe-section--gray {
    background: var(--nxe-gray-50);
}

.nxe-section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.nxe-section-header__title,
.nxe-section__title {
    font-size: var(--nxe-font-size-3xl);
    margin-bottom: .5rem;
}
.nxe-section-header__subtitle,
.nxe-section__subtitle {
    font-size: var(--nxe-font-size-lg);
    color: var(--nxe-gray-600);
    max-width: 600px;
    margin: 0 auto;
}
.nxe-section__header {
    margin-bottom: 3rem;
}
.nxe-section__header--center {
    text-align: center;
}
.nxe-section__header--split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.nxe-section__header--split .nxe-section__subtitle {
    margin: 0;
    max-width: none;
}

/* Section link */
.nxe-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: var(--nxe-font-size-sm);
    font-weight: 600;
    white-space: nowrap;
}
.nxe-link--accent {
    color: var(--nxe-accent);
}
.nxe-link--accent:hover {
    text-decoration: underline;
}

/* ========================================
   3. Buttons
   ======================================== */
.nxe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--nxe-radius-md);
    font-weight: 600;
    font-size: var(--nxe-font-size-sm);
    transition: all var(--nxe-transition-fast);
    line-height: 1;
    white-space: nowrap;
}
.nxe-btn--accent {
    background: var(--nxe-accent);
    color: var(--nxe-white);
}
.nxe-btn--accent:hover {
    background: var(--nxe-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(230, 57, 70, .35);
}
.nxe-btn--outline {
    border: 1.5px solid var(--nxe-gray-300);
    color: var(--nxe-gray-700);
    background: var(--nxe-white);
}
.nxe-btn--outline:hover {
    border-color: var(--nxe-accent);
    color: var(--nxe-accent);
}
.nxe-btn--dark {
    background: var(--nxe-primary);
    color: var(--nxe-white);
}
.nxe-btn--dark:hover {
    background: var(--nxe-primary-light);
}
.nxe-btn--sm {
    padding: .5rem 1rem;
    font-size: var(--nxe-font-size-xs);
}
.nxe-btn--full {
    width: 100%;
}

/* ========================================
   4. Header
   ======================================== */
.nxe-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nxe-header-height);
    background: var(--nxe-primary);
    transition: background var(--nxe-transition-base), box-shadow var(--nxe-transition-base);
}
.nxe-header--transparent {
    background: transparent;
}
.nxe-header--scrolled {
    background: var(--nxe-primary) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.nxe-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

/* Logo */
.nxe-header__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.nxe-header__logo,
.nxe-header__logo-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--nxe-white);
    font-weight: 700;
    font-size: var(--nxe-font-size-lg);
}
.nxe-header__logo-icon {
    display: flex;
    color: var(--nxe-accent);
}
.nxe-header__logo-img {
    height: 32px;
    width: auto;
}

/* Nav */
.nxe-nav {
    display: flex;
    align-items: center;
}
.nxe-nav .nxe-nav__list {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nxe-nav .menu-item a {
    display: block;
    padding: .5rem 1rem;
    color: rgba(255,255,255,.8);
    font-size: var(--nxe-font-size-sm);
    font-weight: 500;
    border-radius: var(--nxe-radius-sm);
    transition: color var(--nxe-transition-fast), background var(--nxe-transition-fast);
}
.nxe-nav .menu-item a:hover,
.nxe-nav .current-menu-item a {
    color: var(--nxe-white);
    background: rgba(255,255,255,.08);
}
.nxe-header__nav ul {
    display: flex;
    gap: .25rem;
}

/* Header actions */
.nxe-header__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.nxe-header__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--nxe-radius-full);
    color: rgba(255,255,255,.7);
    transition: background var(--nxe-transition-fast), color var(--nxe-transition-fast);
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.nxe-header__icon-btn:hover {
    background: rgba(255,255,255,.1);
    color: var(--nxe-white);
}
.nxe-header__avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--nxe-radius-full);
    background: var(--nxe-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nxe-white);
    font-weight: 700;
    font-size: var(--nxe-font-size-sm);
    overflow: hidden;
}
.nxe-header__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header icon buttons */
.nxe-header__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--nxe-radius-full);
    color: rgba(255,255,255,.7);
    transition: background var(--nxe-transition-fast), color var(--nxe-transition-fast);
}
.nxe-header__icon-btn:hover {
    background: rgba(255,255,255,.1);
    color: var(--nxe-white);
}

/* Wishlist icon badge */
.nxe-header__wishlist {
    position: relative;
}
.nxe-header__wishlist-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: var(--nxe-radius-full);
    background: var(--nxe-accent);
    color: var(--nxe-white);
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* Expandable header search */
.nxe-header-search {
    position: relative;
}
.nxe-header-search__panel {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    width: 340px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--nxe-transition-fast), transform var(--nxe-transition-fast);
    z-index: 100;
}
.nxe-header-search.is-open .nxe-header-search__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nxe-header-search.is-open .nxe-header-search__trigger {
    background: rgba(255,255,255,.15);
    color: var(--nxe-white);
}
.nxe-header-search__form {
    display: flex;
    align-items: center;
    background: var(--nxe-primary-light);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--nxe-radius-lg);
    padding: .25rem .5rem;
    box-shadow: var(--nxe-shadow-xl);
}
.nxe-header-search__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--nxe-white);
    font-family: var(--nxe-font-primary);
    font-size: var(--nxe-font-size-sm);
    padding: .625rem .75rem;
    min-width: 0;
}
.nxe-header-search__input::placeholder {
    color: rgba(255,255,255,.5);
}
.nxe-header-search__submit,
.nxe-header-search__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.nxe-header-search__submit:hover,
.nxe-header-search__close:hover {
    color: var(--nxe-white);
}

/* Mobile toggle */
.nxe-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--nxe-white);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ========================================
   5. Mobile Menu
   ======================================== */
.nxe-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    visibility: hidden;
    pointer-events: none;
}
.nxe-mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
}
.nxe-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    transition: opacity var(--nxe-transition-base);
}
.nxe-mobile-menu.is-open .nxe-mobile-menu__overlay {
    opacity: 1;
}
.nxe-mobile-menu__drawer {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--nxe-primary);
    transition: right var(--nxe-transition-base);
    overflow-y: auto;
    padding: 1.5rem;
}
.nxe-mobile-menu.is-open .nxe-mobile-menu__drawer {
    right: 0;
}
.nxe-mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.nxe-mobile-menu__brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--nxe-white);
    font-weight: 700;
}
.nxe-mobile-menu__close {
    color: var(--nxe-white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nxe-mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.nxe-mobile-menu__list a {
    display: block;
    padding: .75rem 1rem;
    color: rgba(255,255,255,.8);
    font-size: var(--nxe-font-size-base);
    border-radius: var(--nxe-radius-sm);
}
.nxe-mobile-menu__list a:hover {
    color: var(--nxe-white);
    background: rgba(255,255,255,.08);
}

/* ========================================
   6. Hero Section (Front Page)
   ======================================== */
.nxe-hero {
    position: relative;
    min-height: 600px;
    background: var(--nxe-primary);
    color: var(--nxe-white);
    display: flex;
    align-items: center;
    padding: calc(var(--nxe-header-height) + 3rem) 0 4rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.nxe-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,22,41,.95), rgba(15,22,41,.7));
    z-index: 1;
}
.nxe-hero .nxe-container {
    position: relative;
    z-index: 2;
}
.nxe-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.nxe-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem 1rem;
    background: rgba(230,57,70,.15);
    color: var(--nxe-accent);
    border-radius: var(--nxe-radius-full);
    font-size: var(--nxe-font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(230,57,70,.25);
}
.nxe-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nxe-accent);
    animation: nxePulse 2s infinite;
}
@keyframes nxePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.nxe-hero__title {
    font-size: var(--nxe-font-size-5xl);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}
.nxe-hero__title span {
    color: var(--nxe-accent);
}
.nxe-hero__subtitle {
    font-size: var(--nxe-font-size-lg);
    color: rgba(255,255,255,.65);
    line-height: 1.6;
    max-width: 480px;
}

/* Hero Search Panel */
.nxe-search-form--hero {
    background: var(--nxe-white);
    border-radius: var(--nxe-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--nxe-shadow-xl);
    color: var(--nxe-gray-900);
}
.nxe-search-form__tabs {
    display: flex;
    gap: .25rem;
    margin-bottom: 1.5rem;
    background: var(--nxe-gray-100);
    padding: 4px;
    border-radius: var(--nxe-radius-md);
}
.nxe-search-form__tab {
    flex: 1;
    padding: .625rem .75rem;
    font-size: var(--nxe-font-size-sm);
    font-weight: 600;
    border-radius: var(--nxe-radius-sm);
    color: var(--nxe-gray-600);
    text-align: center;
    transition: all var(--nxe-transition-fast);
    background: none;
}
.nxe-search-form__tab.is-active,
.nxe-search-form__tab:hover {
    background: var(--nxe-white);
    color: var(--nxe-primary);
    box-shadow: var(--nxe-shadow-sm);
}
.nxe-search-form__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.nxe-search-form__fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.nxe-search-form__field {
    display: flex;
    flex-direction: column;
    gap: .375rem;
}
.nxe-search-form__field label {
    font-size: var(--nxe-font-size-xs);
    font-weight: 600;
    color: var(--nxe-gray-600);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.nxe-search-form__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.nxe-search-form__input-wrap svg {
    position: absolute;
    left: .75rem;
    color: var(--nxe-gray-400);
    pointer-events: none;
}
.nxe-search-form__input-wrap input {
    padding-left: 2.5rem !important;
}
.nxe-search-form__field select,
.nxe-search-form__field input[type="text"] {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-md);
    font-size: var(--nxe-font-size-sm);
    font-family: var(--nxe-font-primary);
    color: var(--nxe-gray-900);
    background: var(--nxe-white);
    transition: border-color var(--nxe-transition-fast);
    appearance: none;
    -webkit-appearance: none;
}
.nxe-search-form__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23868e96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 2.5rem;
}
.nxe-search-form__field select:focus,
.nxe-search-form__field input[type="text"]:focus {
    outline: none;
    border-color: var(--nxe-accent);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, .1);
}
.nxe-search-form__toggles {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.nxe-search-form__toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--nxe-font-size-sm);
    font-weight: 500;
    color: var(--nxe-gray-700);
    cursor: pointer;
}
.nxe-search-form__toggle input[type="checkbox"] {
    accent-color: var(--nxe-primary);
    width: 16px;
    height: 16px;
}
.nxe-search-form__submit {
    margin-top: .25rem;
}

/* Desktop: search fields side by side */
@media (min-width: 769px) {
    .nxe-search-form__fields {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .nxe-search-form__field {
        flex: 1;
        min-width: 0;
    }
}

/* ========================================
   7. Quick Actions Bar
   ======================================== */
.nxe-quick-actions {
    padding: 1.5rem 0;
    background: var(--nxe-white);
    border-bottom: 1px solid var(--nxe-gray-200);
}
.nxe-quick-actions__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nxe-quick-actions__inner::-webkit-scrollbar { display: none; }
.nxe-quick-actions__grid {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nxe-quick-actions__grid::-webkit-scrollbar { display: none; }
.nxe-quick-actions__item,
.nxe-quick-action {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.25rem;
    border: 1.5px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-lg);
    font-size: var(--nxe-font-size-sm);
    font-weight: 500;
    color: var(--nxe-gray-700);
    white-space: nowrap;
    transition: all var(--nxe-transition-fast);
    background: var(--nxe-white);
    flex: 1;
    min-width: 200px;
}
.nxe-quick-actions__item:hover,
.nxe-quick-action:hover {
    border-color: var(--nxe-accent);
    box-shadow: var(--nxe-shadow-sm);
}
.nxe-quick-action__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--nxe-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nxe-quick-action__icon--red { background: rgba(230,57,70,.1); color: var(--nxe-accent); }
.nxe-quick-action__icon--blue { background: rgba(52,152,219,.1); color: var(--nxe-info); }
.nxe-quick-action__icon--orange { background: rgba(241,196,15,.15); color: #e67e22; }
.nxe-quick-action__content {
    display: flex;
    flex-direction: column;
}
.nxe-quick-action__label {
    font-weight: 600;
    color: var(--nxe-gray-900);
    font-size: var(--nxe-font-size-sm);
}
.nxe-quick-action__meta {
    font-size: var(--nxe-font-size-xs);
    color: var(--nxe-gray-500);
}

/* ========================================
   8. Market Pulse Section
   ======================================== */
.nxe-market-pulse {
    padding: 5rem 0;
    background: var(--nxe-gray-50);
}
.nxe-market-pulse__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}
.nxe-market-pulse__title {
    font-size: var(--nxe-font-size-2xl);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.nxe-market-pulse__title svg {
    color: var(--nxe-accent);
}
.nxe-market-pulse__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.nxe-market-card {
    background: var(--nxe-white);
    border-radius: var(--nxe-radius-lg);
    padding: 1.75rem 1.5rem;
    transition: transform var(--nxe-transition-base), box-shadow var(--nxe-transition-base);
    border: 1px solid var(--nxe-gray-200);
    text-align: center;
}
.nxe-market-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nxe-shadow-lg);
}
.nxe-market-card__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.nxe-market-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--nxe-radius-full);
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--nxe-gray-200);
}
.nxe-market-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nxe-market-card__avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--nxe-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nxe-white);
    font-size: var(--nxe-font-size-xl);
    font-weight: 700;
}
.nxe-market-card__name {
    font-weight: 700;
    font-size: var(--nxe-font-size-lg);
}
.nxe-market-card__growth {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .625rem;
    border-radius: var(--nxe-radius-full);
    font-size: var(--nxe-font-size-xs);
    font-weight: 600;
    background: rgba(46,204,113,.12);
    color: var(--nxe-success);
}
.nxe-market-card__divider {
    border: none;
    border-top: 1px solid var(--nxe-gray-200);
    margin: 1.25rem 0;
}
.nxe-market-card__stats {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.nxe-market-card__stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nxe-market-card__stat-label {
    font-size: var(--nxe-font-size-xs);
    color: var(--nxe-gray-500);
    text-transform: uppercase;
    letter-spacing: .3px;
}
.nxe-market-card__stat-value {
    font-weight: 600;
    font-size: var(--nxe-font-size-sm);
}

/* ========================================
   9. Property Cards
   ======================================== */
.nxe-properties-grid {
    display: grid;
    gap: 1.5rem;
}
.nxe-properties-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.nxe-properties-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.nxe-properties-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.nxe-properties-grid--cols-1 { grid-template-columns: 1fr; }

/* Featured Property Card */
.nxe-property-card {
    background: var(--nxe-white);
    border-radius: var(--nxe-radius-lg);
    overflow: hidden;
    border: 1px solid var(--nxe-gray-200);
    transition: transform var(--nxe-transition-base), box-shadow var(--nxe-transition-base);
    display: flex;
    flex-direction: column;
}
.nxe-property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nxe-shadow-lg);
}

/* Image / Media area */
.nxe-property-card__media {
    position: relative;
}
.nxe-property-card__media-link {
    display: block;
    height: 260px;
    background: var(--nxe-gray-200);
    overflow: hidden;
}
.nxe-property-card__media-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.nxe-property-card:hover .nxe-property-card__media-link img {
    transform: scale(1.05);
}
.nxe-property-card__img-main {
    display: block;
    width: 100%;
    height: 100%;
}
.nxe-property-card__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nxe-property-card__img-side {
    display: none;
}
.nxe-property-card__img-single {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.nxe-property-card__img-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badges */
.nxe-property-card__badges {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: flex;
    gap: .375rem;
    z-index: 2;
}
.nxe-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .625rem;
    border-radius: var(--nxe-radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.nxe-badge--featured {
    background: var(--nxe-accent);
    color: var(--nxe-white);
}
.nxe-badge--verified {
    background: var(--nxe-gray-800);
    color: var(--nxe-white);
}
.nxe-badge--sale {
    background: var(--nxe-info);
    color: var(--nxe-white);
}
.nxe-badge--rent {
    background: #8b5cf6;
    color: var(--nxe-white);
}
.nxe-badge--new-project {
    background: var(--nxe-gold);
    color: var(--nxe-primary);
}
.nxe-badge--commercial {
    background: #14b8a6;
    color: var(--nxe-white);
}
.nxe-badge--plot {
    background: #f97316;
    color: var(--nxe-white);
}

/* Save button */
.nxe-property-card__save {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 38px;
    height: 38px;
    border-radius: var(--nxe-radius-full);
    background: rgba(255,255,255,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nxe-gray-500);
    transition: all var(--nxe-transition-fast);
    z-index: 2;
    backdrop-filter: blur(4px);
    padding: 0;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.nxe-property-card__save:hover,
.nxe-property-card__save.is-saved {
    color: var(--nxe-accent);
    background: var(--nxe-white);
}

/* Card body */
.nxe-property-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nxe-property-card__price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: .5rem;
}
.nxe-property-card__price {
    font-size: var(--nxe-font-size-xl);
    font-weight: 800;
    color: var(--nxe-accent);
}
.nxe-property-card__price-sqft {
    font-size: var(--nxe-font-size-xs);
    color: var(--nxe-gray-600);
    background: var(--nxe-gray-100);
    padding: .25rem .625rem;
    border-radius: var(--nxe-radius-full);
    font-weight: 500;
}
.nxe-property-card__title {
    font-size: var(--nxe-font-size-base);
    font-weight: 600;
    margin-bottom: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nxe-property-card__location {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-500);
    margin-bottom: 1rem;
}
.nxe-property-card__location svg {
    flex-shrink: 0;
    color: var(--nxe-accent);
}

/* Specs */
.nxe-property-card__specs {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid var(--nxe-gray-100);
    border-bottom: 1px solid var(--nxe-gray-100);
    margin-bottom: 1rem;
}
.nxe-property-card__spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    font-size: var(--nxe-font-size-xs);
    color: var(--nxe-gray-600);
    flex: 1;
    text-align: center;
}
.nxe-property-card__spec + .nxe-property-card__spec {
    border-left: 1px solid var(--nxe-gray-100);
}
.nxe-property-card__spec svg {
    color: var(--nxe-gray-400);
}
.nxe-property-card__spec strong {
    color: var(--nxe-gray-800);
}

/* Agent row */
.nxe-property-card__agent {
    display: flex;
    align-items: center;
    gap: .625rem;
}
.nxe-property-card__agent-info {
    display: flex;
    flex-direction: column;
}
.nxe-property-card__agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--nxe-radius-full);
    background: var(--nxe-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--nxe-font-size-xs);
    font-weight: 700;
    color: var(--nxe-white);
    flex-shrink: 0;
}
.nxe-property-card__agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nxe-property-card__agent-name {
    font-size: var(--nxe-font-size-sm);
    font-weight: 600;
    line-height: 1.3;
}
.nxe-property-card__agent-role {
    font-size: var(--nxe-font-size-xs);
    color: var(--nxe-gray-500);
}

/* Compact card variant */
.nxe-property-card--compact .nxe-property-card__media-link {
    height: 200px;
}
.nxe-property-card--compact .nxe-property-card__body {
    padding: 1rem;
}

/* Property card footer (agent + contact) */
.nxe-property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .75rem;
}
.nxe-property-card__footer .nxe-btn--outline {
    border-color: var(--nxe-accent);
    color: var(--nxe-accent);
    border-radius: var(--nxe-radius-full);
    padding: .5rem 1.25rem;
    font-size: var(--nxe-font-size-xs);
}
.nxe-property-card__footer .nxe-btn--outline:hover {
    background: var(--nxe-accent);
    color: var(--nxe-white);
}

/* Placeholder for missing images */
.nxe-property-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--nxe-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nxe-gray-400);
}

/* ========================================
  10. Featured Properties Section
   ======================================== */
.nxe-featured-section {
    padding: 5rem 0;
}
.nxe-section__title-star {
    color: var(--nxe-gold);
    vertical-align: middle;
}

/* ========================================
  10b. Spaces That Breathe Section
   ======================================== */
.nxe-breathe-section {
    padding: 5rem 0;
    background: var(--nxe-gray-50);
}

/* ========================================
  11. How It Works Section
   ======================================== */
.nxe-how-works {
    background: var(--nxe-primary);
    color: var(--nxe-white);
}
.nxe-how-works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.nxe-step {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--nxe-radius-lg);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: background var(--nxe-transition-base);
}
.nxe-step:hover {
    background: rgba(255,255,255,.1);
}
.nxe-step__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--nxe-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.nxe-step__icon--accent { background: rgba(230,57,70,.2); color: var(--nxe-accent); }
.nxe-step__icon--blue   { background: rgba(52,152,219,.2); color: var(--nxe-info); }
.nxe-step__icon--green  { background: rgba(46,204,113,.2); color: var(--nxe-success); }
.nxe-step__title {
    font-size: var(--nxe-font-size-lg);
    font-weight: 700;
    margin-bottom: .5rem;
}
.nxe-step__text {
    font-size: var(--nxe-font-size-sm);
    color: rgba(255,255,255,.6);
    line-height: 1.6;
}
/* Light title/subtitle for dark bg sections */
.nxe-section__title--light { color: var(--nxe-white); }
.nxe-section__subtitle--light { color: rgba(255,255,255,.6); }

/* ========================================
  12. New Listings Section
   ======================================== */
.nxe-new-listings {
    padding: 5rem 0;
    background: var(--nxe-gray-50);
}
.nxe-new-listings__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}
.nxe-new-listings__title {
    font-size: var(--nxe-font-size-2xl);
    font-weight: 700;
}

/* ========================================
  13. Testimonials Section
   ======================================== */
.nxe-testimonials {
    padding: 5rem 0;
}
.nxe-testimonials__title {
    font-size: var(--nxe-font-size-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}
.nxe-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Card - using .nxe-testimonial (matches HTML output) */
.nxe-testimonial {
    background: var(--nxe-white);
    border: 1px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-lg);
    padding: 2rem;
    transition: transform var(--nxe-transition-base), box-shadow var(--nxe-transition-base);
    position: relative;
}
.nxe-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--nxe-shadow-lg);
}
.nxe-testimonial__quote-icon {
    color: var(--nxe-accent);
    opacity: .15;
    margin-bottom: .75rem;
}
.nxe-testimonial__stars {
    display: flex;
    gap: .125rem;
    margin-bottom: 1rem;
}
.nxe-testimonial__star {
    color: var(--nxe-gray-300);
}
.nxe-testimonial__star.is-filled {
    color: var(--nxe-gold);
}
.nxe-testimonial__text {
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    border: none;
    padding: 0;
    quotes: none;
}
.nxe-testimonial__author {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-top: 1px solid var(--nxe-gray-100);
    padding-top: 1.25rem;
}
.nxe-testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--nxe-radius-full);
    background: var(--nxe-primary);
    color: var(--nxe-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--nxe-font-size-sm);
    flex-shrink: 0;
}
.nxe-testimonial__info {
    display: flex;
    flex-direction: column;
}
.nxe-testimonial__name {
    font-weight: 600;
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-900);
}
.nxe-testimonial__role {
    font-size: var(--nxe-font-size-xs);
    color: var(--nxe-gray-500);
}

/* ========================================
  14. Footer
   ======================================== */
.nxe-footer {
    background: var(--nxe-primary);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 0;
}
.nxe-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nxe-footer__logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--nxe-white);
    font-weight: 700;
    font-size: var(--nxe-font-size-lg);
    margin-bottom: 1rem;
}
.nxe-footer__logo-icon {
    display: flex;
    color: var(--nxe-accent);
}
.nxe-footer__desc {
    font-size: var(--nxe-font-size-sm);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,.5);
}
.nxe-footer__social {
    display: flex;
    gap: .5rem;
}
.nxe-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: var(--nxe-radius-full);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    transition: all var(--nxe-transition-fast);
}
.nxe-footer__social a:hover {
    border-color: var(--nxe-accent);
    color: var(--nxe-accent);
    background: rgba(230,57,70,.1);
}
.nxe-footer__heading {
    color: var(--nxe-white);
    font-size: var(--nxe-font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1.25rem;
}
.nxe-footer__links li {
    margin-bottom: .625rem;
}
.nxe-footer__links a {
    font-size: var(--nxe-font-size-sm);
    color: rgba(255,255,255,.5);
    transition: color var(--nxe-transition-fast);
}
.nxe-footer__links a:hover {
    color: var(--nxe-white);
}
.nxe-footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
}
.nxe-footer__copyright {
    font-size: var(--nxe-font-size-xs);
    color: rgba(255,255,255,.4);
    margin: 0;
}

/* ========================================
  15. Back to Top
   ======================================== */
.nxe-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: var(--nxe-radius-full);
    background: var(--nxe-primary);
    color: var(--nxe-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--nxe-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--nxe-transition-base);
    z-index: 900;
}
.nxe-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nxe-back-to-top:hover {
    background: var(--nxe-accent);
}

/* ========================================
  16. Page Header / Breadcrumbs
   ======================================== */
.nxe-page-header {
    padding: calc(var(--nxe-header-height) + 2rem) 0 2rem;
    background: var(--nxe-gray-50);
    border-bottom: 1px solid var(--nxe-gray-200);
}
.nxe-page-header--dark {
    background: var(--nxe-primary);
    color: var(--nxe-white);
    border: none;
}
.nxe-page-header__title {
    font-size: var(--nxe-font-size-3xl);
    margin-top: .5rem;
}
.nxe-page-header__desc {
    color: var(--nxe-gray-600);
    margin-top: .5rem;
}

.nxe-breadcrumbs {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--nxe-font-size-sm);
    flex-wrap: wrap;
}
.nxe-breadcrumbs a {
    color: var(--nxe-gray-500);
}
.nxe-breadcrumbs a:hover {
    color: var(--nxe-accent);
}
.nxe-breadcrumbs .nxe-breadcrumbs__separator {
    color: var(--nxe-gray-400);
}
.nxe-breadcrumbs .nxe-breadcrumbs__current {
    color: var(--nxe-gray-700);
    font-weight: 600;
}
.nxe-page-header--dark .nxe-breadcrumbs a {
    color: rgba(255,255,255,.5);
}
.nxe-page-header--dark .nxe-breadcrumbs .nxe-breadcrumbs__current {
    color: var(--nxe-white);
}

/* ========================================
  17. Blog Post Card
   ======================================== */
.nxe-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.nxe-post-card {
    background: var(--nxe-white);
    border: 1px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-lg);
    overflow: hidden;
    transition: transform var(--nxe-transition-base), box-shadow var(--nxe-transition-base);
}
.nxe-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--nxe-shadow-md);
}
.nxe-post-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.nxe-post-card__content {
    padding: 1.25rem;
}
.nxe-post-card__meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: var(--nxe-font-size-xs);
    color: var(--nxe-gray-500);
    margin-bottom: .5rem;
}
.nxe-post-card__cat {
    background: var(--nxe-gray-100);
    padding: .125rem .5rem;
    border-radius: var(--nxe-radius-full);
    font-weight: 600;
    color: var(--nxe-gray-700);
}
.nxe-post-card__title {
    font-size: var(--nxe-font-size-base);
    margin-bottom: .5rem;
}
.nxe-post-card__title a:hover {
    color: var(--nxe-accent);
}
.nxe-post-card__excerpt {
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-600);
    line-height: 1.6;
    margin-bottom: .75rem;
}
.nxe-post-card__link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: var(--nxe-font-size-sm);
    font-weight: 600;
    color: var(--nxe-accent);
}
.nxe-post-card__link:hover {
    text-decoration: underline;
}

/* ========================================
  18. Single Post
   ======================================== */
.nxe-single-post {
    max-width: 780px;
}
.nxe-single-post__thumbnail {
    border-radius: var(--nxe-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}
.nxe-single-post__thumbnail img {
    width: 100%;
}
.nxe-single-post__header {
    margin-bottom: 2rem;
}
.nxe-single-post__meta {
    display: flex;
    gap: 1rem;
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-500);
    margin-bottom: .75rem;
}
.nxe-single-post__title {
    font-size: var(--nxe-font-size-4xl);
    margin-bottom: 1rem;
}
.nxe-single-post__author {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: var(--nxe-font-size-sm);
}
.nxe-single-post__author img {
    border-radius: var(--nxe-radius-full);
}
.nxe-single-post__content {
    font-size: var(--nxe-font-size-lg);
    line-height: 1.8;
    color: var(--nxe-gray-700);
}
.nxe-single-post__content h2,
.nxe-single-post__content h3 {
    color: var(--nxe-gray-900);
    margin: 2rem 0 1rem;
}
.nxe-single-post__content p {
    margin-bottom: 1.25rem;
}
.nxe-single-post__content img {
    border-radius: var(--nxe-radius-md);
    margin: 1.5rem 0;
}
.nxe-single-post__content a {
    color: var(--nxe-accent);
    text-decoration: underline;
}
.nxe-single-post__content blockquote {
    border-left: 4px solid var(--nxe-accent);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: var(--nxe-gray-50);
    border-radius: 0 var(--nxe-radius-md) var(--nxe-radius-md) 0;
    font-style: italic;
    color: var(--nxe-gray-700);
}
.nxe-single-post__footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--nxe-gray-200);
    margin-top: 2rem;
}
.nxe-single-post__tags {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    font-size: var(--nxe-font-size-sm);
}
.nxe-single-post__tags a {
    color: var(--nxe-accent);
}

/* ========================================
  19. Pagination
   ======================================== */
.nxe-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    padding: 2rem 0;
}
.nxe-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 .75rem;
    border-radius: var(--nxe-radius-md);
    font-size: var(--nxe-font-size-sm);
    font-weight: 500;
    transition: all var(--nxe-transition-fast);
    color: var(--nxe-gray-600);
    border: 1px solid var(--nxe-gray-200);
}
.nxe-pagination .page-numbers:hover {
    border-color: var(--nxe-accent);
    color: var(--nxe-accent);
}
.nxe-pagination .page-numbers.current {
    background: var(--nxe-accent);
    color: var(--nxe-white);
    border-color: var(--nxe-accent);
}

/* ========================================
  20. Sidebar / Widgets
   ======================================== */
.nxe-sidebar .widget {
    background: var(--nxe-white);
    border: 1px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.nxe-sidebar .widget-title {
    font-size: var(--nxe-font-size-base);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--nxe-accent);
}
.nxe-sidebar .widget ul li {
    padding: .5rem 0;
    border-bottom: 1px solid var(--nxe-gray-100);
    font-size: var(--nxe-font-size-sm);
}
.nxe-sidebar .widget ul li:last-child {
    border-bottom: none;
}
.nxe-sidebar .widget ul li a:hover {
    color: var(--nxe-accent);
}

/* ========================================
  21. Comments
   ======================================== */
.nxe-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--nxe-gray-200);
}
.nxe-comments__title {
    font-size: var(--nxe-font-size-xl);
    margin-bottom: 1.5rem;
}
.nxe-comments__list {
    margin-bottom: 2rem;
}
.nxe-comments__list .comment {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--nxe-gray-100);
}
.nxe-comments__list .comment-body {
    font-size: var(--nxe-font-size-sm);
}
.nxe-comment-form label {
    display: block;
    font-size: var(--nxe-font-size-sm);
    font-weight: 600;
    margin-bottom: .375rem;
}
.nxe-comment-form input[type="text"],
.nxe-comment-form input[type="email"],
.nxe-comment-form input[type="url"],
.nxe-comment-form textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-md);
    font-size: var(--nxe-font-size-sm);
    font-family: var(--nxe-font-primary);
    margin-bottom: 1rem;
    transition: border-color var(--nxe-transition-fast);
}
.nxe-comment-form input:focus,
.nxe-comment-form textarea:focus {
    outline: none;
    border-color: var(--nxe-accent);
}
.nxe-comment-form .submit {
    display: inline-flex;
    align-items: center;
    padding: .75rem 2rem;
    background: var(--nxe-accent);
    color: var(--nxe-white);
    border: none;
    border-radius: var(--nxe-radius-md);
    font-weight: 600;
    font-size: var(--nxe-font-size-sm);
    cursor: pointer;
    transition: background var(--nxe-transition-fast);
}
.nxe-comment-form .submit:hover {
    background: var(--nxe-accent-hover);
}

/* ========================================
  22. 404 Page
   ======================================== */
.nxe-404 {
    text-align: center;
    padding: calc(var(--nxe-header-height) + 5rem) 0 5rem;
}
.nxe-404__title {
    font-size: 8rem;
    font-weight: 900;
    color: var(--nxe-gray-200);
    line-height: 1;
    margin-bottom: .5rem;
}
.nxe-404__subtitle {
    font-size: var(--nxe-font-size-3xl);
    margin-bottom: 1rem;
}
.nxe-404__text {
    font-size: var(--nxe-font-size-lg);
    color: var(--nxe-gray-600);
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* ========================================
  23. No Results
   ======================================== */
.nxe-no-results {
    text-align: center;
    padding: 3rem 0;
}
.nxe-no-results__title {
    font-size: var(--nxe-font-size-2xl);
    margin-bottom: 1rem;
}
.nxe-no-results__text {
    color: var(--nxe-gray-600);
    margin-bottom: 1.5rem;
}
.nxe-no-results .search-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    gap: .5rem;
}
.nxe-no-results .search-field {
    flex: 1;
    padding: .75rem 1rem;
    border: 1.5px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-md);
    font-family: var(--nxe-font-primary);
}
.nxe-no-results .search-submit {
    padding: .75rem 1.5rem;
    background: var(--nxe-accent);
    color: var(--nxe-white);
    border: none;
    border-radius: var(--nxe-radius-md);
    font-weight: 600;
    cursor: pointer;
}

/* ========================================
  24. Page Content
   ======================================== */
.nxe-page-content .entry-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 0;
    font-size: var(--nxe-font-size-lg);
    line-height: 1.8;
}
.nxe-page-content .entry-content h2,
.nxe-page-content .entry-content h3 {
    margin: 2rem 0 1rem;
}
.nxe-page-content .entry-content p {
    margin-bottom: 1.25rem;
}
.nxe-page-content .entry-content img {
    border-radius: var(--nxe-radius-md);
}

/* ========================================
  25. Toast Notifications
   ======================================== */
.nxe-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: .75rem 1.5rem;
    background: var(--nxe-primary);
    color: var(--nxe-white);
    border-radius: var(--nxe-radius-md);
    font-size: var(--nxe-font-size-sm);
    font-weight: 500;
    box-shadow: var(--nxe-shadow-xl);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--nxe-transition-base);
}
.nxe-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nxe-toast--success { background: var(--nxe-success); }
.nxe-toast--error { background: var(--nxe-accent); }

/* ========================================
  26. Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --nxe-font-size-5xl: 2.75rem;
        --nxe-font-size-4xl: 2rem;
    }

    .nxe-header__nav,
    .nxe-nav { display: none; }
    .nxe-header__toggle { display: flex; }

    .nxe-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nxe-hero {
        min-height: auto;
    }

    .nxe-market-pulse__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nxe-properties-grid--cols-3,
    .nxe-properties-grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .nxe-how-works__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nxe-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nxe-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nxe-layout--sidebar .nxe-layout__sidebar {
        width: 260px;
    }
}

@media (max-width: 768px) {
    :root {
        --nxe-font-size-5xl: 2.25rem;
        --nxe-font-size-4xl: 1.75rem;
        --nxe-font-size-3xl: 1.5rem;
        --nxe-container-padding: 1rem;
    }

    .nxe-section {
        padding: 3rem 0;
    }

    .nxe-section__header--split {
        flex-direction: column;
        gap: .75rem;
    }

    .nxe-layout {
        flex-direction: column;
    }
    .nxe-layout--sidebar .nxe-layout__sidebar {
        width: 100%;
    }

    .nxe-market-pulse__grid {
        grid-template-columns: 1fr;
    }

    .nxe-properties-grid--cols-2,
    .nxe-properties-grid--cols-3,
    .nxe-properties-grid--cols-4 {
        grid-template-columns: 1fr;
    }

    .nxe-how-works__grid {
        grid-template-columns: 1fr;
    }

    .nxe-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .nxe-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nxe-posts-grid {
        grid-template-columns: 1fr;
    }

    .nxe-single-post__title {
        font-size: var(--nxe-font-size-2xl);
    }

    .nxe-404__title {
        font-size: 5rem;
    }

    .nxe-search-form__toggles {
        flex-wrap: wrap;
    }

    .nxe-quick-actions__grid {
        flex-direction: column;
    }

    .nxe-quick-action {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --nxe-font-size-5xl: 1.875rem;
    }

    .nxe-search-form--hero {
        padding: 1.25rem;
    }

    .nxe-search-form__tabs {
        flex-wrap: wrap;
    }

    .nxe-property-card__media-link {
        height: 200px;
    }
    .nxe-property-card__img-single {
        height: 200px;
    }

    .nxe-property-card__specs {
        flex-wrap: wrap;
        gap: .5rem;
    }
}

/* ========================================
  27. WordPress Admin Bar Fix
   ======================================== */
body.admin-bar .nxe-header {
    top: 32px;
}
body.admin-bar .nxe-page-header,
body.admin-bar .nxe-hero,
body.admin-bar .nxe-404 {
    padding-top: calc(var(--nxe-header-height) + 32px + 2rem);
}
@media (max-width: 782px) {
    body.admin-bar .nxe-header {
        top: 46px;
    }
}

/* ========================================
  28. Accessibility
   ======================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    clip: auto !important;
    display: block;
    height: auto;
    left: 5px;
    top: 5px;
    width: auto;
    z-index: 100000;
    background: var(--nxe-white);
    padding: .75rem 1.25rem;
    font-size: var(--nxe-font-size-sm);
    font-weight: 700;
    box-shadow: var(--nxe-shadow-lg);
}

:focus-visible {
    outline: 2px solid var(--nxe-accent);
    outline-offset: 2px;
}

/* ========================================
  29. About Page
   ======================================== */

/* Intro / Mission */
.nxe-about-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.nxe-about-intro__badge {
    display: inline-flex;
    align-items: center;
    padding: .375rem 1rem;
    background: rgba(230,57,70,.1);
    color: var(--nxe-accent);
    border: 1px solid rgba(230,57,70,.25);
    border-radius: var(--nxe-radius-full);
    font-size: var(--nxe-font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1.25rem;
}
.nxe-about-intro__title {
    font-size: var(--nxe-font-size-3xl);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}
.nxe-about-intro__text {
    color: var(--nxe-gray-700);
    line-height: 1.8;
}
.nxe-about-intro__text p { margin-bottom: 1rem; }
.nxe-about-intro__image {
    width: 100%;
    border-radius: var(--nxe-radius-xl);
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: var(--nxe-shadow-xl);
}
.nxe-about-intro__placeholder {
    background: var(--nxe-gray-100);
    border-radius: var(--nxe-radius-xl);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nxe-gray-400);
}

/* Stats Bar */
.nxe-about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.nxe-about-stat {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--nxe-radius-lg);
}
.nxe-about-stat__number {
    font-size: var(--nxe-font-size-4xl);
    font-weight: 800;
    color: var(--nxe-accent);
    line-height: 1;
}
.nxe-about-stat__label {
    font-size: var(--nxe-font-size-sm);
    color: rgba(255,255,255,.6);
    font-weight: 500;
}

/* Values / Why Choose Us */
.nxe-about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.nxe-value-card {
    background: var(--nxe-white);
    border: 1px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--nxe-transition-base), box-shadow var(--nxe-transition-base);
}
.nxe-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nxe-shadow-lg);
}
.nxe-value-card__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--nxe-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.nxe-value-card__icon--red    { background: rgba(230,57,70,.1);  color: var(--nxe-accent); }
.nxe-value-card__icon--blue   { background: rgba(52,152,219,.1); color: var(--nxe-info); }
.nxe-value-card__icon--green  { background: rgba(46,204,113,.1); color: var(--nxe-success); }
.nxe-value-card__icon--orange { background: rgba(241,196,15,.15); color: #e67e22; }
.nxe-value-card__title {
    font-size: var(--nxe-font-size-lg);
    font-weight: 700;
    margin-bottom: .625rem;
}
.nxe-value-card__text {
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-600);
    line-height: 1.7;
}

/* Team */
.nxe-about-team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.nxe-team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-lg);
    background: var(--nxe-white);
    transition: transform var(--nxe-transition-base), box-shadow var(--nxe-transition-base);
}
.nxe-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nxe-shadow-lg);
}
.nxe-team-card__photo {
    width: 88px;
    height: 88px;
    border-radius: var(--nxe-radius-full);
    margin: 0 auto 1.25rem;
    overflow: hidden;
    background: var(--nxe-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nxe-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nxe-team-card__initials {
    color: var(--nxe-white);
    font-size: var(--nxe-font-size-xl);
    font-weight: 700;
}
.nxe-team-card__name {
    font-size: var(--nxe-font-size-lg);
    font-weight: 700;
    margin-bottom: .375rem;
}
.nxe-team-card__role {
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-accent);
    font-weight: 600;
    margin-bottom: .75rem;
}
.nxe-team-card__bio {
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-600);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .nxe-about-values__grid,
    .nxe-about-team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nxe-about-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .nxe-about-intro__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nxe-about-intro__visual {
        order: -1;
    }
}
@media (max-width: 480px) {
    .nxe-about-values__grid,
    .nxe-about-team__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
  30. Contact Page
   ======================================== */

.nxe-contact-info__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.nxe-contact-card {
    background: var(--nxe-white);
    border: 1px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--nxe-transition-base), box-shadow var(--nxe-transition-base);
}
.nxe-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nxe-shadow-lg);
}
.nxe-contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--nxe-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.nxe-contact-card__icon--red    { background: rgba(230,57,70,.1);  color: var(--nxe-accent); }
.nxe-contact-card__icon--blue   { background: rgba(52,152,219,.1); color: var(--nxe-info); }
.nxe-contact-card__icon--green  { background: rgba(46,204,113,.1); color: var(--nxe-success); }
.nxe-contact-card__icon--orange { background: rgba(241,196,15,.15); color: #e67e22; }
.nxe-contact-card__title {
    font-size: var(--nxe-font-size-base);
    font-weight: 700;
    margin-bottom: .5rem;
}
.nxe-contact-card__text {
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-600);
    line-height: 1.7;
}
.nxe-contact-card__text a {
    color: var(--nxe-accent);
    font-weight: 500;
}
.nxe-contact-card__text a:hover {
    text-decoration: underline;
}

/* Map + Form */
.nxe-contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.nxe-contact-main__map {
    border-radius: var(--nxe-radius-lg);
    overflow: hidden;
    min-height: 480px;
    background: var(--nxe-gray-100);
}
.nxe-contact-main__map iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
}
.nxe-contact-main__map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 480px;
    color: var(--nxe-gray-400);
    text-align: center;
    padding: 2rem;
    font-size: var(--nxe-font-size-sm);
}
.nxe-contact-main__form-title {
    font-size: var(--nxe-font-size-2xl);
    font-weight: 700;
    margin-bottom: 1.75rem;
}
.nxe-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.nxe-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: .375rem;
}
.nxe-contact-form__field label {
    font-size: var(--nxe-font-size-sm);
    font-weight: 600;
    color: var(--nxe-gray-700);
}
.nxe-contact-form__field input,
.nxe-contact-form__field textarea {
    padding: .75rem 1rem;
    border: 1.5px solid var(--nxe-gray-200);
    border-radius: var(--nxe-radius-md);
    font-family: var(--nxe-font-primary);
    font-size: var(--nxe-font-size-sm);
    color: var(--nxe-gray-900);
    background: var(--nxe-white);
    transition: border-color var(--nxe-transition-fast);
    width: 100%;
}
.nxe-contact-form__field input:focus,
.nxe-contact-form__field textarea:focus {
    outline: none;
    border-color: var(--nxe-accent);
    box-shadow: 0 0 0 3px rgba(230,57,70,.1);
}
.nxe-contact-form__field textarea {
    resize: vertical;
    min-height: 120px;
}
.nxe-page-header--dark .nxe-page-header__desc {
    color: rgba(255,255,255,.65);
}

@media (max-width: 1024px) {
    .nxe-contact-info__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .nxe-contact-main__grid {
        grid-template-columns: 1fr;
    }
    .nxe-contact-main__map {
        min-height: 300px;
    }
    .nxe-contact-main__map iframe {
        height: 300px;
    }
    .nxe-contact-main__map-placeholder {
        height: 300px;
    }
}
@media (max-width: 480px) {
    .nxe-contact-info__grid {
        grid-template-columns: 1fr;
    }
}
