/* ═══════════════════════════════════════════════════════
   BECK ESTATES — MAIN STYLESHEET
   Brand: Gold #C9A84C | Black #0D0D0D | Charcoal #1A1A1A
═══════════════════════════════════════════════════════ */

/* Global mobile overflow prevention */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }

:root {
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #A8863A;
  --gold-glow:   rgba(201,168,76,0.25);
  --black:       #0D0D0D;
  --charcoal:    #1A1A1A;
  --charcoal-md: #252525;
  --charcoal-lt: #2E2E2E;
  --off-white:   #F5F5F0;
  --muted:       #9A9A8A;
  --border:      rgba(201,168,76,0.18);
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Montserrat', sans-serif;
  --transition:   0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── CONTAINER ───────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ── TOP BAR ─────────────────────────────────────────── */
.topbar {
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar a { color: var(--muted); transition: color var(--transition); }
.topbar a:hover { color: var(--gold); }
.topbar i { margin-right: 5px; color: var(--gold); font-size: 11px; }
.agent-login-link {
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.7); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; width: auto; }
.logo-text { display: none; } /* Hidden — text is part of the logo image */
.logo-name { display: none; }
.logo-sub  { display: none; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--off-white);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 10px 20px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); transition: all 0.3s; }

/* ── MOBILE NAV ──────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: rgba(13,13,13,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0 0 32px;
  gap: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--off-white);
  transition: color var(--transition);
  letter-spacing: 0.05em;
  padding: 10px 20px;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-sizing: border-box;
  display: block;
  line-height: 1.5;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-agent-link { color: var(--gold) !important; font-size: 18px !important; }
.mobile-nav-close {
  display: block;
  align-self: flex-end;
  background: none; border: none;
  color: var(--muted); font-size: 26px; cursor: pointer;
  padding: 18px 22px 12px;
  position: static;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 22px var(--gold-glow); }
.btn-outline { background: transparent; color: var(--off-white); border: 1px solid rgba(255,255,255,0.28); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--gold); padding: 15px 38px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; display: inline-block; transition: all var(--transition); }
.btn-dark:hover { background: var(--charcoal); transform: translateY(-2px); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(13,13,13,0.80) 0%, rgba(13,13,13,0.45) 55%, rgba(13,13,13,0.72) 100%),
    url('hero-bg.jpg') center/cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black) 0%, transparent 45%);
}
.hero-container {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  gap: 60px; width: 100%;
  padding-top: 60px; padding-bottom: 80px;
}
.hero-content { max-width: 680px; animation: fadeUp 0.9s ease 0.2s both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
.hero-tag::before { content:''; width:36px; height:1px; background:var(--gold); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 300; line-height: 1.06;
  color: var(--off-white); margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: 15px; color: var(--muted); max-width: 460px; font-weight: 300; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 2px;
  animation: fadeUp 0.9s ease 0.5s both;
  align-self: flex-start;
}
.stat-box {
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 22px 30px; text-align: center;
}
.stat-box:first-child { border-left: 3px solid var(--gold); }
.stat-num { font-family: var(--font-display); font-size: 38px; color: var(--gold); line-height: 1; font-weight: 600; }
.stat-lbl { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* ── SEARCH ──────────────────────────────────────────── */
.search-section {
  background: var(--charcoal);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 5;
}
.search-tabs { display: flex; border-bottom: 1px solid var(--border); }
.search-tab {
  padding: 15px 30px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  border: none; border-bottom: 3px solid transparent;
  background: none; margin-bottom: -1px;
  font-family: var(--font-body);
  transition: color var(--transition), border-color var(--transition);
}
.search-tab.active, .search-tab:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Desktop search bar */
.search-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 20px 0;
}
.search-field { width: 100%; }
.search-field label {
  display: block; font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px; font-weight: 600;
}
.search-field select,
.search-field input {
  width: 100%; background: var(--charcoal-lt);
  border: 1px solid var(--border); color: var(--off-white);
  padding: 13px 14px; font-family: var(--font-body); font-size: 13px;
  outline: none; transition: border-color var(--transition);
  -webkit-appearance: none;
}
.search-field select:focus,
.search-field input:focus { border-color: var(--gold); }
.search-field select option { background: var(--charcoal); }
.search-btn {
  background: var(--gold); color: var(--black);
  border: none; padding: 13px 28px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; transition: all var(--transition);
  display: flex; align-items: center; gap: 8px; width: 100%;
  justify-content: center;
}
.search-btn:hover { background: var(--gold-light); }

/* Mobile search — clean stacked layout */
@media (max-width: 768px) {
  .search-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 0;
  }
  /* Location spans full width */
  .search-bar .search-field:first-child {
    grid-column: 1 / -1;
  }
  /* Search button spans full width */
  .search-bar .search-btn {
    grid-column: 1 / -1;
    padding: 15px;
    font-size: 13px;
  }
  .search-tab {
    padding: 12px 20px;
    font-size: 11px;
  }
}

/* ── SECTIONS ────────────────────────────────────────── */
section { padding: 90px 0; }
.section-label {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.section-label::before { content:''; width:38px; height:1px; background:var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; line-height: 1.1; color: var(--off-white); margin-bottom: 10px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { color: var(--muted); font-size: 14px; font-weight: 300; max-width: 500px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.view-all {
  color: var(--gold); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  transition: gap var(--transition); white-space: nowrap;
}
.view-all:hover { gap: 14px; }

/* ── PROPERTY CARDS ──────────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
}
.prop-card {
  background: var(--charcoal);
  display: flex; flex-direction: column;
  transition: transform 0.3s; overflow: hidden;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.5); }
.prop-card:hover .prop-img-placeholder { opacity: 0.8; }

.prop-img { position: relative; height: 238px; overflow: hidden; }
.prop-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s; }
.prop-card:hover .prop-img img { transform: scale(1.07); }
.prop-img-placeholder {
  width:100%; height:100%;
  background: linear-gradient(135deg, var(--charcoal-lt), var(--charcoal-md));
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s;
}
.prop-img-placeholder i { font-size: 52px; color: var(--border); }

.prop-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px;
}
.prop-badge.sale { background: var(--gold); color: var(--black); }
.prop-badge.rent { background: var(--charcoal); color: var(--gold); border: 1px solid var(--gold); }

.prop-save {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(13,13,13,0.65);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted); font-size: 13px;
  transition: all var(--transition);
}
.prop-save:hover { color: var(--gold); border-color: var(--gold); }

.prop-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.prop-price { font-family: var(--font-display); font-size: 26px; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.prop-per { font-size: 13px; color: var(--muted); font-weight: 300; font-family: var(--font-body); }
.prop-title { font-size: 15px; font-weight: 600; color: var(--off-white); margin-bottom: 5px; }
.prop-location { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-bottom: 16px; }
.prop-location i { color: var(--gold); font-size: 11px; }
.prop-divider { height: 1px; background: var(--border); margin-bottom: 16px; }
.prop-features { display: flex; gap: 16px; flex-wrap: wrap; }
.prop-feat { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.prop-feat i { color: var(--gold); font-size: 12px; }

.prop-agent-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--border); margin-top: 16px;
}
.prop-agent-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--charcoal-lt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; color: var(--gold);
  flex-shrink: 0;
}
.prop-agent-name { font-size: 12px; color: var(--off-white); font-weight: 600; }
.prop-agent-role { font-size: 10px; color: var(--muted); }
.prop-call {
  margin-left: auto; width: 34px; height: 34px;
  background: var(--gold-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 13px; transition: all var(--transition);
}
.prop-call:hover { background: var(--gold); color: var(--black); }

/* ── WHY SECTION ─────────────────────────────────────── */
.why-section { background: var(--charcoal); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-visual { position: relative; }
.why-img-box {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--charcoal-lt), var(--charcoal-md));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.why-img-box i { font-size: 90px; color: var(--border); }
.why-img-box img { width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute; bottom: -28px; right: -28px;
  width: 190px; height: 190px;
  background: var(--gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.why-badge-num { font-family: var(--font-display); font-size: 54px; color: var(--black); font-weight: 700; line-height: 1; }
.why-badge-lbl { font-size: 11px; font-weight: 700; color: var(--black); letter-spacing: 0.1em; text-transform: uppercase; }

.why-features { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.why-feat { display: flex; gap: 18px; align-items: flex-start; }
.why-feat-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: var(--gold);
}
.why-feat-title { font-size: 14px; font-weight: 600; color: var(--off-white); margin-bottom: 4px; }
.why-feat-text { font-size: 13px; color: var(--muted); font-weight: 300; }

/* ── AREAS ───────────────────────────────────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 2px;
}
.area-card {
  position: relative; height: 260px; overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, var(--charcoal-lt), var(--charcoal));
}
.area-card.large { grid-column: span 2; height: 360px; }
.area-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--charcoal-lt);
  transition: transform 0.5s;
}
.area-card:hover::before { transform: scale(1.05); }
.area-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.15) 100%);
}
.area-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-65%); font-size: 52px; color: rgba(201,168,76,0.12); }
.area-content { position: absolute; bottom: 22px; left: 22px; right: 22px; }
.area-name { font-family: var(--font-display); font-size: 22px; color: var(--off-white); margin-bottom: 4px; }
.area-count { font-size: 12px; color: var(--gold); letter-spacing: 0.08em; }

/* ── TESTIMONIALS ────────────────────────────────────── */
.testimonials-section { background: var(--black); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.testimonial-card {
  background: var(--charcoal); padding: 34px;
  border-top: 3px solid transparent; transition: border-color 0.3s;
}
.testimonial-card:hover { border-top-color: var(--gold); }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-text { font-family: var(--font-display); font-size: 18px; font-style: italic; font-weight: 300; color: var(--off-white); line-height: 1.65; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--charcoal-lt); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; color: var(--gold); flex-shrink: 0; }
.t-name { font-size: 13px; font-weight: 600; color: var(--off-white); }
.t-role { font-size: 11px; color: var(--muted); }

/* ── CTA BAND ────────────────────────────────────────── */
.cta-band { background: var(--gold); padding: 68px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(13,13,13,0.55); font-weight: 600; margin-bottom: 6px; }
.cta-text h2 { font-family: var(--font-display); font-size: clamp(28px,4vw,46px); color: var(--black); font-weight: 600; line-height: 1.1; }
.cta-text p { color: rgba(13,13,13,0.6); font-size: 14px; margin-top: 6px; }

/* ── FOOTER ──────────────────────────────────────────── */
footer { background: var(--charcoal); border-top: 1px solid var(--border); padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 52px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-logo-img { height: 56px; margin-bottom: 10px; }
.footer-brand-name { font-family: var(--font-display); font-size: 20px; color: var(--gold); letter-spacing: 0.13em; text-transform: uppercase; font-weight: 700; }
.footer-brand-sub { font-size: 9px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.footer-about { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.85; margin-bottom: 22px; }
.footer-social { display: flex; gap: 8px; }
.social-icon { width: 38px; height: 38px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; transition: all var(--transition); }
.social-icon:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-links a i { font-size: 9px; color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.fc-item { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.fc-item i { color: var(--gold); font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.fc-item strong { display: block; color: var(--off-white); font-size: 11px; letter-spacing: 0.06em; margin-bottom: 1px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--muted); transition: color var(--transition); font-size: 12px; }
.footer-legal a:hover { color: var(--gold); }

/* ── WHATSAPP FLOAT ──────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff;
  z-index: 900;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 26px rgba(37,211,102,0.5); }

/* ── REVEAL ANIMATION ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── LISTINGS PAGE ───────────────────────────────────── */
.page-hero {
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 40px;
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(28px,4vw,46px); font-weight: 300; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 9px; }

.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 48px 0; align-items: start; }
.filters-panel { background: var(--charcoal); border: 1px solid var(--border); padding: 28px; position: sticky; top: 90px; }
.filter-group { margin-bottom: 26px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; display: block; }
.filter-input { width: 100%; background: var(--charcoal-lt); border: 1px solid var(--border); color: var(--off-white); padding: 10px 13px; font-family: var(--font-body); font-size: 13px; outline: none; -webkit-appearance: none; transition: border-color var(--transition); margin-bottom: 8px; }
.filter-input:focus { border-color: var(--gold); }
.filter-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-check { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; cursor: pointer; font-size: 13px; color: var(--muted); }
.filter-check input[type=checkbox] { accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; }
.filter-check:hover { color: var(--off-white); }
.filter-btn { width: 100%; background: var(--gold); color: var(--black); border: none; padding: 12px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background var(--transition); margin-top: 8px; }
.filter-btn:hover { background: var(--gold-light); }
.filter-clear { width: 100%; background: none; color: var(--muted); border: 1px solid var(--border); padding: 10px; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all var(--transition); margin-top: 6px; }
.filter-clear:hover { color: var(--gold); border-color: var(--gold); }

.listings-main {}
.listings-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.listings-count { font-size: 13px; color: var(--muted); }
.listings-count strong { color: var(--off-white); }
.sort-select { background: var(--charcoal); border: 1px solid var(--border); color: var(--off-white); padding: 9px 14px; font-family: var(--font-body); font-size: 12px; outline: none; cursor: pointer; }

/* ── PROPERTY DETAIL ─────────────────────────────────── */
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 400px 200px; gap: 2px; margin-bottom: 40px; }
.detail-gallery .main-img { grid-row: span 2; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity 0.2s; }
.detail-gallery img:hover { opacity: 0.88; }
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; }
.detail-main {}
.detail-sidebar {}

.detail-price { font-family: var(--font-display); font-size: 38px; color: var(--gold); font-weight: 600; }
.detail-title { font-family: var(--font-display); font-size: 30px; font-weight: 300; margin: 8px 0 4px; word-break: break-word; }
.detail-loc { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.detail-loc i { color: var(--gold); }

.detail-features { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-bottom: 32px; }
.detail-feat { background: var(--charcoal); padding: 18px; text-align: center; min-width: 0; }
.detail-feat i { color: var(--gold); font-size: 22px; margin-bottom: 8px; }
.detail-feat-val { font-family: var(--font-display); font-size: 24px; color: var(--off-white); line-height: 1; }
.detail-feat-lbl { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

.detail-section { margin-bottom: 32px; }
.detail-section h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--off-white); margin-bottom: 14px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.detail-section p { font-size: 14px; color: var(--muted); line-height: 1.85; word-break: break-word; }

.amenities-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.amenity { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.amenity i { color: var(--gold); font-size: 12px; }

.contact-card { background: var(--charcoal); border: 1px solid var(--border); padding: 28px; position: sticky; top: 90px; }
.contact-card-agent { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.contact-card-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--charcoal-lt); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 24px; color: var(--gold); flex-shrink: 0; }
.contact-card-name { font-size: 15px; font-weight: 600; color: var(--off-white); }
.contact-card-role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.contact-card-badge { font-size: 10px; color: var(--gold); border: 1px solid var(--gold); padding: 2px 8px; display: inline-block; margin-top: 4px; letter-spacing: 0.08em; }

.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--charcoal-lt); border: 1px solid var(--border);
  color: var(--off-white); padding: 11px 14px;
  font-family: var(--font-body); font-size: 13px; outline: none;
  transition: border-color var(--transition); width: 100%;
  -webkit-appearance: none;
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form-btn { background: var(--gold); color: var(--black); border: none; padding: 13px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background var(--transition); }
.contact-form-btn:hover { background: var(--gold-light); }
.contact-card-actions { display: flex; gap: 8px; margin-top: 8px; }
.contact-card-actions a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: all var(--transition); border: 1px solid var(--border); color: var(--muted); }
.contact-card-actions a:hover { border-color: var(--gold); color: var(--gold); }
.contact-card-actions a.wa { background: #25D366; color: #fff; border-color: #25D366; }
.contact-card-actions a.wa:hover { background: #1fb959; }

/* ── PORTAL / ADMIN ──────────────────────────────────── */
.portal-body { background: #111; min-height: 100vh; }
.portal-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 60%), var(--black);
}
.login-box { width: 100%; max-width: 420px; padding: 24px; }
.login-logo { text-align: center; margin-bottom: 36px; }
.login-logo img { height: 64px; margin: 0 auto 12px; }
.login-logo-name { font-family: var(--font-display); font-size: 24px; color: var(--gold); letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase; }
.login-logo-sub { font-size: 10px; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }
.login-card { background: var(--charcoal); border: 1px solid var(--border); padding: 36px; }
.login-card h2 { font-family: var(--font-display); font-size: 26px; color: var(--off-white); font-weight: 300; margin-bottom: 6px; }
.login-card p { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--charcoal-lt); border: 1px solid var(--border);
  color: var(--off-white); padding: 12px 14px;
  font-family: var(--font-body); font-size: 13px; outline: none;
  transition: border-color var(--transition); -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--gold); }
.form-group select option { background: var(--charcoal); }
.form-group textarea { resize: vertical; min-height: 100px; }
.login-btn { width: 100%; background: var(--gold); color: var(--black); border: none; padding: 14px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background var(--transition); margin-top: 8px; }
.login-btn:hover { background: var(--gold-light); }
.login-err { background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.3); color: #fc8888; padding: 12px; font-size: 13px; margin-bottom: 16px; text-align: center; }

/* PORTAL LAYOUT */
.portal-layout { display: flex; min-height: 100vh; }
.portal-sidebar {
  width: 260px; background: var(--charcoal); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; overflow-y: auto;
}
.portal-brand { padding: 24px 20px; border-bottom: 1px solid var(--border); }
.portal-brand img { height: 44px; margin-bottom: 8px; }
.portal-brand-name { font-family: var(--font-display); font-size: 16px; color: var(--gold); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.portal-brand-sub { font-size: 9px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }

.portal-nav { flex: 1; padding: 18px 0; }
.portal-nav-section { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 20px 6px; }
.portal-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px; font-size: 13px; color: var(--muted);
  text-decoration: none; transition: all var(--transition);
  border-left: 3px solid transparent;
}
.portal-nav a i { width: 18px; text-align: center; font-size: 14px; color: var(--charcoal-lt); transition: color var(--transition); }
.portal-nav a:hover { color: var(--off-white); background: rgba(201,168,76,0.05); border-left-color: var(--gold); }
.portal-nav a:hover i { color: var(--gold); }
.portal-nav a.active { color: var(--gold); background: rgba(201,168,76,0.08); border-left-color: var(--gold); font-weight: 600; }
.portal-nav a.active i { color: var(--gold); }

.portal-user { padding: 18px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.portal-user-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-glow); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; color: var(--gold); flex-shrink: 0; }
.portal-user-name { font-size: 13px; color: var(--off-white); font-weight: 600; }
.portal-user-role { font-size: 10px; color: var(--muted); }
.portal-logout { margin-left: auto; color: var(--muted); font-size: 16px; transition: color var(--transition); }
.portal-logout:hover { color: #fc8888; }

.portal-content { margin-left: 260px; flex: 1; display: flex; flex-direction: column; }
.portal-topbar {
  background: var(--charcoal); border-bottom: 1px solid var(--border);
  padding: 16px 28px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.portal-page-title { font-size: 18px; font-weight: 600; color: var(--off-white); }
.portal-page-sub { font-size: 12px; color: var(--muted); }
.portal-actions { display: flex; gap: 10px; align-items: center; }

.portal-main { padding: 28px; flex: 1; }

/* DASHBOARD CARDS */
.dash-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 28px; }
.dash-card { background: var(--charcoal); border: 1px solid var(--border); padding: 22px; position: relative; overflow: hidden; }
.dash-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.dash-card-icon { font-size: 28px; color: var(--gold-glow); position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
.dash-card-val { font-family: var(--font-display); font-size: 36px; color: var(--gold); font-weight: 600; line-height: 1; }
.dash-card-lbl { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }
.dash-card-change { font-size: 12px; margin-top: 8px; }
.dash-card-change.up { color: #4ade80; }
.dash-card-change.down { color: #f87171; }

/* TABLE */
.data-table-wrap { background: var(--charcoal); border: 1px solid var(--border); overflow: hidden; }
.data-table-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.data-table-title { font-size: 15px; font-weight: 600; color: var(--off-white); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: rgba(201,168,76,0.06); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 14px 16px; font-size: 13px; color: var(--muted); border-bottom: 1px solid rgba(201,168,76,0.07); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(201,168,76,0.04); color: var(--off-white); }
.data-table .td-strong { color: var(--off-white); font-weight: 500; }
.status-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; }
.status-active { background: rgba(74,222,128,0.12); color: #4ade80; }
.status-pending { background: rgba(251,191,36,0.12); color: #fbbf24; }
.status-sold { background: rgba(201,168,76,0.12); color: var(--gold); }
.status-rented { background: rgba(96,165,250,0.12); color: #60a5fa; }
.status-inactive { background: rgba(156,163,175,0.12); color: #9ca3af; }

.tbl-actions { display: flex; gap: 6px; }
.tbl-btn { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--muted); font-size: 12px; cursor: pointer; background: none; transition: all var(--transition); }
.tbl-btn:hover { border-color: var(--gold); color: var(--gold); }
.tbl-btn.danger:hover { border-color: #f87171; color: #f87171; }

/* FORM PAGE */
.form-card { background: var(--charcoal); border: 1px solid var(--border); padding: 28px; margin-bottom: 20px; }
.form-card-title { font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.form-card-title i { font-size: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.form-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.form-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.span-2 { grid-column: span 2; }
.span-full { grid-column: 1 / -1; }

.img-upload-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.img-upload-slot { aspect-ratio: 4/3; border: 1px dashed var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: border-color var(--transition); color: var(--muted); font-size: 12px; gap: 6px; }
.img-upload-slot:hover { border-color: var(--gold); color: var(--gold); }
.img-upload-slot i { font-size: 22px; }
.img-upload-slot.filled { border-color: var(--gold-dark); position: relative; overflow: hidden; }
.img-upload-slot.filled img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.img-upload-slot.filled .img-remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; color: #f87171; font-size: 11px; cursor: pointer; z-index: 2; }

/* AMENITIES CHECKBOX GRID */
.amenities-check-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.check-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check-item input { accent-color: var(--gold); width: 15px; height: 15px; }
.check-item:hover { color: var(--off-white); }

/* ALERTS */
.alert { padding: 14px 18px; font-size: 13px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.25); color: #4ade80; }
.alert-error { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.25); color: #f87171; }
.alert-info { background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.25); color: #60a5fa; }

/* PAGINATION */
.pagination { display: flex; gap: 4px; margin-top: 24px; justify-content: center; }
.page-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--muted); font-size: 13px; cursor: pointer; background: none; transition: all var(--transition); }
.page-btn:hover, .page-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: repeat(2,1fr); }
  .portal-sidebar { width: 220px; }
  .portal-content { margin-left: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .areas-grid { grid-template-columns: repeat(2,1fr); }
  .area-card.large { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .listings-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: 300px; }
  .detail-gallery > *:not(:first-child) { display: none; }
  .portal-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .portal-sidebar.open { transform: translateX(0); }
  .portal-content { margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.cols-3, .form-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 1; }
}

/* ── PORTAL UTILITIES ────────────────────────────────────── */
.portal-hamburger { display: none; }
.portal-mobile-nav { display: none; }

/* ── PORTAL MOBILE (phones ≤ 640px) ─────────────────────── */
@media (max-width: 640px) {
  /* ROOT — prevent all horizontal overflow */
  html, body { overflow-x: hidden !important; }
  .portal-layout, .portal-content, .portal-main { overflow-x: hidden !important; width: 100% !important; }

  /* Topbar */
  .portal-topbar { padding: 10px 12px !important; }
  .portal-page-title { font-size: 15px !important; }
  .portal-page-sub { display: none !important; }
  .hide-xs { display: none !important; }

  /* Main content padding */
  .portal-main { padding: 12px !important; padding-bottom: 70px !important; }

  /* Dashboard stat cards */
  .dash-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .dash-card { padding: 12px !important; }
  .dash-card-val { font-size: 24px !important; }
  .dash-card-lbl { font-size: 9px !important; }
  .dash-card-icon { display: none !important; }
  .dash-main-grid { grid-template-columns: 1fr !important; }

  /* Stack all inline grids */
  .form-grid { grid-template-columns: 1fr !important; }
  .form-grid.cols-2 { grid-template-columns: 1fr !important; }
  .form-grid.cols-3 { grid-template-columns: 1fr !important; }
  .form-grid.cols-4 { grid-template-columns: 1fr 1fr !important; }
  .span-full, .span-2 { grid-column: span 1 !important; }
  .form-card { padding: 14px !important; }
  .form-card-title { font-size: 13px !important; }
  .amenities-check-grid { grid-template-columns: 1fr 1fr !important; }
  .img-upload-grid { grid-template-columns: repeat(3,1fr) !important; }
  .filter-input { width: 100% !important; min-width: 0 !important; }

  /* Tables — horizontal scroll only */
  .data-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; max-width: 100% !important; }

  /* Sidebar */
  .portal-sidebar { width: 280px !important; box-shadow: 4px 0 24px rgba(0,0,0,.6) !important; }
  .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 99; }
  .sidebar-overlay.active { display: block !important; }

  /* Bottom nav */
  .portal-mobile-nav {
    display: flex !important;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--charcoal); border-top: 1px solid var(--border);
    z-index: 90; height: 58px;
  }
  .portal-mobile-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; color: var(--muted); text-decoration: none;
    font-size: 9px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    padding: 6px 2px; border-top: 2px solid transparent; transition: .2s;
  }
  .portal-mobile-nav a i { font-size: 16px; }
  .portal-mobile-nav a.active, .portal-mobile-nav a:hover { color: var(--gold); border-top-color: var(--gold); }
  .portal-mobile-nav-menu {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; color: var(--muted); font-size: 9px; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase; padding: 6px 2px;
    border: none; border-top: 2px solid transparent; background: none;
    font-family: var(--font-body); cursor: pointer; width: 100%;
  }
  .portal-mobile-nav-menu i { font-size: 16px; }

  /* Hamburger */
  .portal-hamburger {
    display: flex !important; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: none;
    border: 1px solid var(--border); color: var(--muted);
    font-size: 16px; cursor: pointer; flex-shrink: 0;
  }
  .portal-hamburger:hover { color: var(--gold); border-color: var(--gold); }
}


@media (max-width: 640px) {
  .topbar { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 80vh; }
  .hero-stats { flex-wrap: wrap; }
  .stat-box { flex: 1; min-width: 140px; }
  .listings-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card.large { grid-column: span 1; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 56px 0; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .amenities-check-grid { grid-template-columns: repeat(2,1fr); }
  .img-upload-grid { grid-template-columns: repeat(3,1fr); }

  /* ── PROPERTY PAGE MOBILE ── */

  /* Force full width, no overflow */
  .detail-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .detail-main, .detail-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .detail-sidebar { margin-top: 0 !important; }

  /* Price — smaller on mobile */
  .detail-price { font-size: 26px !important; }
  .detail-title { font-size: 20px !important; }

  /* Feature boxes — 2x2 grid */
  .detail-features {
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }
  .detail-feat {
    padding: 14px 8px !important;
    min-width: 0 !important;
  }
  .detail-feat-val { font-size: 20px !important; }
  .detail-feat-lbl { font-size: 9px !important; }
  .detail-feat i { font-size: 18px !important; }

  /* Amenities grid — 2 columns */
  .amenities-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .amenity { font-size: 12px !important; }

  /* Share bar — horizontal scroll, no overflow */
  .share-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .share-bar::-webkit-scrollbar { display: none; }
  .share-btn {
    flex-shrink: 0 !important;
    font-size: 11px !important;
    padding: 8px 10px !important;
    white-space: nowrap !important;
  }

  /* Tab bar — horizontal scroll */
  .tab-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }
  .tab-bar::-webkit-scrollbar { display: none; }
  .tab-btn {
    flex-shrink: 0 !important;
    font-size: 11px !important;
    padding: 12px 12px !important;
    white-space: nowrap !important;
  }

  /* Contact card */
  .contact-card {
    padding: 16px !important;
    position: static !important;
  }
  .contact-card-actions {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .contact-card-actions a, .contact-card-actions button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Bond calculator */
  .bond-grid { grid-template-columns: 1fr !important; }

  /* Thumbnail strip */
  .thumb-item {
    width: 64px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
  }

  /* Breadcrumb */
  .breadcrumb { font-size: 11px !important; flex-wrap: wrap !important; }

  /* Price/status row */
  .price-status-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  /* Container padding on mobile */
  .container { padding: 0 14px !important; }
}
