/* ============================================================
   Listmyproperty.ng v2.0 — Premium Design System
   Place: /assets/css/main.css
   ============================================================ */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
    /* ── Brand Palette ── */
    --green-950: #021409;
    --green-900: #051f17;
    --green-800: #0B3D2E;
    --green-750: #0d4a38;
    --green-700: #0f5239;
    --green-600: #136844;
    --green-500: #178050;
    --green-400: #22a86a;
    --green-300: #4eca8a;
    --green-200: #86deb1;
    --green-100: #d0f0e2;
    --green-50:  #edfaf3;

    --gold-700:  #a36408;
    --gold-600:  #c47f0a;
    --gold-500:  #F5A623;
    --gold-400:  #f7bc55;
    --gold-300:  #fad080;
    --gold-100:  #fef0cc;
    --gold-50:   #fffbf0;

    --black:     #060608;
    --gray-950:  #0a0a0f;
    --gray-900:  #111118;
    --gray-800:  #1c1c24;
    --gray-700:  #2e2e3a;
    --gray-600:  #4a4a5a;
    --gray-500:  #6b6b80;
    --gray-400:  #9393a8;
    --gray-300:  #c4c4d4;
    --gray-200:  #e2e2ec;
    --gray-150:  #eeeef6;
    --gray-100:  #f4f4f8;
    --gray-50:   #f9f9fc;
    --offwhite:  #F8F6F1;
    --white:     #ffffff;

    /* ── Semantic Tokens ── */
    --c-primary:        var(--green-800);
    --c-primary-dark:   var(--green-900);
    --c-primary-hover:  var(--green-700);
    --c-primary-light:  var(--green-100);
    --c-accent:         var(--gold-500);
    --c-accent-dark:    var(--gold-600);
    --c-accent-light:   var(--gold-100);
    --c-bg:             var(--offwhite);
    --c-surface:        var(--white);
    --c-surface-raised: var(--gray-50);
    --c-text:           var(--gray-900);
    --c-text-secondary: var(--gray-600);
    --c-text-muted:     var(--gray-400);
    --c-border:         var(--gray-200);
    --c-border-subtle:  var(--gray-150);
    --c-success:        #15803d;
    --c-error:          #dc2626;
    --c-warning:        #d97706;
    --c-info:           #2563eb;
    --c-whatsapp:       #25D366;

    /* ── Typography ── */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    --text-2xs: 0.6875rem;   /* 11px */
    --text-xs:  0.75rem;     /* 12px */
    --text-sm:  0.875rem;    /* 14px */
    --text-md:  0.9375rem;   /* 15px */
    --text-base:1rem;        /* 16px */
    --text-lg:  1.125rem;    /* 18px */
    --text-xl:  1.25rem;     /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */

    /* ── Spacing ── */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-7: 1.75rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-14: 3.5rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    /* ── Border Radius ── */
    --r-xs:   4px;
    --r-sm:   8px;
    --r-md:   12px;
    --r-lg:   16px;
    --r-xl:   24px;
    --r-2xl:  32px;
    --r-full: 9999px;

    /* ── Shadows ── */
    --shadow-xs:   0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:   0 2px 6px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl:   0 20px 60px rgba(0,0,0,0.13);
    --shadow-2xl:  0 32px 80px rgba(0,0,0,0.18);
    --shadow-green-sm:  0 2px 12px rgba(11,61,46,0.12);
    --shadow-green-md:  0 6px 24px rgba(11,61,46,0.15);
    --shadow-green-lg:  0 16px 48px rgba(11,61,46,0.20);
    --shadow-gold:      0 4px 20px rgba(245,166,35,0.30);
    --shadow-inset:     inset 0 1px 3px rgba(0,0,0,0.06);

    /* ── Transitions ── */
    --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:     cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-bounce:     cubic-bezier(0.68, -0.55, 0.27, 1.55);

    --t-fast:   all 0.12s var(--ease-in-out);
    --t-base:   all 0.22s var(--ease-in-out);
    --t-slow:   all 0.38s var(--ease-out-expo);
    --t-spring: all 0.28s var(--ease-spring);

    /* ── Layout ── */
    --container-xs:  480px;
    --container-sm:  640px;
    --container-md:  768px;
    --container-lg:  1024px;
    --container-xl:  1280px;
    --container-2xl: 1440px;
    --navbar-h:      68px;
    --bottom-nav-h:  80px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
    height: 100%;
}
body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100%;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea, button { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: 600; line-height: 1.2; }

/* ─── Skip Link ─────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--sp-4);
    background: var(--c-primary);
    color: var(--white);
    padding: var(--sp-2) var(--sp-6);
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s ease;
}
.skip-link:focus { top: var(--sp-4); }

/* ─── Body padding for bottom nav on mobile ─────────────── */
@media (max-width: 768px) {
    body { padding-bottom: var(--bottom-nav-h); }
    body.no-bottom-pad { padding-bottom: 0; }
}

/* ─── Container ─────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}
.container--sm { max-width: var(--container-sm); }
.container--md { max-width: var(--container-md); }
.container--lg { max-width: var(--container-lg); }
@media (max-width: 640px) { .container { padding: 0 var(--sp-4); } }

/* ════════════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
════════════════════════════════════════════════════════ */
.display-hero {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.display-xl {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}
.display-lg {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.display-md {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.18;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: clamp(var(--text-md), 2vw, var(--text-lg));
    color: var(--c-text-secondary);
    line-height: 1.75;
    max-width: 580px;
}
.label-xs {
    font-size: var(--text-2xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.label-sm {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════
   BUTTON SYSTEM
════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.6875rem 1.5rem;
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    transition: var(--t-base);
    white-space: nowrap;
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.15s ease;
}
.btn:hover::after { background: rgba(255,255,255,0.07); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* Variants */
.btn--primary {
    background: var(--c-primary);
    color: var(--white);
    border-color: var(--c-primary);
    box-shadow: var(--shadow-green-sm);
}
.btn--primary:hover {
    background: var(--c-primary-hover);
    border-color: var(--c-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-green-md);
}

.btn--accent {
    background: var(--c-accent);
    color: var(--black);
    border-color: var(--c-accent);
    box-shadow: var(--shadow-gold);
}
.btn--accent:hover {
    background: var(--gold-600);
    border-color: var(--gold-600);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(245,166,35,0.4);
}

.btn--outline {
    background: transparent;
    color: var(--c-primary);
    border-color: currentColor;
}
.btn--outline:hover {
    background: var(--green-50);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--c-text-secondary);
    border-color: var(--c-border);
}
.btn--ghost:hover {
    background: var(--gray-100);
    color: var(--c-text);
    border-color: var(--gray-300);
}

.btn--white {
    background: var(--white);
    color: var(--c-primary);
    border-color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn--white:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn--danger {
    background: #fef2f2;
    color: var(--c-error);
    border-color: #fecaca;
}
.btn--danger:hover { background: #fee2e2; }

/* Sizes */
.btn--xl  { padding: 1rem 2.25rem; font-size: var(--text-md); border-radius: var(--r-lg); }
.btn--lg  { padding: 0.8125rem 1.875rem; font-size: var(--text-md); border-radius: var(--r-md); }
.btn--sm  { padding: 0.4375rem 1rem; font-size: var(--text-xs); border-radius: var(--r-sm); }
.btn--xs  { padding: 0.3125rem 0.75rem; font-size: var(--text-2xs); border-radius: var(--r-sm); }
.btn--full { width: 100%; }
.btn--icon { padding: 0.6875rem; aspect-ratio: 1; }
.btn--icon-sm { padding: 0.5rem; aspect-ratio: 1; }

/* Loading state */
.btn--loading {
    color: transparent !important;
    pointer-events: none;
}
.btn--loading::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════
   BADGE SYSTEM
════════════════════════════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 9px;
    border-radius: var(--r-full);
    font-size: var(--text-2xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.4;
}
.badge--verified  { background: #dcfce7; color: #15803d; }
.badge--featured  { background: var(--gold-100); color: var(--gold-700); }
.badge--urgent    { background: #fff1f1; color: #c73e3e; }
.badge--rent      { background: #dbeafe; color: #1e40af; }
.badge--sale      { background: #ede9fe; color: #5b21b6; }
.badge--shortlet  { background: #fef9c3; color: #854d0e; }
.badge--lease     { background: #f0fdf4; color: #166534; }
.badge--new       { background: var(--green-50); color: var(--green-700); }
.badge--premium   { background: linear-gradient(135deg, var(--gold-100), var(--gold-50)); color: var(--gold-700); border: 1px solid var(--gold-300); }
.badge--pending   { background: #fef3c7; color: #92400e; }
.badge--rejected  { background: #fee2e2; color: #991b1b; }
.badge--active    { background: #dcfce7; color: #166534; }
.badge--dot::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-h);
    z-index: 500;
    /* Solid fallback for Android WebView / browsers without backdrop-filter */
    background: #ffffff;
    border-bottom: 1px solid rgba(11,61,46,0.08);
    transition: var(--t-base);
}
/* Progressive enhancement: glassy blur for browsers that support it */
@supports (backdrop-filter: blur(1px)) {
    .navbar {
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
    }
}
/* Homepage: body bg matches hero so no off-white shows behind fixed navbar */
body.page-home {
    background: #0B3D2E;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 4px 24px rgba(0,0,0,0.06);
}
.navbar--transparent {
    background: transparent;
    border-bottom-color: transparent;
}
.navbar--dark {
    background: rgba(11,61,46,0.96);
    border-bottom-color: rgba(255,255,255,0.06);
}

.navbar__inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 var(--sp-6);
    max-width: var(--container-2xl);
    margin: 0 auto;
    gap: var(--sp-6);
}

/* Logo */
.navbar__logo, .footer__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-shrink: 0;
    text-decoration: none;
}
.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--c-primary);
    color: var(--white);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: var(--t-base);
    box-shadow: 0 2px 8px rgba(11,61,46,0.25);
}
.navbar__logo:hover .logo-mark {
    transform: rotate(-3deg) scale(1.05);
}
.logo-text { display: flex; align-items: baseline; }
.logo-name {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--c-primary);
    letter-spacing: -0.03em;
}
.logo-tld {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--c-accent);
    letter-spacing: -0.03em;
}
.navbar--dark .logo-name { color: var(--white); }
.navbar--dark .logo-tld  { color: var(--gold-400); }

/* Desktop Nav */
.navbar__links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
.nav-link {
    padding: 6px 14px;
    border-radius: var(--r-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--t-fast);
    position: relative;
    white-space: nowrap;
}
.nav-link:hover { color: var(--c-primary); background: var(--green-50); }
.nav-link.active { color: var(--c-primary); font-weight: 600; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--c-primary);
    border-radius: var(--r-full);
}
.navbar--dark .nav-link { color: rgba(255,255,255,0.72); }
.navbar--dark .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* Navbar Actions */
.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
}

/* Notification bell */
.notif-bell {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    color: var(--gray-500);
    transition: var(--t-fast);
    text-decoration: none;
}
.notif-bell:hover { background: var(--gray-100); color: var(--c-text); }
.notif-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 16px;
    height: 16px;
    background: var(--c-error);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 1.5px solid var(--white);
    line-height: 1;
}

/* User Menu */
.user-menu { position: relative; }
.user-menu__trigger {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 5px 12px 5px 5px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-full);
    background: var(--white);
    color: var(--c-text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: var(--t-fast);
    cursor: pointer;
}
.user-menu__trigger:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
    color: var(--c-text);
}
.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--green-100);
    flex-shrink: 0;
}
.user-name {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown */
.user-menu__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-2xl);
    padding: var(--sp-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top right;
    transition: all 0.18s var(--ease-out-expo);
    z-index: 600;
}
.user-menu__dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.dropdown-header {
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--c-border-subtle);
    margin-bottom: var(--sp-2);
}
.dropdown-header strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.3;
}
.dropdown-header span {
    font-size: var(--text-xs);
    color: var(--c-text-muted);
    display: block;
    margin-top: 1px;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 9px var(--sp-4);
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--c-text-secondary);
    transition: var(--t-fast);
    text-decoration: none;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    background: none;
}
.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--c-text);
}
.dropdown-item svg { flex-shrink: 0; opacity: 0.7; }
.dropdown-item--danger { color: var(--c-error); }
.dropdown-item--danger:hover { background: #fef2f2; color: var(--c-error); }
.dropdown-item--highlight { color: var(--c-primary); font-weight: 600; }
.dropdown-item--highlight:hover { background: var(--green-50); }
.dropdown-divider { height: 1px; background: var(--c-border-subtle); margin: var(--sp-2) 0; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
    border-radius: var(--r-sm);
    transition: var(--t-base);
    cursor: pointer;
    background: none;
    border: none;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--c-text);
    border-radius: 2px;
    transition: var(--t-base);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.navbar--dark .hamburger span { background: var(--white); }

/* Mobile Slide Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    /* Drop down as an overlay — never pushes the hero down */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 8px 16px 24px;
    border-top: 1px solid rgba(11,61,46,0.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.13);
    gap: 0;
    /* Hidden by default via max-height + opacity */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.32s ease, opacity 0.22s ease;
    z-index: 499;
}
.mobile-menu.open {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}
.mobile-nav__link {
    display: flex;
    align-items: center;
    padding: 16px 8px;
    border-bottom: 1px solid #f0eeea;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
    border-radius: 8px;
}
.mobile-nav__link:last-child { border-bottom: none; }
.mobile-nav__link:active,
.mobile-nav__link:hover {
    background: #f0f7f4;
    color: #0B3D2E;
    padding-left: 14px;
}
.mobile-nav__link.active {
    color: #0B3D2E;
    font-weight: 600;
    background: #e8f4ef;
}
.mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid #eee;
}

/* ════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV — Premium Glassmorphism
════════════════════════════════════════════════════════ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 490;
    padding: 0 var(--sp-4) env(safe-area-inset-bottom, 8px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(11,61,46,0.07);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
}
.bottom-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 58px;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}
.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-lg);
    transition: var(--t-spring);
    text-decoration: none;
    color: var(--c-text-muted);
    min-width: 52px;
    cursor: pointer;
    border: none;
    background: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.bottom-nav__item.active { color: var(--c-primary); }
.bottom-nav__item:active { transform: scale(0.92); }

.bottom-nav__icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom-nav__icon svg { transition: var(--t-spring); }
.bottom-nav__item.active .bottom-nav__icon svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 6px rgba(11,61,46,0.25));
}

.bottom-nav__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--t-fast);
    line-height: 1;
}
.bottom-nav__item.active .bottom-nav__label { color: var(--c-primary); }

/* Active indicator pill */
.bottom-nav__item.active::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--green-50);
    border-radius: var(--r-md);
    z-index: -1;
    animation: navPillIn 0.22s var(--ease-spring) forwards;
}
@keyframes navPillIn {
    from { opacity: 0; transform: translateX(-50%) scale(0.7); }
    to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* Center "List" Button — elevated pill */
.bottom-nav__center {
    position: relative;
    margin-top: -20px;
}
.bottom-nav__center-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 58px;
    height: 58px;
    background: var(--c-primary);
    color: var(--white);
    border-radius: var(--r-xl);
    box-shadow: 0 6px 20px rgba(11,61,46,0.35), 0 2px 6px rgba(11,61,46,0.2);
    transition: var(--t-spring);
    text-decoration: none;
    cursor: pointer;
    border: none;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav__center-btn:hover,
.bottom-nav__center-btn:active {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 28px rgba(11,61,46,0.4);
    background: var(--c-primary-hover);
}
.bottom-nav__center-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

/* Notification dot on bottom nav */
.bottom-nav__dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--c-error);
    border-radius: 50%;
    border: 1.5px solid var(--white);
}

@media (max-width: 768px) { .bottom-nav { display: block; } }

/* ════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--green-800);

}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(11,61,46,0.75) 0%, rgba(11,61,46,0.55) 40%, rgba(5,25,18,0.85) 100%);
}
/* Grain texture overlay for depth */
.hero__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.hero__particles::before,
.hero__particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.hero__particles::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    animation: drift 12s ease-in-out infinite;
}
.hero__particles::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34,168,106,0.08) 0%, transparent 70%);
    bottom: -60px;
    left: -60px;
    animation: drift 10s ease-in-out infinite reverse;
    animation-delay: -3s;
}
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.97); }
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero__inner {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: var(--sp-16) var(--sp-6) var(--sp-20);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-7);
}
@media (max-width: 640px) {
    .hero__inner { padding: var(--sp-10) var(--sp-4) var(--sp-8); gap: var(--sp-5); }
}

/* Eyebrow */
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(245,166,35,0.12);
    border: 1px solid rgba(245,166,35,0.28);
    color: var(--gold-300);
    padding: 7px 18px;
    border-radius: var(--r-full);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    animation: fadeInDown 0.55s var(--ease-out-expo) both;
}
.hero__eyebrow-dot {
    width: 5px;
    height: 5px;
    background: var(--gold-400);
    border-radius: 50%;
    animation: pulse-dot 2.5s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.7); opacity: 0.5; }
}

/* Title */
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.06;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.65s var(--ease-out-expo) 0.1s both;
    max-width: 820px;
}
.hero__title .accent { color: var(--gold-400); }
.hero__title em {
    font-style: italic;
    color: var(--gold-400);
    font-family: var(--font-display);
}

.hero__subtitle {
    font-size: clamp(var(--text-md), 2.5vw, var(--text-xl));
    color: rgba(255,255,255,0.70);
    line-height: 1.75;
    max-width: 520px;
    animation: fadeInUp 0.65s var(--ease-out-expo) 0.18s both;
}

/* Hero Stats */
.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    animation: fadeInUp 0.65s var(--ease-out-expo) 0.28s both;
}
.hero__stat { text-align: center; }
.hero__stat-num {
    font-family: var(--font-display);
    font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero__stat-label {
    font-size: var(--text-2xs);
    color: rgba(255,255,255,0.48);
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-top: 2px;
}
.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
}

/* ─── Hero Search Box ────────────────────────────── */
.search-box {
    width: 100%;
    max-width: 900px;
    background: var(--white);
    border-radius: var(--r-2xl);
    box-shadow: 0 32px 100px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: fadeInUp 0.65s var(--ease-out-expo) 0.22s both;
}
.search-box__tabs {
    display: flex;
    border-bottom: 1px solid var(--c-border-subtle);
    padding: var(--sp-3) var(--sp-3) 0;
    gap: 2px;
}
.search-tab {
    padding: 9px 20px;
    border-radius: var(--r-md) var(--r-md) 0 0;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-text-muted);
    cursor: pointer;
    transition: var(--t-fast);
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}
.search-tab .tab-emoji { font-size: 14px; }
.search-tab.active {
    color: var(--c-primary);
    border-bottom-color: var(--c-primary);
    background: var(--green-50);
}
.search-tab:hover:not(.active) {
    color: var(--c-text-secondary);
    background: var(--gray-50);
}

.search-box__body {
    padding: var(--sp-5) var(--sp-5) var(--sp-5);
    display: flex;
    gap: var(--sp-3);
    align-items: flex-end;
}
@media (max-width: 640px) {
    .search-box__body { flex-direction: column; padding: var(--sp-4); }
}

.search-field {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.search-field label {
    font-size: var(--text-2xs);
    font-weight: 700;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-left: 4px;
}
.search-field input,
.search-field select {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--c-text);
    background: var(--gray-50);
    transition: var(--t-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.search-field input::placeholder { color: var(--c-text-muted); }
.search-field input:focus,
.search-field select:focus {
    border-color: var(--c-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(11,61,46,0.08);
}
.search-box__submit {
    flex-shrink: 0;
}
.search-box__submit .btn {
    height: 46px;
    padding: 0 var(--sp-7);
    font-size: var(--text-md);
    border-radius: var(--r-md);
}
@media (max-width: 640px) {
    .search-box__submit { width: 100%; }
    .search-box__submit .btn { width: 100%; height: 50px; font-size: var(--text-base); }
}

/* Hero quicklinks */
.hero__quicklinks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-2);
    justify-content: center;
    animation: fadeInUp 0.65s var(--ease-out-expo) 0.34s both;
}
.hero__quicklinks-label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.42);
    font-weight: 500;
}
.hero__quicklink {
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.13);
    padding: 5px 13px;
    border-radius: var(--r-full);
    transition: var(--t-fast);
    text-decoration: none;
    white-space: nowrap;
}
.hero__quicklink:hover {
    background: rgba(255,255,255,0.16);
    color: var(--white);
    border-color: rgba(255,255,255,0.25);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    animation: fadeIn 1s ease 1.2s both;
}
.hero__scroll-text {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.scroll-wheel {
    width: 3px;
    height: 7px;
    background: rgba(255,255,255,0.45);
    border-radius: 2px;
    animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
    0%   { transform: translateY(0); opacity: 1; }
    80%  { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ════════════════════════════════════════════════════════
   TRUST BAR — Horizontal scrollable on mobile
════════════════════════════════════════════════════════ */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--c-border-subtle);
    padding: 0;
    overflow: hidden;
}
.trust-bar__track {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.trust-bar__track::-webkit-scrollbar { display: none; }
.trust-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-5) var(--sp-7);
    flex-shrink: 0;
    border-right: 1px solid var(--c-border-subtle);
    transition: var(--t-fast);
    min-width: 0;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--gray-50); }
.trust-item__icon {
    width: 40px;
    height: 40px;
    background: var(--green-50);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    flex-shrink: 0;
    transition: var(--t-spring);
}
.trust-item:hover .trust-item__icon {
    background: var(--c-primary);
    color: var(--white);
    transform: rotate(-5deg) scale(1.05);
}
.trust-item__text strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--c-text);
    white-space: nowrap;
}
.trust-item__text span {
    font-size: var(--text-xs);
    color: var(--c-text-muted);
    white-space: nowrap;
}

/* ════════════════════════════════════════════════════════
   PROPERTY CARD — Premium Redesign
════════════════════════════════════════════════════════ */
.property-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid rgba(11,61,46,0.06);
    box-shadow: var(--shadow-sm);
    transition: all 0.28s var(--ease-out-expo);
    position: relative;
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-green-md);
    border-color: rgba(11,61,46,0.12);
}

/* Image */
.property-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gray-100);
    display: block;
    flex-shrink: 0;
}
.property-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease-out-expo);
}
.property-card:hover .property-card__image img { transform: scale(1.06); }

/* Image overlay on hover */
.property-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,25,18,0.35) 0%, transparent 50%);
    opacity: 0;
    transition: var(--t-base);
}
.property-card:hover .property-card__image::after { opacity: 1; }

.property-card__badges {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    z-index: 2;
}
.property-card__save {
    position: absolute;
    top: var(--sp-3);
    right: var(--sp-3);
    z-index: 2;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.5);
    transition: var(--t-spring);
    color: var(--gray-400);
}
.property-card__save:hover { transform: scale(1.12); color: var(--c-error); }
.property-card__save.saved { color: var(--c-error); }
.property-card__save.saved svg { fill: var(--c-error); }

/* Photo count */
.property-card__photo-count {
    position: absolute;
    bottom: var(--sp-3);
    right: var(--sp-3);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: var(--text-2xs);
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--r-full);
    pointer-events: none;
}

/* Body */
.property-card__body {
    padding: var(--sp-4) var(--sp-4) var(--sp-3);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.property-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.property-card__price-amount {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.property-card__price-period {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--c-text-muted);
    font-weight: 500;
}
.property-card__price-negotiable {
    font-size: 10px;
    font-weight: 600;
    color: var(--green-400);
    padding: 1px 6px;
    background: var(--green-50);
    border-radius: var(--r-full);
    margin-left: var(--sp-1);
    border: 1px solid var(--green-100);
}

.property-card__title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}
.property-card__title:hover { color: var(--c-primary); }

.property-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--c-text-muted);
    font-weight: 500;
}
.property-card__location svg { flex-shrink: 0; }

/* Specs row */
.property-card__specs {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--c-border-subtle);
    margin-top: auto;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--c-text-secondary);
    font-weight: 500;
    white-space: nowrap;
}
.spec-item svg { opacity: 0.6; flex-shrink: 0; }

/* Footer */
.property-card__footer {
    padding: var(--sp-3) var(--sp-4);
    border-top: 1px solid var(--c-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    background: var(--gray-50);
}
.agent-mini {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    min-width: 0;
}
.agent-mini__avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--green-100);
    flex-shrink: 0;
    border: 1.5px solid var(--white);
}
.agent-mini__info { min-width: 0; }
.agent-mini__name {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.agent-mini__time {
    font-size: 10px;
    color: var(--c-text-muted);
    display: block;
}
.verified-check {
    width: 13px;
    height: 13px;
    background: var(--c-success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.verified-check svg { width: 8px; height: 8px; }

/* WhatsApp button */
.wa-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--c-whatsapp);
    color: var(--white);
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 700;
    transition: var(--t-fast);
    text-decoration: none;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}
.wa-btn:hover {
    background: #1ea852;
    transform: scale(1.03);
    box-shadow: 0 3px 12px rgba(37,211,102,0.35);
}

/* ════════════════════════════════════════════════════════
   SKELETON LOADERS
════════════════════════════════════════════════════════ */
@keyframes shimmer {
    0%   { background-position: -800px 0; }
    100% { background-position: 800px 0; }
}
.skeleton {
    background: linear-gradient(
        90deg,
        var(--gray-150) 0px,
        var(--gray-100) 60px,
        var(--gray-150) 120px
    );
    background-size: 800px 100%;
    animation: shimmer 1.6s infinite linear;
    border-radius: var(--r-sm);
}
.skeleton-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--c-border-subtle);
}
.skeleton-card__img { aspect-ratio: 16/10; }
.skeleton-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.skeleton-text { height: 13px; }
.skeleton-text--xs  { width: 40%; }
.skeleton-text--sm  { width: 55%; }
.skeleton-text--md  { width: 75%; }
.skeleton-text--lg  { width: 90%; }
.skeleton-text--full { width: 100%; }
.skeleton-price { height: 22px; width: 50%; margin-bottom: var(--sp-1); }

/* ════════════════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════════════════ */
.section {
    padding: var(--sp-20) 0;
}
.section--xs   { padding: var(--sp-8) 0; }
.section--sm   { padding: var(--sp-12) 0; }
.section--lg   { padding: var(--sp-24) 0; }
.section--xl   { padding: var(--sp-32) 0; }
.section--white    { background: var(--white); }
.section--offwhite { background: var(--offwhite); }
.section--surface  { background: var(--c-surface-raised); }
.section--dark     { background: var(--green-900); }
.section--primary  { background: var(--c-primary); }

.section__header {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    margin-bottom: var(--sp-12);
}
.section__header--center {
    text-align: center;
    align-items: center;
    margin: 0 auto var(--sp-12);
    max-width: 640px;
}
.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-2xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-primary);
    padding: 4px 14px;
    background: var(--green-50);
    border-radius: var(--r-full);
    border: 1px solid var(--green-100);
    width: fit-content;
}
.section__header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-bottom: var(--sp-10);
}
.section__cta { text-align: center; margin-top: var(--sp-10); }

/* Property grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: var(--sp-6);
}
@media (max-width: 768px) { .property-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }
@media (max-width: 480px) { .property-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════
   STAT CARDS
════════════════════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); } }

.stat-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: var(--sp-8) var(--sp-6);
    text-align: center;
    border: 1px solid var(--c-border-subtle);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-primary), var(--green-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-card__icon {
    width: 52px;
    height: 52px;
    background: var(--green-50);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-5);
    color: var(--c-primary);
    transition: var(--t-spring);
}
.stat-card:hover .stat-card__icon {
    background: var(--c-primary);
    color: var(--white);
    transform: rotate(-8deg) scale(1.05);
}
.stat-card__number {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: var(--sp-2);
    letter-spacing: -0.02em;
}
.stat-card__label {
    font-size: var(--text-sm);
    color: var(--c-text-muted);
    font-weight: 500;
}

/* ════════════════════════════════════════════════════════
   FORMS
════════════════════════════════════════════════════════ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
}
.form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}
.form-label--required::after {
    content: '*';
    color: var(--c-error);
    font-size: var(--text-xs);
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    color: var(--c-text);
    background: var(--white);
    transition: var(--t-fast);
    outline: none;
    font-family: var(--font-body);
    line-height: 1.5;
    appearance: none;
    -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--c-text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(11,61,46,0.09);
    background: var(--white);
}
.form-input.error,
.form-select.error,
.form-textarea.error { border-color: var(--c-error); }
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.09); }
.form-error {
    font-size: var(--text-xs);
    color: var(--c-error);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.form-hint {
    font-size: var(--text-xs);
    color: var(--c-text-muted);
    line-height: 1.5;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.form-input-wrap .form-input { padding-left: 42px; }
.form-input-icon {
    position: absolute;
    left: 14px;
    color: var(--c-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}
.form-input-wrap .form-input-suffix {
    position: absolute;
    right: 14px;
    color: var(--c-text-muted);
    font-size: var(--text-xs);
    font-weight: 600;
    pointer-events: none;
}

/* Password toggle */
.form-password-toggle {
    position: absolute;
    right: 14px;
    color: var(--c-text-muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    transition: var(--t-fast);
}
.form-password-toggle:hover { color: var(--c-text); }

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    cursor: pointer;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-xs);
    appearance: none;
    -webkit-appearance: none;
    background: var(--white);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--t-fast);
    position: relative;
}
.form-check input[type="radio"] { border-radius: 50%; }
.form-check input[type="checkbox"]:checked {
    background: var(--c-primary);
    border-color: var(--c-primary);
}
.form-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: 1.5px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
.form-check input[type="radio"]:checked {
    background: var(--c-primary);
    border-color: var(--c-primary);
    box-shadow: inset 0 0 0 3px var(--white);
}
.form-check-label { font-size: var(--text-sm); color: var(--c-text-secondary); line-height: 1.5; }

/* ════════════════════════════════════════════════════════
   MODAL SYSTEM
════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,6,8,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    background: var(--white);
    border-radius: var(--r-2xl);
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    transform: translateY(24px) scale(0.96);
    transition: all 0.28s var(--ease-out-expo);
    overscroll-behavior: contain;
}
.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}
.modal--sm { max-width: 400px; }
.modal--lg { max-width: 680px; }
.modal--full { max-width: 100%; max-height: 100vh; border-radius: 0; }
.modal__header {
    padding: var(--sp-6) var(--sp-6) var(--sp-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--c-border-subtle);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.modal__title {
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--c-text);
    letter-spacing: -0.01em;
}
.modal__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    color: var(--c-text-muted);
    transition: var(--t-fast);
    cursor: pointer;
    border: none;
    background: none;
    flex-shrink: 0;
}
.modal__close:hover { background: var(--gray-100); color: var(--c-text); }
.modal__body { padding: var(--sp-6); }
.modal__footer {
    padding: var(--sp-4) var(--sp-6);
    border-top: 1px solid var(--c-border-subtle);
    display: flex;
    gap: var(--sp-3);
    justify-content: flex-end;
    background: var(--gray-50);
    border-radius: 0 0 var(--r-2xl) var(--r-2xl);
}

/* Bottom sheet (mobile modal) */
.bottom-sheet {
    position: fixed;
    inset: 0;
    z-index: 800;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.bottom-sheet.open { opacity: 1; visibility: visible; }
.bottom-sheet__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,6,8,0.55);
    backdrop-filter: blur(4px);
}
.bottom-sheet__panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    padding: var(--sp-6);
    max-height: 90vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(100%);
    transition: transform 0.35s var(--ease-out-expo);
    padding-bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px));
}
.bottom-sheet.open .bottom-sheet__panel { transform: translateY(0); }
.bottom-sheet__handle {
    width: 36px;
    height: 4px;
    background: var(--gray-300);
    border-radius: var(--r-full);
    margin: 0 auto var(--sp-5);
}

/* ════════════════════════════════════════════════════════
   TOAST SYSTEM
════════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    bottom: calc(var(--bottom-nav-h) + var(--sp-4));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    gap: var(--sp-3);
    pointer-events: none;
    min-width: 300px;
    max-width: min(90vw, 420px);
}
@media (min-width: 769px) {
    .toast-container {
        bottom: var(--sp-6);
        right: var(--sp-6);
        left: auto;
        transform: none;
        align-items: flex-end;
    }
}
.toast {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 13px var(--sp-5);
    background: var(--gray-900);
    color: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    font-size: var(--text-sm);
    font-weight: 500;
    pointer-events: all;
    max-width: 100%;
    border: 1px solid rgba(255,255,255,0.06);
    animation: toastSlideIn 0.32s var(--ease-out-expo) forwards;
}
.toast__icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
}
.toast--success { background: #14532d; border-color: rgba(34,197,94,0.2); }
.toast--success .toast__icon { background: rgba(34,197,94,0.25); color: #4ade80; }
.toast--error   { background: #7f1d1d; border-color: rgba(239,68,68,0.2); }
.toast--error   .toast__icon { background: rgba(239,68,68,0.25); color: #f87171; }
.toast--warning { background: #78350f; border-color: rgba(245,158,11,0.2); }
.toast--warning .toast__icon { background: rgba(245,158,11,0.25); color: #fbbf24; }
.toast--info    { background: #1e3a5f; border-color: rgba(59,130,246,0.2); }
.toast--info    .toast__icon { background: rgba(59,130,246,0.25); color: #93c5fd; }
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastSlideOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.94); }
}

/* ════════════════════════════════════════════════════════
   AGENT CARD
════════════════════════════════════════════════════════ */
.agent-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    text-align: center;
    border: 1px solid var(--c-border-subtle);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--gold-50) 100%);
}
.agent-card:hover { box-shadow: var(--shadow-green-md); transform: translateY(-4px); }
.agent-card__avatar-wrap {
    position: relative;
    width: 76px;
    margin: 0 auto var(--sp-4);
}
.agent-card__avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    display: block;
}
.agent-card__verified-badge {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 22px;
    height: 22px;
    background: var(--c-success);
    border-radius: 50%;
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.agent-card__name {
    font-weight: 700;
    font-size: var(--text-md);
    color: var(--c-text);
    margin-bottom: 3px;
}
.agent-card__meta {
    font-size: var(--text-xs);
    color: var(--c-text-muted);
    margin-bottom: var(--sp-4);
}
.agent-card__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: var(--sp-4);
}
.agent-card__stats {
    display: flex;
    justify-content: center;
    gap: var(--sp-6);
    padding: var(--sp-4) 0;
    border-top: 1px solid var(--c-border-subtle);
    border-bottom: 1px solid var(--c-border-subtle);
    margin-bottom: var(--sp-4);
}
.agent-stat { text-align: center; }
.agent-stat__num {
    font-weight: 800;
    font-size: var(--text-xl);
    color: var(--c-text);
    display: block;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.agent-stat__label {
    font-size: 10px;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-top: 1px;
}

/* ════════════════════════════════════════════════════════
   WHATSAPP FAB
════════════════════════════════════════════════════════ */
.whatsapp-fab {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-5);
    z-index: 400;
    background: var(--c-whatsapp);
    color: var(--white);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
    transition: var(--t-spring);
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
}
.whatsapp-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: calc(var(--bottom-nav-h) + var(--sp-4));
        right: var(--sp-4);
        width: 48px;
        height: 48px;
    }
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
    background: var(--green-950);
    color: rgba(255,255,255,0.65);
}
.footer__top { padding: var(--sp-20) 0 var(--sp-16); }
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-12);
}
@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 560px) {
    .footer__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.footer__logo .logo-name { color: var(--white); }
.footer__logo .logo-tld  { color: var(--gold-400); }
.footer__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--text-sm);
    color: var(--gold-300);
    margin: var(--sp-3) 0;
}
.footer__desc {
    font-size: var(--text-sm);
    line-height: 1.75;
    color: rgba(255,255,255,0.45);
    margin-bottom: var(--sp-6);
    max-width: 280px;
}
.footer__social { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-md);
    color: rgba(255,255,255,0.6);
    transition: var(--t-base);
    text-decoration: none;
}
.social-link:hover {
    background: rgba(255,255,255,0.14);
    color: var(--white);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.footer__col-title {
    font-size: var(--text-2xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    margin-bottom: var(--sp-5);
}
.footer__col-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__col-links a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    transition: var(--t-fast);
    text-decoration: none;
    line-height: 1;
}
.footer__col-links a:hover {
    color: var(--white);
    padding-left: 4px;
}
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: var(--sp-6) 0;
}
.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-4);
}
.footer__copy { font-size: var(--text-xs); color: rgba(255,255,255,0.3); }
.footer__legal { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer__legal a { font-size: var(--text-xs); color: rgba(255,255,255,0.4); transition: var(--t-fast); }
.footer__legal a:hover { color: var(--white); }
.footer__trust-badges { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.trust-badge-small {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    padding: 3px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--r-full);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* Utility animations */
.anim-fade-up   { animation: fadeInUp 0.6s var(--ease-out-expo) both; }
.anim-fade-down { animation: fadeInDown 0.6s var(--ease-out-expo) both; }
.anim-fade      { animation: fadeIn 0.5s ease both; }
.anim-scale     { animation: scaleIn 0.4s var(--ease-spring) both; }
.delay-0 { animation-delay: 0s; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }
.delay-6 { animation-delay: 0.48s; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════════════════════
   EMPTY STATE
════════════════════════════════════════════════════════ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-16) var(--sp-8);
    background: var(--white);
    border-radius: var(--r-2xl);
    border: 2px dashed var(--c-border);
}
.empty-state__emoji { font-size: 3.5rem; margin-bottom: var(--sp-5); line-height: 1; }
.empty-state__title {
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--c-text);
    margin-bottom: var(--sp-2);
    letter-spacing: -0.01em;
}
.empty-state__text {
    font-size: var(--text-sm);
    color: var(--c-text-muted);
    max-width: 320px;
    line-height: 1.7;
    margin-bottom: var(--sp-6);
}

/* ════════════════════════════════════════════════════════
   TABS
════════════════════════════════════════════════════════ */
.tabs {
    display: flex;
    gap: 2px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--r-lg);
    width: fit-content;
}
.tab-btn {
    padding: 8px 18px;
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-text-muted);
    transition: var(--t-fast);
    cursor: pointer;
    border: none;
    background: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.tab-btn.active {
    background: var(--white);
    color: var(--c-text);
    box-shadow: var(--shadow-sm);
}
.tab-btn:hover:not(.active) { color: var(--c-text-secondary); }

/* ════════════════════════════════════════════════════════
   TABLE
════════════════════════════════════════════════════════ */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--r-xl);
    border: 1px solid var(--c-border-subtle);
    background: var(--white);
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}
.table th {
    padding: 12px var(--sp-5);
    text-align: left;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    background: var(--gray-50);
    border-bottom: 1px solid var(--c-border-subtle);
    white-space: nowrap;
}
.table td {
    padding: 14px var(--sp-5);
    color: var(--c-text-secondary);
    border-bottom: 1px solid var(--c-border-subtle);
    vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--gray-50); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
════════════════════════════════════════════════════════ */
.hide-mobile  { display: none !important; }
.hide-desktop { display: block !important; }

@media (min-width: 769px) {
    .hide-mobile  { display: block !important; }
    .hide-desktop { display: none !important; }
    .navbar__links { display: flex; }
    .hamburger { display: none; }
    .mobile-menu { display: none !important; }
}
@media (max-width: 768px) {
    .navbar__links { display: none; }
    .navbar__actions .btn:not(.btn--icon) { display: none; }
    .hamburger { display: flex; }
    /* Show menu only when open — it's position:absolute so display:flex always is fine */
    .mobile-menu { display: flex; }
    .mobile-menu:not(.open) { pointer-events: none; }
}

/* PWA install banner */
.pwa-install-banner {
    position: fixed;
    bottom: calc(var(--bottom-nav-h) + var(--sp-3));
    left: var(--sp-4);
    right: var(--sp-4);
    z-index: 450;
    background: var(--white);
    border-radius: var(--r-xl);
    padding: var(--sp-4);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--c-border-subtle);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}
.pwa-install-banner.show {
    transform: translateY(0);
    opacity: 1;
}
@media (min-width: 769px) {
    .pwa-install-banner {
        left: auto;
        right: var(--sp-6);
        bottom: var(--sp-6);
        max-width: 340px;
    }
}
.pwa-banner__icon {
    width: 44px;
    height: 44px;
    background: var(--c-primary);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.25rem;
}
.pwa-banner__text { flex: 1; min-width: 0; }
.pwa-banner__title { font-weight: 700; font-size: var(--text-sm); color: var(--c-text); }
.pwa-banner__desc { font-size: var(--text-xs); color: var(--c-text-muted); margin-top: 1px; }
.pwa-banner__actions { display: flex; gap: var(--sp-2); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════
   SCROLLBAR STYLING
════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ════════════════════════════════════════════════════════
   SELECTION
════════════════════════════════════════════════════════ */
::selection {
    background: rgba(11,61,46,0.15);
    color: var(--c-primary);
}
/* ════════════════════════════════════════════════════════
   SEARCH PAGE
════════════════════════════════════════════════════════ */

/* ── Filter Bar ───────────────────────────────────────── */
.filter-bar {
    position: sticky;
    top: var(--navbar-h);
    z-index: 400;
    background: #fff;
    border-bottom: 1px solid rgba(11,61,46,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.filter-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    flex-wrap: wrap;
}
.filter-tabs { display: flex; gap: 4px; }
.filter-tab {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    border: 1px solid #e5e5e5;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.filter-tab.active, .filter-tab:hover {
    background: #0B3D2E;
    color: #fff;
    border-color: #0B3D2E;
}
.filter-bar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.results-count {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}
.sort-select {
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #fff;
    cursor: pointer;
    color: #333;
}
.filter-toggle-btn { display: none; position: relative; }
.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #0B3D2E;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    margin-left: 4px;
}

/* ── Layout ────────────────────────────────────────────── */
.search-page { padding-bottom: 60px; }
.search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
    padding-top: 24px;
}

/* ── Sidebar ────────────────────────────────────────────── */
.search-sidebar {
    position: sticky;
    top: calc(var(--navbar-h) + 56px);
    max-height: calc(100vh - var(--navbar-h) - 80px);
    overflow-y: auto;
    scrollbar-width: thin;
}
.sidebar-inner {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
}
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-title { font-size: 1rem; font-weight: 700; color: #111; margin: 0; }
.clear-filters { font-size: 0.82rem; color: #0B3D2E; font-weight: 500; }
.clear-filters:hover { text-decoration: underline; }
.sidebar-close { display: none; font-size: 1.1rem; cursor: pointer; color: #555; }

/* Filter Groups */
.filter-group { margin-bottom: 20px; }
.filter-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.filter-input, .filter-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: #fafafa;
    transition: border-color 0.15s ease;
}
.filter-input:focus, .filter-select:focus {
    outline: none;
    border-color: #0B3D2E;
    background: #fff;
}
.filter-input-wrap { position: relative; }
.fi-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
}
.filter-input-wrap .filter-input { padding-left: 32px; }

/* Price Range */
.price-quick-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.price-chip {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.78rem;
    color: #555;
    cursor: pointer;
    background: #fff;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.price-chip.active, .price-chip:hover {
    border-color: #0B3D2E;
    background: #0B3D2E;
    color: #fff;
}
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-input-wrap { position: relative; flex: 1; }
.price-symbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #888;
    pointer-events: none;
}
.filter-input--price { padding-left: 24px; }
.price-sep { color: #aaa; font-size: 0.9rem; flex-shrink: 0; }

/* Chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #555;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
}
.chip.active, .chip:hover {
    border-color: #0B3D2E;
    background: #0B3D2E;
    color: #fff;
}

/* Amenities */
.filter-group--amenities { border-top: 1px solid #f0f0f0; padding-top: 16px; }
.amenity-group { margin-bottom: 14px; }
.amenity-group__title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0B3D2E;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.amenity-checkboxes { display: flex; flex-direction: column; gap: 6px; }
.amenity-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #444;
}
.amenity-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0B3D2E;
    cursor: pointer;
    flex-shrink: 0;
}
.amenity-check:hover { color: #0B3D2E; }

/* ── Active Filter Pills ─────────────────────────────── */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #e8f4ef;
    border: 1px solid #c5dfd3;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #0B3D2E;
    font-weight: 500;
    transition: background 0.15s ease;
}
.filter-pill:hover { background: #d4ecdf; }

/* ── Results Header ──────────────────────────────────── */
.results-header { margin-bottom: 20px; }
.results-title { font-size: 1.3rem; font-weight: 700; color: #111; margin-bottom: 4px; }
.results-subtitle { font-size: 0.9rem; color: #777; }

/* ── Empty State ─────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state__icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state__title { font-size: 1.3rem; font-weight: 700; color: #111; margin-bottom: 8px; }
.empty-state__desc { color: #666; margin-bottom: 24px; }

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

/* ── Property Card ───────────────────────────────────── */
.prop-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.prop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.prop-card--featured { border-color: #F5A623; }

/* Card Image */
.prop-card__img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}
.prop-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.prop-card:hover .prop-card__img { transform: scale(1.04); }

/* Badges */
.prop-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.badge {
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.badge--featured { background: #F5A623; color: #fff; }
.badge--verified { background: #22C55E; color: #fff; }
.badge--urgent   { background: #EF4444; color: #fff; }

/* Save Button */
.prop-card__save {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    transition: all 0.15s ease;
    backdrop-filter: blur(4px);
}
.prop-card__save:hover, .prop-card__save.saved { color: #EF4444; }
.prop-card__save.saved svg { fill: #EF4444; stroke: #EF4444; }

/* Card Body */
.prop-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.prop-card__type {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0B3D2E;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.prop-card__price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0B3D2E;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.prop-card__period { font-size: 0.8rem; font-weight: 400; color: #888; }
.prop-card__neg    { font-size: 0.72rem; color: #F5A623; font-weight: 600; background: #fff8ec; padding: 2px 6px; border-radius: 10px; }
.prop-card__title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prop-card__title a { color: inherit; }
.prop-card__title a:hover { color: #0B3D2E; }
.prop-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 10px;
}

/* Stats Row */
.prop-card__stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 12px;
}
.pstat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

/* Card Footer */
.prop-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
.prop-card__agent { display: flex; align-items: center; gap: 8px; min-width: 0; }
.prop-card__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #eee;
}
.prop-card__agent-info { display: flex; flex-direction: column; min-width: 0; }
.prop-card__agent-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}
.prop-card__time { font-size: 0.72rem; color: #aaa; }
.prop-card__wa {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: #25D366;
    color: #fff;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease;
}
.prop-card__wa:hover { background: #1ebe5d; }

/* ── Pagination ──────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.page-btn {
    padding: 9px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #333;
    transition: all 0.15s ease;
}
.page-btn:hover { border-color: #0B3D2E; color: #0B3D2E; }
.page-numbers { display: flex; gap: 4px; }
.page-num {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #333;
    transition: all 0.15s ease;
}
.page-num:hover { border-color: #0B3D2E; color: #0B3D2E; }
.page-num.active { background: #0B3D2E; border-color: #0B3D2E; color: #fff; font-weight: 600; }
.page-ellipsis { display: flex; align-items: center; padding: 0 4px; color: #aaa; }

/* ── Sidebar Overlay ─────────────────────────────────── */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 399;
}
.sidebar-overlay.visible { display: block; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE — SEARCH PAGE
════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
    .search-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: min(340px, 90vw);
        height: 100vh;
        max-height: 100vh;
        z-index: 500;
        background: #fff;
        border-radius: 0;
        border: none;
        box-shadow: 4px 0 40px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    .search-sidebar.open { left: 0; }
    .sidebar-close { display: block; }
    .filter-toggle-btn { display: inline-flex; }
    .filter-tabs { overflow-x: auto; scrollbar-width: none; }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .results-count { display: none; }
    .sort-select { font-size: 0.8rem; padding: 6px 8px; }
}

@media (max-width: 600px) {
    .property-grid { grid-template-columns: 1fr; }
    .filter-bar__inner { gap: 8px; }
    .filter-tab { padding: 5px 10px; font-size: 0.8rem; }
}

/* ════════════════════════════════════════════════════════
   AUTH PAGES (login, register, verify, forgot, reset)
════════════════════════════════════════════════════════ */

.auth-page {
    min-height: calc(100vh - var(--navbar-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 60px;
    background: #F8F6F1;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 40px 36px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}
.auth-card--wide { max-width: 520px; }

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.auth-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin: 0 0 6px;
}
.auth-sub {
    font-size: 0.92rem;
    color: #777;
    text-align: center;
    margin: 0 0 24px;
}

/* Google Button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 16px;
}
.btn-google:hover {
    border-color: #aaa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #bbb;
    font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.form-label__link {
    font-size: 0.8rem;
    font-weight: 400;
    color: #0B3D2E;
}
.form-label__link:hover { text-decoration: underline; }
.req { color: #ef4444; }

.form-input {
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #111;
    background: #fafafa;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}
.form-input:focus {
    outline: none;
    border-color: #0B3D2E;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11,61,46,0.08);
}
.form-input.error { border-color: #ef4444; }

/* Password toggle */
.input-password-wrap { position: relative; }
.input-password-wrap .form-input { padding-right: 44px; }
.toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 4px;
    display: flex;
    align-items: center;
}
.toggle-pw:hover { color: #555; }

/* Password strength */
.pw-strength {
    font-size: 0.78rem;
    font-weight: 600;
    min-height: 16px;
    margin-top: 2px;
}

/* Role Toggle */
.role-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}
.role-btn {
    padding: 12px 8px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}
.role-btn.active {
    border-color: #0B3D2E;
    background: #e8f4ef;
    color: #0B3D2E;
}
.role-btn:hover { border-color: #0B3D2E; }

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 4px;
}
.alert--error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }

/* Auth Icons */
.auth-icon {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 12px;
}
.auth-icon--success {
    width: 64px;
    height: 64px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.auth-icon--error {
    width: 64px;
    height: 64px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

/* reCAPTCHA */
.g-recaptcha { margin: 4px 0; }

/* Bottom links */
.auth-switch {
    text-align: center;
    font-size: 0.88rem;
    color: #666;
    margin-top: 20px;
}
.auth-switch a { color: #0B3D2E; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.auth-terms {
    text-align: center;
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 8px;
}
.auth-terms a { color: #0B3D2E; }

@media (max-width: 480px) {
    .auth-card { padding: 28px 20px; }
    .form-row  { grid-template-columns: 1fr; }
}
