/**
 * Realte.in — Core Design System & Common Stylesheet
 * Kerala's Real Estate Marketplace
 * Professional, Modern, High-Trust Real Estate Portal CSS
 */

/* ── 1. DESIGN TOKENS & VARIABLES ────────────────────────── */
:root {
    /* Brand Palette */
    --rt-primary:        #0f1e36;       /* Deep Kerala Heritage Navy */
    --rt-primary-light:  #1b3156;       /* Lighter Navy for hovers */
    --rt-primary-dark:   #091322;       /* Deepest Slate for footers/bars */
    --rt-green:          #0f1e36;       /* Legacy alias for primary navy */
    --rt-gold:           #c68e17;       /* Refined Kerala Teak / Warm Amber Gold */
    --rt-gold-hover:     #b07c10;       /* Darker Gold */
    --rt-gold-light:     #fbf4e6;       /* Very soft gold tint */
    --rt-gold-border:    rgba(198, 142, 23, 0.35);
    
    /* Trust & Status */
    --rt-emerald:        #059669;       /* Verified Trust Emerald */
    --rt-emerald-light:  #ecfdf5;       /* Emerald soft background */
    --rt-blue-rent:      #1d4ed8;       /* Sapphire Blue for Rent */
    --rt-blue-light:     #eff6ff;       /* Rent soft background */
    --rt-danger:         #dc2626;       /* Clean Red for alerts / suspend */
    --rt-danger-light:   #fef2f2;
    
    /* Neutrals & Surfaces */
    --rt-bg:             #f8fafc;       /* Crisp, clean, daylight app background */
    --rt-cream:          #f8fafc;       /* Legacy alias */
    --rt-card-bg:        #ffffff;       /* Pure white card surface */
    --rt-surface-subtle: #f1f5f9;       /* Subtle gray surface */
    --rt-charcoal:       #0f172a;       /* Legacy alias */
    --rt-text-main:      #0f172a;       /* Slate 900 for high-contrast readable text */
    --rt-muted:          #64748b;       /* Legacy alias */
    --rt-text-muted:     #64748b;       /* Slate 500 for secondary text & meta */
    --rt-text-light:     #94a3b8;       /* Slate 400 for hints & timestamps */
    --rt-border:         #e2e8f0;       /* Crisp light border */
    --rt-border-subtle:  #cbd5e1;       /* Medium border */

    /* Typography */
    --font-heading:      'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows & Elevation */
    --shadow-xs:         0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm:         0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md:         0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg:         0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
    --shadow-xl:         0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 16px 32px -4px rgba(15, 30, 54, 0.12), 0 4px 8px -2px rgba(15, 30, 54, 0.04);

    /* Radii */
    --radius-sm:         6px;
    --radius-md:         10px;
    --radius-lg:         14px;
    --radius-xl:         20px;
    --radius-full:       9999px;
}

/* ── 2. GLOBAL RESET & BASE ──────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--rt-bg);
    color: var(--rt-text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.display-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--rt-text-main);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* Contrast safeguard for dark cards, headers and gradient banners */
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
[style*="#091322"] h1, [style*="#091322"] h2, [style*="#091322"] h3, [style*="#091322"] h4, [style*="#091322"] h5, [style*="#091322"] h6,
[style*="#0f1e36"] h1, [style*="#0f1e36"] h2, [style*="#0f1e36"] h3, [style*="#0f1e36"] h4, [style*="#0f1e36"] h5, [style*="#0f1e36"] h6,
[style*="color: #fff"] h1, [style*="color: #fff"] h2, [style*="color: #fff"] h3, [style*="color: #fff"] h4, [style*="color: #fff"] h5, [style*="color: #fff"] h6,
[style*="color:#fff"] h1, [style*="color:#fff"] h2, [style*="color:#fff"] h3, [style*="color:#fff"] h4, [style*="color:#fff"] h5, [style*="color:#fff"] h6,
[style*="color: #ffffff"] h1, [style*="color: #ffffff"] h2, [style*="color: #ffffff"] h3, [style*="color: #ffffff"] h4, [style*="color: #ffffff"] h5, [style*="color: #ffffff"] h6,
[style*="color:#ffffff"] h1, [style*="color:#ffffff"] h2, [style*="color:#ffffff"] h3, [style*="color:#ffffff"] h4, [style*="color:#ffffff"] h5, [style*="color:#ffffff"] h6 {
    color: #ffffff !important;
}

a {
    color: var(--rt-primary);
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

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

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

/* ── 3. NAVBAR & HEADER ──────────────────────────────────── */
.navbar-realte {
    background: #0d1728;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar-realte.scrolled {
    background: rgba(13, 23, 40, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    border-bottom-color: rgba(198, 142, 23, 0.25);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: #ffffff !important;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-brand span {
    color: var(--rt-gold);
}

.nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.18s ease;
    letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.nav-admin-link {
    color: var(--rt-gold) !important;
    font-weight: 700;
}

.nav-admin-link:hover {
    color: #ffd066 !important;
    background: rgba(198, 142, 23, 0.12) !important;
}

.btn-nav-cta {
    background: linear-gradient(135deg, #d4981e, #c68e17) !important;
    color: #ffffff !important;
    border-radius: 9px;
    padding: 0.48rem 1.25rem !important;
    font-size: 0.84rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border: none;
    box-shadow: 0 2px 10px rgba(198, 142, 23, 0.35);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-nav-cta:hover {
    background: linear-gradient(135deg, #e3a628, #d4981e) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(198, 142, 23, 0.45);
    color: #ffffff !important;
}

/* User Dropdown */
.dropdown-menu {
    background: #0f1c30;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08);
}

/* ── 4. PROFESSIONAL HERO & SEARCH CONSOLE ───────────────── */
.rt-hero {
    position: relative;
    background: linear-gradient(160deg, #0b1526 0%, #11223e 60%, #0d1a30 100%);
    padding: 5rem 0 5.5rem;
    color: #ffffff;
    overflow: hidden;
}

/* Subtle architectural depth line */
.rt-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(198, 142, 23, 0.4) 30%, rgba(198, 142, 23, 0.4) 70%, transparent 100%);
}

.rt-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(198, 142, 23, 0.12);
    border: 1px solid rgba(198, 142, 23, 0.3);
    border-radius: var(--radius-full);
    padding: 0.35rem 1rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rt-gold);
    margin-bottom: 1.5rem;
}

.rt-hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--rt-gold);
    border-radius: 50%;
}

.rt-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.2vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.1rem;
    letter-spacing: -0.025em;
}

.rt-hero-title span {
    color: var(--rt-gold);
}

.rt-hero-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 auto 2.25rem;
    max-width: 580px;
}

.rt-hero-desc-highlight {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    display: block;
    margin-top: 0.25rem;
}

/* Floating Search Box */
.rt-search-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 760px;
    margin: 0 auto 1.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rt-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.rt-search-input-wrap {
    flex: 1 1 240px;
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
}

.rt-search-input-wrap i {
    color: var(--rt-text-muted);
    font-size: 1.1rem;
    margin-right: 0.6rem;
}

.rt-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--rt-text-main);
    background: transparent;
}

.rt-search-input::placeholder {
    color: #94a3b8;
}

.rt-search-divider {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
    display: none;
}

@media(min-width: 768px) {
    .rt-search-divider {
        display: block;
    }
}

.rt-search-select-wrap {
    flex: 0 1 170px;
    padding: 0.6rem 0.85rem;
}

.rt-search-select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: #334155;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
}

.rt-search-btn {
    background: var(--rt-gold);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.85rem;
    font-weight: 700;
    font-size: 0.92rem;
    font-family: var(--font-heading);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-left: auto;
}

.rt-search-btn:hover {
    background: var(--rt-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 142, 23, 0.35);
}

@media(max-width: 767px) {
    .rt-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .rt-search-input-wrap,
    .rt-search-select-wrap {
        border-bottom: 1px solid #f1f5f9;
        flex: 1 1 100%;
    }
    .rt-search-btn {
        width: 100%;
        margin-top: 0.4rem;
        padding: 0.8rem 1rem;
    }
}

/* Quick Pills Under Hero Search */
.rt-quick-pills {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.rt-quick-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.rt-pill-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.28rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.18s ease;
}

.rt-pill-item:hover {
    border-color: var(--rt-gold);
    color: #ffffff;
    background: rgba(198, 142, 23, 0.18);
}

/* ── 5. QUICK CATEGORY BAR ───────────────────────────────── */
.rt-category-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--rt-border);
    padding: 1.1rem 0;
    box-shadow: var(--shadow-xs);
}

.rt-category-scroll {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
}

@media(min-width: 992px) {
    .rt-category-scroll {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.rt-category-scroll::-webkit-scrollbar {
    display: none;
}

.rt-cat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 1rem;
    border: 1px solid var(--rt-border);
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    background: #ffffff;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.rt-cat-item i {
    color: var(--rt-primary);
    font-size: 0.95rem;
    transition: color 0.18s ease;
}

.rt-cat-item:hover {
    border-color: var(--rt-primary);
    color: var(--rt-primary);
    background: var(--rt-surface-subtle);
}

/* ── 6. PROPERTY CARDS & GRIDS ───────────────────────────── */
.rt-prop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

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

@media(max-width: 860px) {
    .rt-prop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

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

.rt-prop-card {
    background: #ffffff;
    border: 1px solid var(--rt-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rt-prop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: #cbd5e1;
}

.rt-prop-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #e2e8f0;
}

.rt-prop-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.rt-prop-card:hover .rt-prop-img-wrap img {
    transform: scale(1.04);
}

.rt-prop-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2.8rem;
}

/* Badges on property card */
.rt-badge-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--rt-primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.rt-badge-status.rent {
    background: var(--rt-blue-rent);
}

.rt-badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--rt-gold);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.rt-badge-rera {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #059669;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.rt-badge-rera.has-featured {
    top: 38px;
}

.rt-rera-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    margin-bottom: 0.45rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rt-badge-type {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.75));
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.8rem 0.85rem 0.35rem;
    z-index: 1;
}

/* Property Card Body */
.rt-prop-body {
    padding: 1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rt-prop-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--rt-text-main);
    margin: 0 0 0.35rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rt-prop-location {
    font-size: 0.76rem;
    color: var(--rt-text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rt-prop-location i {
    color: var(--rt-gold);
    font-size: 0.85rem;
}

.rt-prop-specs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #475569;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1f5f9;
}

.rt-prop-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.rt-prop-specs i {
    color: var(--rt-text-muted);
}

.rt-prop-footer {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.rt-prop-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--rt-primary);
    letter-spacing: -0.02em;
}

.rt-prop-pill {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--rt-text-muted);
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: capitalize;
}

/* ── 7. BUTTONS & UI CONTROLS ────────────────────────────── */
.btn-rt-primary {
    background: var(--rt-primary);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.58rem 1.35rem;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-rt-primary:hover {
    background: var(--rt-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 30, 54, 0.2);
}

.btn-rt-gold {
    background: var(--rt-gold);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.58rem 1.35rem;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-rt-gold:hover {
    background: var(--rt-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(198, 142, 23, 0.35);
}

.btn-rt-outline {
    background: transparent;
    color: var(--rt-primary) !important;
    border: 1.5px solid var(--rt-primary);
    border-radius: var(--radius-md);
    padding: 0.52rem 1.25rem;
    font-weight: 700;
    font-size: 0.86rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-rt-outline:hover {
    background: var(--rt-primary);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ── 8. SECTION HEADERS & STYLING ────────────────────────── */
.rt-section {
    padding: 4rem 0;
}

.rt-section-header {
    margin-bottom: 2rem;
}

.rt-eyebrow {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--rt-gold);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.rt-section-title {
    font-size: 1.95rem;
    font-weight: 800;
    margin: 0;
    color: var(--rt-text-main);
}

.rt-section-subtitle {
    color: var(--rt-text-muted);
    font-size: 0.92rem;
    margin: 0.35rem 0 0;
}

/* ── 9. WHY CHOOSE REALTE / TRUST CARDS ──────────────────── */
.rt-trust-card {
    background: #ffffff;
    border: 1px solid var(--rt-border);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    height: 100%;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rt-trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.rt-trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* ── 10. SEO ACCORDION & EXTENDED CONTENT ─────────────────── */
.rt-seo-section {
    background: #ffffff;
    border-top: 1px solid var(--rt-border);
    padding: 4rem 0 3.5rem;
}

.rt-faq-item {
    border: 1px solid var(--rt-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.65rem;
    overflow: hidden;
    background: #ffffff;
}

.rt-faq-item summary {
    padding: 0.9rem 1.15rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--rt-text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.15s ease;
}

.rt-faq-item summary::-webkit-details-marker {
    display: none;
}

.rt-faq-item summary:hover {
    background: #f8fafc;
}

.rt-faq-answer {
    padding: 0.85rem 1.15rem 1.1rem;
    font-size: 0.88rem;
    line-height: 1.75;
    color: #475569;
    border-top: 1px solid var(--rt-border);
    background: #fcfcfc;
}

/* ── 11. FOOTER ──────────────────────────────────────────── */
footer {
    background: var(--rt-primary-dark);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    padding: 1.35rem 0;
    background: rgba(0, 0, 0, 0.25);
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.65rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-brand span {
    color: var(--rt-gold);
}

.footer-col-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.15rem;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.86rem;
    transition: all 0.15s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--rt-gold);
    padding-left: 4px;
}

.footer-divider {
    width: 36px;
    height: 2.5px;
    background: var(--rt-gold);
    border-radius: 2px;
    margin-bottom: 1.35rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.85rem;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-badge i {
    color: var(--rt-gold);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--rt-gold);
    color: #ffffff !important;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.35rem;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.18s ease;
    margin-top: 0.25rem;
}

.footer-cta-btn:hover {
    background: var(--rt-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 142, 23, 0.3);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.18s ease;
}

.footer-social a:hover {
    background: var(--rt-gold);
    color: #ffffff;
    border-color: var(--rt-gold);
    transform: translateY(-2px);
}

/* ── 12. MOBILE NAVIGATION DRAWER & TAB BAR ──────────────── */
.mob-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.mob-drawer.open {
    display: block;
}

.mob-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mob-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 82%;
    max-width: 320px;
    background: #0d1728;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.mob-drawer.open .mob-panel {
    transform: translateX(0);
}

.mob-panel-head {
    padding: 1.1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.mob-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.mob-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.12s ease;
}

.mob-nav-item:hover,
.mob-nav-item:active {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.mob-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.mob-nav-section {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
    padding: 0.9rem 1rem 0.35rem;
}

.mob-cta {
    margin: 0.95rem 1rem;
    background: linear-gradient(135deg, #d4981e, #c68e17);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-decoration: none;
}

/* Mobile Bottom Tab Bar */
.mob-bottom-bar {
    display: none;
}

@media(max-width: 768px) {
    .mob-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 900;
        background: rgba(13, 23, 40, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        height: 60px;
    }

    .mob-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        border: none;
        background: none;
        cursor: pointer;
        transition: color 0.15s ease;
        font-family: var(--font-body);
    }

    .mob-tab i {
        font-size: 1.2rem;
        display: block;
        line-height: 1;
    }

    .mob-tab.active,
    .mob-tab:hover {
        color: var(--rt-gold);
    }

    .mob-tab-cta {
        color: #ffffff !important;
    }

    .mob-tab-cta i {
        background: var(--rt-gold);
        border-radius: 12px;
        padding: 0.35rem 0.55rem;
        font-size: 0.92rem;
    }

    body {
        padding-bottom: 60px !important;
    }

    footer {
        padding-bottom: 20px;
    }
}

/* ── 13. DETAILS PAGE (GALLERY, LIGHTBOX, EMI) ─────────────── */
.gallery-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.25rem;
    cursor: pointer;
}

.gallery-1 { height: 420px; }
.gallery-1 img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 380px; }
.gallery-2 img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-3 { display: grid; grid-template-columns: 3fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 400px; }
.gallery-3 .g-main { grid-row: 1/3; }
.gallery-3 img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-4 { display: grid; grid-template-columns: 3fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 400px; }
.gallery-4 .g-main { grid-row: 1/3; }
.gallery-4 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-more { position: relative; overflow: hidden; }
.g-more img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-more::after {
    content: '+' attr(data-more) ' photos';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.gallery-wrap img {
    transition: transform 0.35s ease;
}

.gallery-wrap:hover img {
    transform: scale(1.02);
}

.gallery-strip {
    display: flex;
    gap: 6px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.gallery-strip::-webkit-scrollbar {
    display: none;
}

.gallery-strip-item {
    flex: 0 0 84px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: border-color 0.15s ease;
    flex-shrink: 0;
}

.gallery-strip-item.active {
    border-color: var(--rt-gold);
}

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

@media(max-width: 640px) {
    .gallery-1, .gallery-2, .gallery-3, .gallery-4 {
        height: 260px;
    }
    .gallery-strip-item {
        flex: 0 0 60px;
        height: 48px;
    }
}

/* Lightbox Modal */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 26, 0.95);
    z-index: 2100;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#lightbox.open {
    display: flex;
}

#lb-img {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}

#lb-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.lb-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.8;
}

.lb-prev, .lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem 0.95rem;
    border-radius: 50%;
    transition: background-color 0.15s ease;
}

.lb-prev:hover, .lb-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* Tabs */
.detail-tabs {
    display: flex;
    border-bottom: 2px solid var(--rt-border);
    margin-bottom: 1.5rem;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.detail-tabs::-webkit-scrollbar {
    display: none;
}

.dtab {
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rt-text-muted);
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-body);
    transition: color 0.15s ease;
}

.dtab.active {
    color: var(--rt-primary);
    border-bottom-color: var(--rt-primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* EMI Calculator */
.emi-card {
    background: linear-gradient(145deg, #0f1e36, #1b3156);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.emi-card h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 1.2rem;
    font-size: 1.05rem;
}

.emi-field label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.35rem;
}

.emi-field input {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: #ffffff;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.15s ease;
}

.emi-field input:focus {
    border-color: var(--rt-gold);
}

.emi-result {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.emi-num {
    font-size: 1.7rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--rt-gold);
}

.emi-breakdown {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Owner Reveal */
.owner-contact-card {
    background: var(--rt-emerald-light);
    border: 1.5px solid #a7f3d0;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.owner-contact-card .oc-name {
    font-weight: 800;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    color: #065f46;
    margin-bottom: 0.4rem;
}

.owner-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    margin-bottom: 0.45rem;
    transition: all 0.18s ease;
}

.oc-wa {
    background: #25d366;
    color: #ffffff !important;
}

.oc-wa:hover {
    background: #1ebe5d;
}

.oc-tel {
    background: var(--rt-primary);
    color: #ffffff !important;
}

.oc-tel:hover {
    background: var(--rt-primary-light);
}

/* ── 14. ADMIN & DASHBOARD ELEMENTS ──────────────────────── */
.admin-sidebar {
    background: #0f1c30;
    min-height: calc(100vh - 60px);
    width: 230px;
    flex-shrink: 0;
    padding: 1.5rem 0;
}

.admin-sidebar .nav-link {
    padding: 0.55rem 1.35rem;
    font-size: 0.88rem;
    border-left: 3px solid transparent;
    border-radius: 0;
    color: #94a3b8 !important;
}

.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
    color: var(--rt-gold) !important;
    border-left-color: var(--rt-gold);
    background: rgba(255, 255, 255, 0.04);
}

.admin-sidebar .nav-section {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0.85rem 1.35rem 0.3rem;
    font-family: var(--font-heading);
}

.rt-table {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--rt-border);
    width: 100%;
}

.rt-table thead th {
    background: #f8fafc;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rt-text-muted);
    border-bottom: 1px solid var(--rt-border);
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
}

.rt-table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.rt-table tbody tr:hover {
    background: #f8fafc;
}

.rt-card {
    background: #ffffff;
    border: 1px solid var(--rt-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* -- 15. SHARE BUTTONS & SOCIAL BAR ------------------------- */
.share-bar { display:flex; gap:.4rem; flex-wrap:wrap; margin-bottom:1rem; }
.share-btn { display:inline-flex; align-items:center; gap:.4rem; padding:.4rem .85rem; border-radius:var(--radius-sm); font-size:.78rem; font-weight:700; border:1px solid var(--rt-border); color:#334155; background:#ffffff; cursor:pointer; text-decoration:none; transition:all .18s ease; font-family:var(--font-body); }
.share-btn:hover { border-color:var(--rt-primary); color:var(--rt-primary); background:var(--rt-surface-subtle); }

/* -- 16. SUBSCRIPTION & PRICING PLANS ---------------------- */
.plans-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.5rem; }
.plan-card { background:#ffffff; border:1.5px solid var(--rt-border); border-radius:var(--radius-xl); padding:2rem 1.75rem; position:relative; transition:all .22s ease; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.plan-card:hover { box-shadow:var(--shadow-xl); transform:translateY(-3px); border-color:#cbd5e1; }
.plan-card.featured-plan { border-color:var(--rt-gold); box-shadow:0 8px 30px rgba(198,142,23,0.18); }
.plan-card.current-plan  { border-color:var(--rt-primary); }
.plan-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); white-space:nowrap; padding:0.28rem 1rem; border-radius:var(--radius-full); font-size:0.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; box-shadow:0 2px 8px rgba(0,0,0,0.15); }
.plan-name  { font-family:var(--font-heading); font-size:1.4rem; font-weight:800; margin:0 0 0.25rem; }
.plan-price { font-family:var(--font-heading); font-size:2.2rem; font-weight:800; color:var(--rt-text-main); margin:0.5rem 0 1rem; line-height:1; }
.plan-price span { font-size:0.9rem; font-weight:500; color:var(--rt-text-muted); font-family:var(--font-body); }
.plan-features { list-style:none; padding:0; margin:1rem 0 1.75rem; flex:1; }
.plan-features li { padding:0.45rem 0; font-size:0.88rem; color:#334155; display:flex; align-items:flex-start; gap:0.55rem; }
.plan-features li::before { content:'?'; color:var(--rt-emerald); font-weight:800; flex-shrink:0; }
.btn-plan { width:100%; padding:0.75rem 1rem; border-radius:var(--radius-md); font-weight:700; font-size:0.92rem; font-family:var(--font-heading); cursor:pointer; border:none; transition:all .18s ease; text-align:center; text-decoration:none; display:block; }
.btn-plan-green { background:var(--rt-primary); color:#ffffff; }
.btn-plan-green:hover { background:var(--rt-primary-light); color:#ffffff; }
.btn-plan-gold  { background:var(--rt-gold); color:#ffffff; }
.btn-plan-gold:hover  { background:var(--rt-gold-hover); color:#ffffff; }
.btn-plan-outline { background:transparent; color:var(--rt-primary); border:1.5px solid var(--rt-primary) !important; }
.btn-plan-outline:hover { background:var(--rt-primary); color:#ffffff; }
.btn-plan-disabled { background:#f1f5f9; color:#94a3b8; cursor:not-allowed; }
.current-label { background:var(--rt-gold-light); color:#92400e; text-align:center; border-radius:var(--radius-md); padding:0.5rem; font-size:0.84rem; font-weight:700; }

/* -- 17. USER PROFILE & AVATAR ------------------------------ */
.profile-section-title { font-family:var(--font-heading); font-weight:700; font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--rt-text-muted); margin:0 0 1rem; padding-bottom:.6rem; border-bottom:1px solid var(--rt-border); }
.profile-avatar { width:72px; height:72px; border-radius:18px; background:linear-gradient(135deg,var(--rt-primary),#1b3156); display:flex; align-items:center; justify-content:center; font-family:var(--font-heading); font-weight:800; font-size:1.8rem; color:#ffffff; flex-shrink:0; box-shadow:var(--shadow-sm); }

/* -- 18. PAGE HEADER & BREADCRUMBS -------------------------- */
.page-header {
    background: linear-gradient(135deg, #091322 0%, #0f1e36 50%, #1b3156 100%);
    color: #ffffff;
    padding: 2.25rem 0 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}
.page-header h1,
.page-header h2,
.page-header h3 {
    color: #ffffff !important;
    font-weight: 800;
    margin: 0;
}
.page-header p {
    color: #94a3b8;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
}
.page-header .breadcrumb-item a:hover {
    color: #ffffff;
}
.page-header .breadcrumb-item.active {
    color: var(--rt-gold);
}

/* -- 19. DASHBOARD STAT BOXES & WIDGETS -------------------- */
.stat-box {
    background: #ffffff;
    border: 1px solid var(--rt-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}
.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}
.stat-box .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.stat-box .stat-icon.properties { background: #eff6ff; color: #2563eb; }
.stat-box .stat-icon.leads      { background: #f5f3ff; color: #7c3aed; }
.stat-box .stat-icon.views      { background: #ecfdf5; color: #059669; }
.stat-box .stat-icon.credits    { background: #fffbeb; color: #d97706; }

.stat-box .stat-info {
    flex: 1;
    min-width: 0;
}
.stat-box .stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--rt-text-main);
    line-height: 1.15;
    margin-bottom: 0.25rem;
}
.stat-box .stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--rt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Status Badges */
.badge-rt-active  { background: #dcfce7; color: #15803d; font-weight: 700; padding: 0.3em 0.7em; border-radius: 6px; }
.badge-rt-pending { background: #fef9c3; color: #854d0e; font-weight: 700; padding: 0.3em 0.7em; border-radius: 6px; }
.badge-rt-draft   { background: #f1f5f9; color: #475569; font-weight: 700; padding: 0.3em 0.7em; border-radius: 6px; }
.badge-rt-sold    { background: #fee2e2; color: #991b1b; font-weight: 700; padding: 0.3em 0.7em; border-radius: 6px; }

/* Footer Ask AI Bar */
.footer-ask-ai {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.ai-ask-pill {
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}
.ai-ask-pill:hover {
    background: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22) !important;
}
.ai-ask-pill:active {
    transform: translateY(0);
}

