.topbar,
.hero-panel,
.agent-panel,
.property-card,
.showcase-panel,
.empty-state,
.stat-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  padding: 18px 22px;
  border-radius: 24px;
  margin-bottom: 28px;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}

.brand-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 40px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(183, 139, 61, 0.14), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(15, 23, 42, 0.08), transparent 22%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(183, 139, 61, 0.12);
  border: 1px solid rgba(183, 139, 61, 0.20);
  color: #8a672b;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
  max-width: 760px;
}

.hero-title .accent {
  color: var(--gold);
}

.hero-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-side-card {
  align-self: stretch;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.96) 100%);
  color: white;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.hero-side-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
  font-weight: 700;
}

.hero-side-value {
  margin: 12px 0 0;
  font-size: 1.95rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-side-text {
  margin-top: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  font-size: 0.97rem;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.stat-card {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255,255,255,0.78);
}

.stat-value {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.stat-label {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-head {
  margin-bottom: 20px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.section-text {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 760px;
}

.agent-panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.agent-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.agent-avatar {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f3f4f6;
  box-shadow: var(--shadow-sm);
}

.agent-name {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.agent-role {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.agent-headline {
  margin: 14px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
}

.agent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  appearance: none;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  color: white;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.btn-secondary {
  background: rgba(255,255,255,0.85);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-whatsapp {
  background: linear-gradient(180deg, #2ce377 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover {
  background: linear-gradient(180deg, #29d96f 0%, var(--accent-dark) 100%);
}

.showcase-panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.property-card {
  overflow: hidden;
  border-radius: 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(183, 139, 61, 0.22);
}

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #dbe2ea 0%, #eef2f7 100%);
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.24) 100%);
  pointer-events: none;
}

.property-body {
  padding: 22px;
}

.property-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(183, 139, 61, 0.08);
  color: #8a672b;
}

.property-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.property-location {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.property-price {
  margin: 16px 0 0;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.property-description {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.68;
  font-size: 0.95rem;
  min-height: 72px;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.empty-state {
  border-radius: 28px;
  padding: 36px;
  text-align: center;
}

.footer-note {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero-grid,
  .agent-main,
  .property-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .agent-panel,
  .showcase-panel {
    padding: 24px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .agent-avatar {
    width: 92px;
    height: 92px;
  }
}

/* =========================
   THEME: BLACK GOLD
========================= */

body[data-theme="black-gold"] {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.10), transparent 22%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 16%),
    linear-gradient(180deg, #0b0b0c 0%, #111214 45%, #17181b 100%);
  color: #f5f1e8;
}

body[data-theme="black-gold"] .topbar,
body[data-theme="black-gold"] .hero-panel,
body[data-theme="black-gold"] .agent-panel,
body[data-theme="black-gold"] .property-card,
body[data-theme="black-gold"] .showcase-panel,
body[data-theme="black-gold"] .empty-state,
body[data-theme="black-gold"] .stat-card,
body[data-theme="black-gold"] .footer-note {
  background: rgba(18, 18, 20, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  color: #f5f1e8;
}

body[data-theme="black-gold"] .brand-kicker,
body[data-theme="black-gold"] .section-kicker,
body[data-theme="black-gold"] .hero-kicker,
body[data-theme="black-gold"] .accent {
  color: #d4af37;
}

body[data-theme="black-gold"] .hero-kicker {
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid rgba(212, 175, 55, 0.20);
}

body[data-theme="black-gold"] .brand-subtitle,
body[data-theme="black-gold"] .section-text,
body[data-theme="black-gold"] .hero-text,
body[data-theme="black-gold"] .agent-role,
body[data-theme="black-gold"] .agent-headline,
body[data-theme="black-gold"] .property-location,
body[data-theme="black-gold"] .property-description,
body[data-theme="black-gold"] .footer-note,
body[data-theme="black-gold"] .stat-label {
  color: rgba(245, 241, 232, 0.72);
}

body[data-theme="black-gold"] .hero-side-card {
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.98) 0%, rgba(20, 20, 22, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.14);
  color: #f5f1e8;
}

body[data-theme="black-gold"] .hero-side-label {
  color: rgba(212, 175, 55, 0.72);
}

body[data-theme="black-gold"] .property-price,
body[data-theme="black-gold"] .agent-name,
body[data-theme="black-gold"] .property-title,
body[data-theme="black-gold"] .section-title,
body[data-theme="black-gold"] .brand-title,
body[data-theme="black-gold"] .hero-title,
body[data-theme="black-gold"] .stat-value {
  color: #fff8ea;
}

body[data-theme="black-gold"] .badge,
body[data-theme="black-gold"] .meta-pill {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.14);
  color: #f0d98b;
}

body[data-theme="black-gold"] .btn-primary {
  background: linear-gradient(180deg, #d4af37 0%, #a67c1f 100%);
  color: #111214;
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.22);
}

body[data-theme="black-gold"] .btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #f5f1e8;
  border: 1px solid rgba(212, 175, 55, 0.16);
}

body[data-theme="black-gold"] .btn-secondary:hover {
  background: rgba(212, 175, 55, 0.08);
}

body[data-theme="black-gold"] .btn-whatsapp {
  background: linear-gradient(180deg, #2ee57a 0%, #1fb85b 100%);
  color: white;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.22);
}

body[data-theme="black-gold"] .property-card:hover {
  border-color: rgba(212, 175, 55, 0.24);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.40);
}

body[data-theme="black-gold"] .property-media {
  background: linear-gradient(135deg, #1c1d20 0%, #2a2b30 100%);
}