:root {
    --ink: #17212b;
    --muted: #667085;
    --line: #e6eaf0;
    --paper: #ffffff;
    --mist: #f5f7fb;
    --navy: #0b2f4f;
    --blue: #0b6fb3;
    --teal: #0f9f8f;
    --gold: #c99437;
    --coral: #ef6f4d;
    --green: #22a66f;
    --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
    --soft-shadow: 0 12px 30px rgba(23, 33, 43, 0.08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

main,
section,
footer {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 0 5vw;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(230, 234, 240, 0.9);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--soft-shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
}

.brand i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: var(--navy);
    color: #fff;
    font-size: 18px;
}

.desktop-nav {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.nav-item-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 26px 12px;
    color: #263442;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.nav-item i {
    font-size: 10px;
    color: var(--muted);
}

.nav-item:hover,
.nav-item:focus-visible {
    color: var(--blue);
}

.mega-menu {
    position: absolute;
    top: 72px;
    left: 50%;
    display: none;
    width: min(840px, calc(100vw - 40px));
    transform: translateX(-50%);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.nav-item-wrapper:hover .mega-menu,
.nav-item-wrapper:focus-within .mega-menu {
    display: grid;
}

.mega-menu.compact {
    width: 310px;
    grid-template-columns: 1fr;
}

.menu-col h5 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.menu-col ul {
    list-style: none;
}

.menu-col a {
    display: block;
    padding: 6px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.menu-col a:hover,
.menu-col a:focus-visible {
    color: var(--blue);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-post,
.login-link,
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: var(--radius);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-post {
    gap: 8px;
    padding: 0 16px;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 10px 20px rgba(11, 47, 79, 0.18);
    font-size: 13px;
}

.free-badge {
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 10px;
}

.login-link {
    color: var(--ink);
    font-size: 13px;
}

.btn-post:hover,
.btn-banner:hover,
.btn-search:hover,
.cta-link:hover,
.icon-button:hover {
    transform: translateY(-1px);
}

.icon-button {
    width: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    display: none;
}

.hero {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: center;
    padding: 76px 5vw 54px;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 25, 42, 0.86), rgba(7, 25, 42, 0.52) 48%, rgba(7, 25, 42, 0.24)),
        url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=82') center/cover;
    z-index: -2;
}

.hero::after {
    display: none;
}

.hero-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 610px;
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
}

.search-container {
    width: min(960px, 100%);
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.search-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
}

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

.tab {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 18px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-1px);
}

.tab.active {
    border-color: var(--navy);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    box-shadow: 0 4px 12px rgba(11, 47, 79, 0.2);
}

.search-box {
    display: grid;
    grid-template-columns: 170px minmax(220px, 1fr) 150px;
    gap: 12px;
}

.search-city-select,
.search-input-wrapper,
.btn-search {
    min-height: 56px;
    border-radius: 12px;
}

.search-city-select {
    width: 100%;
    border: 2px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 0 16px;
    outline: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--line);
    background: #fff;
    padding: 0 18px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within,
.search-city-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(11, 111, 179, 0.12);
    transform: translateY(-1px);
}

.search-input-wrapper i {
    color: var(--blue);
    font-size: 18px;
}

.search-input-wrapper input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.btn-search {
    border: 0;
    background: linear-gradient(135deg, var(--coral), #f58a4d);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(239, 111, 77, 0.3);
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(239, 111, 77, 0.4);
}

.quick-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.quick-row span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 800;
}

.quick-filter {
    min-height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quick-filter:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.popular-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 700;
}

.popular-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(760px, 100%);
    gap: 14px;
    margin-top: 26px;
}

.stat-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.stat-card strong {
    display: block;
    font-size: 26px;
    line-height: 1;
}

.stat-card span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.section {
    padding: 68px 5vw;
}

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

.section-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

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

.section-title h2 {
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 800;
}

.section-title p {
    max-width: 580px;
    color: var(--muted);
    font-size: 15px;
}

.view-all,
.text-link {
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

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

.category-card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--blue), var(--teal));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(11, 111, 179, 0.35);
    box-shadow: var(--shadow);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card i {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef7fb, #d4e8f7);
    color: var(--blue);
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(11, 111, 179, 0.15);
}

.category-card:hover i {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(11, 111, 179, 0.3);
}

.category-card h3 {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 800;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--blue);
}

.category-card p {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-card:hover p {
    color: var(--ink);
}

.city-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.city-card {
    min-height: 180px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #111;
    box-shadow: var(--soft-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 47, 79, 0.85), rgba(11, 47, 79, 0.3), transparent);
    z-index: 1;
    transition: all 0.4s ease;
}

.city-card:hover::after {
    background: linear-gradient(0deg, rgba(11, 111, 179, 0.9), rgba(11, 47, 79, 0.5), transparent);
}

.city-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.city-card:hover img {
    transform: scale(1.08);
}

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

.city-card span {
    position: absolute;
    inset: auto 12px 12px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.city-card:hover span {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: white;
    transform: translateY(-2px);
}

.collection-grid,
.service-grid,
.locality-grid,
.property-grid {
    display: grid;
    gap: 20px;
}

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

.collection-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: 16px;
    color: #fff;
    box-shadow: var(--soft-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.collection-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.collection-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 14, 25, 0.9), rgba(4, 14, 25, 0.4), transparent);
    z-index: 1;
    transition: all 0.4s ease;
}

.collection-card:hover::before {
    background: linear-gradient(0deg, rgba(11, 47, 79, 0.95), rgba(11, 111, 179, 0.5), transparent);
}

.collection-card div {
    position: absolute;
    inset: auto 0 0;
    padding: 32px;
    background: linear-gradient(0deg, rgba(4, 14, 25, 0.88), rgba(4, 14, 25, 0));
    z-index: 2;
    transition: all 0.4s ease;
}

.collection-card:hover div {
    padding-bottom: 40px;
}

.collection-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
}

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

.collection-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.collection-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

.collection-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.collection-card:hover .collection-count {
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(4px);
}

.collection-count i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-count i {
    transform: translateX(3px);
}

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

.property-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.property-img {
    position: relative;
    height: 240px;
    background: #e9eef4;
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(11, 47, 79, 0.3);
}

.badge.green {
    background: linear-gradient(135deg, var(--green), #1a8f6f);
    box-shadow: 0 4px 12px rgba(34, 166, 111, 0.3);
}

.badge.gold {
    background: linear-gradient(135deg, var(--gold), #d4a84b);
    box-shadow: 0 4px 12px rgba(201, 148, 55, 0.4);
}

.shortlist-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #536270;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: all 0.3s ease;
}

.shortlist-icon:hover {
    transform: scale(1.1);
}

.shortlist-icon.active,
.shortlist-icon:hover {
    color: #df3e53;
}

.property-info {
    padding: 24px;
}

.price {
    color: var(--navy);
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.property-name {
    margin-top: 8px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
    color: #f4aa24;
    font-size: 13px;
}

.rating span {
    margin-left: 4px;
    color: var(--muted);
    font-weight: 700;
}

.location,
.features {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.location i {
    color: var(--coral);
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.feature-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--mist), #e8ecf1);
    border-radius: 8px;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.feature-item:hover i {
    color: white;
}

.feature-item i {
    color: var(--blue);
    transition: color 0.3s ease;
}

.banner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 26px;
    width: min(1160px, calc(100% - 10vw));
    margin: 28px auto;
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--navy), var(--blue), #12688f);
    color: #fff;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.banner.light {
    background: linear-gradient(135deg, #fff7ec, #ffe8d6);
    color: var(--ink);
    border: 1px solid #f4dfbd;
    box-shadow: var(--soft-shadow);
}

.banner.light::before {
    background: rgba(201, 148, 55, 0.05);
}

.banner.light::after {
    background: rgba(201, 148, 55, 0.03);
}

.banner h2 {
    margin-bottom: 10px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.12;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.banner.light p {
    color: var(--muted);
}

.btn-banner,
.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-banner {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.banner.light .btn-banner {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    box-shadow: 0 8px 20px rgba(11, 47, 79, 0.3);
}

.banner.light .btn-banner:hover {
    box-shadow: 0 12px 28px rgba(11, 47, 79, 0.4);
}

.locality-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.locality-card,
.service-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.locality-card {
    padding: 26px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.locality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.locality-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.locality-card:hover::before {
    transform: scaleX(1);
}

.locality-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
    transition: color 0.3s ease;
}

.locality-card:hover h3 {
    color: var(--blue);
}

.locality-card p {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.locality-card:hover p {
    color: var(--ink);
}

.trend {
    color: var(--green);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(34, 166, 111, 0.1), rgba(15, 159, 143, 0.1));
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

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

.service-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--teal), var(--green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef7fb, #d4e8f7);
    color: var(--blue);
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(11, 111, 179, 0.15);
}

.service-card:hover i {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(11, 111, 179, 0.3);
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--blue);
}

.service-card p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--ink);
}

.service-card .text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

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

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.app-badges a {
    display: block;
    width: 142px;
}

.phone-art {
    display: grid;
    place-items: center;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 80px;
    box-shadow: inset 0 0 0 12px rgba(11, 47, 79, 0.06);
}

footer {
    background: linear-gradient(180deg, #0d1218 0%, #101820 100%);
    color: #b9c4cf;
    padding: 72px 5vw 32px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
    width: min(1160px, 100%);
    margin: 0 auto 40px;
}

.footer-col h4 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-col p,
.footer-col a {
    color: #b9c4cf;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a:hover {
    color: #fff;
    transform: translateX(4px);
    display: inline-block;
}

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

.social-links a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: #b9c4cf;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-color: var(--blue);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1160px, 100%);
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #8995a2;
    font-size: 13px;
    font-weight: 600;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 18, 28, 0.72);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.login-modal {
    position: relative;
    width: min(440px, 100%);
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.4s ease;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--mist);
}

.close-modal:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    transform: rotate(90deg);
}

.modal-header h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.modal-body input {
    width: 100%;
    min-height: 52px;
    margin-bottom: 16px;
    padding: 0 18px;
    border: 2px solid var(--line);
    border-radius: 12px;
    outline: 0;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-body input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(11, 111, 179, 0.12);
}

.btn-login-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 47, 79, 0.3);
    transition: all 0.3s ease;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 47, 79, 0.4);
}

.mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 4000;
    width: min(380px, 90vw);
    padding: 28px;
    background: #fff;
    box-shadow: -20px 0 45px rgba(23, 33, 43, 0.18);
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.mobile-menu-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s ease;
    background: var(--mist);
}

.mobile-menu-close:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: grid;
    gap: 12px;
    list-style: none;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 16px;
    border: 2px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    background: #fff;
}

.mobile-nav-links a:hover {
    border-color: var(--blue);
    background: linear-gradient(135deg, #eef7fb, #d4e8f7);
    transform: translateX(4px);
}

.mobile-nav-links a i {
    color: var(--blue);
    font-size: 12px;
}

.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: grid;
    gap: 12px;
}

.whatsapp-float,
#backToTop {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 12px 24px rgba(23, 33, 43, 0.18);
    cursor: pointer;
}

.whatsapp-float {
    background: #25d366;
    font-size: 24px;
}

#backToTop {
    display: none;
    background: var(--navy);
    font-size: 16px;
}

@media (max-width: 1050px) {
    .desktop-nav {
        display: none;
    }

    .icon-button {
        display: inline-flex;
    }

    .search-box,
    .property-grid,
    .collection-grid,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid,
    .locality-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Enhanced mobile responsiveness for premium components */
    .property-card {
        border-radius: 16px;
    }

    .property-img {
        height: 220px;
    }

    .category-card {
        min-height: 170px;
        padding: 20px;
    }

    .category-card i {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .city-card {
        min-height: 160px;
    }

    .city-card img {
        height: 160px;
    }

    .collection-card {
        min-height: 220px;
    }

    .collection-card img {
        height: 220px;
    }

    .collection-card div {
        padding: 24px;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 68px;
        padding: 0 18px;
        width: 100%;
    }

    .brand {
        font-size: 17px;
        min-width: 0;
    }

    .brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand i {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .header-right {
        gap: 8px;
    }

    .btn-post,
    .login-link {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 54px 18px 42px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-copy {
        font-size: 15px;
    }

    .search-container {
        padding: 12px;
    }

    .search-box,
    .stats,
    .category-grid,
    .property-grid,
    .collection-grid,
    .service-grid,
    .locality-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 46px 18px;
    }

    .section-title {
        display: block;
    }

    .section-title .view-all {
        display: inline-flex;
        margin-top: 10px;
    }

    .banner {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .phone-art {
        width: 124px;
        height: 124px;
        font-size: 58px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .floating-actions {
        right: 16px;
        bottom: 16px;
    }

    /* Enhanced mobile responsiveness for premium components at 720px */
    .property-card {
        border-radius: 16px;
    }

    .property-img {
        height: 200px;
    }

    .property-info {
        padding: 20px;
    }

    .price {
        font-size: 22px;
    }

    .property-name {
        font-size: 16px;
    }

    .shortlist-icon {
        width: 40px;
        height: 40px;
    }

    .category-card {
        min-height: 160px;
        padding: 18px;
    }

    .category-card i {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .category-card p {
        font-size: 12px;
    }

    .city-card {
        min-height: 150px;
    }

    .city-card img {
        height: 150px;
    }

    .city-card span {
        padding: 8px 14px;
        font-size: 13px;
    }

    .collection-card {
        min-height: 200px;
    }

    .collection-card img {
        height: 200px;
    }

    .collection-card div {
        padding: 20px;
    }

    .collection-card h3 {
        font-size: 18px;
    }

    .collection-card p {
        font-size: 13px;
    }

    .feature-item {
        padding: 5px 10px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 32px;
    }

    .search-city-select,
    .search-input-wrapper,
    .btn-search {
        min-height: 50px;
    }

    .property-img {
        height: 190px;
    }

    .features {
        display: grid;
        gap: 8px;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    padding: 16px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 20px;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: var(--ink);
}

.toast-success {
    border-left: 4px solid var(--green);
}

.toast-success .toast-icon {
    color: var(--green);
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-info {
    border-left: 4px solid var(--blue);
}

.toast-info .toast-icon {
    color: var(--blue);
}

/* Loading States */
.loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.loader i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
}

.loader-spinner {
    font-size: 48px;
    color: var(--navy);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 12px;
}

.skeleton-image {
    height: 200px;
    width: 100%;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Form Validation */
.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}

.has-error {
    border-color: #ef4444 !important;
}

.has-error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

/* Button Loading States */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Wishlist Heart Animation */
.shortlist-icon {
    transition: all 0.3s ease;
}

.shortlist-icon.active {
    animation: heart-pulse 0.3s ease;
}

@keyframes heart-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    max-width: 80%;
    overflow-x: auto;
}

.lightbox-thumbnails img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lightbox-thumbnails img:hover,
.lightbox-thumbnails img.active {
    opacity: 1;
}

/* Image Gallery */
.image-gallery {
    position: relative;
}

.image-gallery-main {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.image-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.image-gallery-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.image-gallery-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.image-gallery-thumbnails img:hover,
.image-gallery-thumbnails img.active {
    opacity: 1;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.suggestion-item:hover {
    background: var(--mist);
}

.suggestion-item .suggestion-title {
    font-weight: 700;
    color: var(--ink);
}

.suggestion-item .suggestion-location {
    font-size: 12px;
    color: var(--muted);
}

.suggestion-item .suggestion-price {
    font-weight: 700;
    color: var(--navy);
}

/* Property Comparison */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 16px;
    z-index: 1000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.compare-bar.active {
    display: flex;
    transform: translateY(0);
}

.compare-items {
    display: flex;
    gap: 12px;
    flex: 1;
    overflow-x: auto;
}

.compare-item {
    min-width: 150px;
    padding: 8px;
    background: var(--mist);
    border-radius: var(--radius);
    position: relative;
}

.compare-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.compare-item-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
}

.compare-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Image Upload Preview */
.image-upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.preview-item-main {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--green);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
}

.upload-zone {
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--blue);
    background: var(--mist);
}

.upload-zone i {
    font-size: 48px;
    color: var(--muted);
    margin-bottom: 12px;
}

.upload-zone p {
    color: var(--muted);
    font-size: 14px;
}

/* Infinite Scroll */
.load-more-container {
    text-align: center;
    padding: 20px;
}

.load-more-spinner {
    display: inline-block;
    font-size: 24px;
    color: var(--navy);
}

.load-more-end {
    color: var(--muted);
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */

@media (max-width: 1050px) {
    .desktop-nav {
        display: none;
    }

    .icon-button {
        display: inline-flex;
    }

    .search-box,
    .property-grid,
    .collection-grid,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid,
    .locality-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Toast notifications on tablet */
    .toast-container {
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }

    /* Lightbox on tablet */
    .lightbox-content {
        max-width: 95%;
    }

    /* Comparison bar on tablet */
    .compare-bar {
        padding: 12px;
    }

    .compare-item {
        min-width: 120px;
    }

    /* Image upload on tablet */
    .image-upload-preview {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 68px;
        padding: 0 18px;
    }

    .brand {
        font-size: 17px;
    }

    .brand i {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .header-right {
        gap: 8px;
    }

    .btn-post,
    .login-link {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 54px 18px 42px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-copy {
        font-size: 15px;
    }

    .search-container {
        padding: 12px;
    }

    .search-box,
    .stats,
    .category-grid,
    .property-grid,
    .collection-grid,
    .service-grid,
    .locality-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 46px 18px;
    }

    .section-title {
        display: block;
    }

    .section-title .view-all {
        display: inline-flex;
        margin-top: 10px;
    }

    .banner {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .phone-art {
        width: 124px;
        height: 124px;
        font-size: 58px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .floating-actions {
        right: 16px;
        bottom: 16px;
    }

    /* Mobile search box */
    .search-box {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .search-city-select,
    .search-input-wrapper,
    .btn-search {
        min-height: 50px;
    }

    /* Mobile property card */
    .property-img {
        height: 200px;
    }

    .property-info {
        padding: 16px;
    }

    .price {
        font-size: 18px;
    }

    .property-name {
        font-size: 15px;
    }

    .features {
        gap: 8px;
    }

    .shortlist-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* Mobile toast notifications */
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
        padding: 12px;
        font-size: 13px;
    }

    .toast-icon {
        font-size: 18px;
    }

    /* Mobile lightbox */
    .lightbox-close,
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-thumbnails {
        bottom: 10px;
        gap: 6px;
    }

    .lightbox-thumbnails img {
        width: 50px;
        height: 35px;
    }

    /* Mobile image gallery */
    .image-gallery-main {
        height: 250px;
    }

    .image-gallery-thumbnails img {
        width: 60px;
        height: 45px;
    }

    /* Mobile search suggestions */
    .search-suggestions {
        max-height: 250px;
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .suggestion-item {
        padding: 10px 12px;
    }

    .suggestion-item .suggestion-title {
        font-size: 14px;
    }

    .suggestion-item .suggestion-location {
        font-size: 11px;
    }

    /* Mobile comparison bar */
    .compare-bar {
        padding: 12px;
        flex-direction: column;
        gap: 12px;
    }

    .compare-items {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .compare-item {
        min-width: 100px;
        padding: 6px;
    }

    .compare-item img {
        height: 60px;
    }

    .compare-actions {
        justify-content: center;
    }

    .compare-actions button {
        font-size: 13px;
        padding: 0 12px;
        min-height: 40px;
    }

    /* Mobile image upload */
    .upload-zone {
        padding: 30px 20px;
    }

    .upload-zone i {
        font-size: 36px;
    }

    .upload-zone p {
        font-size: 13px;
    }

    .image-upload-preview {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }

    .preview-item-remove,
    .preview-item-main {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    /* Mobile form validation */
    .error-message {
        font-size: 11px;
    }

    /* Mobile modal */
    .modal-overlay {
        padding: 16px;
    }

    .login-modal {
        width: 100%;
        padding: 24px;
    }

    .modal-header h3 {
        font-size: 20px;
    }

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

    /* Mobile menu */
    .mobile-menu {
        width: 85vw;
        max-width: 100vw;
        padding: 20px;
    }

    .mobile-nav-links a {
        font-size: 13px;
        min-height: 44px;
    }

    /* Mobile stats */
    .stats {
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-card strong {
        font-size: 20px;
    }

    /* Mobile category cards */
    .category-card {
        min-height: 160px;
        padding: 18px;
    }

    .category-card i {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 16px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .category-card p {
        font-size: 12px;
    }

    /* Mobile city strip */
    .city-strip {
        gap: 12px;
    }

    .city-card {
        min-width: 140px;
    }

    .city-card img {
        height: 140px;
    }

    /* Mobile collection cards */
    .collection-card {
        min-height: 180px;
    }

    .collection-card img {
        height: 180px;
    }

    .collection-card div {
        padding: 18px;
    }

    .collection-card h3 {
        font-size: 18px;
    }

    .collection-card p {
        font-size: 12px;
    }

    /* Mobile service cards */
    .service-card {
        flex-direction: column;
        padding: 18px;
        gap: 12px;
    }

    .service-card i {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 13px;
    }

    .app-badges a {
        width: 120px;
    }

    /* Mobile locality cards */
    .locality-card {
        padding: 16px;
    }

    .locality-card h3 {
        font-size: 15px;
    }

    .locality-card p {
        font-size: 12px;
    }

    /* Mobile footer */
    footer {
        padding: 40px 18px 20px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-col h4 {
        font-size: 13px;
    }

    .footer-col p,
    .footer-col a {
        font-size: 12px;
    }

    .social-links a {
        width: 34px;
        height: 34px;
    }

    .footer-bottom {
        font-size: 11px;
    }

    /* Mobile quick filters */
    .quick-row {
        flex-wrap: wrap;
    }

    .quick-filter {
        font-size: 11px;
        padding: 6px 10px;
        min-height: 28px;
    }

    /* Mobile popular links */
    .popular-links {
        font-size: 12px;
        gap: 6px;
    }

    /* Mobile tabs */
    .search-tabs {
        gap: 6px;
    }

    .tab {
        font-size: 12px;
        padding: 6px 12px;
        min-height: 34px;
    }

    /* Mobile buttons */
    .btn-post,
    .btn-search,
    .btn-banner,
    .cta-link,
    .icon-button {
        min-height: 44px;
        font-size: 13px;
    }

    /* Touch-friendly tap targets */
    button,
    input,
    select,
    .shortlist-icon,
    .compare-item-remove,
    .preview-item-remove {
        min-height: 44px;
        min-width: 44px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents iOS zoom */
    }

    /* Mobile load more */
    .load-more-container {
        padding: 16px;
    }

    .btn-load-more {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }

    /* Mobile comparison table */
    .comparison-table-wrapper {
        overflow-x: auto;
    }

    .comparison-table {
        min-width: 600px;
    }

    .comparison-label {
        font-size: 12px;
        padding: 8px;
    }

    .comparison-value {
        font-size: 12px;
        padding: 8px;
    }

    .comparison-actions {
        flex-direction: column;
        gap: 10px;
    }

    .comparison-actions button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-copy {
        font-size: 14px;
    }

    .search-city-select,
    .search-input-wrapper,
    .btn-search {
        min-height: 48px;
    }

    .property-img {
        height: 180px;
    }

    .features {
        display: grid;
        gap: 8px;
    }

    .feature-item {
        font-size: 12px;
    }

    /* Extra small screen adjustments */
    .brand {
        font-size: 15px;
    }

    .brand i {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .site-header {
        min-height: 64px;
        padding: 0 14px;
    }

    .section {
        padding: 36px 14px;
    }

    /* Mobile toast on very small screens */
    .toast {
        padding: 10px;
        font-size: 12px;
    }

    .toast-icon {
        font-size: 16px;
    }

    /* Mobile comparison on very small screens */
    .compare-item {
        min-width: 80px;
    }

    .compare-item img {
        height: 50px;
    }

    /* Mobile image upload on very small screens */
    .image-upload-preview {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    /* Mobile modal on very small screens */
    .login-modal {
        padding: 20px 16px;
    }

    .modal-header h3 {
        font-size: 18px;
    }

    /* Mobile menu on very small screens */
    .mobile-menu {
        width: 90vw;
        max-width: 100vw;
        padding: 16px;
    }

    .mobile-nav-links a {
        font-size: 12px;
        min-height: 40px;
    }

    /* Touch-friendly adjustments for very small screens */
    .shortlist-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* Mobile stats on very small screens */
    .stat-card {
        padding: 12px;
    }

    .stat-card strong {
        font-size: 18px;
    }

    .stat-card span {
        font-size: 11px;
    }
}

/* Landscape mobile adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 30px 18px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .search-container {
        padding: 10px;
    }

    .mobile-menu {
        padding: 16px;
    }

    .lightbox-content img {
        max-height: 80vh;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    .brand i {
        image-rendering: -webkit-optimize-contrast;
    }

    .property-img img,
    .image-gallery-main img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print styles */
@media print {
    .site-header,
    .floating-actions,
    .compare-bar,
    .mobile-menu,
    .toast-container,
    .lightbox {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .property-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
/* --- NEW PREMIUM STYLES --- */

/* User Header Chip */
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #f0f4f8;
    border: 1px solid #d9e2ec;
    border-radius: 999px;
    color: var(--navy);
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
}
.user-chip i {
    color: var(--blue);
    font-size: 16px;
}
.user-chip:hover {
    background: #e2e8f0;
    box-shadow: 0 4px 10px rgba(11, 47, 79, 0.1);
}

/* Premium Auth Pages (Login/Register) */
.auth-split-container {
    display: flex;
    min-height: 100vh;
    background: #fff;
}
.auth-image-side {
    flex: 1;
    display: none;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80') center/cover;
    position: relative;
}
.auth-image-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 47, 79, 0.1) 0%, rgba(11, 47, 79, 0.8) 100%);
}
.auth-quote {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: #fff;
    z-index: 2;
}
.auth-quote h3 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}
.auth-quote p {
    font-size: 16px;
    opacity: 0.9;
}
.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-form-wrapper {
    width: 100%;
    max-width: 440px;
}
.auth-header {
    margin-bottom: 30px;
}
.auth-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}
.auth-header p {
    color: var(--muted);
}
.auth-form-group {
    margin-bottom: 20px;
}
.auth-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.auth-input {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}
.auth-input:focus {
    background: #fff;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(11, 111, 179, 0.15);
    outline: none;
}
.auth-btn {
    width: 100%;
    padding: 14px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 111, 179, 0.25);
    transition: all 0.2s ease;
}
.auth-btn:hover {
    background: #095a91;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(11, 111, 179, 0.35);
}
.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}
.auth-footer a {
    color: var(--blue);
    font-weight: 700;
}
.error-box {
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #f87171;
}

@media (min-width: 992px) {
    .auth-image-side {
        display: block;
    }
}
