/* ============================================================
   apartamentosmodernos.com — Estilo inspirado en Fotocasa
   Colors: #303ab2 primary, #1a237e dark, #eef2ff light
   Font: Inter (Google Fonts)
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111827;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select { font-family: inherit; }

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

/* --- Typography --- */
h1 { font-size: 2.75rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: #6b7280; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { font-size: 1.1rem; color: #6b7280; max-width: 600px; margin: 0 auto; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: #303ab2;
    color: #fff;
}
.btn-primary:hover { background: #1a237e; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(48,58,178,0.3); }
.btn-outline {
    background: transparent;
    color: #303ab2;
    border: 2px solid #303ab2;
}
.btn-outline:hover { background: #303ab2; color: #fff; }
.btn-white {
    background: #fff;
    color: #303ab2;
}
.btn-white:hover { background: #eef2ff; }
.btn-amber {
    background: #f59e0b;
    color: #fff;
}
.btn-amber:hover { background: #d97706; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; border-radius: 10px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #303ab2;
}
.header .logo-icon {
    width: 40px;
    height: 40px;
    background: #303ab2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}
.header nav { display: flex; align-items: center; gap: 32px; }
.header nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s;
    position: relative;
}
.header nav a:hover,
.header nav a.active { color: #303ab2; }
.header nav a.active::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: #303ab2;
    border-radius: 3px 3px 0 0;
}
.header .header-actions { display: flex; align-items: center; gap: 12px; }
.header .header-actions .btn-entrar {
    background: transparent;
    color: #303ab2;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    padding: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a237e 0%, #303ab2 50%, #4338ca 100%);
    color: #fff;
    padding: 80px 0 100px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=1920&q=80') center/cover no-repeat;
    opacity: 0.15;
}
.hero-content { position: relative; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 12px; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; }

/* Search box */
.search-box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}
.search-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}
.search-tabs button {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    position: relative;
    transition: color 0.2s;
}
.search-tabs button:hover { color: #303ab2; }
.search-tabs button.active {
    color: #303ab2;
}
.search-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #303ab2;
}
.search-body {
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.search-body .search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.search-body .search-input-group .icon {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    font-size: 1.1rem;
}
.search-body input[type="text"] {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.search-body input[type="text"]:focus {
    border-color: #303ab2;
}
.search-body .search-btn {
    padding: 14px 32px;
    background: #303ab2;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
}
.search-body .search-btn:hover { background: #1a237e; }

/* Quick search links */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    position: relative;
}
.quick-links span { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.quick-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
}
.quick-links a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

/* ============================================================
   PROPERTY TYPES SECTION
   ============================================================ */
.property-types {
    padding: 80px 0;
    background: #f9fafb;
}
.property-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.property-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.25s;
    cursor: pointer;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #303ab2;
}
.property-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #eef2ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #303ab2;
    transition: all 0.25s;
}
.property-card:hover .icon { background: #303ab2; color: #fff; }
.property-card h3 { font-size: 1rem; color: #111827; margin-bottom: 4px; }
.property-card p { font-size: 0.85rem; color: #6b7280; }

/* ============================================================
   POPULAR ZONES
   ============================================================ */
.popular-zones {
    padding: 80px 0;
}
.zones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.zone-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    transition: all 0.3s;
}
.zone-card:hover { transform: scale(1.03); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.zone-card .zone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zone-card .zone-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}
.zone-card .zone-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}
.zone-card .zone-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.zone-card .zone-info p { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* ============================================================
   BLOG SECTION (Home)
   ============================================================ */
.blog-section {
    padding: 80px 0;
    background: #f9fafb;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.blog-card .blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-card .blog-body {
    padding: 24px;
}
.blog-card .blog-cat {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #303ab2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.blog-card .blog-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #111827;
}
.blog-card .blog-body p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}
.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ============================================================
   WHY SECTION (Trust)
   ============================================================ */
.why-section {
    padding: 80px 0;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.why-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.why-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #eef2ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #303ab2;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #1a237e;
    color: #fff;
    padding: 60px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer h4 { font-size: 1rem; margin-bottom: 20px; color: #fff; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer ul li a:hover { color: #fff; }

/* SEO Footer Links */
.seo-footer {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.seo-footer h4 { font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.seo-footer .seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.seo-footer .seo-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.seo-footer .seo-links a:hover { color: #fff; }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom-links a:hover { color: #fff; }

/* ============================================================
   BLOG LIST PAGE
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, #1a237e, #303ab2);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-top: 8px; }

.blog-list-page {
    padding: 60px 0;
}
.blog-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}
.blog-list { display: flex; flex-direction: column; gap: 32px; }
.blog-list-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}
.blog-list-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.blog-list-item .item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-list-item .item-body { padding: 24px 24px 24px 0; }
.blog-list-item .item-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.blog-list-item .item-body p { font-size: 0.9rem; margin-bottom: 16px; }

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}
.sidebar-card h4 { margin-bottom: 16px; color: #111827; }
.sidebar-card ul li { margin-bottom: 12px; }
.sidebar-card ul li a {
    color: #303ab2;
    font-size: 0.9rem;
    font-weight: 500;
}
.sidebar-card ul li a:hover { text-decoration: underline; }

/* ============================================================
   BLOG ARTICLE PAGE
   ============================================================ */
.article-page {
    padding: 60px 0;
}
.article-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}
.article-content h1 { font-size: 2.2rem; margin-bottom: 16px; }
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}
.article-body { font-size: 1.05rem; line-height: 1.8; color: #374151; }
.article-body h2 { font-size: 1.6rem; margin: 40px 0 16px; color: #111827; }
.article-body h3 { font-size: 1.25rem; margin: 32px 0 12px; color: #111827; }
.article-body p { margin-bottom: 16px; color: #374151; }
.article-body ul, .article-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.article-body ul li, .article-body ol li {
    margin-bottom: 8px;
    list-style: disc;
}
.article-body ol li { list-style: decimal; }
.article-body strong { font-weight: 600; color: #111827; }
.article-cta {
    background: #eef2ff;
    border-radius: 12px;
    padding: 32px;
    margin-top: 40px;
    text-align: center;
    border: 2px solid #303ab2;
}
.article-cta h3 { margin-bottom: 8px; color: #303ab2; }
.article-cta p { margin-bottom: 20px; }

/* ============================================================
   CONTACT / PUBLISH PAGE
   ============================================================ */
.contact-page { padding: 60px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info .info-item .icon {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #303ab2;
    flex-shrink: 0;
}
.contact-info .info-item h4 { margin-bottom: 4px; }
.contact-info .info-item p { font-size: 0.9rem; margin-bottom: 0; }

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 20px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #303ab2;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
    text-align: center;
    padding: 100px 0;
}
.page-404 h1 { font-size: 6rem; color: #303ab2; margin-bottom: 8px; }
.page-404 h2 { margin-bottom: 16px; }
.page-404 p { margin-bottom: 32px; }

/* ============================================================
   PROPERTY LISTING PAGE
   ============================================================ */
.prop-list-page { padding: 60px 0; }

/* Filter Bar */
.prop-filters {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.prop-filters .filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}
.prop-filters .filter-group { flex: 1; min-width: 160px; }
.prop-filters .filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.prop-filters .filter-group select,
.prop-filters .filter-group input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
}
.prop-filters .filter-group select:focus,
.prop-filters .filter-group input:focus { border-color: #303ab2; }
.prop-filters .filter-btn {
    padding: 10px 24px;
    background: #303ab2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s;
}
.prop-filters .filter-btn:hover { background: #1a237e; }

/* Property Listing Grid */
.prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.prop-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.25s;
    display: block;
    color: inherit;
}
.prop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #303ab2;
}
.prop-card .prop-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.prop-card .prop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.prop-card:hover .prop-img { transform: scale(1.05); }
.prop-card .prop-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.prop-badge.venta { background: #303ab2; color: #fff; }
.prop-badge.alquiler { background: #f59e0b; color: #fff; }
.prop-card .prop-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.prop-card .prop-fav:hover { background: #fee2e2; }
.prop-card .prop-body { padding: 20px; }
.prop-card .prop-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #303ab2;
    margin-bottom: 4px;
}
.prop-card .prop-price .price-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: #6b7280;
}
.prop-card .prop-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}
.prop-card .prop-zone {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 12px;
}
.prop-card .prop-features {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}
.prop-card .prop-features span {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================================
   PROPERTY DETAIL PAGE
   ============================================================ */
.prop-detail-page { padding: 40px 0; }

/* Gallery */
.prop-gallery {
    margin-bottom: 40px;
}
.prop-gallery .gallery-main {
    position: relative;
    height: 450px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
}
.prop-gallery .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prop-gallery .gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.prop-gallery .gallery-thumbs img {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.prop-gallery .gallery-thumbs img:hover,
.prop-gallery .gallery-thumbs img.active { border-color: #303ab2; }

/* Detail Layout */
.prop-detail-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}
.prop-detail-main h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}
.prop-detail-main .prop-price-big {
    font-size: 2rem;
    font-weight: 700;
    color: #303ab2;
    margin-bottom: 24px;
}
.prop-detail-main .prop-price-big .price-label {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}
.prop-detail-main .prop-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.prop-detail-main .highlight-item {
    text-align: center;
}
.prop-detail-main .highlight-item .num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}
.prop-detail-main .highlight-item .label {
    font-size: 0.85rem;
    color: #6b7280;
}
.prop-detail-main .prop-section {
    margin-bottom: 32px;
}
.prop-detail-main .prop-section h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}
.prop-detail-main .prop-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}
.prop-detail-main .feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.prop-detail-main .feature-list li {
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Agent Sidebar */
.prop-agent-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.prop-agent-card .agent-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    background: #eef2ff;
}
.prop-agent-card .agent-name {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.prop-agent-card .agent-role {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 20px;
}
.prop-agent-card .agent-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.prop-agent-card .agent-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.prop-agent-card .btn-whatsapp {
    background: #25d366;
    color: #fff;
}
.prop-agent-card .btn-whatsapp:hover { background: #1da851; }
.prop-agent-card .btn-email-agent {
    background: #eef2ff;
    color: #303ab2;
    border: 2px solid #303ab2;
}
.prop-agent-card .btn-email-agent:hover { background: #303ab2; color: #fff; }
.prop-agent-card .prop-meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}
.prop-agent-card .prop-meta li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
    color: #6b7280;
}
.prop-agent-card .prop-meta li strong { color: #111827; }

/* Similar Properties */
.similar-section { padding: 60px 0; background: #f9fafb; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .property-grid { grid-template-columns: repeat(3, 1fr); }
    .zones-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .header nav { display: none; }
    .menu-toggle { display: block; }
    .header .header-actions .btn { display: none; }
    
    .hero { padding: 60px 0 80px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    
    .search-body { flex-direction: column; }
    .search-body .search-btn { width: 100%; }
    
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .zones-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    
    .blog-layout { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .blog-list-item { grid-template-columns: 1fr; }
    .blog-list-item .item-body { padding: 16px; }
    
    .contact-grid { grid-template-columns: 1fr; }
    
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
