/* ═══════════════════════════════════════════════════════════
   MPE Flask — Premium Real Estate CSS
   Navy + Amber Gold design system
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
        --navy-900: #0a1628;
        --navy-800: #0f1f3a;
        --navy-700: #152a4a;
        --navy-600: #1b3a5c;
        --gold-500: #d4a853;
        --gold-400: #e0bb6a;
        --gold-300: #ebd089;
        --white: #ffffff;
        --gray-50: #f8f9fa;
        --gray-100: #f1f3f5;
        --gray-200: #e9ecef;
        --gray-300: #dee2e6;
        --gray-400: #ced4da;
        --gray-500: #adb5bd;
        --gray-600: #868e96;
        --gray-700: #495057;
        --gray-800: #343a40;
        --gray-900: #212529;
        --red-500: #ef4444;
        --green-500: #22c55e;

        --bg-primary: var(--white);
        --bg-secondary: var(--gray-50);
        --bg-card: var(--white);
        --bg-dark: var(--navy-900);
        --text-primary: var(--gray-900);
        --text-secondary: var(--gray-600);
        --text-muted: var(--gray-500);
        --text-on-dark: var(--white);
        --border: var(--gray-200);
        --accent: var(--gold-500);
        --accent-hover: var(--gold-400);

        --font-display: 'Playfair Display', Georgia, serif;
        --font-body: 'DM Sans', system-ui, sans-serif;

        --radius-sm: 6px;
        --radius-md: 10px;
        --radius-lg: 16px;
        --radius-xl: 20px;

        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
        --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

        --max-width: 1200px;
        --space-xs: 0.25rem;
        --space-sm: 0.5rem;
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-8: 2rem;
}

/* ─── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
}

html {
        scroll-behavior: smooth;
}

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

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

img {
        max-width: 100%;
        height: auto;
}

/* ─── Top Bar ───────────────────────────────────────────── */
.top-bar {
        background: var(--navy-900);
        color: var(--gray-400);
        font-size: 0.78rem;
        padding: 6px 0;
}

.top-bar-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
}

.top-bar-item {
        margin-right: 1rem;
}

.rera-tag {
        color: var(--gold-500);
        font-weight: 600;
}

/* ─── Header ────────────────────────────────────────────── */
.header {
        background: var(--white);
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        z-index: 100;
}

.header-main {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 64px;
}

.logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
}

.logo-image {
        height: 42px;
}

.logo-text {
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--navy-900);
}

.nav {
        display: flex;
        gap: 4px;
}

.nav-link {
        padding: 8px 14px;
        border-radius: var(--radius-sm);
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--gray-700);
        transition: all 0.2s;
}

.nav-link:hover {
        background: var(--gray-100);
        color: var(--navy-900);
}

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

.menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        border-radius: var(--radius-md);
        font-weight: 600;
        font-size: 0.9rem;
        border: 2px solid transparent;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        gap: 6px;
}

.btn-sm {
        padding: 6px 14px;
        font-size: 0.82rem;
}

.btn-lg {
        padding: 12px 28px;
        font-size: 1rem;
}

.btn-accent {
        background: var(--gold-500);
        color: var(--navy-900);
        border-color: var(--gold-500);
}

.btn-accent:hover {
        background: var(--gold-400);
        border-color: var(--gold-400);
}

.btn-outline {
        background: transparent;
        border-color: var(--navy-700);
        color: var(--navy-700);
}

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

.btn-primary {
        display: block;
        text-align: center;
        padding: 14px;
        background: #25d366;
        color: #fff;
        border-radius: var(--radius-md);
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        transition: background 0.2s;
}

.btn-primary:hover {
        background: #20bd5a;
}

.btn-secondary {
        display: block;
        text-align: center;
        padding: 14px;
        background: var(--gray-100);
        color: var(--gray-800);
        border-radius: var(--radius-md);
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        transition: background 0.2s;
}

.btn-secondary:hover {
        background: var(--gray-200);
}

/* ─── Badge ─────────────────────────────────────────────── */
.badge {
        padding: 3px 10px;
        border-radius: 20px;
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
}

.badge-hot {
        background: var(--red-500);
        color: #fff;
}

.badge-accent {
        background: var(--gold-500);
        color: var(--navy-900);
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
        background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
        color: var(--white);
        padding: 5rem 1rem 4rem;
        text-align: center;
}

.hero-content {
        max-width: 720px;
        margin: 0 auto;
}

.hero-tag {
        display: inline-block;
        padding: 6px 18px;
        border-radius: 20px;
        background: rgba(212, 168, 83, 0.15);
        color: var(--gold-400);
        font-size: 0.82rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
}

.hero-title {
        font-family: var(--font-display);
        font-size: clamp(2rem, 5vw, 3.2rem);
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.15;
}

.hero-title-accent {
        color: var(--gold-500);
}

.hero-subtitle {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 2rem;
}

/* ─── Search Box ────────────────────────────────────────── */
.search-box {
        display: flex;
        background: var(--white);
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        max-width: 600px;
        margin: 0 auto 2rem;
}

.search-select {
        padding: 14px 16px;
        border: none;
        font-size: 0.9rem;
        font-weight: 600;
        background: var(--gray-50);
        color: var(--navy-900);
        border-right: 1px solid var(--gray-200);
        cursor: pointer;
        min-width: 100px;
}

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

.search-input {
        width: 100%;
        padding: 14px 16px;
        border: none;
        font-size: 0.95rem;
        outline: none;
}

.search-btn {
        padding: 14px 24px;
        background: var(--gold-500);
        color: var(--navy-900);
        border: none;
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
        transition: background 0.2s;
}

.search-btn:hover {
        background: var(--gold-400);
}

/* ─── Instant Search Results ────────────────────────────── */
.instant-results {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: var(--shadow-lg);
        display: none;
        z-index: 50;
        max-height: 360px;
        overflow-y: auto;
}

.ir-section {
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
}

.ir-label {
        padding: 4px 16px;
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
}

.ir-item {
        display: block;
        padding: 8px 16px;
        font-size: 0.9rem;
        color: var(--text-primary);
        transition: background 0.15s;
}

.ir-item:hover {
        background: var(--gray-50);
}

/* ─── Stats Bar ─────────────────────────────────────────── */
.stats-bar {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
}

.stat-item {
        text-align: center;
}

.stat-value {
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--gold-500);
}

.stat-label {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
        text-transform: uppercase;
        letter-spacing: 0.5px;
}

/* ─── Quick Links ───────────────────────────────────────── */
.quick-links {
        background: var(--bg-primary);
        padding: 3rem 1rem;
}

.quick-links-grid {
        max-width: var(--max-width);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
}

.quick-link-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 24px;
        text-align: center;
        text-decoration: none;
        transition: all 0.25s;
        cursor: pointer;
}

.quick-link-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--gold-500);
}

.quick-link-icon {
        font-size: 2rem;
        margin-bottom: 8px;
}

.quick-link-title {
        font-weight: 700;
        font-size: 1rem;
        color: var(--navy-900);
        margin-bottom: 4px;
}

.quick-link-desc {
        font-size: 0.82rem;
        color: var(--text-secondary);
}

/* ─── Section Headers ───────────────────────────────────── */
.section-header {
        text-align: center;
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 1rem 2rem;
}

.section-header h2 {
        font-family: var(--font-display);
        font-size: 1.8rem;
        color: var(--navy-900);
        margin-bottom: 0.5rem;
}

.section-header p {
        color: var(--text-secondary);
        font-size: 1rem;
}

/* ─── Featured / Property Grid ──────────────────────────── */
.featured-section {
        padding: 4rem 1rem;
}

.featured-grid,
.property-grid {
        max-width: var(--max-width);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        gap: 20px;
}

.property-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        text-decoration: none;
        transition: all 0.25s;
        display: flex;
        flex-direction: column;
}

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

.property-image-wrap {
        position: relative;
        aspect-ratio: 4/3;
        overflow: hidden;
        background: var(--gray-100);
}

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

.property-badges {
        position: absolute;
        top: 10px;
        left: 10px;
        display: flex;
        gap: 6px;
}

.property-details {
        padding: 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
}

.property-type {
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--gold-500);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
}

.property-title {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--navy-900);
        margin-bottom: 4px;
        line-height: 1.3;
}

.property-location {
        font-size: 0.82rem;
        color: var(--text-secondary);
        margin-bottom: 8px;
}

.property-footer {
        margin-top: auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
}

.property-price {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--navy-900);
}

.property-price-sub {
        font-size: 0.75rem;
        color: var(--text-muted);
}

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

/* ─── Why Us / Cards Grid ───────────────────────────────── */
.why-us-section {
        padding: 4rem 1rem;
}

.why-us-grid {
        max-width: var(--max-width);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 20px;
}

.why-us-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 28px 22px;
        text-align: center;
        transition: all 0.25s;
}

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

.why-us-icon {
        font-size: 2rem;
        margin-bottom: 12px;
}

.why-us-title {
        font-weight: 700;
        font-size: 1rem;
        color: var(--navy-900);
        margin-bottom: 8px;
}

.why-us-desc {
        font-size: 0.85rem;
        color: var(--text-secondary);
        line-height: 1.5;
}

/* ─── News Grid ─────────────────────────────────────────── */
.news-grid {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 1rem;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
}

.news-card {
        background: var(--bg-card);
        border-radius: var(--radius-lg);
        padding: 24px;
        border: 1px solid var(--border);
        text-decoration: none;
        transition: all 0.2s;
        display: flex;
        flex-direction: column;
        gap: 10px;
}

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

.news-date {
        font-size: 0.8rem;
        color: var(--text-muted);
}

.news-title {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text-primary);
        line-height: 1.4;
}

.news-grid-lg {
        max-width: var(--max-width);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
}

.news-card-lg {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        text-decoration: none;
        transition: all 0.25s;
}

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

.news-img {
        width: 100%;
        height: 180px;
        object-fit: cover;
}

.news-card-body {
        padding: 20px;
}

.news-card-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--navy-900);
        margin-top: 8px;
        line-height: 1.3;
}

.news-category {
        display: inline-block;
        margin-top: 8px;
        padding: 2px 10px;
        background: var(--gray-100);
        border-radius: 12px;
        font-size: 0.75rem;
        color: var(--text-secondary);
}

/* ─── CTA Section ───────────────────────────────────────── */
.cta-section {
        background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
        padding: 5rem 1rem;
        text-align: center;
}

.cta-content {
        max-width: 600px;
        margin: 0 auto;
}

.cta-title {
        font-family: var(--font-display);
        font-size: 2rem;
        color: var(--white);
        margin-bottom: 1rem;
}

.cta-desc {
        color: rgba(255, 255, 255, 0.75);
        font-size: 1.05rem;
        margin-bottom: 2rem;
}

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

/* ─── Page Header ───────────────────────────────────────── */
.page-header {
        background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
        color: var(--white);
        padding: 3rem 1rem 2rem;
}

.detail-header {
        background: var(--navy-900);
        color: var(--white);
        padding: 2rem 1rem 1.5rem;
}

.header-inner {
        max-width: var(--max-width);
        margin: 0 auto;
}

.page-title {
        font-family: var(--font-display);
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
}

.page-subtitle {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
}

.breadcrumb {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.82rem;
        margin-bottom: 12px;
        flex-wrap: wrap;
}

.breadcrumb a {
        color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb-sep {
        color: rgba(255, 255, 255, 0.4);
}

.prop-title {
        font-family: var(--font-display);
        font-size: 1.6rem;
        margin-bottom: 8px;
}

.prop-location {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
}

/* ─── Filters ───────────────────────────────────────────── */
.filters-bar {
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 12px 1rem;
}

.filters-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
}

.filter-select {
        padding: 8px 14px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        font-size: 0.88rem;
        background: var(--white);
        cursor: pointer;
}

/* ─── Results Area ──────────────────────────────────────── */
.results-area {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 2rem 1rem;
}

.results-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
}

.result-count {
        font-size: 0.9rem;
        color: var(--text-secondary);
}

/* ─── Content Layout (2 col) ────────────────────────────── */
.content-layout {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 2rem 1rem;
        display: grid;
        grid-template-columns: 1fr 360px;
        gap: 2rem;
        align-items: start;
}

.content-main {
        min-width: 0;
}

.sidebar {
        position: sticky;
        top: 80px;
}

/* ─── Gallery ───────────────────────────────────────────── */
.gallery-wrap {
        margin-bottom: 1.5rem;
}

.gallery-main {
        width: 100%;
        max-height: 450px;
        object-fit: cover;
        border-radius: var(--radius-lg);
}

.gallery-thumbs {
        display: flex;
        gap: 8px;
        margin-top: 10px;
        overflow-x: auto;
}

.gallery-thumb {
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: var(--radius-sm);
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.2s;
}

.gallery-thumb:hover {
        border-color: var(--gold-500);
}

.gallery-placeholder {
        aspect-ratio: 16/9;
        background: var(--gray-100);
        border-radius: var(--radius-lg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--text-muted);
        font-size: 2rem;
}

/* ─── Details Section ───────────────────────────────────── */
.details-section {
        margin-bottom: 2rem;
}

.section-title {
        font-family: var(--font-display);
        font-size: 1.3rem;
        color: var(--navy-900);
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border);
}

.spec-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
}

.spec-item {
        padding: 14px;
        background: var(--gray-50);
        border-radius: var(--radius-md);
}

.spec-label {
        font-size: 0.78rem;
        color: var(--text-muted);
        font-weight: 500;
        margin-bottom: 4px;
}

.spec-value {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--navy-900);
}

.description {
        line-height: 1.8;
        color: var(--gray-700);
}

.description p {
        margin-bottom: 1rem;
}

/* ─── Building Card ─────────────────────────────────────── */
.building-card {
        display: flex;
        gap: 16px;
        align-items: center;
        padding: 16px;
        background: var(--gray-50);
        border-radius: var(--radius-md);
}

.building-image {
        width: 100px;
        height: 80px;
        object-fit: cover;
        border-radius: var(--radius-sm);
}

.building-name {
        font-weight: 700;
        font-size: 1rem;
        color: var(--navy-900);
}

.building-location {
        font-size: 0.85rem;
        color: var(--text-secondary);
        margin-top: 4px;
}

/* ─── Price Card ────────────────────────────────────────── */
.price-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 24px;
        box-shadow: var(--shadow-md);
}

.price-label {
        font-size: 0.82rem;
        color: var(--text-muted);
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
}

.price-value {
        font-family: var(--font-display);
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--navy-900);
        margin-bottom: 16px;
}

.price-unit {
        font-size: 0.9rem;
        font-weight: 400;
        color: var(--text-secondary);
}

.price-meta {
        margin-bottom: 20px;
}

.price-meta-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
}

.price-meta-label {
        font-size: 0.85rem;
        color: var(--text-secondary);
}

.price-meta-value {
        font-weight: 600;
        font-size: 0.9rem;
}

.cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
}

.btn-enquiry {
        display: block;
        width: 100%;
        padding: 12px 18px;
        border: none;
        border-radius: var(--radius);
        background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
        color: white;
        font-weight: 600;
        font-size: .9rem;
        cursor: pointer;
        transition: transform .15s, box-shadow .2s;
        text-align: center;
}

.btn-enquiry:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

/* ─── Card CTA Row (listing pages) — sleek dark bar ─────── */
.card-wrap {
        display: flex;
        flex-direction: column;
}

.card-wrap .property-card,
.card-wrap .builder-card {
        flex: 1;
        border-radius: var(--radius) var(--radius) 0 0;
}

.card-cta-row {
        display: flex;
        gap: 0;
        background: rgba(10, 22, 40, .92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 0 0 var(--radius) var(--radius);
        overflow: hidden;
}

.card-cta-top {
        display: flex;
        flex: 1;
}

.card-cta {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 8px;
        font-size: .78rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        border: none;
        color: rgba(255, 255, 255, .85);
        background: transparent;
        transition: background .2s;
        letter-spacing: .01em;
}

.card-cta:hover {
        background: rgba(255, 255, 255, .08);
}

.card-cta-call {
        border-right: 1px solid rgba(255, 255, 255, .1);
}

.card-cta-call:hover {
        background: rgba(59, 130, 246, .12);
        box-shadow: none;
}

.card-cta-wa {
        border-right: 1px solid rgba(255, 255, 255, .1);
}

.card-cta-wa:hover {
        background: rgba(37, 211, 102, .12);
        box-shadow: none;
}

.card-cta-enq {
        flex: 1;
        padding: 10px 8px;
        font-size: .78rem;
        width: auto;
        letter-spacing: .01em;
}

.card-cta-enq:hover {
        background: rgba(212, 175, 55, .12);
        box-shadow: none;
}

/* ─── Amenities ─────────────────────────────────────────── */
.amenities-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
}

.amenity-tag {
        padding: 8px 16px;
        background: var(--gray-50);
        border: 1px solid var(--border);
        border-radius: 20px;
        font-size: 0.85rem;
        color: var(--gray-700);
}

/* ─── Pagination ────────────────────────────────────────── */
.pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 2rem;
        flex-wrap: wrap;
}

.page-link {
        padding: 8px 14px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        font-size: 0.88rem;
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.2s;
}

.page-link:hover {
        background: var(--navy-700);
        color: var(--white);
        border-color: var(--navy-700);
}

.page-link.active {
        background: var(--navy-900);
        color: var(--white);
        border-color: var(--navy-900);
}

.page-dots {
        color: var(--text-muted);
        padding: 0 4px;
}

/* ─── Forms ─────────────────────────────────────────────── */
.form-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 2rem;
        box-shadow: var(--shadow-sm);
}

.form-group {
        margin-bottom: 1.25rem;
}

.form-group label {
        display: block;
        font-weight: 600;
        font-size: 0.88rem;
        margin-bottom: 6px;
        color: var(--gray-700);
}

.form-input {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        font-size: 0.92rem;
        transition: border-color 0.2s;
}

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

/* ─── Data Tables ───────────────────────────────────────── */
.data-table-wrap {
        overflow-x: auto;
}

.data-table {
        width: 100%;
        border-collapse: collapse;
}

.data-table th,
.data-table td {
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid var(--border);
        font-size: 0.9rem;
}

.data-table th {
        background: var(--gray-50);
        font-weight: 600;
        color: var(--gray-700);
        position: sticky;
        top: 0;
}

.data-table td a {
        color: var(--navy-700);
        font-weight: 600;
}

.data-table td a:hover {
        color: var(--gold-500);
}

.data-table tr:hover {
        background: var(--gray-50);
}

/* ─── Empty State ───────────────────────────────────────── */
.empty-state {
        text-align: center;
        padding: 4rem 1rem;
}

.empty-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
}

.empty-title {
        font-size: 1.3rem;
        color: var(--navy-900);
        margin-bottom: 0.5rem;
}

.empty-text {
        color: var(--text-secondary);
}

/* ─── Flash ─────────────────────────────────────────────── */
.flash-messages {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 1rem;
}

.flash {
        padding: 12px 20px;
        border-radius: var(--radius-md);
        font-size: 0.9rem;
        margin-bottom: 8px;
}

.flash-success {
        background: #dcfce7;
        color: #166534;
}

.flash-error {
        background: #fef2f2;
        color: #991b1b;
}

/* ─── Contact Grid ──────────────────────────────────────── */
.contact-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
}

.contact-card {
        background: var(--gray-50);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 28px;
        text-align: center;
        transition: transform 0.2s;
}

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

.contact-icon {
        font-size: 2rem;
        margin-bottom: 8px;
}

.contact-label {
        font-size: 0.82rem;
        color: var(--text-muted);
        text-transform: uppercase;
        font-weight: 600;
        margin-bottom: 4px;
}

.contact-value {
        font-weight: 700;
        color: var(--navy-900);
}

.contact-value a {
        color: var(--gold-500);
}

/* ─── Sidebar Navigation ────────────────────────────────── */
.page-with-sidebar {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 2rem 1rem;
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 2rem;
        align-items: start;
}

.sidebar-nav {
        position: sticky;
        top: 80px;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-xl);
        padding: 1rem 0;
        box-shadow: var(--shadow-sm);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
}

.sidebar-title {
        padding: 10px 20px 6px;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-muted);
}

.sidebar-title:not(:first-child) {
        margin-top: 8px;
        border-top: 1px solid var(--gray-100);
        padding-top: 14px;
}

.sidebar-link {
        display: block;
        padding: 8px 20px;
        font-size: 0.88rem;
        color: var(--gray-700);
        text-decoration: none;
        transition: all 0.15s ease;
        border-left: 3px solid transparent;
}

.sidebar-link:hover {
        background: var(--gray-50);
        color: var(--navy-900);
}

.sidebar-link.active {
        background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent);
        color: var(--navy-900);
        font-weight: 600;
        border-left-color: var(--gold-500);
}

.sidebar-content {
        min-width: 0;
}

/* Mobile: horizontal scrolling pill bar */
@media (max-width: 768px) {
        .page-with-sidebar {
                grid-template-columns: 1fr;
                gap: 0;
                padding: 0;
        }

        .sidebar-nav {
                position: relative;
                top: 0;
                display: flex;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                gap: 6px;
                padding: 12px 16px;
                border-radius: 0;
                border-left: none;
                border-right: none;
                max-height: none;
                background: var(--white);
                border-bottom: 1px solid var(--border);
                flex-wrap: nowrap;
        }

        .sidebar-nav::-webkit-scrollbar {
                display: none;
        }

        .sidebar-title {
                display: none;
        }

        .sidebar-link {
                flex-shrink: 0;
                padding: 6px 14px;
                border-radius: 20px;
                border: 1px solid var(--border);
                border-left: none;
                font-size: 0.82rem;
                white-space: nowrap;
                background: var(--bg-card);
        }

        .sidebar-link:hover {
                border-color: var(--gold-400);
        }

        .sidebar-link.active {
                background: var(--navy-900);
                color: var(--white);
                border-color: var(--navy-900);
                border-left: none;
        }

        .sidebar-content {
                padding: 1.5rem 1rem;
        }
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
        background: var(--navy-900);
        color: var(--gray-400);
        padding: 4rem 1rem 0;
}

.footer-grid {
        max-width: var(--max-width);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.5fr repeat(4, 1fr);
        gap: 2rem;
}

.brand-title {
        font-family: var(--font-display);
        font-size: 1.25rem;
        color: var(--white);
        margin-bottom: 10px;
}

.brand-desc {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 14px;
}

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

.social-link {
        font-size: 1.2rem;
        transition: opacity 0.2s;
}

.social-link:hover {
        opacity: 0.7;
}

.footer-logo {
        height: 48px;
        width: auto;
        margin-bottom: 12px;
        border-radius: 6px;
}

.footer-column h4 {
        color: var(--white);
        font-size: 1rem;
        margin-bottom: 16px;
}

.footer-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
}

.footer-link {
        color: var(--gray-400);
        font-size: 0.92rem;
        transition: color 0.2s;
}

.footer-link:hover {
        color: var(--gold-500);
}

.footer-bottom {
        margin-top: 3rem;
        padding: 1.5rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.88rem;
}

.rera-info-box {
        color: var(--gold-500);
        font-weight: 600;
}

/* ─── Mobile ────────────────────────────────────────────── */
@media (max-width: 768px) {
        .nav {
                display: none;
                position: fixed;
                top: 64px;
                left: 0;
                right: 0;
                background: var(--white);
                flex-direction: column;
                padding: 1rem;
                box-shadow: var(--shadow-lg);
                z-index: 99;
        }

        .nav.mobile-open {
                display: flex;
        }

        .menu-toggle {
                display: block;
        }

        .hero {
                padding: 3rem 1rem 2.5rem;
        }

        .hero-title {
                font-size: 1.8rem;
        }

        .search-box {
                flex-direction: column;
        }

        .search-select {
                border-right: none;
                border-bottom: 1px solid var(--gray-200);
                min-width: unset;
        }

        .stats-bar {
                gap: 1rem;
        }

        .featured-grid,
        .property-grid,
        .why-us-grid {
                grid-template-columns: 1fr;
        }

        .content-layout {
                grid-template-columns: 1fr;
        }

        .sidebar {
                position: static;
        }

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

        .footer-link {
                font-size: 0.95rem;
        }

        .cta-actions {
                flex-direction: column;
                align-items: center;
        }

        .top-bar {
                display: none;
        }
}

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

        .footer-link {
                font-size: 1rem;
                padding: 4px 0;
        }

        .footer-column h4 {
                font-size: 1.1rem;
                margin-top: 8px;
        }

        .footer-bottom-inner {
                flex-direction: column;
                gap: 8px;
                text-align: center;
                font-size: 0.9rem;
        }

        .quick-links-grid {
                grid-template-columns: 1fr 1fr;
        }
}