/* ===================================================
   ImóvelPrime - Stylesheet Principal v2 (Premium)
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --gold:       #b8973a;
  --gold-light: #d4af5a;
  --gold-pale:  #f5edd8;
  --dark:       #1a1a2e;
  --dark-2:     #16213e;
  --charcoal:   #2c2c3e;
  --text:       #3d3d4e;
  --text-light: #7a7a8c;
  --border:     #e8e4dc;
  --bg:         #fafaf8;
  --white:      #ffffff;
  --success:    #2e7d32;
  --danger:     #c62828;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 2px 16px rgba(26,26,46,0.07);
  --shadow-md:  0 6px 28px rgba(26,26,46,0.11);
  --shadow-lg:  0 16px 52px rgba(26,26,46,0.15);
  --trans:      all 0.3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; color: var(--dark); line-height: 1.2; }
a { color: var(--gold); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-title { font-size: clamp(1.5rem, 4vw, 2.4rem); color: var(--dark); margin-bottom: 8px; }
.section-subtitle { color: var(--text-light); font-size: 0.95rem; margin-bottom: 32px; }
.gold-line { display: inline-block; width: 40px; height: 3px; background: var(--gold); margin: 8px 0 16px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.92rem;
  cursor: pointer; border: 2px solid transparent; transition: var(--trans); white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-whatsapp { background: #25d366; color: var(--white); border-color: #25d366; }
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-sm { padding: 7px 14px; font-size: 0.83rem; }
.btn-lg { padding: 14px 30px; font-size: 0.97rem; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,151,58,0.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; padding: 0 16px;
}
.site-logo {
  font-family: 'Playfair Display', serif; font-size: 1.25rem;
  color: var(--white) !important;
  display: flex; align-items: center; gap: 10px;
}
.site-logo span { color: var(--gold); }
.site-logo img { height: 72px; object-fit: contain; flex-shrink: 0; }
.site-logo-name { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; white-space: nowrap; }

.nav-links {
  display: none; list-style: none; flex-direction: column;
  position: absolute; top: 60px; left: 0; right: 0;
  background: var(--dark); padding: 10px 20px 18px; gap: 0;
  border-bottom: 2px solid rgba(184,151,58,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 999;
}
.nav-links.open { display: flex; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 0.97rem; font-weight: 500;
  padding: 12px 8px; display: block;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-links li:last-child a { border-bottom: none; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { margin-top: 4px; }
.nav-cta a {
  background: var(--gold) !important; color: var(--white) !important;
  border-radius: var(--radius); padding: 10px 16px !important;
  border-bottom: none !important;
  display: flex !important; align-items: center; gap: 8px; justify-content: center;
}

.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; margin: -8px; position: relative; z-index: 1001; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hamburger * { pointer-events: none; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: var(--trans); display: block; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(10,10,30,0.78) 0%, rgba(15,30,60,0.70) 50%, rgba(10,20,50,0.76) 100%),
    url("../img/hero-bg.jpg") center center / cover no-repeat;
  overflow: hidden; padding: 80px 0 40px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(184,151,58,0.06) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.hero-title { font-size: clamp(1.9rem, 6vw, 3.6rem); color: var(--white); margin-bottom: 14px; line-height: 1.1; }
.hero-title em { color: var(--gold); font-style: normal; }
.hero-subtitle { font-size: 0.97rem; color: rgba(255,255,255,0.72); margin-bottom: 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { flex: 1; min-width: 140px; }

/* SEARCH BAR */
.search-bar {
  background: var(--white); border-radius: var(--radius-lg); padding: 20px 16px;
  box-shadow: var(--shadow-lg); margin-top: -28px; position: relative; z-index: 10;
}
.search-bar-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 12px; }
.search-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.form-control {
  padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem; color: var(--text);
  background: var(--bg); transition: var(--trans); width: 100%; -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,151,58,0.12); }

/* ── PROPERTY CARDS PREMIUM ──────────────────── */
.property-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.property-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--trans); position: relative;
  display: flex; flex-direction: column;
  border: 1px solid rgba(232,228,220,0.6);
}
.property-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.property-card-image { position: relative; height: 220px; overflow: hidden; background: #f0ece4; }
.property-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
.property-card:hover .property-card-image img { transform: scale(1.05); }

.property-badge {
  position: absolute; bottom: 12px; left: 12px;
  padding: 5px 11px; border-radius: 6px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-venda { background: var(--gold); color: var(--white); }
.badge-aluguel { background: var(--dark); color: var(--white); }

.property-price-badge {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(26,26,46,0.85); color: var(--white);
  padding: 6px 12px; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.97rem;
  letter-spacing: -0.3px;
  backdrop-filter: blur(4px);
}

.property-selos-overlay {
  position: absolute; top: 10px; left: 0; right: 0;
  display: flex; flex-wrap: wrap; gap: 5px; padding: 0 10px;
  z-index: 3;
}
.selo-tag {
  font-size: 0.63rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 3px 8px; border-radius: 4px; color: #fff;
  white-space: nowrap;
}

.badge-featured {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,0.95); color: var(--gold);
  padding: 4px 9px; border-radius: 6px; font-size: 0.67rem; font-weight: 700;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.property-card-body { padding: 14px 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.property-code { font-size: 0.7rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; }
.property-title { font-family: 'Playfair Display', serif; font-size: 1.03rem; color: var(--dark); line-height: 1.3; font-weight: 600; }
.property-title a { color: inherit; }
.property-title a:hover { color: var(--gold); }
.property-location { font-size: 0.78rem; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.property-features {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding: 10px 0; border-top: 1px solid var(--border); margin-top: 2px;
}
.feature-item { display: flex; align-items: center; gap: 5px; font-size: 0.79rem; color: var(--text); font-weight: 500; }
.feature-item i { color: var(--gold); font-size: 0.8rem; }

/* Corretor no card */
.card-broker {
  padding: 11px 16px 14px;
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.card-broker-avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold-pale); flex-shrink: 0; background: var(--border);
}
.card-broker-info { flex: 1; min-width: 0; }
.card-broker-name { font-weight: 600; font-size: 0.83rem; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-broker-creci { font-size: 0.7rem; color: var(--gold); font-weight: 500; }
.card-broker-wa {
  background: #25d366; color: #fff !important; border-radius: 8px;
  padding: 6px 11px; font-size: 0.76rem; font-weight: 600;
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
  flex-shrink: 0; transition: var(--trans);
}
.card-broker-wa:hover { background: #1ebe5d; }

/* ── SELOS DE STATUS (VENDIDO/ALUGADO/RESERVADO) ─ */
.status-stamp {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background: transparent;
  border: 4px solid #fff;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
}
.status-stamp-vendido   { border-color: #e53935; color: #e53935; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.status-stamp-alugado   { border-color: #1565c0; color: #1565c0; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.status-stamp-reservado { border-color: #f57f17; color: #f57f17; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.property-card-image.is-closed { filter: brightness(0.6); }
.property-card.is-closed { cursor: default; }
.property-card.is-closed .property-card-image img { filter: grayscale(30%); }

/* ── CARROSSEL ───────────────────────────────── */
.carousel-outer { position: relative; padding: 0 4px; }
.carousel-wrapper { overflow: hidden; }
.carousel-track {
  display: flex; gap: 18px;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel-track .property-card { flex: 0 0 calc(100% - 4px); min-width: 0; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(26,26,46,0.15); z-index: 10;
  color: var(--dark); font-size: 1rem; transition: var(--trans);
}
.carousel-btn:hover { background: var(--gold); color: var(--white); }
.carousel-btn-prev { left: -18px; }
.carousel-btn-next { right: -18px; }
.carousel-btn:disabled { opacity: 0.35; pointer-events: none; }

.carousel-dots {
  display: flex; justify-content: center; gap: 7px; margin-top: 20px;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer; transition: var(--trans); padding: 0;
}
.carousel-dot.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* FILTER SIDEBAR */
.filter-sidebar { background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.filter-title { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.filter-section { margin-bottom: 16px; }
.filter-section label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); margin-bottom: 7px; }

/* LISTING */
.listing-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
.listing-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.listing-count { color: var(--text-light); font-size: 0.87rem; }

/* PROPERTY DETAIL */
.property-gallery-main {
  width: 100%; height: 280px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--border); margin-bottom: 10px; position: relative;
}
.property-gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #1a1a1a; transition: opacity 0.3s; }

.gallery-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 10;
  color: var(--dark); font-size: 1.05rem; transition: var(--trans);
}
.gallery-nav-btn:hover { background: var(--gold); color: var(--white); }
.gallery-nav-prev { left: 12px; }
.gallery-nav-next { right: 12px; }

.gallery-selos-overlay {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-wrap: wrap; gap: 6px; z-index: 5;
}

.gallery-thumbs { display: none !important; }
.gallery-thumb { width: 68px; height: 52px; border-radius: 8px; overflow: hidden; cursor: pointer; flex-shrink: 0; opacity: 0.65; transition: var(--trans); border: 2px solid transparent; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-md); }
.detail-price { font-family: 'DM Sans', sans-serif; font-size: 1.3rem; color: #1a1a2e; font-weight: 700; margin-bottom: 3px; }
.detail-code { font-size: 0.75rem; color: var(--text-light); margin-bottom: 14px; }

.broker-card-detail {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border);
  margin-top: 12px;
}
.broker-detail-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--border); flex-shrink: 0; border: 2px solid var(--gold-pale); }
.broker-detail-name { font-weight: 600; font-size: 0.92rem; color: var(--dark); }
.broker-detail-creci { font-size: 0.78rem; color: var(--gold); font-weight: 500; }

/* CONTACT / FORMS */
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 20px 16px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-group { margin-bottom: 13px; }
.form-group label { display: block; margin-bottom: 4px; font-size: 0.85rem; font-weight: 500; }

/* BROKERS */
.brokers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.broker-card-full { background: var(--white); border-radius: var(--radius-lg); padding: 18px 12px; text-align: center; box-shadow: var(--shadow); }
.broker-photo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--gold-pale); background: var(--border); }
.broker-card-full h4 { font-size: 0.92rem; margin-bottom: 4px; }
.broker-card-full p { font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px; line-height: 1.4; }
.broker-contacts { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* FOOTER */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.72); padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--white); margin-bottom: 10px; display: block; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: 0.84rem; line-height: 1.6; }
.footer-heading { font-family: 'Playfair Display', serif; color: var(--white); font-size: 0.93rem; margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { font-size: 0.84rem; margin-bottom: 8px; display: flex; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; display: flex; flex-direction: column; gap: 6px; text-align: center; font-size: 0.8rem; }

/* BADGES */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 5px; font-size: 0.72rem; font-weight: 700; }
.badge-success { background: #e8f5e9; color: var(--success); }
.badge-primary { background: #e3f2fd; color: #1565c0; }
.badge-warning { background: #fff8e1; color: #f57f17; }
.badge-danger  { background: #ffebee; color: var(--danger); }
.badge-secondary { background: #f5f5f5; color: #757575; }

/* ALERTS */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.87rem; border-left: 4px solid; }
.alert-success { background: #e8f5e9; border-color: var(--success); color: var(--success); }
.alert-danger  { background: #ffebee; border-color: var(--danger); color: var(--danger); }
.alert-info    { background: #e3f2fd; border-color: #1565c0; color: #1565c0; }

/* PAGE BANNER */
.page-banner { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); padding: 88px 0 36px; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 60% 40%, rgba(184,151,58,0.1) 0%, transparent 60%); }
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); font-size: clamp(1.6rem, 5vw, 2.8rem); margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,0.68); font-size: 0.93rem; }

/* PAGINATION */
.no-results { text-align: center; padding: 60px 20px; color: var(--text-light); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); border: 1.5px solid var(--border); color: var(--text); font-size: 0.9rem; transition: var(--trans); }
.page-link:hover, .page-link.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ════ TABLET 600px+ ════ */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track .property-card { flex: 0 0 calc(50% - 9px); }
  .property-gallery-main { height: 360px; }
  .brokers-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 28px; }
}

/* ════ DESKTOP 900px+ ════ */
@media (min-width: 900px) {
  .container { padding: 0 32px; }
  .section { padding: 80px 0; }
  .header-inner { height: 80px; padding: 0; }
  .site-logo { font-size: 1.4rem; }
  .hamburger { display: none; }
  .nav-links {
    display: flex !important; flex-direction: row;
    position: static; background: none; padding: 0; gap: 26px;
    border: none; box-shadow: none;
  }
  .nav-links li { width: auto; }
  .nav-links a { color: rgba(255,255,255,0.82); font-size: 0.9rem; padding: 0; border-bottom: none; display: inline; }
  .nav-cta { margin-top: 0; }
  .nav-cta a { display: inline-flex !important; padding: 8px 18px !important; margin-top: 0; }
  .hero { padding: 68px 0 56px; min-height: 85vh; }
  .search-bar { padding: 24px 28px; margin-top: -52px; }
  .search-grid { grid-template-columns: repeat(5, 1fr); }
  .listing-layout { grid-template-columns: 268px 1fr; gap: 28px; }
  .filter-sidebar { position: sticky; top: 86px; }
  .property-gallery-main { height: 500px; }
  .property-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel-track .property-card { flex: 0 0 calc(33.333% - 12px); }
  .brokers-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .section-subtitle { margin-bottom: 44px; }
  .detail-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); }
  .contact-form { padding: 28px; }
  .detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
  .carousel-btn-prev { left: -20px; }
  .carousel-btn-next { right: -20px; }
}
