/* ========== ZUBOESTATE - Futuristic Real Estate Portal ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* -- VARIABLES -- */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, .25);
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --glass: rgba(255, 255, 255, .08);
    --glass-border: rgba(255, 255, 255, .12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow: 0 4px 20px rgba(0, 0, 0, .06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, .12);
    --shadow-glow: 0 0 30px var(--primary-glow);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
    --transition-slow: all .5s cubic-bezier(.4, 0, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

section,
.container {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* -- BUTTONS -- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    padding: 12px 28px;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .2) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform .6s;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 26px;
}

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--primary-glow);
    color: var(--white);
}

/* -- HEADER / NAVBAR -- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.navbar.navbar-transparent {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
}

.navbar.navbar-transparent .navbar-logo {
    color: var(--white);
}

.navbar.navbar-transparent .nav-menu>a,
.navbar.navbar-transparent .nav-dropdown-toggle {
    color: rgba(255, 255, 255, .85);
}

.navbar.navbar-transparent .nav-menu>a:hover,
.navbar.navbar-transparent .nav-menu>a.active,
.navbar.navbar-transparent .nav-dropdown-toggle:hover,
.navbar.navbar-transparent .nav-dropdown-toggle.active {
    color: var(--white);
    background: rgba(255, 255, 255, .12);
}

.navbar.navbar-transparent .nav-toggle {
    color: var(--white);
}

.navbar.navbar-transparent .nav-toggle:hover {
    background: rgba(255, 255, 255, .12);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .08);
    border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled .navbar-logo {
    color: var(--dark);
}

.navbar.scrolled .nav-menu>a,
.navbar.scrolled .nav-dropdown-toggle {
    color: var(--text-light);
}

.navbar.scrolled .nav-menu>a:hover,
.navbar.scrolled .nav-menu>a.active,
.navbar.scrolled .nav-dropdown-toggle:hover,
.navbar.scrolled .nav-dropdown-toggle.active {
    color: var(--primary);
    background: rgba(99, 102, 241, .06);
}

.navbar.scrolled .nav-toggle {
    color: var(--dark);
}

.navbar.scrolled .nav-toggle:hover {
    background: var(--bg-alt);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1280px;
    margin: 0 auto;
    height: 72px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -.03em;
    color: var(--dark);
}

.navbar-logo i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 26px;
}

.navbar-logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu>a,
.nav-dropdown-toggle {
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-menu>a:hover,
.nav-menu>a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
    color: var(--primary);
    background: rgba(99, 102, 241, .06);
}

.nav-menu>a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.nav-dropdown-toggle i.fa-chevron-down {
    font-size: 10px;
    transition: transform .3s;
}

.nav-dropdown:hover .nav-dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 6px;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .98));
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .14);
    border: 1px solid rgba(148, 163, 184, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    min-width: 250px;
    max-width: 280px;
    z-index: 1100;
    isolation: isolate;
    overflow: hidden;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, .94);
    border-radius: 3px;
    border-top: 1px solid rgba(148, 163, 184, .2);
    border-left: 1px solid rgba(148, 163, 184, .2);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(99, 102, 241, .12), transparent 42%);
    z-index: -1;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
}

.dropdown-col {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.dropdown-col h5 {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-family: 'Space Grotesk', sans-serif;
    padding: 4px 10px;
}

.dropdown-col a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    line-height: 1.3;
}

.dropdown-col a:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(6, 182, 212, .08));
    color: var(--primary);
    transform: none;
}

.dropdown-col a i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(99, 102, 241, .08);
    color: var(--primary);
    font-size: 12px;
    text-align: center;
    flex-shrink: 0;
}

.nav-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: var(--white) !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-login:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px var(--primary-glow) !important;
    color: var(--white) !important;
}

.nav-btn-sell {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    background: transparent !important;
    margin-right: 4px;
}

.nav-btn-sell:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.nav-user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--dark);
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--bg-alt);
}

/* -- HERO -- */
.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    background: url('https://images.unsplash.com/photo-1511818966892-d7d671e672a2?w=1920&q=80') center center/cover no-repeat;
    overflow: hidden;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 16, 33, .9) 0%, rgba(13, 29, 54, .7) 34%, rgba(20, 35, 58, .18) 70%, rgba(20, 35, 58, .08) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, rgba(15, 23, 42, .3) 0%, transparent 100%);
    z-index: 2;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.hero-shell {
    position: relative;
    z-index: 3;
    width: 100%;
    display: grid;
    gap: 28px;
    align-items: end;
    padding-bottom: 44px;
}

.hero-content {
    position: relative;
    text-align: left;
    padding: 52px 0 0;
    max-width: 720px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.hero-orb-1 {
    top: 11%;
    right: 12%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(99, 102, 241, .2) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.hero-orb-2 {
    bottom: 28%;
    left: 4%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, .18) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite reverse;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
}

.hero-badge i {
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.7rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -.03em;
    line-height: .98;
}

.hero h1 span {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.hero-sub {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 28px;
    max-width: 620px;
    line-height: 1.6;
}

.hero-sub span {
    color: #ffd633;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

/* Hero Search */
.hero-search-dock {
    max-width: 920px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 56px rgba(3, 11, 26, .24);
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(10, 24, 46, .88);
    backdrop-filter: blur(18px);
}

.hero-search-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    background: rgba(8, 21, 41, .9);
}

.hero-search-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.hero-search-tab:last-child {
    border-right: none;
}

.hero-search-tab.active,
.hero-search-tab:hover {
    color: var(--white);
    background: rgba(255, 214, 51, .12);
}

.hero-search-tab.active {
    box-shadow: inset 0 -3px 0 #ffd633;
}

.hero-search {
    background: rgba(255, 255, 255, .96);
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.search-field {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 11px 16px;
}

.search-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.search-field input,
.search-field select {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    padding: 2px 0;
}

.search-field-keyword {
    flex: 1.4;
}

.search-field input {
    cursor: text;
}

.search-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.search-divider {
    width: 1px;
    height: 42px;
    background: var(--border);
    flex-shrink: 0;
}

.search-btn {
    background: #ffd633;
    color: #111827;
    border: none;
    padding: 16px 24px;
    font-weight: 700;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.search-btn:hover {
    background: #ffca14;
}

.hero-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
}

.hero-filter-chip {
    min-width: 150px;
    padding: 9px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .14);
}

.hero-filter-chip label {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-filter-chip select {
    width: 100%;
    background: transparent;
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 0;
}

.hero-stat {
    text-align: left;
}

.hero-stat-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
    font-weight: 600;
}

/* -- SERVICE CARDS (after hero) -- */
.service-cards {
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding: 32px 0 60px;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: left;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 360px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-media {
    position: relative;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
}

.service-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .08) 0%, rgba(15, 23, 42, .24) 36%, rgba(15, 23, 42, .86) 100%);
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.service-card:hover .service-card-media img {
    transform: scale(1.06);
}

.service-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: var(--dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-card-body {
    display: flex;
    flex-direction: column;
    padding: 22px 20px 20px;
}

.service-card-body-overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 80px 20px 20px;
    color: var(--white);
}

.service-card-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .74);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--white);
}

.service-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-card .card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card:hover .card-link {
    color: var(--white);
}

.service-card .card-link i {
    transition: transform .3s;
}

.service-card:hover .card-link i {
    transform: translateX(4px);
}

.home-section-shell {
    overflow: hidden;
}

.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.home-section-head-left {
    align-items: start;
}

.home-section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    margin-bottom: 10px;
}

.home-section-head p {
    max-width: 980px;
    color: var(--text-light);
}

.home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.home-section-link:hover {
    color: var(--primary);
}

.section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.section-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.section-tab:hover,
.section-tab.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    border-color: transparent;
}

.section-tabs-city .section-tab {
    min-width: 96px;
}

.section-panel {
    display: none;
}

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

.home-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, .08);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.developer-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.developer-spotlight-card,
.developer-focus-card,
.research-card,
.city-topic-card,
.project-showcase-card {
    background: var(--bg-card);
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.developer-spotlight-card,
.developer-focus-card {
    padding: 18px;
}

.developer-brand-row {
    display: grid;
    grid-template-columns: 98px 1fr;
    gap: 16px;
    align-items: center;
}

.developer-brand-mark {
    width: 98px;
    height: 98px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.developer-brand-row h3,
.developer-focus-card h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.developer-brand-row p,
.developer-focus-card p,
.research-card-body p,
.city-topic-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.developer-meta-row {
    display: flex;
    gap: 30px;
    margin: 18px 0;
}

.developer-meta-row strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
}

.developer-meta-row span {
    color: var(--text-muted);
    font-size: 12px;
}

.developer-links-stack {
    display: grid;
    gap: 10px;
}

.developer-bucket-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-weight: 600;
}

.developer-bucket-link:hover,
.developer-bucket-link.active {
    border-color: rgba(99, 102, 241, .22);
    background: rgba(99, 102, 241, .04);
    color: var(--primary);
}

.developer-focus-card {
    margin-bottom: 18px;
}

.research-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.research-card {
    display: block;
    overflow: hidden;
    color: var(--text);
    transition: transform .3s ease, box-shadow .3s ease;
}

.research-card:hover,
.project-showcase-card:hover,
.city-visual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.research-card-media {
    height: 220px;
    overflow: hidden;
}

.research-card-media img,
.city-visual-card img,
.project-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.research-card-body {
    padding: 16px;
}

.research-card-body h3,
.project-showcase-body h3 {
    font-size: 1rem;
    margin: 10px 0 8px;
    line-height: 1.4;
}

.city-discovery-grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.city-discovery-copy {
    display: grid;
    gap: 10px;
}

.city-topic-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    color: var(--text);
}

.city-topic-card.active {
    min-height: 176px;
}

.city-topic-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.city-topic-card i {
    color: var(--primary);
    margin-top: 4px;
}

.city-locality-strip {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .04), rgba(6, 182, 212, .04));
    border: 1px solid var(--border);
}

.city-locality-strip>span {
    display: inline-flex;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--dark);
}

.city-locality-strip div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-locality-strip a {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
}

.city-card-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.city-visual-card,
.project-showcase-card {
    position: relative;
    display: block;
    overflow: hidden;
    color: var(--white);
    transition: transform .3s ease, box-shadow .3s ease;
}

.city-visual-card {
    min-height: 360px;
}

.city-visual-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px 18px 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .84));
}

.city-visual-overlay strong,
.city-visual-overlay span {
    display: block;
}

.city-visual-overlay strong {
    font-size: 1.45rem;
    line-height: 1.05;
}

.city-visual-overlay span {
    margin-top: 6px;
    font-size: 13px;
}

.project-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.project-showcase-card {
    background: var(--bg-card);
    color: var(--text);
}

.project-showcase-media {
    position: relative;
    height: 230px;
}

.project-rank-mark {
    position: absolute;
    top: 10px;
    left: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    line-height: 1;
    font-weight: 800;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 4px 14px rgba(15, 23, 42, .2);
}

.project-showcase-body {
    padding: 14px 16px 18px;
}

.project-showcase-body p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.project-showcase-body strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
}

/* -- PAGE CONTENT (non-homepage) -- */
.page-content {
    margin-top: 72px;
}

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

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

.section-dark {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 12px;
    letter-spacing: -.02em;
}

.section-header p {
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    font-size: 15px;
}

/* -- PROPERTY TYPES -- */
.types-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.property-type-section {
    position: relative;
}

.property-type-section::before {
    content: '';
    position: absolute;
    inset: 60px 0 auto;
    height: 320px;
    background: radial-gradient(circle at top center, rgba(99, 102, 241, .12), transparent 60%);
    pointer-events: none;
}

.property-type-section .container {
    position: relative;
    z-index: 1;
}

.type-card {
    grid-column: span 4;
    min-height: 320px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.type-card:nth-child(1),
.type-card:nth-child(5) {
    grid-column: span 6;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    color: var(--white);
}

.type-card:hover::before {
    opacity: 1;
}

.type-card-media {
    position: absolute;
    inset: 0;
}

.type-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.type-card:hover .type-card-media img {
    transform: scale(1.06);
}

.type-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .08) 0%, rgba(15, 23, 42, .22) 35%, rgba(15, 23, 42, .9) 100%);
}

.type-card-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: var(--dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.type-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 0 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 22px;
    color: var(--white);
    transition: var(--transition);
}

.type-card:hover .type-card-icon {
    background: rgba(255, 255, 255, .2);
    color: var(--white);
    transform: translateY(-2px);
}

.type-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
}

.type-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, .76);
    margin-bottom: 12px;
}

.type-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
}

/* -- PROPERTY CARDS -- */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.property-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    color: var(--text);
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.property-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.property-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}

.property-card-badge.rent {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.property-role-badge {
    position: absolute;
    top: 52px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    z-index: 2;
    background: rgba(15, 23, 42, .88);
    color: var(--white);
}

.property-role-badge.role-broker,
.property-role-chip.role-broker,
.detail-role-badge.role-broker {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: var(--white);
}

.property-role-badge.role-builder,
.property-role-chip.role-builder,
.detail-role-badge.role-builder {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: var(--white);
}

.property-role-badge.role-owner,
.property-role-chip.role-owner,
.detail-role-badge.role-owner {
    background: linear-gradient(135deg, #059669, #10b981);
    color: var(--white);
}

.property-card-favorite {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition);
    z-index: 2;
}

.property-card-favorite:hover,
.property-card-favorite.active {
    color: var(--danger);
    background: var(--white);
    transform: scale(1.1);
}

.property-card-body {
    padding: 20px;
    display: block;
    color: var(--text);
}

.property-card-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.property-card-price span {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.property-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

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

.property-card-loc i {
    color: var(--primary);
    font-size: 12px;
}

.property-card-features {
    display: flex;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-light);
}

.property-card-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.property-card-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

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

/* -- FEATURES GRID -- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(6, 182, 212, .1));
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.05);
}

.feature-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* -- CTA BANNER -- */
.cta-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 50%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .2) 0%, transparent 70%);
}

.cta-banner h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.cta-banner p {
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
}

/* -- TESTIMONIALS -- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 72px;
    font-family: Georgia, serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .15;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
}

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

/* -- AGENTS -- */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.agent-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .05), rgba(6, 182, 212, .05));
}

.agent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 24px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}

.agent-card h4 {
    font-size: 17px;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.agent-role {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.agent-rating {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.agent-rating span {
    color: var(--text-muted);
    margin-left: 4px;
}

.agent-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.agent-stats div {
    text-align: center;
}

.agent-stats strong {
    display: block;
    font-size: 18px;
    color: var(--dark);
}

.agent-stats small {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* -- PROPERTY DETAIL -- */
.detail-hero {
    padding: 90px 0 0;
    background: var(--bg-alt);
}

.detail-gallery {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 480px;
    background: var(--dark);
}

.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--dark);
    transition: var(--transition);
    z-index: 2;
    box-shadow: var(--shadow);
}

.gallery-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.08);
    box-shadow: var(--shadow-lg);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, .5);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.gallery-thumb {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.gallery-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

.detail-role-badge {
    position: absolute;
    top: 68px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.detail-info {
    padding: 40px 0 60px;
}

.detail-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.detail-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.detail-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    letter-spacing: -.02em;
}

.detail-seller-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.property-role-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.detail-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.detail-loc i {
    color: var(--primary);
}

.detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.detail-features .feat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.detail-features .feat i {
    color: var(--primary);
    font-size: 15px;
}

.detail-features .feat span {
    font-weight: 700;
    color: var(--dark);
}

/* Tabs */
.detail-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--bg-alt);
    padding: 4px;
    border-radius: 12px;
}

.detail-tab {
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.detail-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.detail-tab:hover {
    color: var(--primary);
}

.tab-content {
    display: none;
}

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

.tab-content h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.amenity-item:hover {
    background: rgba(99, 102, 241, .06);
}

.amenity-item i {
    color: var(--primary);
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.form-help {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

.upload-preview-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
}

.upload-preview-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.amenity-picker {
    display: grid;
    gap: 18px;
}

.amenity-group {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(99, 102, 241, .03), rgba(255, 255, 255, .95));
}

.amenity-group h4 {
    font-size: 14px;
    margin-bottom: 14px;
}

.amenity-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.amenity-option {
    cursor: pointer;
}

.amenity-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.amenity-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.amenity-option span i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}

.amenity-option input:checked+span {
    border-color: rgba(99, 102, 241, .4);
    background: rgba(99, 102, 241, .08);
    color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .08);
}

/* Contact Sidebar */
.contact-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    position: sticky;
    top: 96px;
}

.contact-sidebar h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.about-story-grid,
.contact-layout,
.detail-layout {
    display: grid;
    gap: 40px;
}

.about-story-grid,
.contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}

.detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    align-items: start;
}

.about-story-visual {
    position: relative;
}

.about-story-badge {
    position: absolute;
    right: -20px;
    bottom: -20px;
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: var(--shadow-lg);
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loan-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.filter-search-input {
    min-width: 180px;
}

.about-story-grid>*,
.contact-layout>*,
.detail-layout>*,
.hero-search>*,
.filter-bar>*,
.loan-breakdown-grid>* {
    min-width: 0;
}

.contact-agent-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: 12px;
    margin-bottom: 20px;
}

.contact-agent-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-agent-card strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.contact-agent-card small {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-form .form-group {
    margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--white);
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
}

/* Map placeholder */
.map-placeholder {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.detail-gallery-wrap {
    display: grid;
    gap: 16px;
}

.detail-gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 72px 20px 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .72));
    z-index: 1;
}

.detail-gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-gallery-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px);
}

.detail-summary-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(99, 102, 241, .06), rgba(255, 255, 255, .98));
    border: 1px solid rgba(99, 102, 241, .12);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.detail-summary-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.detail-inline-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--white);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
}

.detail-price-wrap {
    text-align: right;
}

.detail-price-sub {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.detail-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.detail-scoreboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.detail-score-card {
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.detail-score-card small,
.detail-locality-card small,
.detail-spec-card small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.detail-score-card strong,
.detail-locality-card strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: var(--dark);
}

.detail-score-card span,
.detail-locality-card span,
.detail-contact-metrics span,
.detail-seller-metrics span {
    color: var(--text-light);
    font-size: 12px;
}

.detail-intel-grid,
.detail-overview-grid,
.detail-locality-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.detail-intel-card,
.detail-overview-card,
.detail-locality-card,
.detail-seller-panel {
    padding: 22px;
    border-radius: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.detail-intel-card h3,
.detail-overview-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.detail-intel-card p,
.detail-overview-card p,
.detail-contact-head p,
.detail-seller-copy,
.detail-map-note,
.detail-muted-copy {
    color: var(--text-light);
    line-height: 1.75;
}

.detail-card-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.detail-section-block {
    display: grid;
    gap: 24px;
}

.detail-body-copy {
    color: var(--text-light);
    line-height: 1.85;
}

.detail-bullet-list {
    display: grid;
    gap: 10px;
    padding-left: 20px;
    color: var(--text-light);
}

.detail-bullet-list li::marker {
    color: var(--primary);
}

.detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-spec-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--border);
}

.detail-spec-card strong,
.detail-contact-metrics strong,
.detail-seller-metrics strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
}

.detail-spec-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(99, 102, 241, .08);
    color: var(--primary);
    font-size: 18px;
}

.detail-map-card {
    min-height: 280px;
}

.detail-map-note {
    display: inline-block;
    margin-top: 10px;
    max-width: 360px;
}

.detail-seller-metrics,
.detail-contact-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.detail-seller-metrics div,
.detail-contact-metrics div {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
}

.detail-seller-copy {
    margin-top: 18px;
}

.detail-contact-stack {
    display: grid;
    gap: 18px;
}

.detail-contact-head h3 {
    margin: 6px 0 8px;
    font-size: 1.2rem;
}

.detail-contact-card {
    margin-bottom: 0;
}

.detail-contact-links {
    display: grid;
    gap: 10px;
}

.detail-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid var(--border);
    font-weight: 600;
}

.detail-contact-links a:hover {
    border-color: rgba(99, 102, 241, .28);
    color: var(--primary);
}

.detail-related-section {
    padding-top: 10px;
}

.detail-related-head {
    margin-bottom: 28px;
}

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

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.pagination .active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* -- LISTINGS PAGE -- */
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.listings-header h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

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

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar select,
.filter-bar input {
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.filter-bar select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.filter-bar select:focus,
.filter-bar input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.sort-select {
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    background: var(--bg-card);
    font-weight: 500;
}

/* -- INSIGHTS PAGE -- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.insight-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.insight-card-img {
    height: 200px;
    overflow: hidden;
}

.insight-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.insight-card:hover .insight-card-img img {
    transform: scale(1.05);
}

.insight-card-body {
    padding: 24px;
}

.insight-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(99, 102, 241, .08);
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.insight-card-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.insight-card-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.insight-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
}

.insight-card-meta i {
    margin-right: 4px;
}

/* Stat boxes for insights */
.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.market-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.market-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.market-stat-card h3 {
    font-size: 28px;
    margin-bottom: 4px;
    font-family: 'Space Grotesk', sans-serif;
}

.market-stat-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.market-stat-trend {
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
}

.market-stat-trend.up {
    color: var(--success);
}

.market-stat-trend.down {
    color: var(--danger);
}

/* -- SELL PAGE -- */
.sell-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
    padding: 92px 0 34px;
    position: relative;
    overflow: hidden;
}

.sell-hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .15) 0%, transparent 70%);
}

.sell-hero h1 {
    color: var(--white);
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.sell-hero p {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.sell-hero-inner {
    max-width: 760px;
}

.page-hero {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.page-hero-about {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .14), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #1e1b4b 58%, #0f766e 100%);
}

.page-hero-contact {
    background:
        radial-gradient(circle at top left, rgba(6, 182, 212, .15), transparent 34%),
        linear-gradient(135deg, #0f172a 0%, #172554 52%, #164e63 100%);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 18px 0 10px;
}

.page-hero-kicker,
.page-block-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.page-block-label {
    margin-bottom: 16px;
    background: rgba(99, 102, 241, .08);
    border-color: rgba(99, 102, 241, .12);
    color: var(--primary-dark);
}

.page-hero-inner p {
    max-width: 62ch;
}

.sell-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.sell-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.section-header-tight {
    max-width: 760px;
}

.about-story-grid-modern {
    gap: 52px;
}

.about-story-copy h2,
.about-principles-copy h2,
.contact-panel h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin-bottom: 16px;
    letter-spacing: -.03em;
}

.about-story-copy p,
.about-principles-copy p,
.contact-intro {
    color: var(--text-light);
    line-height: 1.8;
}

.about-story-copy p+p,
.about-principles-copy p+p {
    margin-top: 12px;
}

.about-story-frame {
    padding: 16px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(241, 245, 249, .92));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
}

.about-story-image {
    width: 100%;
    border-radius: calc(var(--radius-xl) + 2px);
    box-shadow: var(--shadow-lg);
}

.about-story-badge {
    display: grid;
    gap: 4px;
}

.about-story-badge strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
}

.about-story-badge span {
    font-size: 13px;
    opacity: .86;
}

.about-signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.about-signal-grid div {
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(99, 102, 241, .05), rgba(6, 182, 212, .03));
    border: 1px solid var(--border);
}

.about-signal-grid strong {
    display: block;
    margin-bottom: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--dark);
}

.about-signal-grid span {
    font-size: 13px;
    color: var(--text-light);
}

.about-principles-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.about-feature-card {
    min-height: 100%;
}

.about-cta-banner {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .16), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: start;
}

.contact-panel {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94));
    box-shadow: var(--shadow-lg);
}

.contact-card-stack {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.contact-card-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--border-light);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(6, 182, 212, .14));
    color: var(--primary);
    font-size: 18px;
}

.contact-card-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
}

.contact-card-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.contact-quick-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.contact-quick-strip div {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(15, 23, 42, .03);
    border: 1px solid var(--border-light);
}

.contact-quick-strip small {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.contact-quick-strip strong {
    color: var(--dark);
    font-size: 14px;
}

.contact-form-modern {
    margin-top: 20px;
}

.contact-map-card {
    border-radius: 30px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(241, 245, 249, .96));
    box-shadow: var(--shadow);
}

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

.sell-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 16px;
    font-family: 'Space Grotesk', sans-serif;
}

.sell-step h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.sell-step p {
    font-size: 14px;
    color: var(--text-light);
}

/* -- POST PROPERTY FORM -- */
.post-form {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border);
}

.post-form h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-align: center;
}

.post-form-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.post-form-title-icon {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.post-form .sub {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--white);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 10px;
}

.sell-current-image {
    width: 100%;
    max-width: 220px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.sell-access-state {
    text-align: center;
    padding: 40px 0;
}

.sell-access-state h3 {
    margin-bottom: 8px;
}

.sell-access-state p {
    color: var(--text-muted);
    margin: 8px 0 20px;
    font-size: 14px;
}

.sell-access-icon {
    display: block;
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sell-hero-inner,
.sell-steps,
.sell-step,
.post-form,
.post-form form,
.form-group,
.amenity-picker,
.amenity-group,
.amenity-options,
.amenity-option,
.upload-preview-grid,
.upload-preview-card {
    min-width: 0;
}

.post-form,
.post-form form {
    width: 100%;
    overflow-x: clip;
}

.form-group input,
.form-group select,
.form-group textarea,
.sell-current-image {
    max-width: 100%;
}

.form-group input[type="file"] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amenity-option span {
    width: 100%;
}

/* -- MODALS -- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .6);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: translateY(20px);
    transition: transform .3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-alt);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border);
    color: var(--dark);
}

.modal h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    text-align: center;
}

.modal .modal-sub {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
}

.modal-tabs {
    display: flex;
    margin-bottom: 24px;
    background: var(--bg-alt);
    border-radius: 10px;
    padding: 4px;
}

.modal-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.modal-form {
    display: none;
}

.modal-form.active {
    display: block;
}

.modal-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Alert messages */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, .1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, .2);
}

.alert-error {
    background: rgba(239, 68, 68, .1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, .2);
}

.alert i {
    font-size: 18px;
}

/* -- FOOTER -- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .5);
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, .08);
}

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

.footer h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 600;
    position: relative;
}

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

.footer ul a {
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
}

.footer .navbar-logo {
    font-size: 22px;
    color: var(--white);
}

/* -- FORM STYLES (auth pages) -- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: var(--bg-alt);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    width: 100%;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 6px;
    font-size: 1.5rem;
}

.auth-card .auth-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.auth-card .form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-card .form-footer a {
    font-weight: 600;
}

.dashboard-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.dashboard-command {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
    gap: 24px;
    align-items: stretch;
}

.dashboard-command-main,
.dashboard-command-side {
    min-width: 0;
}

.dashboard-command-main {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 30px;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .2), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(30, 41, 59, .86));
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 26px 60px rgba(15, 23, 42, .22);
}

.dashboard-command-main::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--dashboard-gradient);
    opacity: .18;
    filter: blur(10px);
}

.dashboard-command-main h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    color: var(--white);
    line-height: 1;
    margin-bottom: 14px;
}

.dashboard-command-main p {
    max-width: 56ch;
    font-size: 15px;
    color: rgba(255, 255, 255, .74);
}

.dashboard-command-side {
    display: flex;
}

.dashboard-command-card {
    width: 100%;
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96));
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .1);
}

.dashboard-command-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.dashboard-command-label,
.dashboard-section-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dashboard-command-card strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.7rem;
    color: var(--dark);
}

.dashboard-command-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(from 200deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    padding: 6px;
    flex-shrink: 0;
}

.dashboard-command-ring span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
}

.dashboard-mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-mini-metrics div {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--border-light);
}

.dashboard-mini-metrics small,
.dashboard-profile-list small,
.dashboard-top-listing-stats small {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
}

.dashboard-mini-metrics strong,
.dashboard-profile-list strong,
.dashboard-top-listing-stats strong {
    display: block;
    font-size: 13px;
    color: var(--dark);
}

.dashboard-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.dashboard-outline-light {
    color: rgba(255, 255, 255, .92) !important;
    border-color: rgba(255, 255, 255, .28);
}

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

.dashboard-shell {
    margin-top: 6px;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96));
    border: 1px solid rgba(226, 232, 240, .92);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .07);
    position: relative;
    overflow: hidden;
}

.dashboard-stat-card::after {
    content: '';
    position: absolute;
    inset: auto -40px -58px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(99, 102, 241, .08);
}

.dashboard-stat-card em {
    margin-left: auto;
    position: relative;
    z-index: 1;
    font-style: normal;
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
}

.dashboard-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, .1);
    color: var(--primary);
    font-size: 20px;
}

.dashboard-stat-icon.success {
    background: rgba(16, 185, 129, .12);
    color: var(--success);
}

.dashboard-stat-icon.warning {
    background: rgba(245, 158, 11, .12);
    color: var(--accent);
}

.dashboard-stat-icon.info {
    background: rgba(6, 182, 212, .12);
    color: var(--secondary);
}

.dashboard-stat-card strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    color: var(--dark);
}

.dashboard-stat-card span {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
    gap: 24px;
    align-items: start;
}

.dashboard-main-column,
.dashboard-side-column {
    display: grid;
    gap: 24px;
}

.dashboard-side-column {
    position: sticky;
    top: 92px;
}

.dashboard-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.dashboard-role-grid-stack {
    grid-template-columns: 1fr;
}

.dashboard-role-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .9));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.dashboard-role-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, .1);
    color: var(--primary);
    margin-bottom: 14px;
}

.dashboard-role-card h4 {
    margin-bottom: 8px;
}

.dashboard-role-card p {
    font-size: 14px;
    color: var(--text-light);
}

.dashboard-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96));
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.dashboard-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-panel-head h3 {
    font-size: 1.18rem;
}

.dashboard-panel-head a,
.dashboard-panel-head span {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-panel-head.slim {
    margin-bottom: 16px;
}

.dashboard-panel-spotlight {
    overflow: hidden;
}

.dashboard-spotlight-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr .95fr;
    gap: 18px;
}

.dashboard-focus-card,
.dashboard-progress-card,
.dashboard-top-listing,
.dashboard-highlight-inquiry,
.dashboard-profile-list div {
    border-radius: 22px;
    border: 1px solid var(--border-light);
    background: var(--white);
}

.dashboard-focus-card {
    min-height: 100%;
    padding: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(6, 182, 212, .08));
}

.dashboard-focus-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: var(--dashboard-gradient);
    color: var(--white);
    font-size: 20px;
}

.dashboard-focus-card h4,
.dashboard-progress-card h4 {
    margin-bottom: 10px;
}

.dashboard-focus-card p,
.dashboard-progress-card p {
    font-size: 14px;
    color: var(--text-light);
}

.dashboard-progress-card {
    padding: 22px;
}

.dashboard-meter-row+.dashboard-meter-row {
    margin-top: 14px;
}

.dashboard-meter-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.dashboard-meter-head strong {
    color: var(--dark);
}

.dashboard-meter-track {
    height: 10px;
    border-radius: 999px;
    background: var(--bg-alt);
    overflow: hidden;
}

.dashboard-meter-track.slim {
    height: 8px;
}

.dashboard-meter-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.dashboard-meter-fill.active,
.dashboard-meter-fill.rent {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.dashboard-meter-fill.pending,
.dashboard-meter-fill.sale {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.dashboard-meter-fill.featured,
.dashboard-meter-fill.commercial {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.dashboard-listings,
.dashboard-inquiry-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-listing-panel {
    overflow: hidden;
}

.dashboard-listings-modern {
    gap: 16px;
}

.dashboard-listing-card {
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    background: linear-gradient(180deg, rgba(248, 250, 252, .92), rgba(255, 255, 255, .98));
    color: var(--text);
}

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

.dashboard-listing-thumb {
    width: 100%;
    height: 100%;
    min-height: 140px;
    border-radius: 18px;
    overflow: hidden;
}

.dashboard-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-listing-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.dashboard-listing-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.dashboard-listing-topline strong,
.dashboard-inquiry-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.dashboard-listing-topline span,
.dashboard-inquiry-item span {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-listing-price {
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.dashboard-listing-pills,
.dashboard-inquiry-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dashboard-listing-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    margin-top: auto;
    flex-wrap: wrap;
}

.dashboard-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-action.view {
    background: rgba(6, 182, 212, .1);
    color: var(--secondary-dark);
}

.dashboard-action.edit {
    background: rgba(99, 102, 241, .1);
    color: var(--primary-dark);
}

.dashboard-action.delete {
    background: rgba(239, 68, 68, .1);
    color: #b91c1c;
}

.dashboard-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .05);
}

.dashboard-status-pill.live {
    background: rgba(16, 185, 129, .12);
    color: #047857;
}

.dashboard-status-pill.pending {
    background: rgba(245, 158, 11, .14);
    color: #b45309;
}

.dashboard-status-pill.neutral {
    color: var(--text-light);
}

.dashboard-inquiry-item p {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

.dashboard-inquiry-item {
    padding: 18px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border-light);
}

.dashboard-inquiry-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.dashboard-inquiry-head em {
    flex-shrink: 0;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.dashboard-highlight-inquiry {
    padding: 18px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(6, 182, 212, .05));
}

.dashboard-highlight-inquiry strong {
    display: block;
    margin: 4px 0 2px;
    color: var(--dark);
}

.dashboard-highlight-inquiry p {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-light);
}

.dashboard-profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(6, 182, 212, .06));
    margin-bottom: 16px;
}

.dashboard-profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
}

.dashboard-profile-card strong {
    display: block;
    color: var(--dark);
    margin-bottom: 3px;
}

.dashboard-profile-card span {
    font-size: 13px;
    color: var(--text-light);
}

.dashboard-profile-list {
    display: grid;
    gap: 10px;
}

.dashboard-profile-list div {
    padding: 14px 16px;
}

.dashboard-top-listing {
    padding: 14px;
}

.dashboard-top-listing img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 14px;
}

.dashboard-top-listing strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.dashboard-top-listing span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.dashboard-top-listing-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-top-listing-stats div {
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--bg-alt);
}

.dashboard-empty-state {
    text-align: center;
    padding: 36px 16px;
}

.dashboard-empty-state.compact {
    padding: 28px 16px;
}

.dashboard-empty-state i {
    font-size: 34px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.dashboard-empty-state h4 {
    margin-bottom: 8px;
}

.dashboard-empty-state p {
    color: var(--text-muted);
    font-size: 14px;
}

.mobile-bottom-nav {
    display: none;
}

/* -- ADMIN STYLES -- */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark);
    color: var(--white);
    padding: 24px 0;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar .sidebar-logo {
    padding: 0 24px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 16px;
}

.admin-sidebar .sidebar-logo i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-sidebar .sidebar-logo span {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .04);
}

.admin-sidebar nav a.active {
    color: var(--white);
    background: rgba(99, 102, 241, .15);
    border-left-color: var(--primary);
}

.admin-sidebar nav a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    background: var(--bg);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 1.6rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.admin-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.admin-stat-card h3 {
    font-size: 24px;
    margin-bottom: 2px;
    font-family: 'Space Grotesk', sans-serif;
}

.admin-stat-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.admin-table {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 24px;
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.admin-table-header h3 {
    font-size: 16px;
}

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

.admin-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(99, 102, 241, .02);
}

.status-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(16, 185, 129, .1);
    color: #065f46;
}

.status-badge.inactive {
    background: rgba(239, 68, 68, .1);
    color: #991b1b;
}

/* -- RESPONSIVE -- */
@media (max-width: 1024px) {

    .developer-spotlight-grid,
    .research-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .city-discovery-grid {
        grid-template-columns: 1fr;
    }

    .city-card-strip,
    .project-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

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

    .property-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .admin-sidebar {
        width: 220px;
    }

    .admin-main {
        margin-left: 220px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform .3s, visibility .3s;
        z-index: 999;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu>a,
    .nav-dropdown-toggle {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 12px;
        width: 100%;
        color: var(--text) !important;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: none;
        border: 1px solid rgba(148, 163, 184, .14);
        padding: 10px;
        min-width: auto;
        display: none;
        background: rgba(248, 250, 252, .88);
        border-radius: 18px;
        margin-top: 8px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown-menu::after {
        display: none;
    }

    .nav-dropdown.open>.nav-dropdown-menu {
        display: block;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        min-width: auto;
        gap: 8px;
    }

    .dropdown-col {
        padding: 8px;
        border-radius: 14px;
    }

    .dropdown-col h5 {
        margin-top: 0;
        margin-bottom: 8px;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 620px;
        background-position: 68% center;
    }

    .hero-shell {
        padding-bottom: 28px;
    }

    .property-card-img {
        height: 190px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 7px 14px;
        margin-bottom: 16px;
    }

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

    .service-card-media {
        height: 100%;
        min-height: 300px;
    }

    .service-card-body {
        padding: 18px 18px 18px;
    }

    .service-card-body-overlay {
        padding: 64px 18px 18px;
    }

    .hero h1 {
        font-size: 2.3rem;
        line-height: 1.02;
    }

    .hero-sub {
        font-size: .95rem;
        margin-bottom: 24px;
    }

    .hero-actions {
        margin-bottom: 22px;
    }

    .hero-actions .btn {
        padding: 12px 18px;
    }

    .hero-search-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-search-tab {
        min-height: 42px;
        font-size: 12px;
        padding: 8px 10px;
    }

    .hero-search {
        flex-direction: column;
        align-items: stretch;
    }

    .search-field {
        min-width: 100%;
        padding: 10px 14px;
    }

    .search-field label {
        font-size: 10px;
    }

    .search-field input,
    .search-field select {
        font-size: 13px;
    }

    .search-divider {
        display: none;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 13px;
    }

    .hero-filter-row {
        gap: 10px;
    }

    .hero-filter-chip {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-stat-num {
        font-size: 1.2rem;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    .home-section-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .home-section-link {
        white-space: normal;
    }

    .section-tabs {
        gap: 8px;
    }

    .section-tab {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 13px;
    }

    .developer-spotlight-grid,
    .research-card-grid,
    .city-card-strip,
    .project-showcase-grid {
        .types-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));


            .type-card,
            .type-card:nth-child(1),
            .type-card:nth-child(5) {
                grid-column: span 1;
            }

            .developer-brand-row {
                grid-template-columns: 78px 1fr;
                gap: 14px;
            }

            .developer-brand-mark {
                width: 78px;
                height: 78px;
                font-size: 1.55rem;
                border-radius: 16px;
            }

            .developer-meta-row {
                gap: 18px;
                flex-wrap: wrap;
            }

            .research-card-media,
            .project-showcase-media {
                height: 200px;
            }

            .city-topic-card.active {
                min-height: 0;
            }

            .city-visual-card {
                min-height: 280px;
            }

            .city-visual-overlay {
                padding: 20px 16px 16px;
            }

            .project-rank-mark {
                font-size: 3.4rem;
            }

            .section {
                padding: 48px 0;
            }

            .section-header {
                margin-bottom: 30px;
            }

            .section-header h2 {
                font-size: 1.45rem;
            }

            .section-header p {
                font-size: 13px;
            }

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

            .footer-bottom {
                flex-direction: column;
                gap: 8px;
                text-align: center;
            }

            .filter-bar {
                flex-direction: column;
                gap: 10px;
            }

            .filter-bar select,
            .filter-bar input {
                width: 100%;
                min-width: 100%;
                font-size: 13px;
                padding: 10px 12px;
            }

            .about-story-grid,
            .contact-layout,
            .about-principles-grid,
            .contact-grid-modern,
            .detail-layout {
                grid-template-columns: minmax(0, 1fr);
                gap: 24px;
            }

            .loan-breakdown-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .about-story-badge {
                position: static;
                margin-top: 14px;
                padding: 18px 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .form-group label {
                font-size: 12px;
            }

            .form-group input,
            .form-group select,
            .form-group textarea {
                font-size: 13px;
                padding: 11px 13px;
            }

            .sell-hero {
                padding: 86px 0 28px;
            }

            .sell-hero h1 {
                font-size: 1.65rem;
            }

            .sell-hero p {
                font-size: 14px;
            }

            .page-hero-inner {
                padding: 10px 0 4px;
            }

            .about-signal-grid,
            .contact-quick-strip {
                grid-template-columns: 1fr;
            }

            .contact-panel {
                padding: 22px;
            }

            .sell-steps {
                gap: 16px;
            }

            .sell-step {
                padding: 22px 18px;
            }

            .sell-step-num {
                width: 40px;
                height: 40px;
                margin-bottom: 12px;
                font-size: 15px;
            }

            .sell-step h4 {
                font-size: 15px;
                margin-bottom: 6px;
            }

            .post-form {
                padding: 24px;
                border-radius: 24px;
            }

            .post-form-title {
                gap: 8px;
            }

            .post-form-title-icon {
                font-size: 1rem;
            }

            .post-form .sub,
            .form-help,
            .sell-access-state p {
                font-size: 12px;
            }

            .form-group input[type="file"] {
                font-size: 12px;
                padding: 9px;
            }

            .form-group input[type="file"]::file-selector-button {
                margin-right: 8px;
                max-width: calc(100% - 8px);
                white-space: normal;
            }

            .sell-current-image {
                max-width: 180px;
                border-radius: 14px;
            }

            .upload-preview-grid {
                grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
                gap: 10px;
            }

            .upload-preview-card img {
                height: 84px;
            }

            .amenity-group {
                padding: 16px;
                border-radius: 16px;
            }

            .amenity-group h4 {
                font-size: 13px;
                margin-bottom: 10px;
            }

            .amenity-options {
                gap: 8px;
            }

            .amenity-option span {
                padding: 10px 12px;
                font-size: 12px;
                gap: 8px;
            }

            .amenity-option span i {
                width: 16px;
                font-size: 13px;
            }

            .alert {
                padding: 12px 14px;
                font-size: 13px;
            }

            .alert i {
                font-size: 15px;
            }

            .sell-access-state {
                padding: 24px 0 10px;
            }

            .sell-access-icon {
                font-size: 36px;
                margin-bottom: 12px;
            }

            .detail-gallery {
                height: 300px;
            }

            .gallery-thumbs {
                grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
                gap: 10px;
            }

            .gallery-thumb img {
                height: 66px;
            }

            .detail-title {
                font-size: 1.4rem;
            }

            .detail-price {
                font-size: 1.5rem;
            }

            .detail-features {
                gap: 8px;
            }

            .detail-features .feat {
                font-size: 12px;
                padding: 9px 12px;
            }

            .detail-summary-card,
            .detail-intel-card,
            .detail-overview-card,
            .detail-locality-card,
            .detail-seller-panel {
                padding: 18px;
                border-radius: 20px;
            }

            .detail-price-wrap {
                text-align: left;
            }

            .detail-scoreboard,
            .detail-intel-grid,
            .detail-overview-grid,
            .detail-locality-stats,
            .detail-spec-grid,
            .detail-seller-metrics,
            .detail-contact-metrics {
                grid-template-columns: 1fr 1fr;
            }

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

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

            .admin-sidebar {
                display: none;
            }

            .admin-main {
                margin-left: 0;
            }

            .dashboard-command,
            .dashboard-layout-grid,
            .dashboard-spotlight-grid {
                grid-template-columns: 1fr;
            }

            .dashboard-side-column {
                position: static;
            }

            .dashboard-stat-grid,
            .dashboard-role-grid {
                grid-template-columns: 1fr;
            }

            .dashboard-stat-card {
                padding: 18px;
            }

            .dashboard-stat-card em {
                margin-left: 0;
                text-align: left;
            }

            .dashboard-command-main {
                padding: 24px;
            }

            .dashboard-command-card {
                padding: 20px;
            }

            .dashboard-mini-metrics {
                grid-template-columns: 1fr;
            }

            .dashboard-listing-card {
                grid-template-columns: 112px 1fr;
            }

            .dashboard-listing-thumb {
                min-height: 110px;
            }

            .dashboard-listing-topline {
                flex-direction: column;
                align-items: flex-start;
            }

            .dashboard-listing-topline span,
            .dashboard-inquiry-item span,
            .dashboard-inquiry-item p,
            .dashboard-stat-card span,
            .dashboard-role-card p {
                font-size: 12px;
            }

            .dashboard-stat-card strong {
                font-size: 1.35rem;
            }

            .dashboard-role-card,
            .dashboard-panel {
                padding: 16px;
            }

            .dashboard-panel-head h3 {
                font-size: 1rem;
            }

            .dashboard-hero-actions {
                width: 100%;
            }

            .dashboard-hero-actions .btn {
                flex: 1;
            }

            .mobile-bottom-nav {
                position: fixed;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 1200;
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 6px;
                padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
                background: rgba(255, 255, 255, .98);
                backdrop-filter: blur(18px);
                border-top: 1px solid rgba(15, 23, 42, .08);
                border-left: 0;
                border-right: 0;
                border-bottom: 0;
                border-radius: 18px 18px 0 0;
                box-shadow: 0 -10px 26px rgba(15, 23, 42, .08);
            }

            .mobile-bottom-nav a {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 3px;
                min-height: 42px;
                border-radius: 12px;
                color: var(--text-light);
                font-size: 9px;
                font-weight: 700;
                line-height: 1.1;
            }

            .mobile-bottom-nav a i {
                font-size: 14px;
            }

            .mobile-bottom-nav a.active {
                background: rgba(99, 102, 241, .1);
                color: var(--primary);
            }

            .footer {
                padding-bottom: 76px;
            }

            body {
                padding-bottom: 0;
            }
        }

        @media (max-width: 480px) {
            body {
                font-size: 13px;
            }

            .container {
                padding: 0 12px;
            }

            .filter-search-input,
            .filter-bar select,
            .filter-bar input,
            .filter-bar .btn,
            .hero-search,
            .detail-tabs,
            .detail-features,
            .contact-sidebar,
            .post-form,
            .auth-card,
            .cta-banner,
            .about-story-badge,
            .loan-breakdown-grid {
                max-width: 100%;
            }

            .hero h1 {
                font-size: 1.45rem;
            }

            .hero-sub {
                font-size: .88rem;
            }

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

            .types-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .type-card {
                min-height: 250px;
            }

            .type-card-overlay {
                padding: 16px;
            }

            .type-card-pill {
                top: 14px;
                left: 14px;
            }

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

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

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

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

            .service-card-media {
                height: 100%;
                min-height: 260px;
            }

            .service-card-body {
                padding: 16px;
            }

            .service-card-body-overlay {
                padding: 56px 16px 16px;
            }

            .service-card-tag {
                top: 12px;
                left: 12px;
                font-size: 10px;
                padding: 6px 10px;
            }

            .hero {
                min-height: 560px;
            }

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

            .home-section-head h2 {
                font-size: 1.45rem;
            }

            .home-section-head p,
            .developer-brand-row p,
            .developer-focus-card p,
            .research-card-body p,
            .city-topic-card p {
                font-size: 13px;
            }

            .developer-spotlight-card,
            .developer-focus-card,
            .research-card-body,
            .city-topic-card,
            .project-showcase-body {
                padding-left: 14px;
                padding-right: 14px;
            }

            .developer-spotlight-card,
            .developer-focus-card,
            .project-showcase-card,
            .research-card,
            .city-topic-card {
                border-radius: 18px;
            }

            .developer-links-stack,
            .city-discovery-copy {
                gap: 8px;
            }

            .developer-bucket-link {
                padding: 11px 12px;
                border-radius: 12px;
                font-size: 13px;
            }

            .city-locality-strip {
                padding: 14px;
            }

            .city-locality-strip div {
                gap: 6px;
            }

            .city-locality-strip a {
                padding: 6px 10px;
                font-size: 11px;
            }

            .city-visual-card {
                min-height: 240px;
            }

            .city-visual-overlay strong {
                font-size: 1.15rem;
            }

            .research-card-media,
            .project-showcase-media {
                height: 176px;
            }

            .project-showcase-body h3,
            .research-card-body h3,
            .city-topic-card h3 {
                font-size: .95rem;
            }

            .project-showcase-body strong {
                font-size: 1rem;
            }

            .hero-badge {
                margin-bottom: 14px;
            }

            .hero-actions {
                display: grid;
                grid-template-columns: 1fr;
            }

            .hero-search {
                border-radius: 0;
            }

            .search-field {
                padding: 12px 14px;
            }

            .hero-search-tabs {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .hero-search-tab {
                padding: 10px 8px;
                font-size: 12px;
            }

            .hero-search-dock {
                border-radius: 16px;
            }

            .search-field {
                padding: 9px 12px;
            }

            .search-field input,
            .search-field select,
            .hero-filter-chip select {
                font-size: 12px;
            }

            .hero-filter-chip {
                padding: 8px 10px;
                border-radius: 12px;
                box-shadow: 0 6px 14px rgba(15, 23, 42, .12);
            }

            .hero-filter-row {
                display: grid;
                grid-template-columns: 1fr;
            }

            .hero-filter-chip {
                width: 100%;
            }

            .hero-stats {
                display: none;
            }

            .sell-hero {
                padding: 82px 0 24px;
            }

            .sell-hero h1 {
                font-size: 1.35rem;
            }

            .sell-hero p {
                font-size: 12px;
                max-width: 34ch;
                margin: 0 auto;
            }

            .sell-steps {
                gap: 12px;
            }

            .sell-step {
                padding: 16px 14px;
                border-radius: 18px;
            }

            .sell-step-num {
                width: 34px;
                height: 34px;
                font-size: 13px;
                margin-bottom: 10px;
            }

            .sell-step h4 {
                font-size: 13px;
            }

            .post-form {
                padding: 16px;
                border-radius: 18px;
            }

            .post-form-title {
                gap: 6px;
                align-items: center;
            }

            .post-form-title-icon {
                font-size: .92rem;
            }

            .sell-current-image {
                max-width: 150px;
                border-radius: 12px;
            }

            .upload-preview-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 8px;
            }

            .upload-preview-card img {
                height: 66px;
            }

            .amenity-picker {
                gap: 12px;
            }

            .amenity-group {
                padding: 12px;
                border-radius: 14px;
            }

            .amenity-group h4 {
                font-size: 12px;
            }

            .amenity-option span {
                padding: 9px 10px;
                font-size: 11px;
            }

            .amenity-option span i {
                font-size: 12px;
            }

            .sell-access-state {
                padding: 18px 0 8px;
            }

            .sell-access-state h3 {
                font-size: 1rem;
            }

            .sell-access-state p,
            .form-help,
            .alert,
            .post-form .sub,
            .form-group label,
            .sell-step p {
                font-size: 11px;
            }

            .form-group input[type="file"] {
                font-size: 11px;
                padding: 8px;
            }

            .form-group input[type="file"]::file-selector-button {
                display: block;
                width: 100%;
                max-width: 100%;
                margin: 0 0 6px;
            }

            .sell-access-icon {
                font-size: 30px;
                margin-bottom: 10px;
            }

            .alert {
                gap: 8px;
            }

            .alert i {
                font-size: 14px;
            }

            .section-header h2 {
                font-size: 1.28rem;
            }

            .section-header p {
                font-size: 12px;
            }

            .page-hero-kicker,
            .page-block-label {
                font-size: 10px;
                padding: 5px 10px;
                margin-bottom: 10px;
            }

            .about-story-copy h2,
            .about-principles-copy h2,
            .contact-panel h2 {
                font-size: 1.45rem;
            }

            .contact-panel,
            .contact-card-item,
            .about-story-frame,
            .about-signal-grid div {
                border-radius: 20px;
            }

            .contact-card-item {
                grid-template-columns: 44px 1fr;
                padding: 14px;
            }

            .contact-card-icon {
                width: 44px;
                height: 44px;
                border-radius: 14px;
                font-size: 16px;
            }

            .service-card,
            .feature-card,
            .type-card,
            .agent-card,
            .testimonial-card,
            .market-stat-card,
            .sell-step,
            .post-form,
            .auth-card,
            .dashboard-role-card,
            .dashboard-panel {
                padding: 14px;
            }

            .property-card {
                display: grid;
                grid-template-columns: 112px 1fr;
                align-items: stretch;
            }

            .property-card-img {
                height: 100%;
                min-height: 128px;
            }

            .property-card-body {
                padding: 12px;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

            .property-card-title {
                font-size: 14px;
                line-height: 1.3;
                margin-bottom: 4px;
            }

            .property-card-price {
                font-size: 16px;
                margin-bottom: 4px;
            }

            .property-card-loc,
            .property-card-seller,
            .property-card-features {
                font-size: 11px;
            }

            .property-card-loc {
                margin-bottom: 8px;
            }

            .property-card-features {
                gap: 8px;
                flex-wrap: wrap;
                padding-top: 8px;
            }

            .property-card-badge,
            .property-role-badge,
            .detail-badge,
            .detail-role-badge,
            .property-role-chip,
            .dashboard-action,
            .dashboard-listing-meta em {
                font-size: 10px;
            }

            .property-role-badge {
                top: 40px;
                left: 8px;
                padding: 3px 8px;
            }

            .property-card-badge,
            .property-card-favorite {
                top: 8px;
            }

            .property-card-badge {
                left: 8px;
                padding: 3px 8px;
            }

            .property-card-favorite {
                right: 8px;
                width: 28px;
                height: 28px;
                font-size: 12px;
            }

            .property-card-seller,
            .property-card-features span:last-child,
            .section-header p,
            .service-card p,
            .feature-card p,
            .type-card p {
                display: none;
            }

            .detail-gallery {
                height: 240px;
            }

            .gallery-thumbs {
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 8px;
            }

            .gallery-thumb {
                border-radius: 12px;
            }

            .gallery-thumb img {
                height: 58px;
            }

            .detail-badge {
                top: 12px;
                left: 12px;
                padding: 6px 12px;
            }

            .detail-role-badge {
                top: 50px;
                left: 12px;
                padding: 6px 12px;
            }

            .detail-title {
                font-size: 1.2rem;
            }

            .detail-price {
                font-size: 1.25rem;
            }

            .detail-summary-card {
                padding: 16px;
            }

            .detail-actions-row {
                display: grid;
                grid-template-columns: 1fr 1fr;
            }

            .detail-actions-row .btn {
                width: 100%;
            }

            .detail-scoreboard,
            .detail-intel-grid,
            .detail-overview-grid,
            .detail-locality-stats,
            .detail-spec-grid,
            .detail-seller-metrics,
            .detail-contact-metrics {
                grid-template-columns: 1fr;
            }

            .detail-spec-card {
                grid-template-columns: 44px 1fr;
                padding: 14px;
            }

            .detail-spec-icon {
                width: 44px;
                height: 44px;
                border-radius: 14px;
                font-size: 16px;
            }

            .detail-gallery-meta {
                gap: 8px;
            }

            .detail-gallery-meta span,
            .detail-inline-note {
                font-size: 11px;
                padding: 6px 10px;
            }

            .detail-tabs {
                flex-wrap: wrap;
            }

            .detail-tab {
                flex: 1 1 calc(50% - 4px);
                font-size: 12px;
                padding: 9px 10px;
            }

            .amenity-item,
            .contact-form input,
            .contact-form textarea {
                font-size: 13px;
            }

            .amenity-options {
                grid-template-columns: 1fr;
            }

            .amenity-group {
                padding: 14px;
            }

            .dashboard-stat-card {
                gap: 12px;
                padding: 14px;
                flex-wrap: wrap;
            }

            .dashboard-stat-icon {
                width: 42px;
                height: 42px;
                font-size: 16px;
            }

            .dashboard-stat-card strong {
                font-size: 1.2rem;
            }

            .dashboard-command-main h1 {
                font-size: 1.75rem;
            }

            .dashboard-command-main,
            .dashboard-command-card,
            .dashboard-focus-card,
            .dashboard-progress-card,
            .dashboard-role-card,
            .dashboard-panel,
            .dashboard-listing-card {
                border-radius: 20px;
            }

            .dashboard-listing-card {
                grid-template-columns: 1fr;
            }

            .dashboard-listing-thumb {
                min-height: 160px;
            }

            .dashboard-listing-actions {
                gap: 6px;
            }

            .dashboard-action {
                padding: 7px 10px;
            }

            .listings-header h2,
            .auth-card h2,
            .post-form h2,
            .dashboard-panel-head h3 {
                font-size: 1rem;
            }

            .results-count,
            .auth-card .auth-sub,
            .post-form .sub,
            .form-group label,
            .sell-step p,
            .feature-card p,
            .type-card p,
            .testimonial-text {
                font-size: 12px;
            }

            .mobile-bottom-nav {
                gap: 4px;
                padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px));
                border-radius: 16px 16px 0 0;
            }

            .mobile-bottom-nav a {
                min-height: 40px;
                font-size: 8px;
            }

            .mobile-bottom-nav a i {
                font-size: 13px;
            }

            .footer {
                padding-bottom: 70px;
            }
        }