/* ============================================
   Prestige Properties — Full Stylesheet
   ============================================ */

:root {
    --primary: #1a3c5e;
    --primary-light: #2a5a8a;
    --accent: #c8a951;
    --accent-hover: #b8953f;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-gray: #f7f8fc;
    --bg-dark: #0f1c2e;
    --border: #e2e8f0;
    --success: #38a169;
    --danger: #e53e3e;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
    --shadow-lg: 0 4px 24px rgba(0,0,0,.1);
    --transition: .25s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--bg); -webkit-font-smoothing: antialiased; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: .9rem; cursor: pointer;
    transition: all var(--transition); border: 2px solid transparent;
    text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 6px 16px; font-size: .8rem; }
.btn-block { width: 100%; justify-content: center; }

/* === HEADER === */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.3rem; color: var(--primary); text-decoration: none;
}
.logo i { font-size: 1.6rem; color: var(--accent); }
.logo strong { font-weight: 700; }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
    color: var(--text); font-weight: 500; font-size: .95rem;
    position: relative; padding: 4px 0;
}
.main-nav a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--primary); }

.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all var(--transition); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
    position: relative; min-height: 600px;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,28,46,.85) 0%, rgba(26,60,94,.7) 100%);
}
.hero-content {
    position: relative; z-index: 1; color: #fff;
    padding: 80px 0; max-width: 800px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(200,169,81,.2); border: 1px solid rgba(200,169,81,.4);
    color: var(--accent); padding: 6px 16px; border-radius: 50px;
    font-size: .85rem; font-weight: 500; margin-bottom: 20px;
}
.hero h1 {
    font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700;
    line-height: 1.2; margin-bottom: 16px;
}
.text-accent { color: var(--accent); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 600px; }

.hero-search {
    background: #fff; border-radius: var(--radius); padding: 8px;
    box-shadow: var(--shadow-lg);
}
.hero-search-row {
    display: flex; gap: 4px; align-items: center;
}
.search-field {
    flex: 1; display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    background: var(--bg-gray);
}
.search-field i { color: var(--text-light); font-size: .85rem; }
.search-field input, .search-field select {
    border: none; background: none; font-size: .9rem;
    color: var(--text); width: 100%; outline: none;
    font-family: var(--font);
}
.hero-search .btn { white-space: nowrap; padding: 14px 28px; }

/* === STATS BAR === */
.stats-bar { background: var(--primary); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); font-family: var(--font-serif); }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1px; }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section--gray { background: var(--bg-gray); }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-tag {
    display: inline-block; font-size: .8rem; font-weight: 600;
    color: var(--accent); text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-header h2 { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

.section-cta { text-align: center; margin-top: 40px; }

/* === PROPERTY GRID === */
.property-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px;
}
.property-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* === PROPERTY CARD === */
.property-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.property-card-image {
    position: relative; display: block; aspect-ratio: 16/10; overflow: hidden;
}
.property-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.property-card:hover .property-card-image img { transform: scale(1.05); }

.property-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; border-radius: 50px;
    font-size: .75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .5px;
}
.property-badge--for_sale { background: var(--success); color: #fff; }
.property-badge--for_rent { background: #3182ce; color: #fff; }
.property-badge--sold { background: var(--danger); color: #fff; }
.property-badge--pending { background: #dd6b20; color: #fff; }
.property-badge--featured { background: var(--accent); color: #fff; left: auto; right: 12px; }
.property-badge--lg { font-size: .85rem; padding: 6px 16px; }

.property-card-body { padding: 20px; }
.property-card-price { font-size: 1.4rem; font-weight: 800; color: var(--primary); font-family: var(--font-serif); }
.property-card-price small { font-size: .65em; font-weight: 500; color: var(--text-light); }
.property-card-title { margin: 6px 0 4px; }
.property-card-title a { color: var(--text); font-size: 1.05rem; font-weight: 600; }
.property-card-title a:hover { color: var(--primary); }
.property-card-location { color: var(--text-light); font-size: .85rem; margin-bottom: 12px; }
.property-card-location i { color: var(--accent); margin-right: 4px; }

.property-card-features {
    display: flex; gap: 16px; padding-top: 12px;
    border-top: 1px solid var(--border); margin-bottom: 12px;
}
.property-card-features span { font-size: .85rem; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.property-card-features i { color: var(--primary); }

.property-card-footer {
    display: flex; justify-content: space-between; align-items: center;
}
.property-type-tag {
    padding: 3px 10px; border-radius: 50px; font-size: .75rem;
    background: var(--bg-gray); color: var(--text-light); font-weight: 500;
}
.property-agent-link {
    display: flex; align-items: center; gap: 6px;
    font-size: .8rem; color: var(--text); font-weight: 500;
}
.property-agent-link img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* === FEATURES GRID === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature-card {
    background: #fff; padding: 32px; border-radius: var(--radius);
    text-align: center; box-shadow: var(--shadow); transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.4rem; color: #fff;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }
.feature-card p { color: var(--text-light); font-size: .9rem; }

/* === AGENTS GRID === */
.agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.agent-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform var(--transition);
    text-decoration: none; color: var(--text);
}
.agent-card:hover { transform: translateY(-4px); color: var(--text); }
.agent-card-photo { aspect-ratio: 1; overflow: hidden; }
.agent-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.agent-card:hover .agent-card-photo img { transform: scale(1.05); }
.agent-card-info { padding: 20px; text-align: center; }
.agent-card-info h3 { font-size: 1.1rem; margin-bottom: 2px; }
.agent-title { color: var(--accent); font-size: .85rem; font-weight: 500; display: block; margin-bottom: 12px; }
.agent-stats { display: flex; justify-content: center; gap: 20px; font-size: .8rem; color: var(--text-light); }
.agent-stats i { color: var(--primary); margin-right: 4px; }

/* === AGENTS DETAIL (INDEX) === */
.agents-detail-grid { display: flex; flex-direction: column; gap: 32px; }
.agent-detail-card {
    display: flex; gap: 32px; background: #fff;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow);
}
.agent-detail-photo { flex: 0 0 280px; }
.agent-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-detail-info { padding: 32px; flex: 1; }
.agent-detail-info h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--primary); margin-bottom: 4px; }
.agent-bio { color: var(--text-light); margin: 12px 0; }
.agent-meta { display: flex; gap: 20px; margin-bottom: 12px; font-size: .85rem; color: var(--text-light); }
.agent-meta i { color: var(--accent); margin-right: 4px; }
.agent-specialties { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.specialty-tag {
    padding: 4px 12px; border-radius: 50px; font-size: .8rem;
    background: rgba(200,169,81,.12); color: var(--accent); font-weight: 500;
}
.agent-actions { display: flex; gap: 12px; }

/* === AGENT PROFILE (SHOW) === */
.agent-profile-header {
    display: flex; gap: 32px; align-items: center;
    padding-bottom: 32px; border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.agent-profile-photo { flex: 0 0 200px; }
.agent-profile-photo img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-lg); }
.agent-profile-info h1 { font-family: var(--font-serif); font-size: 2rem; color: var(--primary); }
.agent-profile-meta { display: flex; flex-wrap: wrap; gap: 20px; margin: 12px 0; font-size: .85rem; color: var(--text-light); }
.agent-profile-meta i { color: var(--accent); margin-right: 4px; }
.agent-profile-contact { display: flex; gap: 12px; margin-top: 16px; }

.agent-profile-body { display: grid; grid-template-columns: 1fr 360px; gap: 32px; margin-bottom: 48px; }
.agent-profile-main h2 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--primary); margin-bottom: 12px; }
.agent-profile-main h3 { font-size: 1.1rem; color: var(--primary); margin: 20px 0 12px; }
.agent-profile-main p { color: var(--text-light); line-height: 1.8; }

.agent-listings { margin-top: 48px; }
.agent-listings h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--primary); margin-bottom: 24px; }

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0f2a47 100%);
    padding: 80px 0; text-align: center;
}
.cta-content h2 { font-family: var(--font-serif); font-size: 2.4rem; color: #fff; margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }

/* === PAGE HERO === */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f2a47 100%);
    padding: 60px 0; text-align: center; color: #fff;
}
.page-hero--small { padding: 48px 0; }
.page-hero h1 { font-family: var(--font-serif); font-size: 2.4rem; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* === BREADCRUMB === */
.breadcrumb {
    display: flex; align-items: center; gap: 10px;
    font-size: .85rem; color: var(--text-light); margin-bottom: 24px;
    padding-top: 24px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: .6rem; }

/* === FILTER BAR === */
.filter-bar {
    background: #fff; border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow); margin-bottom: 32px;
}
.filter-row {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
}
.filter-field { flex: 1; min-width: 140px; }
.filter-field label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.filter-field input, .filter-field select {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: .9rem; font-family: var(--font);
    color: var(--text); background: var(--bg-gray);
}
.filter-field input:focus, .filter-field select:focus { outline: none; border-color: var(--primary); }
.filter-field--btn { display: flex; gap: 8px; min-width: auto; }

.results-header { margin-bottom: 24px; color: var(--text-light); }
.results-header strong { color: var(--text); }

/* === PAGINATION === */
.pagination-wrapper { margin-top: 40px; display: flex; justify-content: center; }
.pagination-wrapper nav { display: flex; gap: 4px; }
.pagination-wrapper .relative { display: inline-flex; }
.pagination-wrapper a, .pagination-wrapper span {
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-size: .9rem; border: 1px solid var(--border);
}
.pagination-wrapper a { color: var(--primary); background: #fff; }
.pagination-wrapper a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination-wrapper span[aria-current] { background: var(--primary); color: #fff; border-color: var(--primary); }

/* === EMPTY STATE === */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state i { font-size: 3rem; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }

/* === PROPERTY DETAIL === */
.property-detail { padding: 0 0 60px; }

.property-gallery { margin-bottom: 32px; }
.gallery-main {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 16/9; max-height: 500px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
    display: flex; gap: 8px; margin-top: 8px; overflow-x: auto;
    padding-bottom: 4px;
}
.gallery-thumb {
    flex: 0 0 100px; height: 70px; border-radius: var(--radius-sm);
    overflow: hidden; cursor: pointer; border: 2px solid transparent;
    background: none; padding: 0;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.property-content-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; }

.property-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
}
.property-header h1 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--primary); }
.property-location { color: var(--text-light); margin-top: 4px; }
.property-location i { color: var(--accent); }

.property-price-box { text-align: right; }
.property-price-label { display: block; font-size: .8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }
.property-price-value { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--accent); }

.property-quick-facts {
    display: flex; flex-wrap: wrap; gap: 16px; padding: 20px;
    background: var(--bg-gray); border-radius: var(--radius-sm); margin-bottom: 24px;
}
.fact {
    display: flex; align-items: center; gap: 8px;
    font-size: .9rem; color: var(--text-light);
}
.fact i { color: var(--accent); font-size: 1rem; }
.fact span { font-weight: 700; color: var(--text); }

.property-description { margin-bottom: 32px; }
.property-description h2 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--primary); margin-bottom: 12px; }
.property-description p, .property-description { color: var(--text-light); line-height: 1.8; }

.property-features { margin-bottom: 32px; }
.property-features h2 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--primary); margin-bottom: 16px; }
.features-list { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; background: var(--bg-gray);
    border-radius: 50px; font-size: .85rem; color: var(--text);
}
.feature-tag i { color: var(--success); font-size: .75rem; }

/* === SIDEBAR === */
.property-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
}
.sidebar-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 4px; }
.sidebar-card-subtitle { color: var(--text-light); font-size: .85rem; margin-bottom: 16px; }

.agent-sidebar-card .agent-sidebar-header {
    display: flex; gap: 12px; align-items: center; margin-bottom: 16px;
}
.agent-sidebar-header img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.agent-sidebar-header h3 { margin: 0; font-size: 1rem; }
.agent-sidebar-header span { font-size: .8rem; color: var(--text-light); }
.agent-sidebar-contact { display: flex; flex-direction: column; gap: 8px; }

/* === FORMS === */
.inquiry-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.required { color: var(--danger); }
.form-group input, .form-group textarea, .form-group select {
    padding: 10px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: .9rem; font-family: var(--font);
    color: var(--text); transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; }
.form-error { color: var(--danger); font-size: .8rem; margin-top: 2px; }

/* === SIMILAR PROPERTIES === */
.similar-properties { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.similar-properties h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--primary); margin-bottom: 24px; }

/* === CONTACT PAGE === */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 32px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; text-align: center;
}
.contact-info-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; color: #fff; font-size: 1.2rem;
}
.contact-info-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; }
.contact-info-card p { color: var(--text-light); font-size: .9rem; }
.contact-info-card a { color: var(--primary); font-weight: 500; }

.contact-form-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px;
}
.contact-form-card h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--primary); margin-bottom: 8px; }
.contact-form-card > p { color: var(--text-light); margin-bottom: 24px; }

/* === TOAST === */
.toast-success {
    position: fixed; top: 84px; right: 20px; z-index: 9999;
    background: var(--success); color: #fff;
    padding: 14px 24px; border-radius: var(--radius-sm);
    display: flex; align-items: center; gap: 10px;
    font-size: .9rem; box-shadow: var(--shadow-lg);
    animation: slideIn .3s ease;
}
.toast-close { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; margin-left: 12px; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* === FOOTER === */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.2rem; color: #fff; margin-bottom: 16px; text-decoration: none;
}
.footer-logo i { color: var(--accent); }
.footer-about p { font-size: .9rem; line-height: 1.7; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6); transition: all var(--transition);
}
.social-links a:hover { background: var(--accent); color: #fff; }

.footer-links h4, .footer-contact h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-links a:hover { color: var(--accent); }

.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .9rem; }
.footer-contact i { color: var(--accent); margin-top: 3px; }

.footer-bottom {
    margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1);
    display: flex; justify-content: space-between; font-size: .85rem;
}
.footer-credit a { color: var(--accent); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .property-content-grid { grid-template-columns: 1fr; }
    .agent-profile-body { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .main-nav {
        display: none; position: fixed; top: 72px; left: 0; right: 0;
        background: #fff; flex-direction: column; gap: 0;
        padding: 8px 0; border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.active { display: flex; }
    .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--border); }

    .hero h1 { font-size: 2rem; }
    .hero-search-row { flex-direction: column; }
    .search-field { width: 100%; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .agent-detail-card { flex-direction: column; }
    .agent-detail-photo { flex: none; height: 240px; }

    .agent-profile-header { flex-direction: column; text-align: center; }
    .agent-profile-contact { justify-content: center; flex-wrap: wrap; }
    .agent-profile-meta { justify-content: center; }

    .property-header { flex-direction: column; }
    .property-price-box { text-align: left; }

    .filter-row { flex-direction: column; }
    .filter-field { min-width: 100%; }

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

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }

    .cta-buttons { flex-direction: column; align-items: center; }

    .section { padding: 48px 0; }
    .section-header h2 { font-size: 1.6rem; }
    .page-hero h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero { min-height: 500px; }
    .hero h1 { font-size: 1.6rem; }
    .property-quick-facts { flex-direction: column; gap: 12px; }
    .agent-actions { flex-direction: column; }
}
