/*
Theme Name: Terra Firma
Theme URI: https://terrafirma.ae
Description: Luxury real estate theme inspired by Terra Firma Dubai
Author: Ahmad Hassan
Version: 1.0.0
Text Domain: terrafirma
*/

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-white: #ffffff;
    --color-black: #000000;
    --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 96rem;
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
    --shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
    --transition: 300ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-900);
    background-color: var(--color-gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-content {
    flex: 1;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

/* ========================================
   Container
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.px-container {
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .px-container { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1024px) {
    .px-container { padding-left: 32px; padding-right: 32px; }
}

/* ========================================
   Floating Pill Navbar
   ======================================== */
.site-header {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 500ms ease-in-out;
    top: 0;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .site-header { padding: 0 24px; }
}

@media (min-width: 1024px) {
    .site-header { padding: 0 32px; }
}

.header-container {
    max-width: 80rem;
    margin: 0 auto;
}

.header-pill {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    padding: 10px 10px 10px 16px;
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.3px;
}

/* Desktop Nav */
.main-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 1024px) {
    .main-nav { display: flex; }
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-300);
    transition: color 200ms;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-white);
}

/* Header Right */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--color-white);
    color: var(--color-gray-900);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    transition: background 200ms;
    white-space: nowrap;
}

.header-phone:hover {
    background: var(--color-gray-100);
}

.header-phone svg {
    width: 14px;
    height: 14px;
}

@media (min-width: 768px) {
    .header-phone { display: flex; }
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--color-gray-300);
    border-radius: var(--radius-full);
    transition: all 200ms;
}

.mobile-menu-toggle:hover {
    color: var(--color-white);
    background: rgba(255,255,255,0.1);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle { display: none; }
}

.mobile-menu-toggle svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-gray-900);
    z-index: 49;
    padding: 100px 24px 24px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 200ms;
}

.mobile-menu a:hover {
    color: var(--color-gray-400);
}

.mobile-menu .mobile-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 12px 20px;
    background: var(--color-white);
    color: var(--color-gray-900);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
}

/* ========================================
   Hero Sections
   ======================================== */
.hero-home {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 16px;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 24px;
}

@media (min-width: 1024px) {
    .hero-title { font-size: 3.75rem; }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-100);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .hero-subtitle { font-size: 1.25rem; }
}

/* Page Hero (shorter, for inner pages) */
.page-hero {
    position: relative;
    min-height: 66.67vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .page-hero {
        min-height: 0;
        height: 50vh;
    }
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
}

.page-hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 48px 16px;
    color: var(--color-white);
}

.page-hero .hero-title {
    font-size: 1.875rem;
    font-weight: 500;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .page-hero .hero-title { font-size: 1.875rem; }
}

.page-hero .hero-subtitle {
    font-size: 1rem;
    color: var(--color-gray-300);
    max-width: 42rem;
    margin: 0 auto;
}

/* ========================================
   Search Box (Homepage)
   ======================================== */
.search-section {
    position: relative;
    z-index: 20;
    margin-top: -10rem;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .search-section { padding: 0 24px; }
}

@media (min-width: 1024px) {
    .search-section { padding: 0 32px; }
}

.search-box-outer {
    max-width: 72rem;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.search-tab-group {
    display: inline-flex;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    padding: 4px;
}

.search-tab {
    padding: 8px 24px;
    border-radius: var(--radius-full);
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all 200ms;
    font-family: var(--font-sans);
}

.search-tab:hover {
    color: var(--color-gray-900);
}

.search-tab.active {
    background: var(--color-white);
    color: var(--color-gray-900);
    box-shadow: var(--shadow-sm);
}

.search-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 32px;
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 1024px) {
    .search-fields { grid-template-columns: repeat(4, 1fr); }
}

.search-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.search-field select,
.search-field input {
    width: 100%;
    height: 48px;
    padding: 0 20px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    transition: all 200ms;
    appearance: none;
    -webkit-appearance: none;
}

.search-field select:hover,
.search-field input:hover {
    background: var(--color-gray-100);
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-gray-900);
    border-color: transparent;
}

.search-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.search-popular {
    display: none;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .search-popular { display: flex; }
}

.search-popular-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-popular a {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-500);
    transition: color 200ms;
}

.search-popular a:hover {
    color: var(--color-gray-700);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 200ms;
    border: none;
    white-space: nowrap;
    font-weight: 600;
}

.btn-primary {
    height: 48px;
    padding: 0 32px;
    background: var(--color-gray-900);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 16px;
}

.btn-primary:hover {
    background: var(--color-gray-800);
}

.btn-secondary {
    height: 44px;
    padding: 0 24px;
    background: var(--color-gray-100);
    color: var(--color-gray-900);
    border-radius: var(--radius-full);
    font-size: 14px;
}

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

.btn-outline {
    height: 44px;
    padding: 0 24px;
    background: transparent;
    color: var(--color-gray-900);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
}

.btn-outline:hover {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-color: var(--color-gray-900);
}

.btn-white {
    height: 48px;
    padding: 0 32px;
    background: var(--color-white);
    color: var(--color-gray-900);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
}

.btn-white:hover {
    background: var(--color-gray-100);
}

.btn-sm {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
}

.btn-lg {
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
}

.btn svg { width: 16px; height: 16px; }

.w-full { width: 100%; }

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 64px 16px;
}

@media (min-width: 640px) {
    .section { padding: 64px 24px; }
}

@media (min-width: 768px) {
    .section { padding: 128px 24px; }
}

@media (min-width: 1024px) {
    .section { padding: 160px 32px; }
}

.section-white { background: var(--color-white); }
.section-gray { background: var(--color-gray-50); }
.section-dark { background: var(--color-gray-900); color: var(--color-white); }

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

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .section-title { font-size: 1.875rem; }
}

.section-subtitle {
    font-size: 14px;
    color: var(--color-gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: var(--color-gray-400);
}

/* ========================================
   Grids
   ======================================== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .grid-6 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-6 { grid-template-columns: repeat(6, 1fr); } }

/* ========================================
   Bento Grid (Featured Neighborhoods)
   ======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: auto auto;
        gap: 12px;
    }
}

.bento-item {
    display: block;
    min-height: 260px;
}

@media (min-width: 768px) {
    .bento-item { min-height: 280px; }
}

@media (min-width: 1024px) {
    .bento-item.bento-large {
        grid-column: 3;
        grid-row: 1 / 3;
        min-height: 0;
    }
}

.bento-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.bento-item:hover .bento-item-inner {
    box-shadow: var(--shadow-lg);
}

.bento-item-image {
    position: absolute;
    inset: 0;
    background: var(--color-gray-100);
}

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

.bento-item:hover .bento-item-image img {
    transform: scale(1.05);
}

.bento-item-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}

.bento-item-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.bento-item-title {
    font-weight: 600;
    color: var(--color-white);
    font-size: 1rem;
    line-height: 1.3;
}

.bento-large .bento-item-title {
    font-size: 1.25rem;
}

.bento-item-count {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-top: 2px;
}

/* ========================================
   Premium Properties Slider
   ======================================== */
.premium-slider-section {
    background: var(--color-gray-900);
    padding: 80px 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .premium-slider-section { padding: 120px 0; }
}

.premium-slider-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .premium-slider-header { margin-bottom: 64px; }
}

.premium-slider-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .premium-slider-header h2 { font-size: 2.25rem; }
}

.premium-slider-header p {
    font-size: 14px;
    color: var(--color-gray-400);
}

@media (min-width: 768px) {
    .premium-slider-header p { font-size: 1rem; }
}

.premium-slider {
    position: relative;
    max-width: 100%;
}

.premium-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.premium-slide {
    flex: 0 0 85%;
    max-width: 85%;
    padding: 0 8px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0.4;
    transform: scale(0.9);
}

@media (min-width: 640px) {
    .premium-slide {
        flex: 0 0 70%;
        max-width: 70%;
        padding: 0 12px;
    }
}

@media (min-width: 768px) {
    .premium-slide {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 16px;
    }
}

@media (min-width: 1280px) {
    .premium-slide {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

.premium-slide.active {
    opacity: 1;
    transform: scale(1);
}

.premium-card {
    display: block;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--color-gray-800);
}

@media (min-width: 768px) {
    .premium-card {
        aspect-ratio: auto;
        height: 520px;
    }
}

.premium-card-image {
    position: absolute;
    inset: 0;
}

.premium-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-slide.active .premium-card:hover .premium-card-image img {
    transform: scale(1.05);
}

.premium-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.premium-card-badge.sale {
    background: rgba(219, 234, 254, 0.9);
    color: #1d4ed8;
}

.premium-card-badge.rent {
    background: rgba(220, 252, 231, 0.9);
    color: #15803d;
}

.premium-card-badge.off-plan {
    background: rgba(243, 232, 255, 0.9);
    color: #7c3aed;
}

.premium-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 70%);
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

.premium-card-content {
    width: 100%;
    padding: 24px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

@media (min-width: 768px) {
    .premium-card-content {
        padding: 28px;
        margin: 0 16px 16px;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255,255,255,0.1);
    }
}

.premium-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .premium-card-title { font-size: 1.25rem; }
}

.premium-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 12px;
}

.premium-card-location svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.premium-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.premium-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.premium-card-meta svg {
    width: 14px;
    height: 14px;
}

.premium-card-price {
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.premium-price-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}

.premium-price-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-white);
}

/* Slider Arrows */
.premium-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 200ms;
}

.premium-slider-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.premium-slider-prev { left: 12px; }
.premium-slider-next { right: 12px; }

@media (min-width: 768px) {
    .premium-slider-prev { left: 24px; }
    .premium-slider-next { right: 24px; }
}

@media (min-width: 1280px) {
    .premium-slider-arrow { width: 56px; height: 56px; }
    .premium-slider-prev { left: 32px; }
    .premium-slider-next { right: 32px; }
}

/* Slider Dots */
.premium-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 0 0;
    background: var(--color-gray-900);
}

.premium-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 300ms;
}

.premium-slider-dot.active {
    background: var(--color-white);
    width: 32px;
    border-radius: 4px;
}

/* ========================================
   Property Cards
   ======================================== */
.property-card {
    display: block;
    height: 100%;
}

.property-card-inner {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.property-card:hover .property-card-inner {
    box-shadow: var(--shadow-lg);
}

.property-card-image {
    position: relative;
    overflow: hidden;
    background: var(--color-gray-100);
    height: 256px;
}

@media (min-width: 768px) {
    .property-card-image { height: 288px; }
}

@media (min-width: 1024px) {
    .property-card-image { height: 256px; }
}

.property-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.property-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.property-card-badge.sale {
    background: rgba(219, 234, 254, 0.9);
    color: #1d4ed8;
}

.property-card-badge.rent {
    background: rgba(220, 252, 231, 0.9);
    color: #15803d;
}

.property-card-badge.off-plan {
    background: rgba(243, 232, 255, 0.9);
    color: #7c3aed;
}

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

.property-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-card-location {
    display: flex;
    align-items: center;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

.property-card-location svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    flex-shrink: 0;
}

.property-card-location span {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

.property-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-card-meta-item svg {
    width: 16px;
    height: 16px;
}

.property-card-price {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--color-gray-200);
}

.property-card-price .price-label {
    font-size: 12px;
    color: var(--color-gray-600);
    display: block;
    margin-bottom: 2px;
}

.property-card-price .price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

/* No thumbnail placeholder */
.card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
}

/* ========================================
   Area Cards
   ======================================== */
.area-card {
    display: block;
    height: 250px;
}

@media (min-width: 768px) {
    .area-card { height: 280px; }
}

.area-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.area-card:hover .area-card-inner {
    box-shadow: var(--shadow-lg);
}

.area-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--color-gray-100);
}

.area-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.area-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent, transparent);
}

.area-card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
}

.area-card-title {
    font-weight: 600;
    color: var(--color-white);
    font-size: 1rem;
}

.area-card-count {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* ========================================
   Developer Cards
   ======================================== */
.developer-card {
    display: block;
    height: 100%;
}

.developer-card-inner {
    background: var(--color-gray-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.developer-card:hover .developer-card-inner {
    box-shadow: var(--shadow-xl);
}

.developer-card-logo {
    position: relative;
    overflow: hidden;
    background: var(--color-gray-800);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.developer-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.developer-card-logo .dev-initials {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gray-500);
}

.developer-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: var(--color-white);
}

.developer-card-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.developer-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--color-gray-400);
}

.developer-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.developer-card-meta-item svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   Service Section (Dark BG, icon-first)
   ======================================== */
.services-grid {
    display: grid;
    gap: 48px 48px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-item-dark .service-icon-wrap svg {
    width: 40px;
    height: 40px;
    color: var(--color-white);
    stroke-width: 1.5;
    margin-bottom: 24px;
}

.service-item-dark h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.service-item-dark p {
    color: var(--color-gray-400);
    line-height: 1.7;
}

/* Service Card (Light BG) */
.service-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 32px;
    transition: box-shadow var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: var(--color-gray-900);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .service-card h3 { font-size: 1.25rem; }
}

.service-card p {
    color: var(--color-gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    font-size: 14px;
    color: var(--color-gray-600);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
}

.service-card li .bullet {
    color: var(--color-gray-400);
    margin-top: 2px;
}

/* Why Choose Cards (centered) */
.why-card {
    text-align: center;
}

.why-card-icon {
    width: 64px;
    height: 64px;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.why-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-gray-900);
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .why-card h3 { font-size: 1.125rem; }
}

.why-card p {
    color: var(--color-gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   Stats
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .stat-number { font-size: 2.25rem; }
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-400);
}

.stat-desc {
    font-size: 12px;
    color: var(--color-gray-500);
    margin-top: 8px;
}

/* ========================================
   Testimonials (Horizontal Scroll)
   ======================================== */
.testimonials-wrapper {
    position: relative;
    margin: 0 -16px;
}

@media (min-width: 640px) {
    .testimonials-wrapper { margin: 0 -24px; }
}

@media (min-width: 1024px) {
    .testimonials-wrapper { margin: 0 -32px; }
}

.testimonials-fade-left,
.testimonials-fade-right {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 10;
    pointer-events: none;
}

@media (min-width: 768px) {
    .testimonials-fade-left,
    .testimonials-fade-right { display: block; }
}

.testimonials-fade-left {
    left: 0;
    background: linear-gradient(to right, #f7f7f7, transparent);
}

.testimonials-fade-right {
    right: 0;
    background: linear-gradient(to left, #f7f7f7, transparent);
}

.testimonials-scroll {
    overflow-x: auto;
    padding: 32px 16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-scroll::-webkit-scrollbar { display: none; }

.testimonials-track {
    display: flex;
    gap: 16px;
}

@media (min-width: 768px) {
    .testimonials-track { gap: 24px; }
    .testimonials-scroll { padding: 32px 24px; }
}

@media (min-width: 1024px) {
    .testimonials-scroll { padding: 32px 32px; }
}

.testimonial-card {
    flex-shrink: 0;
    width: 80vw;
    height: 380px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .testimonial-card {
        width: 400px;
        height: 400px;
        padding: 32px;
    }
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--color-gray-700);
    line-height: 1.7;
}

.testimonial-author {
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-gray-900);
}

.testimonial-role {
    font-size: 14px;
    color: var(--color-gray-500);
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-item {
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    margin-bottom: 8px;
    overflow: hidden;
    background: var(--color-white);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-gray-900);
    text-align: left;
    font-family: var(--font-sans);
    gap: 16px;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--color-gray-400);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: 128px 16px;
}

@media (min-width: 640px) {
    .cta-section { padding: 128px 24px; }
}

@media (min-width: 768px) {
    .cta-section { padding: 160px 24px; }
}

@media (min-width: 1024px) {
    .cta-section { padding: 160px 32px; }
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-grid { gap: 48px; }
}

@media (min-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 128px;
    }
}

@media (min-width: 1280px) {
    .cta-grid { gap: 192px; }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .cta-title { font-size: 1.875rem; }
}

@media (min-width: 768px) {
    .cta-title { font-size: 2.25rem; margin-bottom: 16px; }
}

.cta-desc {
    color: var(--color-gray-400);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .cta-desc { font-size: 1.125rem; margin-bottom: 24px; }
}

.cta-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .cta-contact-items { gap: 16px; }
}

.cta-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-contact-link:hover .cta-contact-icon {
    background: rgba(255,255,255,0.2);
}

.cta-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 200ms;
}

@media (min-width: 768px) {
    .cta-contact-icon { width: 48px; height: 48px; }
}

.cta-contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .cta-contact-icon svg { width: 24px; height: 24px; }
}

.cta-contact-label {
    font-size: 12px;
    color: var(--color-gray-400);
}

@media (min-width: 768px) {
    .cta-contact-label { font-size: 14px; }
}

.cta-contact-value {
    font-size: 14px;
    font-weight: 600;
    transition: color 200ms;
}

.cta-contact-link:hover .cta-contact-value {
    color: var(--color-gray-200);
}

@media (min-width: 768px) {
    .cta-contact-value { font-size: 16px; }
}

/* CTA Form */
.cta-form-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 20px;
}

@media (min-width: 640px) {
    .cta-form-card { padding: 24px; }
}

@media (min-width: 768px) {
    .cta-form-card { padding: 32px; }
}

.cta-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-gray-900);
}

@media (min-width: 640px) {
    .cta-form-title { font-size: 1.5rem; }
}

@media (min-width: 768px) {
    .cta-form-title { margin-bottom: 24px; }
}

/* ========================================
   Form Elements (Pill shaped)
   ======================================== */
.form-group {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .form-group { margin-bottom: 16px; }
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 4px;
}

.form-input,
.form-select {
    width: 100%;
    height: 40px;
    padding: 0 16px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    color: var(--color-gray-900);
    font-size: 16px;
    font-family: var(--font-sans);
    transition: all 200ms;
}

@media (min-width: 768px) {
    .form-input,
    .form-select { height: 48px; padding: 0 20px; }
}

.form-input::placeholder {
    color: var(--color-gray-400);
    font-size: 14px;
}

.form-input:hover,
.form-select:hover {
    background: var(--color-gray-100);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-gray-900);
    border-color: transparent;
}

.form-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 20px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    color: var(--color-gray-900);
    font-size: 16px;
    font-family: var(--font-sans);
    resize: vertical;
    transition: all 200ms;
}

.form-textarea::placeholder {
    color: var(--color-gray-400);
    font-size: 14px;
}

.form-textarea:hover { background: var(--color-gray-100); }

.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-gray-900);
    border-color: transparent;
}

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

@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

/* Purpose Toggle Buttons */
.purpose-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.purpose-btn {
    height: 36px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-gray-200);
    background: var(--color-gray-50);
    color: var(--color-gray-700);
    font-size: 14px;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 200ms;
}

@media (min-width: 768px) {
    .purpose-btn { height: 44px; padding: 0 16px; }
}

.purpose-btn:hover {
    background: var(--color-gray-100);
}

.purpose-btn.active {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-color: var(--color-gray-900);
}

.purpose-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Submit Button */
.form-submit {
    width: 100%;
    height: 40px;
    padding: 0 24px;
    background: var(--color-gray-900);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: background 200ms;
    margin-top: 4px;
}

@media (min-width: 768px) {
    .form-submit { height: 48px; padding: 0 32px; font-size: 16px; margin-top: 8px; }
}

.form-submit:hover {
    background: var(--color-gray-800);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ========================================
   Single Property Page
   ======================================== */

/* -- Gallery -- */
.sp-gallery { padding-top: 72px; background: var(--color-gray-50); }
@media (min-width: 768px) { .sp-gallery { padding-top: 80px; } }

.sp-gallery-inner { max-width: var(--max-width); margin: 0 auto; position: relative; }
@media (min-width: 640px) { .sp-gallery-inner { padding: 0 16px; } }
@media (min-width: 1024px) { .sp-gallery-inner { padding: 0 32px; } }

.sp-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 4px; overflow: hidden; }
@media (min-width: 640px) { .sp-gallery-grid { border-radius: var(--radius-xl); } }
@media (min-width: 768px) { .sp-gallery-grid.has-thumbs { grid-template-columns: 1.6fr 1fr; gap: 6px; } }

.sp-gallery-main { position: relative; width: 100%; height: 240px; overflow: hidden; background: var(--color-gray-100); }
@media (min-width: 640px) { .sp-gallery-main { height: 320px; } }
@media (min-width: 768px) { .sp-gallery-main { height: 420px; } }
@media (min-width: 1024px) { .sp-gallery-main { height: 480px; } }
.sp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.sp-gallery-thumbs { display: none; }
@media (min-width: 768px) { .sp-gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 420px; } }
@media (min-width: 1024px) { .sp-gallery-thumbs { height: 480px; } }

.sp-gallery-thumb { position: relative; overflow: hidden; background: var(--color-gray-100); cursor: pointer; }
.sp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.sp-gallery-thumb:hover img { transform: scale(1.05); }
.sp-thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 600; }

.sp-gallery-all-btn { position: absolute; bottom: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #fff; color: var(--color-gray-900); border: none; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; font-family: var(--font-sans); cursor: pointer; box-shadow: var(--shadow-lg); z-index: 5; transition: all .2s; }
@media (min-width: 640px) { .sp-gallery-all-btn { bottom: 24px; right: 24px; } }
@media (min-width: 1024px) { .sp-gallery-all-btn { bottom: 24px; right: 56px; } }
.sp-gallery-all-btn:hover { background: var(--color-gray-900); color: #fff; }
.sp-gallery-all-btn svg { width: 14px; height: 14px; }

/* -- Shared section wrapper -- */
.sp-section-wrap { background: var(--color-gray-50); padding: 24px 0 0; }
@media (min-width: 768px) { .sp-section-wrap { padding: 32px 0 0; } }
.sp-main-section { padding: 0 0 48px; }
@media (min-width: 768px) { .sp-main-section { padding-bottom: 80px; } }
@media (min-width: 1024px) { .sp-main-section { padding-bottom: 120px; } }

/* -- Header -- */
.sp-header-row { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--color-gray-200); margin-bottom: 0; }
@media (min-width: 1024px) { .sp-header-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 32px; } }

.sp-header-left { flex: 1; min-width: 0; }
.sp-header-right { flex-shrink: 0; }
@media (min-width: 1024px) { .sp-header-right { text-align: right; } }

.sp-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-gray-500); margin-bottom: 8px; }
@media (min-width: 768px) { .sp-breadcrumb { font-size: 14px; margin-bottom: 12px; } }
.sp-breadcrumb a { transition: color .2s; }
.sp-breadcrumb a:hover { color: var(--color-gray-900); }
.sp-breadcrumb span { color: var(--color-gray-400); }
.sp-bc-current { color: var(--color-gray-900); }

.sp-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
@media (min-width: 640px) { .sp-title { font-size: 1.5rem; } }
@media (min-width: 1024px) { .sp-title { font-size: 1.875rem; } }

.sp-location { display: inline-flex; align-items: center; gap: 4px; color: var(--color-gray-600); font-size: 14px; }
.sp-location a { transition: color .2s; }
.sp-location a:hover { color: var(--color-gray-900); }
.sp-location svg { width: 14px; height: 14px; flex-shrink: 0; }

.sp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sp-badge { display: inline-block; padding: 4px 12px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; }

.sp-price-label { font-size: 13px; color: var(--color-gray-500); margin-bottom: 2px; }
@media (min-width: 768px) { .sp-price-label { font-size: 14px; } }
.sp-price { font-size: 1.375rem; font-weight: 700; color: var(--color-gray-900); }
@media (min-width: 640px) { .sp-price { font-size: 1.5rem; } }
@media (min-width: 1024px) { .sp-price { font-size: 1.875rem; } }

/* -- 3-col Grid -- */
.sp-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .sp-grid { grid-template-columns: 2fr 1fr; gap: 32px; } }

.sp-col-main { min-width: 0; }
.sp-col-side { order: -1; }
@media (min-width: 1024px) { .sp-col-side { order: 0; } }

/* -- Content blocks (left col) -- */
.sp-block { padding: 24px 0; border-bottom: 1px solid var(--color-gray-200); }
@media (min-width: 768px) { .sp-block { padding: 32px 0; } }
.sp-block:last-child { border-bottom: none; }

.sp-block-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: var(--color-gray-900); margin-bottom: 16px; }
@media (min-width: 768px) { .sp-block-title { font-size: 1.125rem; margin-bottom: 20px; } }
.sp-block-title svg { width: 18px; height: 18px; color: var(--color-gray-500); flex-shrink: 0; }

/* -- Prose -- */
.sp-prose { font-size: 14px; line-height: 1.75; color: var(--color-gray-600); }
@media (min-width: 768px) { .sp-prose { font-size: 15px; line-height: 1.8; } }
.sp-prose h2 { font-size: 1.15rem; font-weight: 700; color: var(--color-gray-900); margin: 24px 0 8px; }
.sp-prose h2:first-child { margin-top: 0; }
.sp-prose h3 { font-size: 1rem; font-weight: 700; color: var(--color-gray-900); margin: 20px 0 6px; }
.sp-prose p { margin-bottom: 12px; }
.sp-prose ul, .sp-prose ol { margin: 8px 0 12px; padding-left: 18px; }
.sp-prose ul { list-style: disc; }
.sp-prose ol { list-style: decimal; }
.sp-prose li { margin-bottom: 4px; line-height: 1.7; }
.sp-prose strong { color: var(--color-gray-900); font-weight: 600; }

/* -- Key Specs horizontal row -- */
.sp-specs { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 8px 0; }
@media (min-width: 768px) { .sp-specs { gap: 20px 48px; } }

.sp-spec { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.sp-spec-ico { color: var(--color-gray-400); flex-shrink: 0; display: flex; }
.sp-spec-ico svg { width: 16px; height: 16px; }
.sp-spec-lbl { font-size: 13px; color: var(--color-gray-500); }
.sp-spec-val { font-size: 14px; font-weight: 600; color: var(--color-gray-900); }

/* -- Financial -- */
.sp-finance { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.sp-finance-ico { color: var(--color-gray-400); flex-shrink: 0; margin-top: 2px; }
.sp-finance-ico svg { width: 16px; height: 16px; }
.sp-finance-key { font-size: 14px; font-weight: 600; color: var(--color-gray-900); margin-bottom: 2px; }
.sp-finance-val { font-size: 13px; color: var(--color-gray-500); }

/* -- Map -- */
.sp-map { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; }
.sp-map iframe { width: 100%; height: 220px; border: 0; display: block; }
@media (min-width: 768px) { .sp-map iframe { height: 320px; } }
@media (min-width: 1024px) { .sp-map iframe { height: 380px; } }

.sp-map-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.sp-map-coords { font-size: 13px; color: var(--color-gray-500); }
.sp-map-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--color-gray-900); transition: color .2s; }
.sp-map-link:hover { color: var(--color-gray-500); }
.sp-map-link svg { width: 14px; height: 14px; }

/* -- Sidebar -- */
.sp-sidebar-sticky { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .sp-sidebar-sticky { position: sticky; top: 100px; gap: 16px; } }

.sp-side-card { background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-xl); padding: 16px; }
@media (min-width: 768px) { .sp-side-card { padding: 20px; } }

/* Developer */
.sp-dev-box { padding: 14px 16px; }
.sp-dev-link { display: flex; align-items: center; gap: 12px; }
.sp-dev-link:hover { opacity: .8; }
.sp-dev-logo { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: var(--color-gray-50); display: flex; align-items: center; justify-content: center; }
.sp-dev-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-dev-name { font-size: 14px; font-weight: 700; color: var(--color-gray-900); }
.sp-dev-tag { font-size: 11px; font-weight: 500; color: var(--color-gray-500); text-transform: uppercase; letter-spacing: .04em; }

/* CTA Buttons */
.sp-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.sp-cta { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; transition: all .2s; white-space: nowrap; }
.sp-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.sp-cta-dark { background: var(--color-gray-900); color: #fff; }
.sp-cta-dark:hover { background: var(--color-gray-800); }
.sp-cta-green { background: #25d366; color: #fff; }
.sp-cta-green:hover { background: #1fb855; }
.sp-cta-light { background: var(--color-gray-100); color: var(--color-gray-700); }
.sp-cta-light:hover { background: var(--color-gray-200); }
.sp-cta-full { width: 100%; }

/* Form inside sidebar */
.sp-side-card .form-input,
.sp-side-card .form-select { border-radius: var(--radius-lg); height: 42px; }
.sp-side-card .form-textarea { border-radius: var(--radius-lg); }
.sp-side-card .form-submit { border-radius: var(--radius-lg); height: 44px; margin-top: 4px; }
@media (max-width: 639px) {
    .sp-side-card .form-input, .sp-side-card .form-select, .sp-side-card .form-textarea { font-size: 16px; }
}

.sp-verified { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12px; color: #059669; font-weight: 500; }
.sp-verified svg { width: 14px; height: 14px; }

/* -- Similar Properties -- */
.similar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; }
@media (min-width: 768px) { .similar-header { margin-bottom: 32px; } }
.similar-view-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--color-gray-900); white-space: nowrap; flex-shrink: 0; transition: color .2s; }
.similar-view-more:hover { color: var(--color-gray-500); }
.similar-view-more svg { width: 14px; height: 14px; }

/* -- Badges (shared) -- */
.badge-sale { background: #dbeafe; color: #1d4ed8; }
.badge-rent { background: #dcfce7; color: #15803d; }
.badge-offplan { background: #f3e8ff; color: #7c3aed; }
.badge-default { background: var(--color-gray-100); color: var(--color-gray-700); }
.badge-ref { background: var(--color-gray-100); color: var(--color-gray-700); }
/* ========================================
   Blog Cards
   ======================================== */
.blog-card {
    display: block;
    height: 100%;
}

.blog-card-inner {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.blog-card:hover .blog-card-inner {
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    background: var(--color-gray-100);
    height: 200px;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(243, 244, 246, 0.9);
    backdrop-filter: blur(8px);
    color: var(--color-gray-700);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.blog-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--color-gray-500);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-meta svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   Single Blog Post
   ======================================== */
.single-post-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 16px 80px;
}

@media (min-width: 768px) {
    .single-post-content { padding: 64px 24px 120px; }
}

.single-post-content h2 {
    font-size: 1.5rem;
    margin: 36px 0 16px;
}

.single-post-content h3 {
    font-size: 1.25rem;
    margin: 28px 0 12px;
}

.single-post-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--color-gray-700);
}

.single-post-content ul,
.single-post-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.single-post-content ul { list-style: disc; }
.single-post-content ol { list-style: decimal; }

.single-post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--color-gray-700);
}

.single-post-content blockquote {
    border-left: 3px solid var(--color-gray-900);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--color-gray-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--color-gray-600);
}

.single-post-content img {
    border-radius: var(--radius-xl);
    margin: 24px 0;
}

.post-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 14px;
    color: var(--color-gray-500);
    flex-wrap: wrap;
}

.post-meta-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-bar svg { width: 16px; height: 16px; }

.post-category-badge {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ========================================
   Two-Column Content Layout (Single CPT)
   ======================================== */
.content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .content-layout { grid-template-columns: 1fr 380px; gap: 48px; }
}

.content-main h2 {
    font-size: 1.5rem;
    margin: 32px 0 12px;
}

.content-main h3 {
    font-size: 1.25rem;
    margin: 24px 0 8px;
}

.content-main p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-main ul {
    list-style: disc;
    padding-left: 24px;
    margin: 12px 0;
}

.content-main li {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 6px;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-gray-200);
}

/* ========================================
   About Page
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .about-text h2 { font-size: 1.875rem; margin-bottom: 24px; }
}

.about-text p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p.highlight {
    font-weight: 600;
    color: var(--color-gray-900);
}

.about-image {
    position: relative;
    height: 400px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .about-image { height: auto; min-height: 100%; }
}

.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values */
.values-space {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 72rem;
    margin: 0 auto;
}

.value-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .value-row { grid-template-columns: 1fr 1fr; }
}

.value-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--color-gray-900);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.value-icon-wrap svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.value-text h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .value-text h3 { font-size: 1.5rem; }
}

.value-text p {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .value-text p { font-size: 1.125rem; }
}

.value-image {
    position: relative;
    height: 300px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.value-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Leadership */
.leadership-grid {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .leadership-grid { grid-template-columns: 2fr 3fr; }
}

.leader-photo {
    position: relative;
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: var(--radius-3xl);
    overflow: hidden;
}

.leader-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .leader-name { font-size: 1.5rem; }
}

.leader-title {
    font-size: 1rem;
    color: var(--color-gray-400);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .leader-title { font-size: 1.125rem; margin-bottom: 24px; }
}

.leader-bio {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leader-bio p {
    font-size: 1rem;
    color: var(--color-gray-300);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .leader-bio p { font-size: 1.125rem; }
}

.leader-bio .leader-quote {
    font-weight: 600;
    color: var(--color-white);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-map {
    position: relative;
    height: 500px;
    min-height: 400px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    order: 2;
}

@media (min-width: 1024px) {
    .contact-map {
        height: auto;
        min-height: 100%;
        order: 1;
    }
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    order: 1;
}

@media (min-width: 1024px) {
    .contact-info { order: 2; }
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .contact-info h2 { font-size: 1.875rem; margin-bottom: 32px; }
}

.contact-info > p {
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item:hover .contact-item-icon {
    background: var(--color-gray-900);
}

.contact-item:hover .contact-item-icon svg {
    color: var(--color-white);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 200ms;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-gray-900);
    transition: color 200ms;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--color-gray-500);
}

.contact-item a.contact-value {
    color: var(--color-gray-600);
    font-size: 15px;
    transition: color 200ms;
}

.contact-item:hover a.contact-value {
    color: var(--color-gray-900);
}

.office-hours-box {
    margin-top: 48px;
    padding: 24px;
    background: var(--color-gray-50);
    border-radius: var(--radius-2xl);
}

.office-hours-box h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.office-hours-box svg {
    width: 20px;
    height: 20px;
}

.office-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.office-hours-row .day {
    color: var(--color-gray-600);
}

.office-hours-row .time {
    font-weight: 500;
    color: var(--color-gray-900);
}

/* ========================================
   Process Steps
   ======================================== */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .process-grid { grid-template-columns: 1fr 1fr; }
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-step {
    display: flex;
    gap: 16px;
}

.process-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--color-gray-900);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.process-step h3 {
    font-weight: 600;
    margin-bottom: 4px;
}

.process-step p {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.process-image {
    position: relative;
    height: 500px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.process-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Search Bar (Archive Pages)
   ======================================== */
.archive-toolbar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .archive-toolbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.archive-search {
    position: relative;
    width: 100%;
    max-width: 28rem;
}

.archive-search svg.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--color-gray-400);
}

.archive-search input {
    width: 100%;
    padding: 10px 64px 10px 40px;
    background: var(--color-gray-100);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    transition: all 200ms;
}

.archive-search input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(17,24,39,0.2);
}

.archive-search .search-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--color-gray-900);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms;
}

.archive-search .search-btn:hover {
    background: var(--color-gray-700);
}

.archive-search .search-btn svg {
    width: 16px;
    height: 16px;
    color: var(--color-white);
}

.archive-count {
    font-size: 12px;
    color: var(--color-gray-500);
    margin-top: 8px;
}

.archive-count strong {
    color: var(--color-gray-700);
    font-weight: 500;
}

/* Filter Tabs */
.filter-tabs {
    display: inline-flex;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    padding: 4px;
}

.filter-tab {
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: all 200ms;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .filter-tab { padding: 10px 24px; }
}

.filter-tab:hover { color: var(--color-gray-900); }

.filter-tab.active {
    background: var(--color-white);
    color: var(--color-gray-900);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Marquee (Developer Logos)
   ======================================== */
.marquee-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 96px;
    padding-top: 48px;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 40s linear infinite;
    align-items: center;
}

.marquee-track img {
    height: 32px;
    width: auto;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    transition: opacity 200ms;
    flex-shrink: 0;
}

.marquee-track img:hover {
    opacity: 1;
}

.marquee-track .dev-text {
    height: 32px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--color-gray-900);
    padding: 80px 16px 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 640px) {
    .site-footer { padding: 80px 24px 40px; }
}

@media (min-width: 1024px) {
    .site-footer { padding: 80px 32px 40px; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto 80px;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}

.footer-col-title {
    font-size: 14px;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    font-weight: 500;
}

.footer-nav a {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    padding: 8px 0;
    transition: color 200ms;
}

.footer-nav a:hover {
    color: var(--color-gray-400);
}

.footer-text {
    color: var(--color-white);
}

.footer-text .label {
    font-weight: 600;
}

.footer-text p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links a {
    display: block;
    color: var(--color-white);
    padding: 4px 0;
    font-size: 14px;
    transition: color 200ms;
}

.footer-links a:hover {
    color: var(--color-gray-400);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
    fill: currentColor;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--color-gray-800);
    padding-top: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 14px;
    color: var(--color-gray-400);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-legal a {
    color: var(--color-gray-400);
    transition: color 200ms;
}

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

.footer-legal .divider {
    color: var(--color-gray-600);
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--color-gray-200);
    transition: all 200ms;
}

.pagination a:hover {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-color: var(--color-gray-900);
}

.pagination .current {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-color: var(--color-gray-900);
}

/* ========================================
   Key Info Grid (Stats cards)
   ======================================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: 20px;
    text-align: center;
}

.info-card-label {
    font-size: 13px;
    color: var(--color-gray-500);
    margin-bottom: 4px;
}

.info-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.info-card-value.green { color: #059669; }
.info-card-value.accent { color: #0d9488; }

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Utility
   ======================================== */
.text-center { text-align: center; }
.text-muted { color: var(--color-gray-500); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* Scrollbar hide */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ========================================
   WordPress Overrides
   ======================================== */
.wp-block-image img { border-radius: var(--radius-xl); }
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin: 24px auto; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Navigation pagination WP */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.nav-links a,
.nav-links span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--color-gray-200);
    transition: all 200ms;
}

.nav-links a:hover {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-color: var(--color-gray-900);
}

.nav-links .current {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-color: var(--color-gray-900);
}

/* ========================================
   Properties Search / Results Page
   ======================================== */
.properties-page-header {
    padding: 120px 0 32px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
}

.properties-page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .properties-page-header h1 { font-size: 1.875rem; }
}

.properties-page-header p {
    font-size: 14px;
    color: var(--color-gray-500);
}

.properties-section {
    padding: 32px 16px 80px;
    background: var(--color-gray-50);
}

@media (min-width: 640px) {
    .properties-section { padding: 32px 24px 80px; }
}

@media (min-width: 1024px) {
    .properties-section { padding: 40px 32px 120px; }
}

.properties-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .properties-layout {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }
}

@media (min-width: 1280px) {
    .properties-layout {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }
}

/* Sidebar Filters */
.properties-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: var(--color-white);
    overflow-y: auto;
    padding: 24px;
}

.properties-sidebar.active {
    display: block;
}

@media (min-width: 1024px) {
    .properties-sidebar {
        display: block;
        position: static;
        background: transparent;
        overflow: visible;
        padding: 0;
    }
}

.sidebar-filters {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-200);
}

.filters-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.filters-reset {
    font-size: 13px;
    color: var(--color-gray-500);
    transition: color 200ms;
}

.filters-reset:hover {
    color: var(--color-gray-900);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    height: 40px;
    padding: 0 16px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    transition: all 200ms;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:hover {
    background-color: var(--color-gray-100);
}

.filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(17,24,39,0.15);
    border-color: var(--color-gray-400);
}

.filter-input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    transition: all 200ms;
}

.filter-input::placeholder {
    color: var(--color-gray-400);
}

.filter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(17,24,39,0.15);
    border-color: var(--color-gray-400);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-row .filter-input {
    flex: 1;
    min-width: 0;
}

.filter-separator {
    color: var(--color-gray-400);
    font-size: 14px;
    flex-shrink: 0;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray-200);
}

/* Mobile close for sidebar */
@media (max-width: 1023px) {
    .sidebar-filters {
        padding-top: 60px;
    }
    .properties-sidebar.active::before {
        content: 'Close';
        position: fixed;
        top: 24px;
        right: 24px;
        z-index: 50;
        width: 36px;
        height: 36px;
        background: var(--color-gray-900);
        color: var(--color-white);
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }
}

/* Results Area */
.properties-results {
    min-width: 0;
}

.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-200);
}

.results-count {
    font-size: 14px;
    color: var(--color-gray-600);
}

.results-count-num,
.results-count-total {
    font-weight: 600;
    color: var(--color-gray-900);
}

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

.filter-toggle-btn {
    display: flex;
}

@media (min-width: 1024px) {
    .filter-toggle-btn { display: none; }
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-sort label {
    font-size: 13px;
    color: var(--color-gray-500);
    white-space: nowrap;
    display: none;
}

@media (min-width: 640px) {
    .results-sort label { display: block; }
}

.results-sort select {
    height: 36px;
    padding: 0 32px 0 12px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--color-gray-900);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    transition: background 200ms;
}

.active-filter-tag:hover {
    background: var(--color-gray-700);
}

.active-filter-remove {
    display: flex;
    opacity: 0.7;
}

.active-filters-clear {
    font-size: 12px;
    color: var(--color-gray-500);
    text-decoration: underline;
    transition: color 200ms;
}

.active-filters-clear:hover {
    color: var(--color-gray-900);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
    .results-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Pagination */
.results-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    gap: 16px;
}

.pagination-prev,
.pagination-next {
    flex-shrink: 0;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-numbers a,
.pagination-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
    transition: all 200ms;
}

.pagination-numbers a:hover {
    background: var(--color-gray-100);
    color: var(--color-gray-900);
}

.pagination-numbers .current {
    background: var(--color-gray-900);
    color: var(--color-white);
}

.pagination-numbers .dots {
    color: var(--color-gray-400);
}

/* Empty State */
.results-empty {
    text-align: center;
    padding: 80px 24px;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-gray-200);
}

.results-empty-icon {
    color: var(--color-gray-300);
    margin-bottom: 24px;
}

.results-empty h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.results-empty p {
    color: var(--color-gray-500);
    font-size: 14px;
    margin-bottom: 24px;
}
